[Libreoffice-bugs] [Bug 107915] Icons for styles in the Styles menu

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 23 02:07:54 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107915

Yousuf Philips (jay) <philipz85 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
(In reply to Maxim Monastirsky from comment #1)
> It's possible after escaping all problematic characters, see the
> lclConvertToCanonicalName function from
> http://opengrok.libreoffice.org/xref/core/framework/source/uiconfiguration/
> CommandImageResolver.cxx#lclConvertToCanonicalName
> 
> There is however one problem if you're going to use links.txt with a command
> that has a space (e.g. for "Heading 1"), as the links.txt parser assumes
> that a space separates a link from the original image. But this can be
> easily solved by adding a space escaping into lclConvertToCanonicalName.

Seems very complicated and couldnt figure out the conversion. :D

> Yes, that should work too. But keep in mind that it won't work with styles
> that user might add via the Add Commands dialog. But if this isn't a
> problem, then it's a good solution too.

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

-- 
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/20170523/8273b005/attachment.html>


More information about the Libreoffice-bugs mailing list