Hi Carlos,
> 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)? It'll be necessary to
> patch OO code, but I don't see alternatives.
It should not be about a word or set of word but a selection.
That is in UNO terms: a XTextRange.
Where DrawWaveLine appears:
sw/source/core/txtnode/fntcache.cxx
svx/source/editeng/impedit3.cxx
vcl/source/gdi/outdev3.cxx
vcl/inc/outdev.hxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/pdfwriter_impl.hxx
binfilter/bf_svx/source/editeng/svx_impedit3.cxx
binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
vcl/util/defs/wntmsci10
rvpapi/com/sun/star/portal/client/XRmOutputDevice.idl
Likely not all of those occurences are related to spellchecking.
My guess would be that the only relevant files are:
sw/source/core/txtnode/fntcache.cxx
svx/source/editeng/impedit3.cxx
Where SwDrawTextInfo appears:
binfilter/bf_sw/source/core/inc/drawfont.hxx
sw/source/core/inc/drawfont.hxx
sw/source/core/txtnode/fntcache.cxx
binfilter/bf_sw/source/core/inc/fntcache.hxx
sw/source/core/inc/fntcache.hxx
sw/source/core/txtnode/fntcap.cxx
sw/source/core/text/frmcrsr.cxx
sw/source/core/text/frmpaint.cxx
sw/source/core/text/inftxt.cxx
sw/source/core/text/itratr.cxx
sw/source/core/text/itrcrsr.cxx
sw/source/core/text/porfld.cxx
binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx
sw/source/core/txtnode/swfont.cxx
binfilter/bf_sw/source/core/inc/swfont.hxx
sw/source/core/inc/swfont.hxx
binfilter/bf_sw/source/core/text/sw_frmcrsr.cxx
binfilter/bf_sw/source/core/text/sw_frmpaint.cxx
binfilter/bf_sw/source/core/text/sw_inftxt.cxx
binfilter/bf_sw/source/core/text/sw_itratr.cxx
binfilter/bf_sw/source/core/text/sw_itrcrsr.cxx
binfilter/bf_sw/source/core/text/sw_porfld.cxx
binfilter/bf_sw/source/core/txtnode/sw_swfont.cxx
binfilter/bf_sw/source/core/txtnode/sw_txtedt.cxx
binfilter/bf_sw/source/core/text/sw_txtfly.cxx
sw/source/core/text/txtfly.cxx
binfilter/bf_sw/source/core/text/txtfly.hxx
sw/source/core/text/txtfly.hxx
You can simply ignore everything with binfilter.
The binfilter project is only used for compatibility
(load/save) with older file formats.
Spellchecking only happens when the document is already
fully loaded.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]