diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-04 01:14:22 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-04 06:51:31 +0000 |
commit | 8ee69b0ba13f74d1515fac71df92947eb6328ab1 (patch) | |
tree | 5d5e95bb877e5e961cd02eee47011548af94bca1 /offapi | |
parent | fixup SAL_INFO macros to actually print the strings (diff) | |
download | core-8ee69b0ba13f74d1515fac71df92947eb6328ab1.tar.gz core-8ee69b0ba13f74d1515fac71df92947eb6328ab1.zip |
fdo#67235 adapt form control code to time nanosecond API change, step 3
Change-Id: I4899c89ee5b2a54c9c05b531ab284365f1558e3d
Reviewed-on: https://gerrit.libreoffice.org/5270
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'offapi')
-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 | 21 | ||||
-rw-r--r-- | offapi/type_reference/offapi.rdb | bin | 6822400 -> 6822912 bytes |
5 files changed, 30 insertions, 26 deletions
diff --git a/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl b/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl index 8d73ec787cbb..478bbd8e9ebc 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 5b59ff7461a3..bd9da9755a24 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] hyper 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] hyper TimeMax; + [property] com::sun::star::util::Time TimeMax; /** specifies the minimum time that can be entered. */ - [property] hyper TimeMin; + [property] com::sun::star::util::Time TimeMin; /** denotes the writing mode used in the control, as specified in the com::sun::star::text::WritingMode2 constants group. diff --git a/offapi/com/sun/star/awt/XDateField.idl b/offapi/com/sun/star/awt/XDateField.idl index a04ef8cdfe48..1884c3ec972f 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 0e056e85acf2..1c4e02a5347d 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> @@ -37,54 +38,54 @@ published interface XTimeField: com::sun::star::uno::XInterface where HH are hours, MM are minutes, SS are seconds and nnnnnnnnn are nanoseconds.</p> */ - void setTime( [in] hyper Time ); + void setTime( [in] com::sun::star::util::Time Time ); /** returns the time value which is currently displayed in the time field. */ - hyper getTime(); + com::sun::star::util::Time getTime(); /** sets the minimum time value that can be entered by the user. */ - void setMin( [in] hyper Time ); + void setMin( [in] com::sun::star::util::Time Time ); /** returns the currently set minimum time value that can be entered by the user. */ - hyper getMin(); + com::sun::star::util::Time getMin(); /** sets the maximum time value that can be entered by the user. */ - void setMax( [in] hyper Time ); + void setMax( [in] com::sun::star::util::Time Time ); /** returns the currently set maximum time value that can be entered by the user. */ - hyper getMax(); + com::sun::star::util::Time getMax(); /** sets the first value to be set on POS1 key. */ - void setFirst( [in] hyper Time ); + void setFirst( [in] com::sun::star::util::Time Time ); /** returns the currently set first value which is set on POS1 key. */ - hyper getFirst(); + com::sun::star::util::Time getFirst(); /** sets the last value to be set on END key. */ - void setLast( [in] hyper Time ); + void setLast( [in] com::sun::star::util::Time Time ); /** returns the currently set last value which is set on END key. */ - hyper getLast(); + com::sun::star::util::Time getLast(); /** sets an empty value for the time. diff --git a/offapi/type_reference/offapi.rdb b/offapi/type_reference/offapi.rdb Binary files differindex e85a07330320..dec9b4413542 100644 --- a/offapi/type_reference/offapi.rdb +++ b/offapi/type_reference/offapi.rdb |