diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-07 15:33:48 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-07 15:33:48 +0000 |
commit | 7f4bfd52878150ab5617789642d607de605f300b (patch) | |
tree | cbe1c6d8c287bd65587452895f6ec314c78e6e7a /sw/source/ui/inc/usrpref.hxx | |
parent | a7457adc97e6501d0b5f3e123a06d256767b4c4c (diff) |
INTEGRATION: CWS cjksp1_DEV300 (1.10.774); FILE MERGED
2007/12/17 02:47:57 pflin 1.10.774.4: RESYNC: (1.12-1.13); FILE MERGED
2007/10/23 06:03:57 pflin 1.10.774.3: RESYNC: (1.11-1.12); FILE MERGED
2007/09/27 04:29:47 pflin 1.10.774.2: RESYNC: (1.10-1.11); FILE MERGED
2007/04/23 08:01:38 pflin 1.10.774.1: Text grid enhancement: grid layout refactor
Diffstat (limited to 'sw/source/ui/inc/usrpref.hxx')
-rw-r--r-- | sw/source/ui/inc/usrpref.hxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sw/source/ui/inc/usrpref.hxx b/sw/source/ui/inc/usrpref.hxx index e66d80d71d17..b80986f841c6 100644 --- a/sw/source/ui/inc/usrpref.hxx +++ b/sw/source/ui/inc/usrpref.hxx @@ -4,9 +4,9 @@ * * $RCSfile: usrpref.hxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2007-11-06 16:26:43 $ + * last change: $Author: kz $ $Date: 2008-03-07 16:33:48 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -157,6 +157,7 @@ class SwMasterUsrPref : public SwViewOption sal_Int32 nDefTab; //default tab stop distance + sal_Bool bIsSquaredPageMode; //default page mode for text grid SwContentViewConfig aContentConfig; SwLayoutViewConfig aLayoutConfig; SwGridConfig aGridConfig; @@ -272,6 +273,15 @@ public: aLayoutConfig.SetModified(); } + //default page mode for text grid + sal_Bool IsSquaredPageMode() const {return bIsSquaredPageMode;} + void SetDefaultPageMode( sal_Bool bVal, sal_Bool bNoModify = sal_False ) + { + bIsSquaredPageMode = bVal; + if(!bNoModify) + aLayoutConfig.SetModified(); + } + }; #endif |