:: 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
::com::sun::star::text::TextField
A ::com::sun::star::form::component::TextField is a ::com::sun::star::text::TextContent which fades its textual representation into the text range to which it is anchored.
Properties' Summary
CurrentPresentation contains the current content of the text field.
IsFixed [ OPTIONAL ]
If this flag is set to false the date or time is always displayed as the current date or time.
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.
DateTimeValue contains the date and time as double value.
NumberFormat this is the number format for this field.
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.
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;
[ OPTIONAL ]
Description
If this flag is set to false the date or time is always displayed as the current date or time.
Since version
OpenOffice.org 1.1
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;
[ 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