summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-09-20 11:10:10 +0000
committerOliver Specht <os@openoffice.org>2002-09-20 11:10:10 +0000
commit6361e50130e1cc9ec5b7559e67fc58b3430b4e5a (patch)
treead8c92d2172c5610f42815d63e9767470d34948c /sw/source/ui/inc
parent4dde6906c3b1d3687820aa84c9548462ceae71a6 (diff)
#103376# function to switch both rulers at once added
Diffstat (limited to 'sw/source/ui/inc')
-rw-r--r--sw/source/ui/inc/cfgitems.hxx5
-rw-r--r--sw/source/ui/inc/optpage.hxx6
2 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/inc/cfgitems.hxx b/sw/source/ui/inc/cfgitems.hxx
index ac0dd32eb499..a6b6742cd2c1 100644
--- a/sw/source/ui/inc/cfgitems.hxx
+++ b/sw/source/ui/inc/cfgitems.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cfgitems.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: os $ $Date: 2002-04-25 13:51:50 $
+ * last change: $Author: os $ $Date: 2002-09-20 12:09:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -132,6 +132,7 @@ class SwElemItem : public SfxPoolItem
//view
BOOL bHorzScrollbar :1;
BOOL bVertScrollbar :1;
+ BOOL bAnyRuler : 1;
BOOL bHorzRuler :1;
BOOL bVertRuler :1;
BOOL bVertRulerRight:1;
diff --git a/sw/source/ui/inc/optpage.hxx b/sw/source/ui/inc/optpage.hxx
index 4ad6f9ad0d0e..24c42ab1cd3e 100644
--- a/sw/source/ui/inc/optpage.hxx
+++ b/sw/source/ui/inc/optpage.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: optpage.hxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: gt $ $Date: 2002-08-07 12:08:21 $
+ * last change: $Author: os $ $Date: 2002-09-20 12:10:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -116,6 +116,7 @@ class SwContentOptPage : public SfxTabPage
FixedLine aWindowFL;
CheckBox aHScrollBox;
CheckBox aVScrollBox;
+ CheckBox aAnyRulerCB;
CheckBox aHRulerCBox;
ListBox aHMetric;
CheckBox aVRulerCBox;
@@ -136,6 +137,7 @@ class SwContentOptPage : public SfxTabPage
ListBox aMetricLB;
DECL_LINK(VertRulerHdl, CheckBox*);
+ DECL_LINK(AnyRulerHdl, CheckBox*);
public:
SwContentOptPage( Window* pParent,
const SfxItemSet& rSet );