summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-07-26 08:21:48 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-07-26 09:50:37 +0200
commit7748a0c437855133fb0a0ebadb60f5f083112f20 (patch)
treefe8dcb7298c75e8453497738dec1f35d02419197 /officecfg
parentbbda36c328ddb16d32bdc1c3443893076f09a307 (diff)
sw content controls, plain text: add insert UI
- handle the plain text case in SwWrtShell::InsertContentControl() - expose this as a new .uno:InsertPlainTextContentControl command - add the new uno command to the default & MS-compatible menus Change-Id: Ie6eb7271f2c1603fb92036e0067b1e6be70d93ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137447 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'officecfg')
-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 7cbd50530d4c..fa208dcd645d 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -667,6 +667,14 @@
<value>1</value>
</prop>
</node>
+ <node oor:name=".uno:InsertPlainTextContentControl" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Insert Plain Text 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>