diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-11-08 16:45:00 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-11-08 18:09:15 +0100 |
commit | a8448ded5555947925b0e9ddb4aeea7043f03933 (patch) | |
tree | e98ad6f441c03c34b90782d2f076dad58ed4e479 /offapi/UnoApi_offapi.mk | |
parent | 46875d83476942ca215429c837a3457f55c3ccb0 (diff) |
sw: introduce an UNO manager for content controls
This builds on top of commit ad950f10dc382ea169f94a0c301ca8c424e7103e
(sw: introduce a manager for content controls, 2022-11-08) and exposes
it on the UNO API:
- add a new css.text.ContentControls service, backed by SwContentControlManager
- add a new css.text.XContentControlsSupplier interface, implemented by
SwXTextDocument
- implement XIndexAccess in ContentControls
This allows UNO (and later VBA) clients to have random access to the
content controls in a document, which is much easier than the relatively
complex traversal of the whole doc model.
Change-Id: I26240c9ddbd06f4f57f5f65460ef75a2ace94825
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142454
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'offapi/UnoApi_offapi.mk')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 331e5eadaf5f..550422ded680 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1344,6 +1344,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/text,\ ChainedTextFrame \ ChapterNumberingRule \ ContentControl \ + ContentControls \ ContentIndex \ ContentIndexMark \ Defaults \ @@ -3787,6 +3788,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/text,\ XAutoTextGroup \ XBookmarkInsertTool \ XBookmarksSupplier \ + XContentControlsSupplier \ XChapterNumberingSupplier \ XDefaultNumberingProvider \ XDependentTextField \ |