<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - XInfobarProvider appendInfoBar ignores showCloseButton parameter"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134320">bug 134320</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>serval2412@yahoo.fr
</td>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>NEW
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - XInfobarProvider appendInfoBar ignores showCloseButton parameter"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134320#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - XInfobarProvider appendInfoBar ignores showCloseButton parameter"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134320">bug 134320</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>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 <<a href="mailto:Samuel.Mehrbrodt@cib.de">Samuel.Mehrbrodt@cib.de</a>> 2019-11-18 09:08:03
+0100
committer Samuel Mehrbrodt <<a href="mailto:Samuel.Mehrbrodt@cib.de">Samuel.Mehrbrodt@cib.de</a>> 2019-11-19
08:51:43 +0100
commit 9e3ba7c3036c4d21e01d6f75ed29a1e8c4208141 (patch)
tree c648a26f2445955be14aa6e96815c14ec193dddc
parent b234743dd26e0be4be272d2d2c82f90c67e192b7 (diff)
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Infobar should have a UNO API"
href="show_bug.cgi?id=97926">tdf#97926</a> 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>