diff options
Diffstat (limited to 'sc/source/filter/inc/xlpivot.hxx')
-rw-r--r-- | sc/source/filter/inc/xlpivot.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/source/filter/inc/xlpivot.hxx b/sc/source/filter/inc/xlpivot.hxx index 62605f1525ef..e85143c6e0dd 100644 --- a/sc/source/filter/inc/xlpivot.hxx +++ b/sc/source/filter/inc/xlpivot.hxx @@ -378,15 +378,15 @@ public: /** Sets the item to 'text' type and adds the passed text. */ void SetText( const OUString& rText ); /** Sets the item to 'double' type and adds the passed value. */ - void SetDouble( double fValue ); + void SetDouble( double fValue, const OUString& rText = OUString() ); /** Sets the item to 'date/time' type and adds the passed date. */ - void SetDateTime( const DateTime& rDateTime ); + void SetDateTime( const DateTime& rDateTime, const OUString& rText = OUString() ); /** Sets the item to 'integer' type and adds the passed value. */ void SetInteger( sal_Int16 nValue ); /** Sets the item to 'error' type and adds the passed Excel error code. */ void SetError( sal_uInt16 nError ); /** Sets the item to 'boolean' type and adds the passed Boolean value. */ - void SetBool( bool bValue ); + void SetBool( bool bValue, const OUString& rText = OUString() ); /** Returns the text representation of the item. */ const OUString& ConvertToText() const { return maText; } @@ -409,6 +409,9 @@ public: /** Returns pointer to Boolean value, if the item type is 'boolean', otherwise 0. */ const bool* GetBool() const; + /** Returns the type of the item */ + XclPCItemType GetType() const; + private: XclPCItemType meType; /// Type of the item. OUString maText; /// Text representation of the item. |