Overview | Module | Use | Devguide | 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 | 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
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 ::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 .
Adjust | [ OPTIONAL ] contains an offset to the date or time value in minutes.
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
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.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
::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 ::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 See also ::com::sun::star::text::TimeDisplayFormat
Adjust
long Adjust; [ OPTIONAL ] Description contains an offset to the date or time value in minutes.
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

Copyright © 2003 Sun Microsystems, Inc.