LibreOffice Module sdext (master) 1
|
#include <emitcontext.hxx>
Public Member Functions | |
SaxEmitter (const css::uno::Reference< css::xml::sax::XDocumentHandler > &xDocHdl) | |
virtual | ~SaxEmitter () override |
virtual void | beginTag (const char *pTag, const PropertyMap &rProperties) override |
Open up a tag with the given properties. More... | |
virtual void | write (const OUString &rString) override |
Write PCTEXT as-is to output. More... | |
virtual void | endTag (const char *pTag) override |
Close previously opened tag. More... | |
Public Member Functions inherited from pdfi::XmlEmitter | |
virtual | ~XmlEmitter () |
virtual void | beginTag (const char *pTag, const PropertyMap &rProperties)=0 |
Open up a tag with the given properties. More... | |
virtual void | write (const OUString &rString)=0 |
Write PCTEXT as-is to output. More... | |
virtual void | endTag (const char *pTag)=0 |
Close previously opened tag. More... | |
Private Attributes | |
css::uno::Reference< css::xml::sax::XDocumentHandler > | m_xDocHdl |
Definition at line 32 of file emitcontext.hxx.
|
explicit |
Definition at line 41 of file emitcontext.cxx.
|
overridevirtual |
Definition at line 73 of file emitcontext.cxx.
|
overridevirtual |
Open up a tag with the given properties.
Implements pdfi::XmlEmitter.
Definition at line 92 of file emitcontext.cxx.
References aBuf, i, m_xDocHdl, nIndent, OUStringToOString(), and pStream.
|
overridevirtual |
Close previously opened tag.
Implements pdfi::XmlEmitter.
Definition at line 147 of file emitcontext.cxx.
|
overridevirtual |
Write PCTEXT as-is to output.
Implements pdfi::XmlEmitter.
Definition at line 128 of file emitcontext.cxx.
References aStr, m_xDocHdl, OUStringToOString(), and pStream.
|
private |
Definition at line 36 of file emitcontext.hxx.
Referenced by beginTag(), endTag(), SaxEmitter(), write(), and ~SaxEmitter().