<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Icons for styles in the Styles menu"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107915#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Icons for styles in the Styles menu"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107915">bug 107915</a>
from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
<pre>(In reply to Yousuf Philips (jay) from <a href="show_bug.cgi?id=107915#c2">comment #2</a>)
<span class="quote">> (In reply to Maxim Monastirsky from <a href="show_bug.cgi?id=107915#c1">comment #1</a>)
> > It's possible after escaping all problematic characters, see the
> > lclConvertToCanonicalName function from
> Seems very complicated and couldnt figure out the conversion. :D</span >
Like this:
sc_styleapply%3fstyle%3astring=standard&familyname%3astring=paragraphstyles.png
Supporting spaces in lclConvertToCanonicalName is only a matter of adding there
this one line:
case ' ': aBuffer.append("%20"); bRemoveSlash = false; break;
... and replacing spaces in the image file name with %20.
<span class="quote">> Yes it would only be for built-in styles that we place in the Styles menu,
> so this seems to be the simplest option. ;D</span >
Agree. I would suggest that too.
(In reply to Thomas Lendo from <a href="show_bug.cgi?id=107915#c3">comment #3</a>)
<span class="quote">> I don't follow you both. While working with an own company's style toolbar,
> I'm already assigning icons to these styles via the Add commands window in
> the Customize dialog. It's working with styles I added manually as described
> by Regina and it's also working with styles I added in 5.4/5.5 via Add
> commands.</span >
Yes, you can assign icons manually. It just that they won't pick icons
automatically, once we assign them for internal use (e.g. for the Styles menu).</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>