Re: math syntax highlighting

2014-02-18 Thread Adam Fyne
OTOH - It would be great if the Math control would act just like other text
in Writer,
i.e. - being able to change some of the Math's colors, text-attributes
(font-size) etc.


On Tue, Feb 18, 2014 at 9:00 AM, Norbert Thiebaud wrote:

> On Mon, Feb 17, 2014 at 6:52 PM, Jose Guilherme Vanz
>  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
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>



-- 

[image: appicon.png]


*Adam Fyne*

Twitter <http://www.twitter.com/cloudoninc> |
LinkedIn<http://www.linkedin.com/company/cloudon>
 | Facebook <http://www.facebook.com/cloudoninc> |
Blog<http://site.cloudon.com/blog>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: math syntax highlighting

2014-02-17 Thread Norbert Thiebaud
On Mon, Feb 17, 2014 at 6:52 PM, Jose Guilherme Vanz
 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
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


math syntax highlighting

2014-02-17 Thread Jose Guilherme Vanz

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?


Thank you
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice