diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-04-21 15:04:19 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-04-29 12:05:40 +0200 |
commit | 1f4a2b698cb5bb987cad5bc2a5503e23dd8a7b9c (patch) | |
tree | 8a25d489e00692b874f61063db742f911741595d /offapi | |
parent | 768882d4e9b955ee1b79ad39cb4232789d0d5ee9 (diff) |
[API CHANGE] uitest: make HasInfoBarWithID accessible from API
This is useful for checking in uitests whether the infobar exists
Change-Id: I436c2659abd40756673634f7cd1f8e4846c03836
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92635
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/frame/XInfobarProvider.idl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/offapi/com/sun/star/frame/XInfobarProvider.idl b/offapi/com/sun/star/frame/XInfobarProvider.idl index 1fbaa4657188..889be2aa4bcd 100644 --- a/offapi/com/sun/star/frame/XInfobarProvider.idl +++ b/offapi/com/sun/star/frame/XInfobarProvider.idl @@ -94,6 +94,15 @@ interface XInfobarProvider: uno::XInterface If no such Infobar exists (it might have been closed by the user already) */ void removeInfobar([in] string id) raises(com::sun::star::container::NoSuchElementException); + + /** Check if Infobar exists. + + @param id + The ID which was used when creating this Infobar. + + @since LibreOffice 7.0 + */ + boolean hasInfobar([in] string id); }; |