20#ifndef INCLUDED_SDEXT_SOURCE_PDFIMPORT_SAX_EMITCONTEXT_HXX
21#define INCLUDED_SDEXT_SOURCE_PDFIMPORT_SAX_EMITCONTEXT_HXX
25#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
27#include <rtl/ustring.hxx>
39 explicit SaxEmitter(
const css::uno::Reference<
40 css::xml::sax::XDocumentHandler >& xDocHdl );
44 virtual void write(
const OUString& rString )
override;
45 virtual void endTag(
const char* pTag )
override;
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xDocHdl
virtual void write(const OUString &rString) override
Write PCTEXT as-is to output.
virtual void endTag(const char *pTag) override
Close previously opened tag.
virtual ~SaxEmitter() override
virtual void beginTag(const char *pTag, const PropertyMap &rProperties) override
Open up a tag with the given properties.
SaxEmitter(const css::uno::Reference< css::xml::sax::XDocumentHandler > &xDocHdl)
std::unordered_map< OUString, OUString > PropertyMap