summaryrefslogtreecommitdiff
path: root/sw/sdi/swriter.sdi
diff options
context:
space:
mode:
authorJoren De Cuyper <jorendc@libreoffice.org>2014-07-03 14:01:10 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-07-21 08:29:34 +0000
commitc38b40c0101e2607deb53690205fa889f06f3440 (patch)
tree8d848ca37f904b5b97fc2c146f5da974e10489c0 /sw/sdi/swriter.sdi
parent2420e776f728aee6171a8afe199ff84907152c39 (diff)
fdo#80651 - Add 'Single Page' button to Page Preview Toolbar
Only Oxygen and Crystal theme need another icon then the 'adddirect' one. Both themes have a 'sum' sign in that icon. Other themes shows a nice single page icon. Change-Id: I7db13014f6fa97b2a9474a66a27a70352ea69b29 Reviewed-on: https://gerrit.libreoffice.org/10053 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/sdi/swriter.sdi')
-rw-r--r--sw/sdi/swriter.sdi24
1 files changed, 24 insertions, 0 deletions
diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi
index fc78e4ab0a15..2d60dff53a18 100644
--- a/sw/sdi/swriter.sdi
+++ b/sw/sdi/swriter.sdi
@@ -7270,6 +7270,30 @@ SfxVoidItem ShowTwoPages FN_SHOW_TWO_PAGES
GroupId = GID_VIEW;
]
+SfxVoidItem ShowSinglePage FN_SHOW_SINGLE_PAGE
+()
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = TRUE,
+ HasCoreId = FALSE,
+ HasDialog = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Synchron;
+
+ /* config: */
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_VIEW;
+]
+
SfxBoolItem ShowBookview FN_SHOW_BOOKVIEW
[