Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: form :: component ::

service DatabaseFormattedField
Description
This service specifies a formatted field model which is data-aware, and can be bound to a database field.

Included Services - Summary
FormattedField
(referenced entity's summary:)
This service specifies the control model of an edit field for entering text which can be (nearly) arbirtrarily formatted.
::com::sun::star::form::DataAwareControlModel
(referenced entity's summary:)
is an abstract service for specialized ::com::sun::star::form::FormControlModels which are data aware and thus can be bound to a data source.
Properties' Summary
boolean
ConvertEmptyToNull
determines if an empty text should be treated as a NULL value.  
Included Services - Details
FormattedField
(referenced entity's summary:)
This service specifies the control model of an edit field for entering text which can be (nearly) arbirtrarily formatted.
::com::sun::star::form::DataAwareControlModel
(referenced entity's summary:)
is an abstract service for specialized ::com::sun::star::form::FormControlModels which are data aware and thus can be bound to a data source.
Properties' Details
ConvertEmptyToNull
boolean ConvertEmptyToNull;
Description
determines if an empty text should be treated as a NULL value.

When the user enters text into a formatted field control, and after this, the control content is to be committed into the database field the control is bound to, a decision must be made how to deal with empty strings.
This is controlled by ConvertEmptyToNull.

If the property is set to true, and an empty text is to be commited, this is converted into NULL, else it is written as empty string.


 
Top of Page

Apache Software Foundation

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

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