summaryrefslogtreecommitdiff
path: root/sd/uiconfig/sdraw/menubar
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-06-04 13:54:57 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-06-04 19:58:05 +0200
commitff56f77c06834713945b4048902fc6518655ebaa (patch)
tree7e26a20c662f3d3e1b97cbfb0b7619d79a1d6494 /sd/uiconfig/sdraw/menubar
parentaed7f71d67762e6b9a8b0f65ec9d0fdd5fd42fbd (diff)
sd signature line: add initial menu item / UNO command
Signature lines already work in Writer and Calc, this starts adding it to Draw. The current code is similar to SID_DRAW_RECT, just the implementation for the UNO command is allowed in read-only mode, to be used for PDFs opened for signing. Also allow SID_OBJECT_SELECT is read-only mode: selecting objects makes sense to allow (usually already works on the UI) and this is needed to allow finishing the "create" mode in a read-only view. Change-Id: Icccb9ae1cd58eff1a7c2c36df1548ea7b412c246 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95505 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sd/uiconfig/sdraw/menubar')
-rw-r--r--sd/uiconfig/sdraw/menubar/menubar.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/uiconfig/sdraw/menubar/menubar.xml b/sd/uiconfig/sdraw/menubar/menubar.xml
index 836ae7897fa1..17191bdb94b3 100644
--- a/sd/uiconfig/sdraw/menubar/menubar.xml
+++ b/sd/uiconfig/sdraw/menubar/menubar.xml
@@ -71,6 +71,7 @@
<menu:menupopup>
<menu:menuitem menu:id=".uno:Signature" menu:style="text"/>
<menu:menuitem menu:id=".uno:SignPDF" menu:style="text"/>
+ <menu:menuitem menu:id=".uno:InsertSignatureLine" menu:style="text"/>
</menu:menupopup>
</menu:menu>
<menu:menuseparator/>