Hi carlos

first, sorry for the silence

I'm interested in this problem, because we are developing CoGrOO, a Portuguese 
Grammar Checker (nowadays, CoGrOO is running very well; a interested company is 
testing it and it'll be launched at March or April, probably).

is it free ? what is the methodology of creating rules ?
but this is an other topic

CoGrOO runs with a GUI like Naber's checker GUI, for now.
Thus, all of we have the same problem. I researched in OO2 source tree 
something related with wavy line:
Look at a call to the method that draws this wavy line (from 
sw/source/core/txtnode/fntcache.cxx):

rInf.GetOut().DrawWaveLine( aPos, aEnd, nWave );


reading Thomas responses
it seems this is the beginning of the process

What do you think about we try to develop a API only to draw a colored wavy 
line under any word (or set of words)?


Yes, but as stated by Thomas, the componenent should focus on XTextRange

 It'll be necessary to patch OO code, but I don't see alternatives.


This should be developepd disconnected, for a first shoot, from the actual mechanism, not to break anything
I just think at a XTextRange method that would underline
but yes, the existing code can be reused

an other approach would be to create an uno component
that accepts a Xtextrange and wave properties (patetrn, color)

Would you like to develop this API ?
as i stated before, i'm not very familiar with c++ but can perharps help
but i think we need someone that could drive us in the uno creation process

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to