summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-08 10:28:07 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-08 10:28:07 +0000
commitf23cb022512ab7d183c8c043427817f272480c36 (patch)
tree1569f4ddfd4052f4849988f0ca513ba406036b06 /sc
parent8e65936623d98f78eed449b1328b79e6d66b26fd (diff)
INTEGRATION: CWS calcer (1.84.8); FILE MERGED
2005/02/21 15:18:28 er 1.84.8.2: RESYNC: (1.84-1.85); FILE MERGED 2005/02/18 18:52:24 er 1.84.8.1: #i20986# #i21124# #i4874# #i7309# new algorithm for recursions and iterations
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 62f72a58d1b1..3bbbd28169dd 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: document.hxx,v $
*
- * $Revision: 1.85 $
+ * $Revision: 1.86 $
*
- * last change: $Author: obo $ $Date: 2004-11-15 16:32:04 $
+ * last change: $Author: vg $ $Date: 2005-03-08 11:28:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -176,6 +176,7 @@ class ScImpExpLogMsg;
struct ScSortParam;
class ScRefreshTimerControl;
class ScUnoListenerCalls;
+class ScRecursionHelper;
struct RowInfo;
struct ScTableInfo;
struct ScTabOpParam;
@@ -327,6 +328,8 @@ private:
List* pLoadedSymbolStringCellList; // binary file format import of symbol font string cells
+ ScRecursionHelper* pRecursionHelper; // information for recursive and iterative cell formulas
+
sal_uInt32 nRangeOverflowType; // used in (xml) loading for overflow warnings
ScRange aClipRange;
@@ -1468,6 +1471,8 @@ private:
DECL_LINK( TrackTimeHdl, Timer* );
+ static ScRecursionHelper* CreateRecursionHelperInstance();
+
public:
void StartListeningArea( const ScRange& rRange,
SvtListener* pListener );
@@ -1555,6 +1560,12 @@ public:
// add a formula to be remembered for TableOp broadcasts
void AddTableOpFormulaCell( ScFormulaCell* );
void InvalidateLastTableOpParams() { aLastTableOpParams.bValid = FALSE; }
+ ScRecursionHelper& GetRecursionHelper()
+ {
+ if (!pRecursionHelper)
+ pRecursionHelper = CreateRecursionHelperInstance();
+ return *pRecursionHelper;
+ }
BOOL IsInDtorClear() const { return bInDtorClear; }
void SetExpandRefs( BOOL bVal ) { bExpandRefs = bVal; }
BOOL IsExpandRefs() { return bExpandRefs; }