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

#include <drawtreevisiting.hxx>

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

Public Member Functions

const css::uno::Reference< css::i18n::XBreakIterator > & GetBreakIterator ()
 
 DrawXmlOptimizer (PDFIProcessor &rProcessor)
 
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 ()
 

Private Member Functions

void optimizeTextElements (Element &rParent)
 

Private Attributes

PDFIProcessorm_rProcessor
 
css::uno::Reference< css::i18n::XBreakIterator > mxBreakIter
 

Detailed Description

Definition at line 34 of file drawtreevisiting.hxx.

Constructor & Destructor Documentation

pdfi::DrawXmlOptimizer::DrawXmlOptimizer ( PDFIProcessor rProcessor)
inlineexplicit

Definition at line 44 of file drawtreevisiting.hxx.

Member Function Documentation

const Reference< XBreakIterator > & pdfi::DrawXmlOptimizer::GetBreakIterator ( )

Definition at line 46 of file drawtreevisiting.cxx.

References m_rProcessor, pdfi::PDFIProcessor::m_xContext, and mxBreakIter.

Referenced by optimizeTextElements().

void pdfi::DrawXmlOptimizer::optimizeTextElements ( Element rParent)
private
void pdfi::DrawXmlOptimizer::visit ( HyperlinkElement ,
const std::list< std::unique_ptr< Element > >::const_iterator &   
)
overridevirtual

Implements pdfi::ElementTreeVisitor.

Definition at line 380 of file drawtreevisiting.cxx.

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

Implements pdfi::ElementTreeVisitor.

Definition at line 384 of file drawtreevisiting.cxx.

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

Implements pdfi::ElementTreeVisitor.

Definition at line 388 of file drawtreevisiting.cxx.

References pdfi::Element::applyToChildren().

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

Implements pdfi::ElementTreeVisitor.

Definition at line 393 of file drawtreevisiting.cxx.

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

Implements pdfi::ElementTreeVisitor.

Definition at line 739 of file drawtreevisiting.cxx.

References pdfi::Element::applyToChildren().

Member Data Documentation

PDFIProcessor& pdfi::DrawXmlOptimizer::m_rProcessor
private

Definition at line 37 of file drawtreevisiting.hxx.

Referenced by GetBreakIterator(), optimizeTextElements(), and visit().

css::uno::Reference< css::i18n::XBreakIterator > pdfi::DrawXmlOptimizer::mxBreakIter
private

Definition at line 38 of file drawtreevisiting.hxx.

Referenced by GetBreakIterator().


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