diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-07-26 08:21:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-07-27 13:39:36 +0200 |
commit | bdc4f593b3dbc5e9e21fa0a732f8986b029c5c06 (patch) | |
tree | 4e0f97ff805b4c00641e9822b3a011fc3528d7e4 /officecfg | |
parent | 8c0ab5555c373a2aeb44b71d04ae80c67e704ec8 (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
(cherry picked from commit 7748a0c437855133fb0a0ebadb60f5f083112f20)
Change-Id: Ie6eb7271f2c1603fb92036e0067b1e6be70d93ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137495
Tested-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 8 |
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 37996759a90d..f6e4a8f4f466 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> |