diff options
author | Oliver Specht <os@openoffice.org> | 2001-01-24 15:08:03 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-01-24 15:08:03 +0000 |
commit | 60a114c64b4bd6e615dfc0a48621355f8c9a3ce9 (patch) | |
tree | 23ad86278074c973ce57294d82fc69b55e7d6094 /sw/source/ui/inc | |
parent | d5031545348b5b927f82f66977650d6dfb3df945 (diff) |
#82955# cursor configuration
Diffstat (limited to 'sw/source/ui/inc')
-rw-r--r-- | sw/source/ui/inc/usrpref.hxx | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/sw/source/ui/inc/usrpref.hxx b/sw/source/ui/inc/usrpref.hxx index 6cbd5386ef..a12fd798fa 100644 --- a/sw/source/ui/inc/usrpref.hxx +++ b/sw/source/ui/inc/usrpref.hxx @@ -2,9 +2,9 @@ * * $RCSfile: usrpref.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: os $ $Date: 2001-01-24 11:14:02 $ + * last change: $Author: os $ $Date: 2001-01-24 16:07:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -126,6 +126,23 @@ class SwGridConfig : public utl::ConfigItem void Load(); void SetModified(){ConfigItem::SetModified();} }; +/* -----------------------------19.01.01 13:06-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwCursorConfig : public utl::ConfigItem +{ + SwMasterUsrPref& rParent; + + com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); + public: + SwCursorConfig(SwMasterUsrPref& rParent); + ~SwCursorConfig(); + + virtual void Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames); + virtual void Commit(); + void Load(); + void SetModified(){ConfigItem::SetModified();} +}; /* -----------------------------28.09.00 09:45-------------------------------- ---------------------------------------------------------------------------*/ @@ -134,10 +151,12 @@ class SwMasterUsrPref : public SwViewOption friend class SwContentViewConfig; friend class SwLayoutViewConfig; friend class SwGridConfig; + friend class SwCursorConfig; SwContentViewConfig aContentConfig; SwLayoutViewConfig aLayoutConfig; SwGridConfig aGridConfig; + SwCursorConfig aCursorConfig; sal_Int32 nFldUpdateFlags; //udpate of fields and charts sal_Bool bFldUpdateInCurrDoc; @@ -157,12 +176,14 @@ public: aContentConfig.Commit(); aLayoutConfig.Commit(); aGridConfig.Commit(); + aCursorConfig.Commit(); } void SetModified() { aContentConfig.SetModified(); aLayoutConfig.SetModified(); aGridConfig.SetModified(); + aCursorConfig.SetModified(); } void SetUpdateLinkMode(sal_Int32 nSet) {nLinkUpdateMode = nSet; SetModified();} |