sw: add a new .uno:UpdateField UNO command

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 13 January 2023 09:55 UTC

This is similar to commit ea208f6004770eb4b81d28e6930cd0c7bd5d8f12 (sw: add a new .uno:UpdateBookmark UNO command, 2023-01-11, but that was for the bookmark under cursor, and this is for fields (refmarks as a start).

Change-Id: I3e547b668361898b7ed734ea325fdf1d74e5dbb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145427

402ab3d145a1 sw: add a new .uno:UpdateField UNO command
sw/inc/cmdid.h | 1 +
sw/qa/uibase/shells/shells.cxx | 52 +++++++++++++++++++
sw/sdi/_basesh.sdi | 5 ++
sw/sdi/swriter.sdi | 14 +++++
sw/source/uibase/shells/basesh.cxx | 104 +++++++++++++++++++++++++++++++++++++
5 files changed, 176 insertions(+)

Upstream: cgit.freedesktop.org


  • Share