diff options
author | Oliver Specht <os@openoffice.org> | 2002-03-07 07:57:28 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-03-07 07:57:28 +0000 |
commit | 6516a8d80f84720abe4a88d07bedd8dae98cfe7e (patch) | |
tree | bd0c49e37e369fe1aa8948f0405a4d82c069876a /sw/inc/viewopt.hxx | |
parent | fe93df08161d7011f1b8aaba8e28d0c09628084b (diff) |
#96678# enable right alignment of the vertical ruler
Diffstat (limited to 'sw/inc/viewopt.hxx')
-rw-r--r-- | sw/inc/viewopt.hxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index 5ab18f0ba194..da595ee81e04 100644 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -2,9 +2,9 @@ * * $RCSfile: viewopt.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: os $ $Date: 2001-09-20 12:43:57 $ + * last change: $Author: os $ $Date: 2002-03-07 08:56:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -144,6 +144,7 @@ class SwDocShell; #define VIEWOPT_2_RESERVED4 0x00400000L #define VIEWOPT_2_PRTFORMAT 0x00800000L #define VIEWOPT_2_SHADOWCRSR 0x01000000L +#define VIEWOPT_2_VLIN_RIGHT 0x02000000L //Tabellenhintergrund #define TBL_DEST_CELL 0 @@ -547,6 +548,12 @@ public: void SetShadowCursor(BOOL b) { b ? (nUIOptions |= VIEWOPT_2_SHADOWCRSR ) : ( nUIOptions &= ~VIEWOPT_2_SHADOWCRSR); } + //move vertical ruler to the right + BOOL IsVRulerRight() const + { return nUIOptions & VIEWOPT_2_VLIN_RIGHT ? TRUE : FALSE; } + void SetVRulerRight(BOOL b) + { b ? (nUIOptions |= VIEWOPT_2_VLIN_RIGHT ) : ( nUIOptions &= ~VIEWOPT_2_VLIN_RIGHT); } + BOOL IsStarOneSetting() const {return bStarOneSetting; } void SetStarOneSetting(BOOL bSet) {bStarOneSetting = bSet; } |