LibreOffice Module sdext (master) 1
|
#include <drawtreevisiting.hxx>
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 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 () |
Private Member Functions | |
void | optimizeTextElements (Element &rParent) |
Private Attributes | |
PDFIProcessor & | m_rProcessor |
css::uno::Reference< css::i18n::XBreakIterator > | mxBreakIter |
Definition at line 32 of file drawtreevisiting.hxx.
|
inlineexplicit |
Definition at line 42 of file drawtreevisiting.hxx.
References rProcessor.
const Reference< XBreakIterator > & pdfi::DrawXmlOptimizer::GetBreakIterator | ( | ) |
Definition at line 48 of file drawtreevisiting.cxx.
References m_rProcessor, pdfi::PDFIProcessor::m_xContext, and mxBreakIter.
Referenced by optimizeTextElements().
|
private |
Definition at line 662 of file drawtreevisiting.cxx.
References pdfi::ParagraphElement::bRtl, pdfi::Element::Children, pdfi::TextElement::dynCastAsTextElement(), pdfi::GraphicsContext::FillColor, pdfi::TextElement::FontId, pdfi::GraphicalElement::GCId, GetBreakIterator(), pdfi::PDFIProcessor::getGraphicsContext(), i, pdfi::isComplex(), pdfi::isSpaces(), m_rProcessor, name, optimizeTextElements(), pdfi::TextElement::Text, u, and pdfi::Element::updateGeometryWith().
Referenced by optimizeTextElements(), and visit().
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 771 of file drawtreevisiting.cxx.
References pdfi::Element::applyToChildren().
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 402 of file drawtreevisiting.cxx.
References pdfi::Element::applyToChildren().
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 394 of file drawtreevisiting.cxx.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 407 of file drawtreevisiting.cxx.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 472 of file drawtreevisiting.cxx.
References pdfi::Element::applyToChildren(), pdfi::Element::Children, pdfi::ElementFactory::createParagraphElement(), pdfi::TextElement::dynCastAsTextElement(), pdfi::PDFIProcessor::getStatusIndicator(), pdfi::Element::h, pdfi::DrawElement::isCharacter, m_rProcessor, pdfi::PageElement::PageNumber, pdfi::Element::Parent, pLink, pdfi::PageElement::resolveFontStyles(), pdfi::PageElement::resolveHyperlinks(), pdfi::Element::setParent(), pdfi::PDFIProcessor::sortElements(), pdfi::Element::updateGeometryWith(), pdfi::Element::w, pdfi::Element::x, and pdfi::Element::y.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 465 of file drawtreevisiting.cxx.
References pdfi::Element::applyToChildren(), and optimizeTextElements().
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 411 of file drawtreevisiting.cxx.
References pdfi::PolyPolyElement::Action, pdfi::GraphicsContext::BlendMode, pdfi::Element::Children, pdfi::GraphicsContext::Clip, pdfi::GraphicsContext::DashArray, pdfi::GraphicsContext::FillColor, pdfi::GraphicsContext::Flatness, pdfi::GraphicalElement::GCId, pdfi::PDFIProcessor::getGCId(), pdfi::PDFIProcessor::getGraphicsContext(), pdfi::GraphicsContext::LineCap, pdfi::GraphicsContext::LineColor, pdfi::GraphicsContext::LineJoin, pdfi::GraphicsContext::LineWidth, m_rProcessor, pdfi::GraphicsContext::MiterLimit, pdfi::Element::Parent, pdfi::PATH_EOFILL, pdfi::PATH_FILL, pdfi::PATH_STROKE, pdfi::PolyPolyElement::PolyPoly, and pdfi::GraphicsContext::Transformation.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 398 of file drawtreevisiting.cxx.
|
private |
Definition at line 35 of file drawtreevisiting.hxx.
Referenced by GetBreakIterator(), optimizeTextElements(), and visit().
|
private |
Definition at line 36 of file drawtreevisiting.hxx.
Referenced by GetBreakIterator().