Top   Module   Use   Manual   Index 
 INCLUDED SERVICES | EXPORTED INTERFACES | PROPERTIES' SUMMARY | PROPERTIES' DETAILS 

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

service DateTime

Description
specifies service of a date or time text field.
See also
com::sun::star::text::TextField


Included Services

com::sun::star::text::TextField
Description
A TextField is a TextContent which fades its textual representation into the text range to which it is anchored.

Properties' Summary

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 [ OPTIONAL ]
the is the content of this field.
NumberFormat [ OPTIONAL ]
this is the number format for this field
DateTimeFormat [ DEPRECATED ]
[ OPTIONAL ]
this is the display format for this field. Depending on IsDate , this is either a DateDisplayFormat or TimeDisplayFormat . This property is deprecated and is here only for components that do not support a NumberFormatter .
Adjust [ OPTIONAL ]
contains an offset to the date or time value in minutes.

Properties' Details

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.
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
 
com::sun::star::util::DateTime DateTimeValue;
[ OPTIONAL ]
Description
the is the content of this field.
NumberFormat
 
short NumberFormat;
[ OPTIONAL ]
Description
this is the number format for this field
See also
com::sun::star::util::NumberFormatter
DateTimeFormat
 
short DateTimeFormat;
[ DEPRECATED ]
[ OPTIONAL ]
Description
this is the display format for this field. Depending on IsDate , this is either a DateDisplayFormat or TimeDisplayFormat . This property is deprecated and is here only for components that do not support a NumberFormatter .
See also
com::sun::star::text::DateDisplayFormat
See also
com::sun::star::text::TimeDisplayFormat
Adjust
 
long Adjust;
[ OPTIONAL ]
Description
contains an offset to the date or time value in minutes.

Top of Page