diff options
author | Oliver Specht <os@openoffice.org> | 2002-05-06 11:11:40 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-05-06 11:11:40 +0000 |
commit | 3236db5ef93df40cd3b190d16e1a04015a0e8dd5 (patch) | |
tree | 2517f94d2a2cc2554ba30e54ec2e4c9e41e39366 /sw/inc/viewopt.hxx | |
parent | 9a79fdb0106e019311d80dd1fa88a31872070318 (diff) |
#98823# Accessibility options forwarded to the ViewShell's ViewOption
Diffstat (limited to 'sw/inc/viewopt.hxx')
-rw-r--r-- | sw/inc/viewopt.hxx | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index dace854826b2..ec2a986fe0c2 100644 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -2,9 +2,9 @@ * * $RCSfile: viewopt.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: os $ $Date: 2002-04-25 13:55:37 $ + * last change: $Author: os $ $Date: 2002-05-06 12:10:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -91,8 +91,8 @@ namespace svx{ class ColorConfig;} #define VIEWOPT_1_REF 0x00000400L #define VIEWOPT_1_FLDNAME 0x00000800L - - +#define VIEWOPT_1_ALWAYS_AUTOCOLOR 0x00001000L +#define VIEWOPT_1_STOP_ANIMATED_GRAPHIC 0x00002000L #define VIEWOPT_1_POSTITS 0x00004000L #define VIEWOPT_1_HIDDEN 0x00008000L @@ -100,7 +100,7 @@ namespace svx{ class ColorConfig;} #define VIEWOPT_1_TABLE 0x00040000L #define VIEWOPT_1_DRAW 0x00080000L #define VIEWOPT_1_CONTROL 0x00100000L - +#define VIEWOPT_1_STOP_ANIMATED_TEXT 0x00200000L #define VIEWOPT_1_CROSSHAIR 0x00400000L #define VIEWOPT_1_SNAP 0x00800000L #define VIEWOPT_1_SYNCHRONIZE 0x01000000L @@ -409,6 +409,20 @@ public: inline void SetCursorInProtectedArea(BOOL b) { (b != 0) ? (nCore2Options |= VIEWOPT_CORE2_CRSR_IN_PROT) : (nCore2Options &= ~VIEWOPT_CORE2_CRSR_IN_PROT);} + //--------Accessibility options + inline BOOL IsAlwaysAutoColor() const { return !bReadonly && (nCoreOptions & VIEWOPT_1_ALWAYS_AUTOCOLOR) ? TRUE : FALSE; } + inline void SetAlwaysAutoColor( BOOL b ) + { (b != 0) ? (nCoreOptions |= VIEWOPT_1_ALWAYS_AUTOCOLOR ) : ( nCoreOptions &= ~VIEWOPT_1_ALWAYS_AUTOCOLOR); } + + + inline BOOL IsStopAnimatedGraphics() const { return !bReadonly && (nCoreOptions & VIEWOPT_1_STOP_ANIMATED_GRAPHIC ) ? TRUE : FALSE; } + inline void SetStopAnimatedGraphics( BOOL b ) + { (b != 0) ? (nCoreOptions |= VIEWOPT_1_STOP_ANIMATED_GRAPHIC ) : ( nCoreOptions &= ~VIEWOPT_1_STOP_ANIMATED_GRAPHIC ); } + + inline BOOL IsStopAnimatedText() const { return !bReadonly && (nCoreOptions & VIEWOPT_1_STOP_ANIMATED_TEXT ) ? TRUE : FALSE; } + inline void SetStopAnimatedText( BOOL b ) + { (b != 0) ? (nCoreOptions |= VIEWOPT_1_STOP_ANIMATED_TEXT ) : ( nCoreOptions &= ~VIEWOPT_1_STOP_ANIMATED_TEXT ); } + /*--------------------------------------------------------------------------- ----------------------------------------------------------------------------*/ |