xml writer

Miklos Vajna vmiklos at collabora.com
Wed Dec 16 12:35:46 UTC 2020


Hi Dante,

On Wed, Dec 16, 2020 at 01:12:47PM +0100, Dante Doménech <dante19031999 at gmail.com> wrote:
> From the code I guess mathml export uses this xml writer:
> <com/sun/star/xml/sax/Writer.hpp>
> However, it isn't in opengrok, so I suppose it's generated from an IDL file.
> So, how can I find that IDL file and the c++ code underneath it?

Try SAXWriter in sax/source/expatwrap/saxwriter.cxx.

How to find these things (one possible way):

com::sun::star::xml::sax::Writer::create() is defined in
workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/xml/sax/Writer.hpp
and shows that it creates a com.sun.star.xml.sax.Writer service. If you
search for that, then 'git grep com.sun.star.xml.sax.Writer --
*.component' will lead you to that code.

Regards,

Miklos


More information about the LibreOffice mailing list