diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-10-18 14:18:53 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-10-18 14:18:53 +0000 |
commit | fb6a15d4295fab0077e6ac6bfcf356a836624dd7 (patch) | |
tree | 78f8c762b1fbfc671e3e5b6b4fa561ae887ca5cc /sc/source/filter/inc/xehelper.hxx | |
parent | ac1f8c8eff971d4459eba22534782e1f6c00d2b4 (diff) |
INTEGRATION: CWS dr26 (1.12.8); FILE MERGED
2004/09/27 10:50:25 dr 1.12.8.1: #115495# font export using script type of current cell text
Diffstat (limited to 'sc/source/filter/inc/xehelper.hxx')
-rw-r--r-- | sc/source/filter/inc/xehelper.hxx | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/sc/source/filter/inc/xehelper.hxx b/sc/source/filter/inc/xehelper.hxx index df8a08ac184f..2cc7e83b98a5 100644 --- a/sc/source/filter/inc/xehelper.hxx +++ b/sc/source/filter/inc/xehelper.hxx @@ -2,9 +2,9 @@ * * $RCSfile: xehelper.hxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: hr $ $Date: 2004-09-08 16:28:29 $ + * last change: $Author: obo $ $Date: 2004-10-18 15:18:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -161,6 +161,7 @@ private: class EditEngine; class SdrTextObj; +class ScStringCell; class ScEditCell; class ScPatternAttr; @@ -203,6 +204,23 @@ public: const XclExpRoot& rRoot, sal_Unicode cChar ); + /** Creates a new formatted string from a Calc string cell. + @descr Creates a Unicode string or a byte string, depending on the + current BIFF version contained in the passed XclExpRoot object. + May create a formatted string object, if the cell text contains + different script types. + @param rStringCell The Calc string cell object. + @param pCellAttr The set item containing the cell formatting. + @param nFlags Modifiers for string export. + @param nMaxLen The maximum number of characters to store in this string. + @return The new string object (shared pointer). */ + static XclExpStringRef CreateCellString( + const XclExpRoot& rRoot, + const ScStringCell& rStringCell, + const ScPatternAttr* pCellAttr, + XclStrFlags nFlags = EXC_STR_DEFAULT, + sal_uInt16 nMaxLen = EXC_STR_MAXLEN ); + /** Creates a new formatted string from a Calc edit cell. @descr Creates a Unicode string or a byte string, depending on the current BIFF version contained in the passed XclExpRoot object. @@ -212,7 +230,7 @@ public: @param nFlags Modifiers for string export. @param nMaxLen The maximum number of characters to store in this string. @return The new string object (shared pointer). */ - static XclExpStringRef CreateString( + static XclExpStringRef CreateCellString( const XclExpRoot& rRoot, const ScEditCell& rEditCell, const ScPatternAttr* pCellAttr, |