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 void visit (HyperlinkElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
 
virtual void visit (TextElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
 
virtual void visit (ParagraphElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
 
virtual void visit (FrameElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
 
virtual void visit (PolyPolyElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
 
virtual void visit (ImageElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
 
virtual void visit (PageElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
 
virtual void visit (DocumentElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
 
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 79 of file drawtreevisiting.hxx.

Member Enumeration Documentation

◆ DocType

Enumerator
DRAW_DOC 
IMPRESS_DOC 

Definition at line 96 of file drawtreevisiting.hxx.

Constructor & Destructor Documentation

◆ DrawXmlEmitter()

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

Definition at line 97 of file drawtreevisiting.hxx.

Member Function Documentation

◆ fillFrameProps()

void pdfi::DrawXmlEmitter::fillFrameProps ( DrawElement rElem,
PropertyMap rProps,
const EmitContext rEmitContext,
bool  bWasTransformed 
)
staticprivate

◆ GetCharacterClassification()

const Reference< XCharacterClassification > & pdfi::DrawXmlEmitter::GetCharacterClassification ( )

Definition at line 58 of file drawtreevisiting.cxx.

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

Referenced by visit().

◆ visit() [1/8]

void pdfi::DrawXmlEmitter::visit ( DocumentElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

◆ visit() [2/8]

void pdfi::DrawXmlEmitter::visit ( FrameElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

◆ visit() [3/8]

void pdfi::DrawXmlEmitter::visit ( HyperlinkElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

◆ visit() [4/8]

void pdfi::DrawXmlEmitter::visit ( ImageElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

◆ visit() [5/8]

void pdfi::DrawXmlEmitter::visit ( PageElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

◆ visit() [6/8]

void pdfi::DrawXmlEmitter::visit ( ParagraphElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

◆ visit() [7/8]

void pdfi::DrawXmlEmitter::visit ( PolyPolyElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

◆ visit() [8/8]

void pdfi::DrawXmlEmitter::visit ( TextElement elem,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

Member Data Documentation

◆ m_bWriteDrawDocument

const bool pdfi::DrawXmlEmitter::m_bWriteDrawDocument
private

writes Impress doc when false

Definition at line 86 of file drawtreevisiting.hxx.

Referenced by visit().

◆ m_rEmitContext

EmitContext& pdfi::DrawXmlEmitter::m_rEmitContext
private

Definition at line 84 of file drawtreevisiting.hxx.

Referenced by GetCharacterClassification(), and visit().

◆ mxCharClass

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

Definition at line 82 of file drawtreevisiting.hxx.

Referenced by GetCharacterClassification().


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