summaryrefslogtreecommitdiff
path: root/sc/inc/compiler.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-03-17 23:18:06 +0100
committerEike Rathke <erack@redhat.com>2016-03-18 10:37:40 +0100
commit64e542413851236c75e25185c137d6fd6ddfe3a1 (patch)
tree63917c801d463b4544aad77a70e688612169d136 /sc/inc/compiler.hxx
parentf4c59e5364e449bd8ce5420ff57331677ff859b9 (diff)
Resolves: tdf#96915 implement other-sheet-local named expressions
Change-Id: I0d62536caa6eb455473a755067abc585662cd9a5
Diffstat (limited to 'sc/inc/compiler.hxx')
-rw-r--r--sc/inc/compiler.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 2af43e4561b8..e1887aa10d27 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -120,7 +120,7 @@ public:
sal_Unicode cName[MAXSTRLEN+1];
} extname;
struct {
- bool bGlobal;
+ sal_Int16 nSheet;
sal_uInt16 nIndex;
} name;
struct {
@@ -157,7 +157,7 @@ public:
void SetErrorConstant( sal_uInt16 nErr );
// These methods are ok to use, reference count not cleared.
- void SetName(bool bGlobal, sal_uInt16 nIndex);
+ void SetName(sal_Int16 nSheet, sal_uInt16 nIndex);
void SetExternalSingleRef( sal_uInt16 nFileId, const OUString& rTabName, const ScSingleRefData& rRef );
void SetExternalDoubleRef( sal_uInt16 nFileId, const OUString& rTabName, const ScComplexRefData& rRef );
void SetExternalName( sal_uInt16 nFileId, const OUString& rName );
@@ -272,6 +272,9 @@ private:
SvNumberFormatter* mpFormatter;
+ SCTAB mnCurrentSheetTab; // indicates current sheet number parsed so far
+ sal_Int32 mnCurrentSheetEndPos; // position after current sheet name if parsed
+
// For CONV_XL_OOX, may be set via API by MOOXML filter.
css::uno::Sequence<css::sheet::ExternalLinkInfo> maExternalLinks;