diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-12 08:17:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-05-13 13:20:59 +0200 |
commit | 0d8be0575f5c5301c65a8de04dd9bd310fe51c1a (patch) | |
tree | a48e2e142afde927aad57568177af4080fedf434 /cppcanvas | |
parent | 0577fc114efca2f9d60df702416841f6d41dd37b (diff) |
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
(cherry picked from commit 9f37840b0d7778ab4fc3294c44f62198ea932e3f)
Change-Id: I075f77933c1466b5258357d5a661e173c34de34f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134260
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cppcanvas')
0 files changed, 0 insertions, 0 deletions