[Libreoffice-bugs] [Bug 134320] XInfobarProvider appendInfoBar ignores showCloseButton parameter
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 28 18:54:23 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=134320
Julien Nabet <serval2412 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |serval2412 at yahoo.fr
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Julien Nabet <serval2412 at yahoo.fr> ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.
Just put this in a macro:
Sub AddInfobar
dim buttons(1) as new com.sun.star.beans.StringPair
buttons(0).first = "Close doc"
buttons(0).second = ".uno:CloseDoc"
buttons(1).first = "Paste into doc"
buttons(1).second = ".uno:Paste"
ThisComponent.getCurrentController().appendInfobar("my", "Hello world",
"Things happened. What now?", com.sun.star.frame.InfobarType.INFO, buttons,
false)
End Sub
See 9e3ba7c3036c4d21e01d6f75ed29a1e8c4208141
author Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de> 2019-11-18 09:08:03
+0100
committer Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de> 2019-11-19
08:51:43 +0100
commit 9e3ba7c3036c4d21e01d6f75ed29a1e8c4208141 (patch)
tree c648a26f2445955be14aa6e96815c14ec193dddc
parent b234743dd26e0be4be272d2d2c82f90c67e192b7 (diff)
tdf#97926 Add UNO API for Infobar
This allows creating, updating and removing infobars from macros/extensions.
It also extends the infobar with a primary and a secondary text, so there can
be a bold summary at the beginning at the infobar with a longer text following
in normal letters.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200628/3719f6a9/attachment.htm>
More information about the Libreoffice-bugs
mailing list