LibreOffice
LibreOffice 24.2 SDK API Reference
Included Services | Public Attributes | List of all members
Database Service Referencepublished

specifies service of a Database field master. More...

import"Database.idl";

Inheritance diagram for Database:
TextFieldMaster XPropertySet XInterface

Included Services

service com::sun::star::text::TextFieldMaster
 

Public Attributes

string DataBaseName
 specifies the database name. More...
 
long CommandType
 contains the CommandType this can be the name of a data base table, a data query or a statement. More...
 
string DataTableName
 contains the command string. More...
 
string DataColumnName
 contains the name of the data base table. More...
 
string DataBaseURL
 indicates the URL of a database file. More...
 
string DataBaseResource
 indicates a connection URL, which locates a database driver. More...
 
string Name
 contains the DataColumnName but it enables the fieldmaster and its depending fields to work without setting DataSourceName, DataTableName and CommandType More...
 
- Public Attributes inherited from TextFieldMaster
string Name
 determines the name of the field master. More...
 
sequence< XDependentTextFieldDependentTextFields
 contains a sequence of all fields that depend on this master. More...
 
string InstanceName
 contains the instance name as it is used in the com::sun::star::text::XTextFieldsSupplier. More...
 

Additional Inherited Members

- Exported Interfaces inherited from TextFieldMaster
interface com::sun::star::beans::XPropertySet
 This optional interface makes it possible to access properties of this field master, if any. More...
 
- Protected Member Functions inherited from XPropertySet
com::sun::star::beans::XPropertySetInfo getPropertySetInfo ()
 
void setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException )
 sets the value of the property with the specified name. More...
 
any getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 
void addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 adds an XPropertyChangeListener to the specified property. More...
 
void removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 removes an XPropertyChangeListener from the listener list. More...
 
void addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 adds an XVetoableChangeListener to the specified property with the name PropertyName. More...
 
void removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 removes an XVetoableChangeListener from the listener list. More...
 
- Protected Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

specifies service of a Database field master.

See also
com::sun::star::text::TextField

Only one of the properties DataBaseName, DataBaseURL and DataBaseResource should be set. If more than one are set the last one will be used.

Exported Interfaces

◆ com::sun::star::text::TextFieldMaster

Member Data Documentation

◆ CommandType

long CommandType
property

contains the CommandType this can be the name of a data base table, a data query or a statement.

(0 = table, 1 = query, 2 = statement)

◆ DataBaseName

string DataBaseName
property

specifies the database name.

◆ DataBaseResource

string DataBaseResource
optionalproperty

indicates a connection URL, which locates a database driver.

Since
OOo 2.0

◆ DataBaseURL

string DataBaseURL
optionalproperty

indicates the URL of a database file.

Since
OOo 2.0

◆ DataColumnName

string DataColumnName
property

contains the name of the data base table.

◆ DataTableName

string DataTableName
property

contains the command string.

Depending on the CommandType property this can be the name of a data base table, a data query or a statement.

◆ Name

string Name
optionalproperty

contains the DataColumnName but it enables the fieldmaster and its depending fields to work without setting DataSourceName, DataTableName and CommandType

Since
OOo 2.3

The documentation for this service was generated from the following file: