diff options
author | Noel Power <noel.power@novell.com> | 2010-10-06 10:15:43 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2010-10-06 10:15:43 +0100 |
commit | f13fd7b138caee676cf5dbeae3474e4a4b0b177a (patch) | |
tree | 58bbab934d3fd26a8fd886a2dbc52b5a2d283092 /sc/inc/appoptio.hxx | |
parent | Finished removing //CHINA comments and odd dead code from sc/source/ui/* (diff) | |
download | core-f13fd7b138caee676cf5dbeae3474e4a4b0b177a.tar.gz core-f13fd7b138caee676cf5dbeae3474e4a4b0b177a.zip |
initial commit for vba blob ( not including container_control stuff )
Diffstat (limited to 'sc/inc/appoptio.hxx')
-rw-r--r-- | sc/inc/appoptio.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx index 91fc43fc249a..6c46e5c60a83 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; |