<div dir="ltr">OTOH - It would be great if the Math control would act just like other text in Writer,<div>i.e. - being able to change some of the Math's colors, text-attributes (font-size) etc.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Feb 18, 2014 at 9:00 AM, Norbert Thiebaud <span dir="ltr"><<a href="mailto:nthiebaud@gmail.com" target="_blank">nthiebaud@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Mon, Feb 17, 2014 at 6:52 PM, Jose Guilherme Vanz<br>
<<a href="mailto:vanz@libreoffice.org">vanz@libreoffice.org</a>> wrote:<br>
> Hi<br>
><br>
> I started to work on the math syntax highlighting. Actually, I can identify<br>
> when we have some problems with parenthesis  without close and etc. Now, I<br>
> would like to change the color or background color to show to the user the<br>
> problematic character. How can I change the color of the string? Is there<br>
> some field in the OUString that can I do that?<br>
<br>
</div>No OUString does not carry any formatting information.. it is merely a<br>
glorified UTF-16 sequence of character...<br>
otoh there are SetColor/SetBackgroundColor api generaly associated<br>
with the object that involved in rendering the string, like the<br>
font...<br>
<span class="HOEnZb"><font color="#888888"><br>
Norbert<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
        <table border="0" cellpadding="0" cellspacing="0" style="font-family:arial;font-size:small">
                <tbody>
                        <tr>
                                <td style="width:51pt;padding:0.75pt" width="68">
                                        <p style="margin-right:0.4pt;margin-bottom:0.0001pt;margin-left:0.4pt">
                                                <a name="SafeHtmlFilter_SafeHtmlFilter_13ed1a8c2f9e26a1__MailAutoSig" style="color:rgb(17,85,204)"></a><span style="font-size:9pt;font-family:Helvetica,sans-serif"><img alt="appicon.png" height="63" src="http://site.cloudon.com/wp-content/uploads/2012/05/appicon.png" width="64"></span></p>

                                </td>
                                <td>
                                         </td>
                                <td style="width:207pt;padding:0.75pt" width="276">
                                        <p style="margin-right:0.4pt;margin-bottom:0.0001pt;margin-left:0.4pt">
                                                <strong>Adam Fyne</strong><br>
                                                <br>
                                                <a href="http://www.twitter.com/cloudoninc" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(148,201,71);text-decoration:none">Twitter</span></a><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(102,102,102)">|</span><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><a href="http://www.linkedin.com/company/cloudon" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(148,201,71);text-decoration:none">LinkedIn</span></a><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(102,102,102)"> |</span><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><a href="http://www.facebook.com/cloudoninc" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(148,201,71);text-decoration:none">Facebook</span></a><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(102,102,102)">|</span><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><a href="http://site.cloudon.com/blog" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(148,201,71);text-decoration:none">Blog</span></a></p>

                                </td>
                        </tr>
                </tbody>
        </table>
        <table border="0" cellpadding="0" cellspacing="0">
                <tbody>
                        <tr>
                                <td style="width:51.0pt;padding:.75pt .75pt .75pt .75pt" width="68">
                                         </td>
                                <td style="width:207.0pt;padding:.75pt .75pt .75pt .75pt" width="276">
                                        <p style="margin-top:0in;margin-right:.4pt;margin-bottom:0in;margin-left:.4pt;margin-bottom:.0001pt">
                                                 </p>
                                </td>
                        </tr>
                </tbody>
        </table>
</div>
<br>
</div>