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 DateField
Description
specifies the model of a date field control, which is an edit field used to enter a date.

Included Services - Summary
::com::sun::star::awt::UnoControlDateFieldModel
(referenced entity's summary:)
specifies the standard model of an ::com::sun::star::awt::UnoControlDateField.
::com::sun::star::form::FormControlModel
(referenced entity's summary:)
specifies a control model within a form.
Exported Interfaces - Summary
::com::sun::star::form::XReset

resets the control. (details)

Properties' Summary
long
DefaultDate
contains a default value for the control.  
Included Services - Details
::com::sun::star::awt::UnoControlDateFieldModel
(referenced entity's summary:)
specifies the standard model of an ::com::sun::star::awt::UnoControlDateField.
::com::sun::star::form::FormControlModel
(referenced entity's summary:)
specifies a control model within a form.
Exported Interfaces - Details
::com::sun::star::form::XReset
Description
resets the control.

If you do not set a value for the DefaultDate, then resetting the control will result in setting to to the current system date. This is for HTML compatibility.

Properties' Details
DefaultDate
long DefaultDate;
Description
contains a default value for the control.

This value is used when the control is initially displayed, and for resetting it.

See also
::com::sun::star::awt::UnoControlDateFieldModel::Date, ::com::sun::star::form::XReset

 
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.