summaryrefslogtreecommitdiff
path: root/sw/inc/viewopt.hxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashodnakashian@yahoo.com>2015-07-13 23:32:28 -0400
committerAndras Timar <andras.timar@collabora.com>2015-11-05 22:58:27 +0100
commitcdebfc0f5a230668d9630492118c06ceda339543 (patch)
treeaefcc7b13ca6947c0a9c3c8fad88c6cd3c8581ec /sw/inc/viewopt.hxx
parent6064a8b601a4d3ee6e4bbe598d7ee50712d300e4 (diff)
tdf#39080 Added HideWhitespaceMode ViewOption flagcp-5.0-8
Change-Id: I94ac57881dc3a3628413b9198ea750fdc282accb Reviewed-on: https://gerrit.libreoffice.org/17278 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 3e3c5369e87066a4bfdead5fc9dbfe128f84df52)
Diffstat (limited to 'sw/inc/viewopt.hxx')
-rw-r--r--sw/inc/viewopt.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx
index dee2189a6795..87558cc185c6 100644
--- a/sw/inc/viewopt.hxx
+++ b/sw/inc/viewopt.hxx
@@ -150,6 +150,7 @@ protected:
bool mbBrowseMode : 1;
bool mbBookView : 1; // View mode for page preview.
bool mbViewLayoutBookMode : 1; // Book view mode for edit view.
+ bool mbHideWhitespaceMode : 1; // Hide header, footer, and pagebreak.
bool bShowPlaceHolderFields : 1; // Only used in printing!
mutable bool bIdle;
@@ -393,6 +394,8 @@ public:
void SetViewLayoutBookMode( bool bNew ) { mbViewLayoutBookMode = bNew; }
sal_uInt16 GetViewLayoutColumns() const { return mnViewLayoutColumns; }
void SetViewLayoutColumns( sal_uInt16 nNew ) { mnViewLayoutColumns = nNew; }
+ bool IsHideWhitespaceMode() const { return mbHideWhitespaceMode; }
+ void SetHideWhitespaceMode( bool bMode ) { mbHideWhitespaceMode = bMode; }
#ifdef DBG_UTIL
// Correspond to statements in ui/config/cfgvw.src.