summaryrefslogtreecommitdiff
path: root/sc/inc/appoptio.hxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-10-06 10:15:43 +0100
committerNoel Power <noel.power@novell.com>2010-10-06 10:15:43 +0100
commit8d786dbd40ba7fe53baabc4a0e279d8a47a7f5d1 (patch)
treef2f568b0c3500415beff5316d7e7a6bc758d25b7 /sc/inc/appoptio.hxx
parent9903d5a611403253addf310b427723db27760f94 (diff)
initial commit for vba blob ( not including container_control stuff )
Diffstat (limited to 'sc/inc/appoptio.hxx')
-rw-r--r--sc/inc/appoptio.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx
index 4056b3c39..12b41ff5e 100644
--- a/sc/inc/appoptio.hxx
+++ b/sc/inc/appoptio.hxx
@@ -44,6 +44,10 @@ public:
void SetDefaults();
+ // Set or get the initial tab count for new spreadsheet, it is used by VBA API currently.
+ void SetTabCountInNewSpreadsheet( sal_Int16 nCount ) { nTabCountInNewSpreadsheet = nCount; }
+ sal_Int16 GetTabCountInNewSpreadsheet() const { return nTabCountInNewSpreadsheet; }
+
void SetAppMetric( FieldUnit eUnit ) { eMetric = eUnit; }
FieldUnit GetAppMetric() const { return eMetric; }
void SetZoom( USHORT nNew ) { nZoom = nNew; }
@@ -87,6 +91,7 @@ public:
const ScAppOptions& operator= ( const ScAppOptions& rOpt );
private:
+ sal_Int16 nTabCountInNewSpreadsheet;
FieldUnit eMetric;
USHORT nLRUFuncCount;
USHORT* pLRUList;