LibreOffice Module sdext (master)  1
Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
pdfi::TextElement Struct Reference

#include <genericelements.hxx>

Inheritance diagram for pdfi::TextElement:
[legend]
Collaboration diagram for pdfi::TextElement:
[legend]

Public Member Functions

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...
 
- Public Member Functions inherited from pdfi::Element
virtual ~Element ()
 
void applyToChildren (ElementTreeVisitor &)
 Apply visitor to all children. More...
 
void updateGeometryWith (const Element *pMergeFrom)
 Union element geometry with given element. More...
 
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
 
ElementParent
 
std::list< std::unique_ptr< Element > > Children
 

Protected Member Functions

 TextElement (Element *pParent, sal_Int32 nGCId, sal_Int32 nFontId)
 
- Protected Member Functions inherited from pdfi::GraphicalElement
 GraphicalElement (Element *pParent, sal_Int32 nGCId)
 
- Protected Member Functions inherited from pdfi::Element
 Element (Element *pParent)
 

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...
 

Detailed Description

Definition at line 171 of file genericelements.hxx.

Constructor & Destructor Documentation

pdfi::TextElement::TextElement ( Element pParent,
sal_Int32  nGCId,
sal_Int32  nFontId 
)
inlineprotected

Definition at line 175 of file genericelements.hxx.

Member Function Documentation

void pdfi::TextElement::visitedBy ( ElementTreeVisitor ,
const std::list< std::unique_ptr< Element > >::const_iterator &  rParentIt 
)
overridevirtual

To be implemented by every tree node that needs to be visitable.

Implements pdfi::Element.

Definition at line 105 of file genericelements.cxx.

References pdfi::ElementTreeVisitor::visit().

Friends And Related Function Documentation

friend class ElementFactory
friend

Definition at line 173 of file genericelements.hxx.

Member Data Documentation

sal_Int32 pdfi::TextElement::FontId
OUStringBuffer pdfi::TextElement::Text

The documentation for this struct was generated from the following files: