From f13fd7b138caee676cf5dbeae3474e4a4b0b177a Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 6 Oct 2010 10:15:43 +0100 Subject: initial commit for vba blob ( not including container_control stuff ) --- sc/inc/appoptio.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sc/inc/appoptio.hxx') 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; -- cgit