LibreOffice Module sdext (master) 1
|
#include <writertreevisiting.hxx>
Public Member Functions | |
const css::uno::Reference< css::i18n::XCharacterClassification > & | GetCharacterClassification () |
WriterXmlEmitter (EmitContext &rEmitContext) | |
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) |
Private Attributes | |
css::uno::Reference< css::i18n::XCharacterClassification > | mxCharClass |
EmitContext & | m_rEmitContext |
Definition at line 85 of file writertreevisiting.hxx.
|
inlineexplicit |
Definition at line 96 of file writertreevisiting.hxx.
|
staticprivate |
Definition at line 184 of file writertreevisiting.cxx.
References aBuf, pdfi::convertPixelToUnitString(), basegfx::B2DHomMatrix::decompose(), pdfi::GraphicalElement::GCId, pdfi::PDFIProcessor::getGraphicsContext(), pdfi::StyleContainer::getStyleName(), pdfi::Element::h, pdfi::DrawElement::isCharacter, basegfx::B2DHomMatrix::isIdentity(), pdfi::GraphicalElement::MirrorVertical, pdfi::PageElement::PageNumber, pdfi::Element::Parent, pdfi::EmitContext::rProcessor, pdfi::EmitContext::rStyles, pdfi::Element::StyleId, pdfi::GraphicsContext::Transformation, u, pdfi::Element::w, pdfi::Element::x, pdfi::Element::y, and pdfi::DrawElement::ZOrder.
Referenced by visit().
const Reference< XCharacterClassification > & pdfi::WriterXmlEmitter::GetCharacterClassification | ( | ) |
Definition at line 55 of file writertreevisiting.cxx.
References m_rEmitContext, pdfi::EmitContext::m_xContext, and mxCharClass.
Referenced by visit().
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 391 of file writertreevisiting.cxx.
References pdfi::XmlEmitter::beginTag(), pdfi::Element::Children, pdfi::XmlEmitter::endTag(), m_rEmitContext, pdfi::EmitContext::rEmitter, and pdfi::PageElement::visitedBy().
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 281 of file writertreevisiting.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 65 of file writertreevisiting.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 368 of file writertreevisiting.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 378 of file writertreevisiting.cxx.
References pdfi::Element::Children, m_rEmitContext, pdfi::PageElement::PageNumber, and pdfi::EmitContext::xStatusIndicator.
|
overridevirtual |
Implements pdfi::ElementTreeVisitor.
Definition at line 162 of file writertreevisiting.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 305 of file writertreevisiting.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 88 of file writertreevisiting.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, and pdfi::XmlEmitter::write().
|
private |
Definition at line 89 of file writertreevisiting.hxx.
Referenced by GetCharacterClassification(), and visit().
|
private |
Definition at line 88 of file writertreevisiting.hxx.
Referenced by GetCharacterClassification().