sw: add a new .uno:DeleteFields UNO command

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 16 January 2023 08:05 UTC

This is similar to 40753de837b9776dd8b33e830be0cceef83f024a (sw: add a new .uno:DeleteBookmarks UNO command, 2023-01-13), but that was about deleting bookmarks matching a given prefix with their name, and this one is about reference marks (fields in general), matching a certain type & prefix with their name.

Change-Id: Iec953034cd0e6875f173712b0fb10bfddf16ed3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145551

1d6593dd799f sw: add a new .uno:DeleteFields UNO command
sw/inc/cmdid.h | 1 +
sw/qa/uibase/shells/shells.cxx | 37 +++++++++++++++++++++++++
sw/sdi/_textsh.sdi | 6 +++++
sw/sdi/swriter.sdi | 14 ++++++++++
sw/source/uibase/shells/textsh1.cxx | 54 +++++++++++++++++++++++++++++++++++++
5 files changed, 112 insertions(+)

Upstream: cgit.freedesktop.org


  • Share