summaryrefslogtreecommitdiff
path: root/officecfg/registry/data/org/openoffice/Office/UI
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-05-20 13:31:45 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-05-20 16:55:16 +0200
commit73ed5e36047b6f46b3777bf6f36591ec4babb1f9 (patch)
tree904961b0b4dbca06dc3c1e54f444742de9e387f9 /officecfg/registry/data/org/openoffice/Office/UI
parentff0387e726b59e374029d2f635ce00308d99eff6 (diff)
sw content controls, picture: add insert UI
- handle the picture case in SwWrtShell::InsertContentControl(): insert a placeholder bitmap & create content control around the as-char image - expose this as a new .uno:InsertPictureContentControl command - add the new uno command to the default & MS-compatible menus - rename the SwWrtShell::Insert() overload taking a Graphic to make this a bit more readable Change-Id: I289d6b6a9cd622c585b6cf0ec0c91d6b51ad81ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134681 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'officecfg/registry/data/org/openoffice/Office/UI')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu8
1 files changed, 8 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index 1dad35cc2190..2ca80032ed48 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -651,6 +651,14 @@
<value>1</value>
</prop>
</node>
+ <node oor:name=".uno:InsertPictureContentControl" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Insert Picture Content Control</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
<node oor:name=".uno:InsertObjectDialog" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Insert Other Objects</value>