On Mon, Feb 17, 2014 at 6:52 PM, Jose Guilherme Vanz
<vanz@libreoffice.org> wrote:
Hi
I started to work on the math syntax highlighting. Actually, I can identify
when we have some problems with parenthesis without close and etc. Now, I
would like to change the color or background color to show to the user the
problematic character. How can I change the color of the string? Is there
some field in the OUString that can I do that?
No OUString does not carry any formatting information.. it is merely a
glorified UTF-16 sequence of character...
otoh there are SetColor/SetBackgroundColor api generaly associated
with the object that involved in rendering the string, like the
font...
Norbert
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.