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

#include <drawtreevisiting.hxx>

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

Public Types

enum  DocType {
  DRAW_DOC,
  IMPRESS_DOC
}
 

Public Member Functions

const css::uno::Reference< css::i18n::XCharacterClassification > & GetCharacterClassification ()
 
 DrawXmlEmitter (EmitContext &rEmitContext, DocType eDocType)
 
virtual void visit (HyperlinkElement &, const std::list< std::unique_ptr< Element > >::const_iterator &) override
 
virtual void visit (TextElement &, const std::list< std::unique_ptr< Element > >::const_iterator &) override
 
virtual void visit (ParagraphElement &, const std::list< std::unique_ptr< Element > >::const_iterator &) override
 
virtual void visit (FrameElement &, const std::list< std::unique_ptr< Element > >::const_iterator &) override
 
virtual void visit (PolyPolyElement &, const std::list< std::unique_ptr< Element > >::const_iterator &) override
 
virtual void visit (ImageElement &, const std::list< std::unique_ptr< Element > >::const_iterator &) override
 
virtual void visit (PageElement &, const std::list< std::unique_ptr< Element > >::const_iterator &) override
 
virtual void visit (DocumentElement &, const std::list< std::unique_ptr< Element > >::const_iterator &) override
 
- Public Member Functions inherited from pdfi::ElementTreeVisitor
virtual ~ElementTreeVisitor ()
 

Static Private Member Functions

static void fillFrameProps (DrawElement &rElem, PropertyMap &rProps, const EmitContext &rEmitContext, bool bWasTransformed)
 

Private Attributes

css::uno::Reference< css::i18n::XCharacterClassification > mxCharClass
 
EmitContextm_rEmitContext
 
const bool m_bWriteDrawDocument
 writes Impress doc when false More...
 

Detailed Description

Definition at line 81 of file drawtreevisiting.hxx.

Member Enumeration Documentation

Enumerator
DRAW_DOC 
IMPRESS_DOC 

Definition at line 98 of file drawtreevisiting.hxx.

Constructor & Destructor Documentation

pdfi::DrawXmlEmitter::DrawXmlEmitter ( EmitContext rEmitContext,
DocType  eDocType 
)
inlineexplicit

Definition at line 99 of file drawtreevisiting.hxx.

Member Function Documentation

void pdfi::DrawXmlEmitter::fillFrameProps ( DrawElement rElem,
PropertyMap rProps,
const EmitContext rEmitContext,
bool  bWasTransformed 
)
staticprivate
const Reference< XCharacterClassification > & pdfi::DrawXmlEmitter::GetCharacterClassification ( )

Definition at line 56 of file drawtreevisiting.cxx.

References m_rEmitContext, pdfi::EmitContext::m_xContext, and mxCharClass.

Referenced by visit().

void pdfi::DrawXmlEmitter::visit ( HyperlinkElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual
void pdfi::DrawXmlEmitter::visit ( TextElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual
void pdfi::DrawXmlEmitter::visit ( ParagraphElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual
void pdfi::DrawXmlEmitter::visit ( FrameElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual
void pdfi::DrawXmlEmitter::visit ( PolyPolyElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual
void pdfi::DrawXmlEmitter::visit ( ImageElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual
void pdfi::DrawXmlEmitter::visit ( PageElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual
void pdfi::DrawXmlEmitter::visit ( DocumentElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

Member Data Documentation

const bool pdfi::DrawXmlEmitter::m_bWriteDrawDocument
private

writes Impress doc when false

Definition at line 88 of file drawtreevisiting.hxx.

Referenced by visit().

EmitContext& pdfi::DrawXmlEmitter::m_rEmitContext
private

Definition at line 86 of file drawtreevisiting.hxx.

Referenced by GetCharacterClassification(), and visit().

css::uno::Reference< css::i18n::XCharacterClassification > pdfi::DrawXmlEmitter::mxCharClass
private

Definition at line 84 of file drawtreevisiting.hxx.

Referenced by GetCharacterClassification().


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