Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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