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

#include <genericelements.hxx>

Inheritance diagram for pdfi::PageElement:
Collaboration diagram for pdfi::PageElement:

Public Member Functions

 PageElement (Element *pParent, sal_Int32 nPageNr)
virtual ~PageElement () override
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 resolveHyperlinks ()
void resolveFontStyles (PDFIProcessor const &rProc)
void resolveUnderlines (PDFIProcessor const &rProc)
- 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

sal_Int32 PageNumber
ListElement Hyperlinks
double TopMargin
double BottomMargin
double LeftMargin
double RightMargin
std::unique_ptr< ElementHeaderElement
std::unique_ptr< ElementFooterElement
- Public Attributes inherited from pdfi::Element
double x
double y
double w
double h
sal_Int32 StyleId
std::list< std::unique_ptr< Element > > Children

Private Member Functions

bool resolveHyperlink (const std::list< std::unique_ptr< Element >>::iterator &link_it, std::list< std::unique_ptr< Element >> &rElements)


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 234 of file genericelements.hxx.

Constructor & Destructor Documentation

pdfi::PageElement::PageElement ( Element pParent,
sal_Int32  nPageNr 

Definition at line 237 of file genericelements.hxx.

pdfi::PageElement::~PageElement ( )

Definition at line 252 of file genericelements.cxx.

Member Function Documentation

void pdfi::PageElement::resolveFontStyles ( PDFIProcessor const &  rProc)
bool pdfi::PageElement::resolveHyperlink ( const std::list< std::unique_ptr< Element >>::iterator &  link_it,
std::list< std::unique_ptr< Element >> &  rElements 
void pdfi::PageElement::resolveHyperlinks ( )
void pdfi::PageElement::resolveUnderlines ( PDFIProcessor const &  rProc)
void pdfi::PageElement::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 256 of file genericelements.cxx.

References pdfi::ElementTreeVisitor::visit().

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

Friends And Related Function Documentation

friend class ElementFactory

Definition at line 236 of file genericelements.hxx.

Member Data Documentation

double pdfi::PageElement::BottomMargin
std::unique_ptr<Element> pdfi::PageElement::FooterElement
std::unique_ptr<Element> pdfi::PageElement::HeaderElement
ListElement pdfi::PageElement::Hyperlinks

Definition at line 254 of file genericelements.hxx.

Referenced by resolveHyperlink(), and resolveHyperlinks().

double pdfi::PageElement::LeftMargin
sal_Int32 pdfi::PageElement::PageNumber
double pdfi::PageElement::RightMargin
double pdfi::PageElement::TopMargin

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