LibreOffice Module sdext (master) 1
|
#include <drawtreevisiting.hxx>
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 |
EmitContext & | m_rEmitContext |
const bool | m_bWriteDrawDocument |
writes Impress doc when false More... | |
Definition at line 79 of file drawtreevisiting.hxx.
Enumerator | |
---|---|
DRAW_DOC | |
IMPRESS_DOC |
Definition at line 96 of file drawtreevisiting.hxx.
|
inlineexplicit |
Definition at line 97 of file drawtreevisiting.hxx.
|
staticprivate |
Definition at line 191 of file drawtreevisiting.cxx.
References pdfi::convertPixelToUnitString(), pdfi::convPx2mm(), pdfi::GraphicalElement::GCId, basegfx::B2DHomMatrix::get(), pdfi::PDFIProcessor::getGraphicsContext(), pdfi::StyleContainer::getStyleName(), pdfi::Element::h, pdfi::GraphicalElement::IsForText, pdfi::GraphicalElement::MirrorVertical, pdfi::EmitContext::rProcessor, pdfi::EmitContext::rStyles, basegfx::B2DHomMatrix::scale(), scale, pdfi::Element::StyleId, pdfi::GraphicalElement::TextStyleId, pdfi::GraphicsContext::Transformation, basegfx::B2DHomMatrix::translate(), u, pdfi::Element::w, pdfi::Element::x, pdfi::Element::y, and pdfi::DrawElement::ZOrder.
Referenced by visit().
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().
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 376 of file drawtreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::Element::Children, pdfi::XmlEmitter::endTag(), m_bWriteDrawDocument, m_rEmitContext, and pdfi::EmitContext::rEmitter.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 256 of file drawtreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::Element::Children, pdfi::XmlEmitter::endTag(), fillFrameProps(), m_rEmitContext, and pdfi::EmitContext::rEmitter.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 68 of file drawtreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::Element::Children, pdfi::XmlEmitter::endTag(), m_rEmitContext, pdfi::EmitContext::rEmitter, and pdfi::HyperlinkElement::URI.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 346 of file drawtreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::XmlEmitter::endTag(), pdfi::ImageElement::Image, m_rEmitContext, pdfi::EmitContext::rEmitter, pdfi::EmitContext::rImages, and pdfi::ImageContainer::writeBase64EncodedStream().
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 356 of file drawtreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::Element::Children, pdfi::XmlEmitter::endTag(), pdfi::StyleContainer::getStyleName(), m_rEmitContext, pdfi::PageElement::PageNumber, pdfi::EmitContext::rEmitter, pdfi::EmitContext::rStyles, pdfi::Element::StyleId, and pdfi::EmitContext::xStatusIndicator.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 169 of file drawtreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::Element::Children, pdfi::XmlEmitter::endTag(), pdfi::StyleContainer::getStyleName(), pdfi::ParagraphElement::Headline, m_rEmitContext, pdfi::EmitContext::rEmitter, pdfi::EmitContext::rStyles, pdfi::Element::StyleId, and pdfi::ParagraphElement::Type.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 280 of file drawtreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::convPx2mmPrec2(), basegfx::B2DPolygon::count(), basegfx::B2DPolyPolygon::count(), pdfi::XmlEmitter::endTag(), basegfx::utils::exportToSvgD(), fillFrameProps(), basegfx::B2DPolygon::getB2DPoint(), basegfx::B2DPolyPolygon::getB2DPolygon(), basegfx::B2DPolygon::getNextControlPoint(), basegfx::B2DPolygon::getPrevControlPoint(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), pdfi::Element::h, i, basegfx::B2DPolygon::isNextControlPointUsed(), basegfx::B2DPolygon::isPrevControlPointUsed(), m_rEmitContext, point(), pdfi::PolyPolyElement::PolyPoly, pdfi::EmitContext::rEmitter, basegfx::B2DPolygon::setB2DPoint(), basegfx::B2DPolyPolygon::setB2DPolygon(), basegfx::B2DPolygon::setNextControlPoint(), basegfx::B2DPolygon::setPrevControlPoint(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), pdfi::PolyPolyElement::updateGeometry(), and pdfi::Element::w.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 91 of file drawtreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::Element::Children, pdfi::XmlEmitter::endTag(), GetCharacterClassification(), pdfi::StyleContainer::getStyleName(), i, m_rEmitContext, nType, pdfi::EmitContext::rEmitter, pdfi::EmitContext::rStyles, pdfi::Element::StyleId, pdfi::PDFIProcessor::SubstituteBidiMirrored(), pdfi::TextElement::Text, u, and pdfi::XmlEmitter::write().
|
private |
writes Impress doc when false
Definition at line 86 of file drawtreevisiting.hxx.
Referenced by visit().
|
private |
Definition at line 84 of file drawtreevisiting.hxx.
Referenced by GetCharacterClassification(), and visit().
|
private |
Definition at line 82 of file drawtreevisiting.hxx.
Referenced by GetCharacterClassification().