diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-31 09:29:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-06-01 10:52:19 +0200 |
commit | cc549ee5be9026bdacfbc76db92b7adff4a05492 (patch) | |
tree | 0dbedf01c62dde782df7aec8f80691041fa7d169 /officecfg | |
parent | 38d00152374e3df465fff78e379cecb4b0be2985 (diff) |
sw content controls, date: add insert UI
- handle the date case in SwWrtShell::InsertContentControl()
- expose this as a new .uno:InsertDateContentControl command
- add the new uno command to the default & MS-compatible menus
- hide the old .uno:DatePickerFormField from the menus that has the
problems described in the sw::mark::DateFieldmark documentation.
(cherry picked from commit 5f335154459e044b6035f099a3e08c98fe258d2b)
Change-Id: If3c1050d6a8302be0da4a11067a67805396dec48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135222
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.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 ad244722288d..37996759a90d 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -659,6 +659,14 @@ <value>1</value> </prop> </node> + <node oor:name=".uno:InsertDateContentControl" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Insert Date 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> |