service DateTime in module com::sun::star::text::textfield::

(Global Index)

Syntax

service DateTime;

Description

specifies service of a date or time text field.

See also

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.


Property Summary

IsFixed 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 the is the content of this field.

NumberFormat this is the number format for this field

DateTimeFormat 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 contains an offset to the date or time value in minutes.

Property Details



IsFixed [ O P T I O N A L ]

Syntax

boolean IsFixed;

Description

If this flag is set to false the date or time is always displayed as the current date or time.


IsDate

Syntax

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 [ O P T I O N A L ]

Syntax

com::sun::star::util::DateTime DateTimeValue;

Description

the is the content of this field.


NumberFormat [ O P T I O N A L ]

Syntax

short NumberFormat;

Description

this is the number format for this field

See also

NumberFormatter

DateTimeFormat [ O P T I O N A L ]

[ DEPRECATED ]

Syntax

short DateTimeFormat;

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

DateDisplayFormat

See also

TimeDisplayFormat

Adjust [ O P T I O N A L ]

Syntax

long Adjust;

Description

contains an offset to the date or time value in minutes.

Top of Page