[Libreoffice-commits] core.git: include/svx sd/source
Samuel Mehrbrodt
s.mehrbrodt at gmail.com
Mon Oct 13 12:21:52 PDT 2014
include/svx/svxcommands.h | 1 +
sd/source/ui/app/menuids_tmpl.src | 8 ++++++++
sd/source/ui/app/popup2_tmpl.src | 1 +
3 files changed, 10 insertions(+)
New commits:
commit 1175b25bf2353c95111fb5c0459feee751b3c764
Author: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Date: Mon Oct 13 21:20:23 2014 +0200
fdo#84213 Add show/hide ruler to sd context menu
Change-Id: Iee42ab31a82ed4459f956706cef513afcf70ef94
diff --git a/include/svx/svxcommands.h b/include/svx/svxcommands.h
index 1cd454f..fdcc227 100644
--- a/include/svx/svxcommands.h
+++ b/include/svx/svxcommands.h
@@ -86,6 +86,7 @@
#define CMD_SID_OUTLINE_MAKE ".uno:Group"
#define CMD_SID_INSERT_POSTIT ".uno:InsertAnnotation"
#define CMD_SID_REPLYTO_POSTIT ".uno:ReplyToAnnotation"
+#define CMD_SID_RULER ".uno:ShowRuler"
#define CMD_SID_DELETE_POSTIT ".uno:DeleteAnnotation"
#define CMD_SID_DELETEALL_POSTIT ".uno:DeleteAllAnnotation"
#define CMD_SID_DELETEALLBYAUTHOR_POSTIT ".uno:DeleteAllAnnotationByAuthor"
diff --git a/sd/source/ui/app/menuids_tmpl.src b/sd/source/ui/app/menuids_tmpl.src
index c78ff25..77273dd 100644
--- a/sd/source/ui/app/menuids_tmpl.src
+++ b/sd/source/ui/app/menuids_tmpl.src
@@ -959,6 +959,14 @@
RadioCheck = TRUE ; \
Text [ en-US ] = "Fixed Ver~tical Bottom" ; \
};
+#define MN_RULER\
+ MenuItem\
+ {\
+ Identifier = SID_RULER ; \
+ HelpId = CMD_SID_RULER ; \
+ Checkable = TRUE ; \
+ Text [ en-US ] = "Display ~Ruler" ; \
+ };
#define MN_GRID_VISIBLE\
MenuItem\
diff --git a/sd/source/ui/app/popup2_tmpl.src b/sd/source/ui/app/popup2_tmpl.src
index fed9de8..7d54ed5 100644
--- a/sd/source/ui/app/popup2_tmpl.src
+++ b/sd/source/ui/app/popup2_tmpl.src
@@ -528,6 +528,7 @@
MN_PRESENTATION
#endif
SEPARATOR
+ MN_RULER
MN_GRID
MN_HELPLINES
MN_CAPTUREPOINT
More information about the Libreoffice-commits
mailing list