From 9f37840b0d7778ab4fc3294c44f62198ea932e3f Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 12 May 2022 08:17:02 +0200 Subject: sw content controls, dropdown: add insert UI - introduce a SwContentControlListItem::ToString() that tries to use the display text of the list item, otherwise falls back to its value and use it while building the dropdown widget and when inserting selected list item - handle the dropdown case in SwWrtShell::InsertContentControl() - expose this as a new .uno:InsertDropdownContentControl command - mention the new and all previous content control commands in the MS-compatible forms menu as well Change-Id: I075f77933c1466b5258357d5a661e173c34de34f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134215 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- .../registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'officecfg') diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu index b36802016c1d..f3181fea0059 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -635,6 +635,14 @@ 1 + + + Insert Drop-Down List Content Control + + + 1 + + Insert Other Objects -- cgit