From fb6a15d4295fab0077e6ac6bfcf356a836624dd7 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 18 Oct 2004 14:18:53 +0000 Subject: 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 --- sc/source/filter/inc/xehelper.hxx | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'sc/source') 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, -- cgit