Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: text :: fieldmaster ::

service Database
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.

Included Services - Summary
::com::sun::star::text::TextFieldMaster
(referenced entity's summary:)
A ::com::sun::star::text::TextFieldMaster specifies important data for its ::com::sun::star::text::DependentTextFields.
Properties' Summary
string
DataBaseName
specifies the database name.  
long
CommandType
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)  
string
DataTableName
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.  
string
DataColumnName
contains the name of the data base table.  
string
DataBaseURL
[ OPTIONAL ]
indicates the URL of a database file.  
string
DataBaseResource
[ OPTIONAL ]
indicates a connection URL, which locates a database driver.  
string
Name
[ OPTIONAL ]
contains the DataColumnName but it enables the fieldmaster and its depending fields to work without setting DataSourceName, DataTableName and CommandType  
Included Services - Details
::com::sun::star::text::TextFieldMaster
(referenced entity's summary:)
A ::com::sun::star::text::TextFieldMaster specifies important data for its ::com::sun::star::text::DependentTextFields.
Properties' Details
DataBaseName
string DataBaseName;
Description
specifies the database name.
CommandType
long CommandType;
Description
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)
DataTableName
string DataTableName;
Description
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.
DataColumnName
string DataColumnName;
Description
contains the name of the data base table.
DataBaseURL
string DataBaseURL;
Usage Restrictions
optional
Description
indicates the URL of a database file.
Since
OOo 2.0
DataBaseResource
string DataBaseResource;
Usage Restrictions
optional
Description
indicates a connection URL, which locates a database driver.
Since
OOo 2.0
Name
string Name;
Usage Restrictions
optional
Description
contains the DataColumnName but it enables the fieldmaster and its depending fields to work without setting DataSourceName, DataTableName and CommandType
Since
OOo 2.3

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.