diff options
author | Sascha Ballach <sab@openoffice.org> | 2001-11-26 08:21:56 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2001-11-26 08:21:56 +0000 |
commit | 7112f38b1323673030e8d039e8f1dd9c4664014d (patch) | |
tree | 3b69986e4edad3f45dafe4b7ea03ba105becf976 /sc | |
parent | #95130#; don't test the attribute value strings for invalid characters, becau... (diff) | |
download | core-7112f38b1323673030e8d039e8f1dd9c4664014d.tar.gz core-7112f38b1323673030e8d039e8f1dd9c4664014d.zip |
#95125#; cache the FieldEditEngine
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/document.hxx | 9 | ||||
-rw-r--r-- | sc/inc/textuno.hxx | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 1cf94d26ee44..cd53e2450a9b 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -2,9 +2,9 @@ * * $RCSfile: document.hxx,v $ * - * $Revision: 1.53 $ + * $Revision: 1.54 $ * - * last change: $Author: dr $ $Date: 2001-11-19 13:28:26 $ + * last change: $Author: sab $ $Date: 2001-11-26 09:20:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -383,6 +383,8 @@ private: ScRefreshTimerControl* pRefreshTimerControl; vos::ORef<SvxForbiddenCharactersTable> xForbiddenCharacters; + ScFieldEditEngine* pCacheFieldEditEngine; + com::sun::star::uno::Sequence<sal_Int8> aProtectPass; String aDocName; // opt: Dokumentname ScRangePairListRef xColNameRanges; @@ -518,6 +520,9 @@ public: void Clear(); + ScFieldEditEngine* CreateFieldEditEngine(); + void DisposeFieldEditEngine(ScFieldEditEngine*& rpEditEngine); + ScRangeName* GetRangeName(); void SetRangeName( ScRangeName* pNewRangeName ); USHORT GetMaxTableNumber() { return nMaxTableNumber; } diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx index 82047c5c7ba6..4ac9f6fc6f75 100644 --- a/sc/inc/textuno.hxx +++ b/sc/inc/textuno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: textuno.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: obo $ $Date: 2001-09-13 09:38:55 $ + * last change: $Author: sab $ $Date: 2001-11-26 09:21:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -107,6 +107,7 @@ class ScCellObj; class ScSimpleEditSource; class ScSharedCellEditSource; class ScEditEngineDefaulter; +class ScFieldEditEngine; struct ScHeaderFieldData; @@ -395,7 +396,7 @@ class ScCellTextData : public SfxListener { ScDocShell* pDocShell; ScAddress aCellPos; - ScEditEngineDefaulter* pEditEngine; + ScFieldEditEngine* pEditEngine; SvxEditEngineForwarder* pForwarder; ScSharedCellEditSource* pOriginalSource; BOOL bDataValid; @@ -412,7 +413,7 @@ public: // helper functions for ScSharedCellEditSource: SvxTextForwarder* GetTextForwarder(); void UpdateData(); - ScEditEngineDefaulter* GetEditEngine() { GetTextForwarder(); return pEditEngine; } + ScFieldEditEngine* GetEditEngine() { GetTextForwarder(); return pEditEngine; } ScSharedCellEditSource* GetOriginalSource(); // used as argument for SvxUnoText ctor |