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:33:44 +0100 |
commit | 6b7d41094d06bbb4c248927d02318cf1b5faba0a (patch) | |
tree | 34d1ff3845c4517e7ed0acace5d4864790730cb9 /include/svx/svdpntv.hxx | |
parent | 1f1ddaad5dd401b70ae69fb18f7873d652242154 (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
Change-Id: I1e427693d7af40cb5731d1730ac5b7c486d45c29
Diffstat (limited to 'include/svx/svdpntv.hxx')
-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 49029ceee764..3b52d2aca1aa 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -162,6 +162,7 @@ protected: SvtOptionsDrawinglayer maDrawinglayerOpt; bool mbPageVisible : 1; + bool mbPageShadowVisible : 1; bool mbPageBorderVisible : 1; bool mbBordVisible : 1; bool mbGridVisible : 1; @@ -372,6 +373,9 @@ public: /// Draw Page as a white area or not bool IsPageVisible() const { return mbPageVisible; } + /// Draw Page shadow or not + bool IsPageShadowVisible() const { return mbPageShadowVisible; } + /// Draw Page as a white area or not bool IsPageBorderVisible() const { return mbPageBorderVisible; } @@ -392,6 +396,7 @@ public: Color GetGridColor() const { return maGridColor;} void SetPageVisible(bool bOn = true) { mbPageVisible=bOn; InvalidateAllWin(); } + void SetPageShadowVisible(bool bOn = true) { mbPageShadowVisible=bOn; InvalidateAllWin(); } void SetPageBorderVisible(bool bOn = true) { mbPageBorderVisible=bOn; InvalidateAllWin(); } void SetBordVisible(bool bOn = true) { mbBordVisible=bOn; InvalidateAllWin(); } void SetGridVisible(bool bOn = true) { mbGridVisible=bOn; InvalidateAllWin(); } |