office-gobmx/sfx2/qa
Miklos Vajna afb362c60a sfx2: extend .uno:SetDocumentProperties to update custom doc props
Scripting clients (like the LOK API) had a way to get all custom
properties where the name matches a certain prefix, but setting such
properties was not possible.

.uno:SetDocumentProperties can already show a dialog to edit properties
interactively and had a parameter to set some properties in a
non-interactive way, but there doesn't seem to be a way to influence
custom properties there without using the internal API.

Fix the problem by adding a new UpdatedProperties parameter that allows
removing all old custom properties matching the prefix and adding new
ones with a single UNO command dispatch.

This is meant to be the write side of the reading commit
5e8f6dcb8c (sw lok,
.uno:SetDocumentProperties: expose value of custom document properties,
2022-11-29).

Change-Id: Ib7450d4d21285d9a73758e1c172543521fc07cef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143491
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-11-30 16:51:00 +01:00
..
complex/sfx2
cppunit sfx2: extend .uno:SetDocumentProperties to update custom doc props 2022-11-30 16:51:00 +01:00
python
uitest/doc
unit
unoapi