LibreOffice Module sdext (master) 1
|
#include <genericelements.hxx>
Public Member Functions | |
TextElement (Element *pParent, sal_Int32 nGCId, sal_Int32 nFontId) | |
virtual void | visitedBy (ElementTreeVisitor &, const std::list< std::unique_ptr< Element > >::const_iterator &) override |
To be implemented by every tree node that needs to be visitable. More... | |
virtual const TextElement * | dynCastAsTextElement () const override |
To avoid some dynamic_cast cost. More... | |
virtual TextElement * | dynCastAsTextElement () override |
Public Member Functions inherited from pdfi::Element | |
virtual | ~Element () |
virtual void | visitedBy (ElementTreeVisitor &, const std::list< std::unique_ptr< Element > >::const_iterator &rParentIt)=0 |
To be implemented by every tree node that needs to be visitable. More... | |
void | applyToChildren (ElementTreeVisitor &) |
Apply visitor to all children. More... | |
void | updateGeometryWith (const Element *pMergeFrom) |
Union element geometry with given element. More... | |
virtual const TextElement * | dynCastAsTextElement () const |
To avoid some dynamic_cast cost. More... | |
virtual TextElement * | dynCastAsTextElement () |
virtual void | emitStructure (int nLevel) |
Public Attributes | |
OUStringBuffer | Text |
sal_Int32 | FontId |
Public Attributes inherited from pdfi::GraphicalElement | |
sal_Int32 | GCId |
bool | MirrorVertical |
bool | IsForText |
double | FontSize |
sal_Int32 | TextStyleId |
Public Attributes inherited from pdfi::Element | |
double | x |
double | y |
double | w |
double | h |
sal_Int32 | StyleId |
Element * | Parent |
std::list< std::unique_ptr< Element > > | Children |
Friends | |
class | ElementFactory |
Additional Inherited Members | |
Static Public Member Functions inherited from pdfi::Element | |
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... | |
Protected Member Functions inherited from pdfi::GraphicalElement | |
GraphicalElement (Element *pParent, sal_Int32 nGCId) | |
Protected Member Functions inherited from pdfi::Element | |
Element (Element *pParent) | |
Definition at line 174 of file genericelements.hxx.
|
inline |
Definition at line 177 of file genericelements.hxx.
|
inlineoverridevirtual |
To avoid some dynamic_cast cost.
Reimplemented from pdfi::Element.
Definition at line 183 of file genericelements.hxx.
Referenced by pdfi::ParagraphElement::getFirstTextChild(), pdfi::ParagraphElement::getLineHeight(), pdfi::ParagraphElement::isSingleLined(), pdfi::DrawXmlOptimizer::optimizeTextElements(), pdfi::WriterXmlOptimizer::optimizeTextElements(), pdfi::PageElement::resolveHyperlink(), pdfi::PageElement::resolveUnderlines(), pdfi::DrawXmlOptimizer::visit(), and pdfi::WriterXmlOptimizer::visit().
|
inlineoverridevirtual |
Reimplemented from pdfi::Element.
Definition at line 184 of file genericelements.hxx.
|
overridevirtual |
To be implemented by every tree node that needs to be visitable.
Implements pdfi::Element.
Definition at line 106 of file genericelements.cxx.
References pdfi::ElementTreeVisitor::visit().
|
friend |
Definition at line 176 of file genericelements.hxx.
sal_Int32 pdfi::TextElement::FontId |
Definition at line 187 of file genericelements.hxx.
Referenced by pdfi::ParagraphElement::getLineHeight(), pdfi::ParagraphElement::isSingleLined(), pdfi::DrawXmlOptimizer::optimizeTextElements(), pdfi::WriterXmlOptimizer::optimizeTextElements(), pdfi::PageElement::resolveUnderlines(), pdfi::WriterXmlOptimizer::visit(), pdfi::DrawXmlFinalizer::visit(), and pdfi::WriterXmlFinalizer::visit().
OUStringBuffer pdfi::TextElement::Text |
Definition at line 186 of file genericelements.hxx.
Referenced by pdfi::isComplex(), pdfi::isSpaces(), pdfi::DrawXmlOptimizer::optimizeTextElements(), pdfi::WriterXmlOptimizer::optimizeTextElements(), pdfi::DrawXmlEmitter::visit(), and pdfi::WriterXmlEmitter::visit().