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

#include <writertreevisiting.hxx>

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

Public Member Functions

 WriterXmlOptimizer (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)
 
void checkHeaderAndFooter (PageElement &rElem)
 

Private Attributes

PDFIProcessorm_rProcessor
 

Detailed Description

Definition at line 31 of file writertreevisiting.hxx.

Constructor & Destructor Documentation

pdfi::WriterXmlOptimizer::WriterXmlOptimizer ( PDFIProcessor rProcessor)
inlineexplicit

Definition at line 39 of file writertreevisiting.hxx.

Member Function Documentation

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

Implements pdfi::ElementTreeVisitor.

Definition at line 352 of file writertreevisiting.cxx.

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

Implements pdfi::ElementTreeVisitor.

Definition at line 356 of file writertreevisiting.cxx.

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

Implements pdfi::ElementTreeVisitor.

Definition at line 360 of file writertreevisiting.cxx.

References pdfi::Element::applyToChildren().

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

Implements pdfi::ElementTreeVisitor.

Definition at line 365 of file writertreevisiting.cxx.

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

Implements pdfi::ElementTreeVisitor.

Definition at line 825 of file writertreevisiting.cxx.

References pdfi::Element::applyToChildren().

Member Data Documentation

PDFIProcessor& pdfi::WriterXmlOptimizer::m_rProcessor
private

Definition at line 34 of file writertreevisiting.hxx.

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


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