calling order of sw/source/filter/ww8/attributeoutputbase callbacks

Cedric Bosdonnat cbosdonnat at suse.com
Wed Jan 30 11:15:40 PST 2013


Bonjour Nicolas,

On Wed, 2013-01-30 at 19:56 +0100, Nicolas Boulenguez wrote:
> In class sw/source/filter/ww8/docxattributeoutput.hxx or its parent
> sw/source/filter/ww8/attributeoutputbase.hxx, the possible orders in
> which the EndURL, RunText, EndRun (and probably StartURL) callbacks
> may be executed when exporting an hyperlink is not explicit. This has
> already caused at least four bugs: 47669, 52610, 53175 and 55820.

It seems pretty tricky to get all these bugs properly fixed.

> Docs.libreoffice.org only confirms what the names suggest:
> * StartURL() and EndURL() are called in this order by
>   SwWW8AttrIter::OutAttrWithRange() and
>   MSWord_SdrAttrIter::OutEEField()
> * RunText() and EndRun() are called in this order by
>   MSWordExportBase::OutputTextNode.
> 
> Could someone tell me what can be asserted about the calling order, or
> give me a link to some documentation?

The only documentation to help you are the doc / RTF and OOXML
specifications (available on the MSDN library).

> (I am not subscribed to this list)

There is no need to subscribe :)

--
Cedric



More information about the LibreOffice mailing list