diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2016-01-07 15:57:21 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-08 10:42:48 +0100 |
commit | 51ad08e8b5f37807418ca744d4ddc16ca1735023 (patch) | |
tree | 6ed3e21132206b3684c799baa27eb1082a22c4ec /include | |
parent | 7fdbc8839d620ec124102ce50cdf6e38d885f322 (diff) |
lool - page border shadow can be disabled
Support for text documents and presentations.
Added a command line option for gtktiledviewer:
--hide-page-shadow.
Reviewed on:
https://gerrit.libreoffice.org/21210
(cherry picked from commit 6b7d41094d06bbb4c248927d02318cf1b5faba0a)
Conflicts:
include/svx/svdpntv.hxx
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
svx/source/svdraw/svdpntv.cxx
Change-Id: I1e427693d7af40cb5731d1730ac5b7c486d45c29
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdpntv.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index a9c2c45c9a07..afab1ce1e461 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -168,6 +168,7 @@ protected: SvtOptionsDrawinglayer maDrawinglayerOpt; bool bPageVisible : 1; + bool mbPageShadowVisible : 1; bool bPageBorderVisible : 1; bool bBordVisible : 1; bool bGridVisible : 1; @@ -399,6 +400,9 @@ protected: public: bool IsPageVisible() const { return bPageVisible; } // Seite (weisse Flaeche) malen oder nicht + /// Draw Page shadow or not + bool IsPageShadowVisible() const { return mbPageShadowVisible; } + bool IsPageBorderVisible() const { return bPageBorderVisible; } // Seite (weisse Flaeche) malen oder nicht bool IsBordVisible() const { return bBordVisible; } // Seitenrandlinie malen oder nicht bool IsGridVisible() const { return bGridVisible; } // Rastergitter malen oder nicht @@ -408,6 +412,7 @@ public: bool IsGlueVisible() const { return bGlueVisible; } // Konnektoren der objekte sichtbar oder nicht Color GetGridColor() const { return maGridColor;} void SetPageVisible(bool bOn = true) { bPageVisible=bOn; InvalidateAllWin(); } + void SetPageShadowVisible(bool bOn = true) { mbPageShadowVisible=bOn; InvalidateAllWin(); } void SetPageBorderVisible(bool bOn = true) { bPageBorderVisible=bOn; InvalidateAllWin(); } void SetBordVisible(bool bOn = true) { bBordVisible=bOn; InvalidateAllWin(); } void SetGridVisible(bool bOn = true) { bGridVisible=bOn; InvalidateAllWin(); } |