sw content controls, plain text: add insert UI

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 26 July 2022 07:50 UTC

- 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

7748a0c43785 sw content controls, plain text: add insert UI
.../org/openoffice/Office/UI/WriterCommands.xcu | 8 ++++++++
sw/inc/cmdid.h | 1 +
sw/qa/uibase/wrtsh/wrtsh.cxx | 21 +++++++++++++++++++++
sw/sdi/_textsh.sdi | 6 ++++++
sw/sdi/swriter.sdi | 17 +++++++++++++++++
sw/source/uibase/shells/textsh.cxx | 5 +++++
sw/source/uibase/uiview/view.cxx | 2 +-
sw/source/uibase/wrtsh/wrtsh1.cxx | 4 ++++
sw/uiconfig/swriter/menubar/menubar.xml | 1 +
.../swriter/menubar/mscompatibleformsmenu.xml | 1 +
10 files changed, 65 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share