#79771'; UpdateSymbol for OUStringBuffer added
This commit is contained in:
parent
53b60056c4
commit
e11a9a3083
2 changed files with 23 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: rangenam.hxx,v $
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Revision: 1.4 $
|
||||
*
|
||||
* last change: $Author: nn $ $Date: 2001-06-15 13:37:06 $
|
||||
* last change: $Author: sab $ $Date: 2001-06-20 14:17:55 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -75,6 +75,11 @@ class ScDocument;
|
|||
class ScMultipleReadHeader;
|
||||
class ScMultipleWriteHeader;
|
||||
|
||||
namespace rtl {
|
||||
class OUStringBuffer;
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
typedef USHORT RangeType;
|
||||
|
@ -168,6 +173,8 @@ public:
|
|||
void GetEnglishSymbol(String& rSymbol, BOOL bCompileXML = FALSE) const;
|
||||
void UpdateSymbol( String& rSymbol, const ScAddress&,
|
||||
BOOL bEnglish = FALSE, BOOL bCompileXML = FALSE );
|
||||
void UpdateSymbol( rtl::OUStringBuffer& rBuffer, const ScAddress&,
|
||||
BOOL bEnglish = FALSE, BOOL bCompileXML = FALSE );
|
||||
void UpdateReference( UpdateRefMode eUpdateRefMode,
|
||||
const ScRange& r,
|
||||
short nDx, short nDy, short nDz );
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: rangenam.cxx,v $
|
||||
*
|
||||
* $Revision: 1.6 $
|
||||
* $Revision: 1.7 $
|
||||
*
|
||||
* last change: $Author: nn $ $Date: 2001-06-15 13:39:13 $
|
||||
* last change: $Author: sab $ $Date: 2001-06-20 14:19:26 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -342,6 +342,18 @@ void ScRangeData::UpdateSymbol( String& rSymbol, const ScAddress& rPos,
|
|||
delete pTemp;
|
||||
}
|
||||
|
||||
void ScRangeData::UpdateSymbol( rtl::OUStringBuffer& rBuffer, const ScAddress& rPos,
|
||||
BOOL bEnglish, BOOL bCompileXML )
|
||||
{
|
||||
ScTokenArray* pTemp = pCode->Clone();
|
||||
ScCompiler aComp( pDoc, rPos, *pTemp );
|
||||
aComp.SetCompileEnglish( bEnglish );
|
||||
aComp.SetCompileXML( bCompileXML );
|
||||
aComp.MoveRelWrap();
|
||||
aComp.CreateStringFromTokenArray( rBuffer );
|
||||
delete pTemp;
|
||||
}
|
||||
|
||||
void ScRangeData::UpdateReference( UpdateRefMode eUpdateRefMode,
|
||||
const ScRange& r,
|
||||
short nDx, short nDy, short nDz )
|
||||
|
|
Loading…
Reference in a new issue