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

Detailed Description

Definition at line 32 of file emitcontext.hxx.

Constructor & Destructor Documentation

◆ SaxEmitter()

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.

◆ ~SaxEmitter()

pdfi::SaxEmitter::~SaxEmitter ( )
overridevirtual

Definition at line 73 of file emitcontext.cxx.

References m_xDocHdl, and pStream.

Member Function Documentation

◆ beginTag()

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.

◆ endTag()

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

Close previously opened tag.

Implements pdfi::XmlEmitter.

Definition at line 147 of file emitcontext.cxx.

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

◆ write()

void pdfi::SaxEmitter::write ( const OUString &  rString)
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.

Member Data Documentation

◆ m_xDocHdl

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: