LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XDateField Interface Referencepublished

gives access to the value and settings of a date field. More...

import"XDateField.idl";

Inheritance diagram for XDateField:
XInterface UnoControlDateField DateField

Public Member Functions

void setDate ([in]::com::sun::star::util::Date Date)
 sets the date value which is displayed in the date field. More...
 
::com::sun::star::util::Date getDate ()
 returns the date value which is currently displayed in the date field. More...
 
void setMin ([in]::com::sun::star::util::Date Date)
 sets the minimum date value that can be entered by the user. More...
 
::com::sun::star::util::Date getMin ()
 returns the currently set minimum date value that can be entered by the user. More...
 
void setMax ([in]::com::sun::star::util::Date Date)
 sets the maximum date value that can be entered by the user. More...
 
::com::sun::star::util::Date getMax ()
 returns the currently set maximum date value that can be entered by the user. More...
 
void setFirst ([in]::com::sun::star::util::Date Date)
 sets the first value to be set on POS1 key. More...
 
::com::sun::star::util::Date getFirst ()
 returns the currently set first value which is set on POS1 key. More...
 
void setLast ([in]::com::sun::star::util::Date Date)
 sets the last value to be set on END key. More...
 
::com::sun::star::util::Date getLast ()
 returns the currently set last value which is set on END key. More...
 
void setLongFormat ([in] boolean bLong)
 determines if the long date format is to be used. More...
 
boolean isLongFormat ()
 determines if the long date format is currently used. More...
 
void setEmpty ()
 sets an empty value for the date. More...
 
boolean isEmpty ()
 returns whether currently an empty value is set for the date. More...
 
void setStrictFormat ([in] boolean bStrict)
 determines if the format is checked during user input. More...
 
boolean isStrictFormat ()
 returns whether the format is currently checked during user input. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

gives access to the value and settings of a date field.

Member Function Documentation

returns the date value which is currently displayed in the date field.

returns the currently set first value which is set on POS1 key.

returns the currently set last value which is set on END key.

returns the currently set maximum date value that can be entered by the user.

returns the currently set minimum date value that can be entered by the user.

boolean isEmpty ( )

returns whether currently an empty value is set for the date.

boolean isLongFormat ( )

determines if the long date format is currently used.

boolean isStrictFormat ( )

returns whether the format is currently checked during user input.

void setDate ( [in] ::com::sun::star::util::Date  Date)

sets the date value which is displayed in the date field.

void setEmpty ( )

sets an empty value for the date.

void setFirst ( [in] ::com::sun::star::util::Date  Date)

sets the first value to be set on POS1 key.

void setLast ( [in] ::com::sun::star::util::Date  Date)

sets the last value to be set on END key.

void setLongFormat ( [in] boolean  bLong)

determines if the long date format is to be used.

void setMax ( [in] ::com::sun::star::util::Date  Date)

sets the maximum date value that can be entered by the user.

void setMin ( [in] ::com::sun::star::util::Date  Date)

sets the minimum date value that can be entered by the user.

void setStrictFormat ( [in] boolean  bStrict)

determines if the format is checked during user input.


The documentation for this interface was generated from the following file: