libetonyek::PAGCollector Class Reference

#include <PAGCollector.h>

Inheritance diagram for libetonyek::PAGCollector:
libetonyek::IWORKCollector

List of all members.

Classes

struct  Section

Public Member Functions

 PAGCollector (IWORKDocumentInterface *document)
void collectPublicationInfo (const PAGPublicationInfo &pubInfo)
void collectTextBody ()
void collectAttachment (const IWORKOutputID_t &id, bool block)
void collectAttachmentPosition (const IWORKPosition &position)
void openPageGroup (const boost::optional< int > &page)
void closePageGroup ()
void openSection (const std::string &style, double width, double height, double horizontalMargin, double verticalMargin)
void closeSection ()
void openAttachments ()
void closeAttachments ()
PAGFootnoteKind getFootnoteKind () const

Private Types

typedef std::map< unsigned,
IWORKOutputID_t
PageGroupsMap_t

Private Member Functions

virtual void drawTable ()
virtual void drawMedia (double x, double y, double w, double h, const std::string &mimetype, const librevenge::RVNGBinaryData &data)
virtual void fillShapeProperties (librevenge::RVNGPropertyList &props)
virtual void drawTextBox (const IWORKTextPtr_t &text, const glm::dmat3 &trafo, const IWORKGeometryPtr_t &boundingBox)
void flushPageSpan (bool writeEmpty=true)
void writePageGroupsObjects ()

Private Attributes

Section m_currentSection
bool m_firstPageSpan
PAGPublicationInfo m_pubInfo
PageGroupsMap_t m_pageGroups
int m_page
boost::optional< IWORKPositionm_attachmentPosition
bool m_inAttachments

Member Typedef Documentation

typedef std::map<unsigned, IWORKOutputID_t> libetonyek::PAGCollector::PageGroupsMap_t [private]

Constructor & Destructor Documentation


Member Function Documentation

void libetonyek::PAGCollector::collectAttachment ( const IWORKOutputID_t id,
bool  block 
)
void libetonyek::PAGCollector::drawMedia ( double  x,
double  y,
double  w,
double  h,
const std::string &  mimetype,
const librevenge::RVNGBinaryData &  data 
) [private, virtual]
void libetonyek::PAGCollector::drawTable ( ) [private, virtual]
void libetonyek::PAGCollector::drawTextBox ( const IWORKTextPtr_t text,
const glm::dmat3 &  trafo,
const IWORKGeometryPtr_t boundingBox 
) [private, virtual]
void libetonyek::PAGCollector::fillShapeProperties ( librevenge::RVNGPropertyList &  props) [private, virtual]

Implements libetonyek::IWORKCollector.

Referenced by drawTextBox().

void libetonyek::PAGCollector::flushPageSpan ( bool  writeEmpty = true) [private]

Referenced by closeSection(), and collectTextBody().

void libetonyek::PAGCollector::openPageGroup ( const boost::optional< int > &  page)
void libetonyek::PAGCollector::openSection ( const std::string &  style,
double  width,
double  height,
double  horizontalMargin,
double  verticalMargin 
)

Member Data Documentation


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