LibreOffice Module sdext (master)  1
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
pdfi::ParagraphElement Struct Referencefinal

#include <genericelements.hxx>

Inheritance diagram for pdfi::ParagraphElement:
Collaboration diagram for pdfi::ParagraphElement:

Public Types

enum  ParagraphType {

Public Member Functions

 ParagraphElement (Element *pParent)
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...
bool isSingleLined (PDFIProcessor const &rProc) const
double getLineHeight (PDFIProcessor &rProc) const
TextElementgetFirstTextChild () const
- 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

ParagraphType Type
bool bRtl
- Public Attributes inherited from pdfi::Element
double x
double y
double w
double h
sal_Int32 StyleId
std::list< std::unique_ptr< Element > > Children


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::Element
 Element (Element *pParent)

Detailed Description

Definition at line 182 of file genericelements.hxx.

Member Enumeration Documentation


Definition at line 198 of file genericelements.hxx.

Constructor & Destructor Documentation

pdfi::ParagraphElement::ParagraphElement ( Element pParent)

Definition at line 185 of file genericelements.hxx.

References false.

Member Function Documentation

TextElement * pdfi::ParagraphElement::getFirstTextChild ( ) const

Definition at line 242 of file genericelements.cxx.

References pdfi::Element::Children.

Referenced by pdfi::WriterXmlOptimizer::visit().

double pdfi::ParagraphElement::getLineHeight ( PDFIProcessor rProc) const
bool pdfi::ParagraphElement::isSingleLined ( PDFIProcessor const &  rProc) const
void pdfi::ParagraphElement::visitedBy ( ElementTreeVisitor ,
const std::list< std::unique_ptr< Element > >::const_iterator &  rParentIt 

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

Implements pdfi::Element.

Definition at line 180 of file genericelements.cxx.

References pdfi::ElementTreeVisitor::visit().

Friends And Related Function Documentation

friend class ElementFactory

Definition at line 184 of file genericelements.hxx.

Member Data Documentation

bool pdfi::ParagraphElement::bRtl
ParagraphType pdfi::ParagraphElement::Type

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