diff options
author | Ashod Nakashian <ashodnakashian@yahoo.com> | 2015-08-29 21:02:39 -0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-03 08:45:07 +0000 |
commit | 2b8e62f7b6e0a45a9ff1ec530b2e941f3fbcf1a0 (patch) | |
tree | 2536a965821cd4ce454b8b93b59fa9582b4fa94e /sw/inc/viewsh.hxx | |
parent | a1fd97308d7fc7a35a5def1e15a05099dba90f91 (diff) |
tdf#39080 Hide white space between pages in 'print layout'
Merged Hide Whitespace with Browser Mode and hooked
the former with the UI. In Hide Whitespace mode
the headers and footers are removed and
page margins as well as between-page gaps are
reduced to minimum.
In single-page view the side margins are left
as-is. In multi-page and book-view the sides
are removed, however, they have twice the
width of the top and bottom.
Printing and PDF export disable this mode.
The usable screen real-estate is greatly
improved in this mode, which is controlled
from the View menu.
Change-Id: I2d0075ae9a76162c26c78e9eb23a71920cdfc522
Reviewed-on: https://gerrit.libreoffice.org/17281
Reviewed-by: Jean-Baptiste Faure <jbfaure@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/viewsh.hxx')
-rw-r--r-- | sw/inc/viewsh.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 6e99bc160429..ff8c36c3dc6e 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -489,11 +489,10 @@ public: bool IsFrameView() const { return mbFrameView; } - // Makes the necessary invalidations: - // If BrowseMode has changed bBrowseChgd == true - // or bBrowseChgd == false in BrowseMode - // if proportions have changed. - void CheckBrowseView( bool bBrowseChgd ); + // Invalidates pages and contents. + // When bSizeChanged==true, adds/removes + // headers and footers as necessary. + void InvalidateLayout(bool bSizeChanged); const Size& GetBrowseBorder() const; sal_Int32 GetBrowseWidth() const; |