diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-11-29 16:18:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-12-05 08:09:09 +0000 |
commit | 64e09def77067896ef4550a023c24ca6ac5df8fa (patch) | |
tree | c3e7048f437e24ec53f24dd0782bb6de7d24165e /libreofficekit | |
parent | 2d3648e7f9f83feef88bb58896201e0132a60119 (diff) |
sw lok, .uno:SetDocumentProperties: expose value of custom document properties
LOK API clients currently have no knowledge about document properties.
Clients like Zotero that want to store custom properties on documents
need a way to read and write such properties. This commit focuses on the
reading side.
Add a getter for .uno:SetDocumentProperties that allows filtering for a
certain prefix, this way the returned value can contain only the
relevant information.
Rework doc_getCommandValues() and SwXTextDocument::getCommandValues() a
bit, so adding new getters require less duplication.
(cherry picked from commit 5e8f6dcb8ce00d2d5e35b3cf5654187b3068276c)
Conflicts:
desktop/source/lib/init.cxx
sw/qa/uibase/uno/uno.cxx
sw/source/uibase/uno/unotxdoc.cxx
Change-Id: I0c52cd2efcc8b1ea7307763c8252dd1e8ffdea2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143493
Tested-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'libreofficekit')
0 files changed, 0 insertions, 0 deletions