LibreOffice Module sdext (master)  1
Public Member Functions | Private Attributes | List of all members
pdfi::SaxEmitter Class Reference

#include <emitcontext.hxx>

Inheritance diagram for pdfi::SaxEmitter:
[legend]
Collaboration diagram for pdfi::SaxEmitter:
[legend]

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 ()
 

Private Attributes

css::uno::Reference< css::xml::sax::XDocumentHandler > m_xDocHdl
 

Detailed Description

Definition at line 32 of file emitcontext.hxx.

Constructor & Destructor Documentation

pdfi::SaxEmitter::SaxEmitter ( const css::uno::Reference< css::xml::sax::XDocumentHandler > &  xDocHdl)
explicit

Definition at line 41 of file emitcontext.cxx.

References aStr, m_xDocHdl, and pStream.

pdfi::SaxEmitter::~SaxEmitter ( )
overridevirtual

Definition at line 73 of file emitcontext.cxx.

References m_xDocHdl, and pStream.

Member Function Documentation

void pdfi::SaxEmitter::beginTag ( const char *  pTag,
const PropertyMap rProperties 
)
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.

void pdfi::SaxEmitter::endTag ( const char *  pTag)
overridevirtual

Close previously opened tag.

Implements pdfi::XmlEmitter.

Definition at line 148 of file emitcontext.cxx.

References aBuf, i, m_xDocHdl, nIndent, and pStream.

void pdfi::SaxEmitter::write ( const OUString &  rString)
overridevirtual

Write PCTEXT as-is to output.

Implements pdfi::XmlEmitter.

Definition at line 129 of file emitcontext.cxx.

References aStr, m_xDocHdl, OUStringToOString(), and pStream.

Member Data Documentation

css::uno::Reference< css::xml::sax::XDocumentHandler > pdfi::SaxEmitter::m_xDocHdl
private

Definition at line 36 of file emitcontext.hxx.

Referenced by beginTag(), endTag(), SaxEmitter(), write(), and ~SaxEmitter().


The documentation for this class was generated from the following files: