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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 060427951036..6a0a216b050a 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3278,6 +3278,8 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence<css:: const beans::PropertyValue& rValue = rArguments[i]; if (rValue.Name == ".uno:HideWhitespace" && rValue.Value.has<bool>()) aViewOption.SetHideWhitespaceMode(rValue.Value.get<bool>()); + else if (rValue.Name == ".uno:ShowBorderShadow" && rValue.Value.has<bool>()) + SwViewOption::SetAppearanceFlag(VIEWOPT_SHADOW , rValue.Value.get<bool>()); } pViewShell->ApplyViewOptions(aViewOption); |