diff options
Diffstat (limited to 'offapi/com/sun/star')
-rw-r--r-- | offapi/com/sun/star/awt/UnoControlDateFieldModel.idl | 7 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl | 7 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/XDateField.idl | 21 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/XTimeField.idl | 27 |
4 files changed, 33 insertions, 29 deletions
diff --git a/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl b/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl index a1e099e9d106..b0a237b49757 100644 --- a/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl +++ b/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl @@ -19,6 +19,7 @@ #ifndef __com_sun_star_awt_UnoControlDateFieldModel_idl__ #define __com_sun_star_awt_UnoControlDateFieldModel_idl__ +#include <com/sun/star/util/Date.idl> #include <com/sun/star/awt/FontDescriptor.idl> #include <com/sun/star/awt/UnoControlModel.idl> @@ -67,7 +68,7 @@ published service UnoControlDateFieldModel <p>The date must be specified in the format YYYYMMDD.</p> */ - [property] long Date; + [property] ::com::sun::star::util::Date Date; /** specifies the format of the displayed date. @@ -92,12 +93,12 @@ published service UnoControlDateFieldModel /** specifies the maximum date that can be entered. */ - [property] long DateMax; + [property] ::com::sun::star::util::Date DateMax; /** specifies the minimum date that can be entered. */ - [property] long DateMin; + [property] ::com::sun::star::util::Date DateMin; /** specifies, if the date century is displayed. diff --git a/offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl b/offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl index 79591c751d57..d5f3ec43c6d3 100644 --- a/offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl +++ b/offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl @@ -19,6 +19,7 @@ #ifndef __com_sun_star_awt_UnoControlTimeFieldModel_idl__ #define __com_sun_star_awt_UnoControlTimeFieldModel_idl__ +#include <com/sun/star/util/Time.idl> #include <com/sun/star/awt/FontDescriptor.idl> #include <com/sun/star/awt/UnoControlModel.idl> @@ -168,7 +169,7 @@ published service UnoControlTimeFieldModel /** specifies the time displayed in the control. */ - [property] long Time; + [property] com::sun::star::util::Time Time; /** specifies the format of the displayed time. @@ -187,12 +188,12 @@ published service UnoControlTimeFieldModel /** specifies the maximum time that can be entered. */ - [property] long TimeMax; + [property] com::sun::star::util::Time TimeMax; /** specifies the minimum time that can be entered. */ - [property] long TimeMin; + [property] com::sun::star::util::Time TimeMin; /** denotes the writing mode used in the control, as specified in the <type scope="com::sun::star::text">WritingMode2</type> constants group. diff --git a/offapi/com/sun/star/awt/XDateField.idl b/offapi/com/sun/star/awt/XDateField.idl index aa7c1b1a12bd..9438f5466e0d 100644 --- a/offapi/com/sun/star/awt/XDateField.idl +++ b/offapi/com/sun/star/awt/XDateField.idl @@ -20,6 +20,7 @@ #define __com_sun_star_awt_XDateField_idl__ #include <com/sun/star/uno/XInterface.idl> +#include <com/sun/star/util/Date.idl> @@ -36,54 +37,54 @@ published interface XDateField: com::sun::star::uno::XInterface <p>The date value must be specified in the format YYYYMMDD.</p> */ - void setDate( [in] long Date ); + void setDate( [in] ::com::sun::star::util::Date Date ); /** returns the date value which is currently displayed in the date field. */ - long getDate(); + ::com::sun::star::util::Date getDate(); /** sets the minimum date value that can be entered by the user. */ - void setMin( [in] long Date ); + void setMin( [in] ::com::sun::star::util::Date Date ); /** returns the currently set minimum date value that can be entered by the user. */ - long getMin(); + ::com::sun::star::util::Date getMin(); /** sets the maximum date value that can be entered by the user. */ - void setMax( [in] long Date ); + void setMax( [in] ::com::sun::star::util::Date Date ); /** returns the currently set maximum date value that can be entered by the user. */ - long getMax(); + ::com::sun::star::util::Date getMax(); /** sets the first value to be set on POS1 key. */ - void setFirst( [in] long Date ); + void setFirst( [in] ::com::sun::star::util::Date Date ); /** returns the currently set first value which is set on POS1 key. */ - long getFirst(); + ::com::sun::star::util::Date getFirst(); /** sets the last value to be set on END key. */ - void setLast( [in] long Date ); + void setLast( [in] ::com::sun::star::util::Date Date ); /** returns the currently set last value which is set on END key. */ - long getLast(); + ::com::sun::star::util::Date getLast(); /** determines if the long date format is to be used. diff --git a/offapi/com/sun/star/awt/XTimeField.idl b/offapi/com/sun/star/awt/XTimeField.idl index 8e26a18b6aad..6fa1548ce6b5 100644 --- a/offapi/com/sun/star/awt/XTimeField.idl +++ b/offapi/com/sun/star/awt/XTimeField.idl @@ -20,6 +20,7 @@ #define __com_sun_star_awt_XTimeField_idl__ #include <com/sun/star/uno/XInterface.idl> +#include <com/sun/star/util/Time.idl> @@ -33,58 +34,58 @@ published interface XTimeField: com::sun::star::uno::XInterface /** sets the time value which is displayed in the time field. - <p>The time value must be specified in the format HHMMSShh, - where HH are hours, MM are minutes, SS are seconds and hh are - hundredth seconds.</p> + <p>The time value must be specified in the format HHMMSSnnnnnnnnn, + where HH are hours, MM are minutes, SS are seconds and + nnnnnnnnn are nanoseconds.</p> */ - void setTime( [in] long Time ); + void setTime( [in] com::sun::star::util::Time Time ); /** returns the time value which is currently displayed in the time field. */ - long getTime(); + com::sun::star::util::Time getTime(); /** sets the minimum time value that can be entered by the user. */ - void setMin( [in] long Time ); + void setMin( [in] com::sun::star::util::Time Time ); /** returns the currently set minimum time value that can be entered by the user. */ - long getMin(); + com::sun::star::util::Time getMin(); /** sets the maximum time value that can be entered by the user. */ - void setMax( [in] long Time ); + void setMax( [in] com::sun::star::util::Time Time ); /** returns the currently set maximum time value that can be entered by the user. */ - long getMax(); + com::sun::star::util::Time getMax(); /** sets the first value to be set on POS1 key. */ - void setFirst( [in] long Time ); + void setFirst( [in] com::sun::star::util::Time Time ); /** returns the currently set first value which is set on POS1 key. */ - long getFirst(); + com::sun::star::util::Time getFirst(); /** sets the last value to be set on END key. */ - void setLast( [in] long Time ); + void setLast( [in] com::sun::star::util::Time Time ); /** returns the currently set last value which is set on END key. */ - long getLast(); + com::sun::star::util::Time getLast(); /** sets an empty value for the time. |