summaryrefslogtreecommitdiffstats
path: root/sc/inc/appoptio.hxx
diff options
context:
space:
mode:
authorAlbert Thuswaldner <albert.thuswaldner@gmail.com>2012-02-03 11:15:31 +0100
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-06 13:44:30 -0500
commit28ff7a37e66c8746a0b176b4ea25e20c1cd135c5 (patch)
tree1a767aa2587d50ec6f6e3b277b2aa1e11110a492 /sc/inc/appoptio.hxx
parentfix typo (diff)
downloadcore-28ff7a37e66c8746a0b176b4ea25e20c1cd135c5.tar.gz
core-28ff7a37e66c8746a0b176b4ea25e20c1cd135c5.zip
Moved ScTpCompat from docoptions to appoptions
Diffstat (limited to 'sc/inc/appoptio.hxx')
-rw-r--r--sc/inc/appoptio.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx
index 84fbc86801ec..fac4061b50c9 100644
--- a/sc/inc/appoptio.hxx
+++ b/sc/inc/appoptio.hxx
@@ -33,6 +33,7 @@
#include <svx/zoomitem.hxx>
#include <unotools/configitem.hxx>
#include "scdllapi.h"
+#include "scmod.hxx"
#include "global.hxx"
#include "optutil.hxx"
@@ -87,6 +88,8 @@ public:
void SetShowSharedDocumentWarning( sal_Bool bNew ) { mbShowSharedDocumentWarning = bNew; }
sal_Bool GetShowSharedDocumentWarning() const { return mbShowSharedDocumentWarning; }
+ ScOptionsUtil::KeyBindingType GetKeyBindingType() const { return meKeyBindingType; }
+ void SetKeyBindingType( ScOptionsUtil::KeyBindingType e ) { meKeyBindingType = e; }
const ScAppOptions& operator= ( const ScAppOptions& rOpt );
@@ -110,6 +113,7 @@ private:
sal_Int32 nDefaultObjectSizeWidth;
sal_Int32 nDefaultObjectSizeHeight;
sal_Bool mbShowSharedDocumentWarning;
+ ScOptionsUtil::KeyBindingType meKeyBindingType;
};
@@ -128,6 +132,7 @@ class ScAppCfg : public ScAppOptions
ScLinkConfigItem aContentItem;
ScLinkConfigItem aSortListItem;
ScLinkConfigItem aMiscItem;
+ ScLinkConfigItem aCompatItem;
DECL_LINK( LayoutCommitHdl, void* );
DECL_LINK( InputCommitHdl, void* );
@@ -135,6 +140,7 @@ class ScAppCfg : public ScAppOptions
DECL_LINK( ContentCommitHdl, void* );
DECL_LINK( SortListCommitHdl, void* );
DECL_LINK( MiscCommitHdl, void* );
+ DECL_LINK( CompatCommitHdl, void* );
com::sun::star::uno::Sequence<rtl::OUString> GetLayoutPropertyNames();
com::sun::star::uno::Sequence<rtl::OUString> GetInputPropertyNames();
@@ -142,6 +148,7 @@ class ScAppCfg : public ScAppOptions
com::sun::star::uno::Sequence<rtl::OUString> GetContentPropertyNames();
com::sun::star::uno::Sequence<rtl::OUString> GetSortListPropertyNames();
com::sun::star::uno::Sequence<rtl::OUString> GetMiscPropertyNames();
+ com::sun::star::uno::Sequence<rtl::OUString> GetCompatPropertyNames();
public:
ScAppCfg();
@@ -150,7 +157,6 @@ public:
void OptionsChanged(); // after direct access to ScAppOptions base class
};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */