From 1f4a2b698cb5bb987cad5bc2a5503e23dd8a7b9c Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Tue, 21 Apr 2020 15:04:19 +0200 Subject: [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 --- offapi/com/sun/star/frame/XInfobarProvider.idl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'offapi/com/sun') 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); }; -- cgit