Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: text :: textfield :: docinfo ::

service CreateDateTime
Description
specifies service of a text field that provides information about the date and time of the document creation.
See also
::com::sun::star::text::TextField

Included Services - Summary
::com::sun::star::text::TextField
(referenced entity's summary:)
A ::com::sun::star::text::TextField is a ::com::sun::star::text::TextContent which fades its textual representation into the text range to which it is anchored.
Properties' Summary
string
CurrentPresentation
contains the current content of the text field.  
boolean
IsFixed
[ OPTIONAL ]
If this flag is set to false the date or time is always displayed as the current date or time.  
boolean
IsDate
If this flag is set to true this field represents, a date with an optional time. If it is set to false only the time is used here.  
double
DateTimeValue
contains the date and time as double value.  
long
NumberFormat
this is the number format for this field.  
boolean
IsFixedLanguage
[ OPTIONAL ]
determines whether changes in language attributes at the position the text field is located also change the number format as appropriate for this language.  
Included Services - Details
::com::sun::star::text::TextField
(referenced entity's summary:)
A ::com::sun::star::text::TextField is a ::com::sun::star::text::TextContent which fades its textual representation into the text range to which it is anchored.
Properties' Details
CurrentPresentation
string CurrentPresentation;
Description
contains the current content of the text field.

This property is escpecially usefull for import/export purposes.

IsFixed
boolean IsFixed;
Usage Restrictions
optional
Description
If this flag is set to false the date or time is always displayed as the current date or time.
Since
OOo 1.1.2
IsDate
boolean IsDate;
Description
If this flag is set to true this field represents, a date with an optional time. If it is set to false only the time is used here.
DateTimeValue
double DateTimeValue;
Description
contains the date and time as double value.
NumberFormat
long NumberFormat;
Description
this is the number format for this field.
See also
::com::sun::star::util::NumberFormatter
IsFixedLanguage
boolean IsFixedLanguage;
Usage Restrictions
optional
Description
determines whether changes in language attributes at the position the text field is located also change the number format as appropriate for this language.

 
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.