summaryrefslogtreecommitdiff
path: root/sw/inc/viewopt.hxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2009-12-03 15:25:10 +0100
committerThomas Lange [tl] <tl@openoffice.org>2009-12-03 15:25:10 +0100
commit0b7a663872f6377fced80cdd6368174f1f28eddb (patch)
tree6213bae8b11c9c8caaa0bb7f1488861e6f9d9e63 /sw/inc/viewopt.hxx
parent1b9308fe40e222d3a2262c7c0e399e8c6aa6ffde (diff)
#i106926# printing of hidden text fixed
Diffstat (limited to 'sw/inc/viewopt.hxx')
-rwxr-xr-x[-rw-r--r--]sw/inc/viewopt.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx
index d650d90cf08e..2ac47e284b49 100644..100755
--- a/sw/inc/viewopt.hxx
+++ b/sw/inc/viewopt.hxx
@@ -82,8 +82,7 @@ namespace svtools{ class ColorConfig;}
#define VIEWOPT_CORE2_SMOOTHSCROLL 0x00000004L
#define VIEWOPT_CORE2_CRSR_IN_PROT 0x00000008L
#define VIEWOPT_CORE2_PDF_EXPORT 0x00000010L
-
-
+#define VIEWOPT_CORE2_PRINTING 0x00000020L
#define VIEWOPT_CORE2_BIGMARKHDL 0x00000040L
#define VIEWOPT_2_UNUSED1 0x00000100L
@@ -381,6 +380,12 @@ public:
inline void SetPDFExport(BOOL b)
{ (b != 0) ? (nCore2Options |= VIEWOPT_CORE2_PDF_EXPORT) : (nCore2Options &= ~VIEWOPT_CORE2_PDF_EXPORT);}
+ inline BOOL IsPrinting() const
+ {return nCore2Options & VIEWOPT_CORE2_PRINTING ? TRUE : FALSE;}
+
+ inline void SetPrinting(BOOL b)
+ { (b != 0) ? (nCore2Options |= VIEWOPT_CORE2_PRINTING) : (nCore2Options &= ~VIEWOPT_CORE2_PRINTING);}
+
/*---------------------------------------------------------------------------
----------------------------------------------------------------------------*/