<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span> changed
          <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>
          <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;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <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#c2">Comment # 2</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:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span></b>
        <pre>(In reply to Maxim Monastirsky from <a href="show_bug.cgi?id=107915#c1">comment #1</a>)
<span class="quote">> It's possible after escaping all problematic characters, see the
> lclConvertToCanonicalName function from
> <a href="http://opengrok.libreoffice.org/xref/core/framework/source/uiconfiguration/">http://opengrok.libreoffice.org/xref/core/framework/source/uiconfiguration/</a>
> 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.</span >

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

<span class="quote">> 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.</span >

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</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>