LibreOffice Module sdext (master)
1
|
#include <genericelements.hxx>
Public Member Functions | |
virtual void | visitedBy (ElementTreeVisitor &, const std::list< std::unique_ptr< Element > >::const_iterator &rParentIt) override |
To be implemented by every tree node that needs to be visitable. More... | |
void | updateGeometry () |
virtual void | emitStructure (int nLevel) override |
![]() | |
virtual | ~Element () |
void | applyToChildren (ElementTreeVisitor &) |
Apply visitor to all children. More... | |
void | updateGeometryWith (const Element *pMergeFrom) |
Union element geometry with given element. More... | |
Public Attributes | |
basegfx::B2DPolyPolygon | PolyPoly |
sal_Int8 | Action |
![]() | |
bool | isCharacter |
sal_Int32 | ZOrder |
![]() | |
sal_Int32 | GCId |
bool | MirrorVertical |
bool | IsForText |
double | FontSize |
sal_Int32 | TextStyleId |
![]() | |
double | x |
double | y |
double | w |
double | h |
sal_Int32 | StyleId |
Element * | Parent |
std::list< std::unique_ptr< Element > > | Children |
Protected Member Functions | |
PolyPolyElement (Element *pParent, sal_Int32 nGCId, const basegfx::B2DPolyPolygon &rPolyPoly, sal_Int8 nAction) | |
![]() | |
DrawElement (Element *pParent, sal_Int32 nGCId) | |
![]() | |
GraphicalElement (Element *pParent, sal_Int32 nGCId) | |
![]() | |
Element (Element *pParent) | |
Friends | |
class | ElementFactory |
Additional Inherited Members | |
![]() | |
static void | setParent (std::list< std::unique_ptr< Element >>::iterator const &el, Element *pNewParent) |
el must be a valid dereferenceable iterator of el->Parent->Children pNewParent must not be NULL More... | |
Definition at line 207 of file genericelements.hxx.
|
protected |
Definition at line 123 of file genericelements.cxx.
Reimplemented from pdfi::Element.
Definition at line 157 of file genericelements.cxx.
References pdfi::Element::Children, basegfx::B2DPolyPolygon::count(), basegfx::B2DPolygon::count(), basegfx::B2DPolygon::getB2DPoint(), basegfx::B2DPolyPolygon::getB2DPolygon(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), i, n, PolyPoly, and SAL_WARN.
void pdfi::PolyPolyElement::updateGeometry | ( | ) |
Definition at line 133 of file genericelements.cxx.
References basegfx::utils::adaptiveSubdivideByAngle(), basegfx::B2DPolyPolygon::areControlPointsUsed(), basegfx::B2DRange::getHeight(), basegfx::B2DRange::getMinX(), basegfx::B2DRange::getMinY(), basegfx::utils::getRange(), basegfx::B2DRange::getWidth(), pdfi::Element::h, pdfi::PATH_EOFILL, pdfi::PATH_FILL, PolyPoly, basegfx::B2DPolyPolygon::setClosed(), pdfi::Element::w, pdfi::Element::x, and pdfi::Element::y.
Referenced by pdfi::PDFIProcessor::eoFillPath(), pdfi::PDFIProcessor::fillPath(), pdfi::PDFIProcessor::strokePath(), pdfi::WriterXmlEmitter::visit(), and pdfi::DrawXmlEmitter::visit().
|
overridevirtual |
To be implemented by every tree node that needs to be visitable.
Implements pdfi::Element.
Definition at line 150 of file genericelements.cxx.
References pdfi::ElementTreeVisitor::visit().
|
friend |
Definition at line 209 of file genericelements.hxx.
sal_Int8 pdfi::PolyPolyElement::Action |
Definition at line 224 of file genericelements.hxx.
Referenced by pdfi::PageElement::resolveUnderlines(), pdfi::WriterXmlOptimizer::visit(), pdfi::DrawXmlOptimizer::visit(), pdfi::WriterXmlFinalizer::visit(), and pdfi::DrawXmlFinalizer::visit().
basegfx::B2DPolyPolygon pdfi::PolyPolyElement::PolyPoly |
Definition at line 223 of file genericelements.hxx.
Referenced by emitStructure(), pdfi::PageElement::resolveUnderlines(), updateGeometry(), pdfi::WriterXmlOptimizer::visit(), pdfi::DrawXmlOptimizer::visit(), pdfi::WriterXmlEmitter::visit(), and pdfi::DrawXmlEmitter::visit().