libetonyek::IWORKCollector Class Reference

#include <IWORKCollector.h>

Inheritance diagram for libetonyek::IWORKCollector:
libetonyek::KEYCollector libetonyek::NUMCollector libetonyek::PAGCollector libetonyek::KEY2Collector

List of all members.

Classes

struct  Level

Public Member Functions

 IWORKCollector (IWORKDocumentInterface *document)
 ~IWORKCollector ()
void setRecorder (const boost::shared_ptr< IWORKRecorder > &recorder)
void collectStyle (const IWORKStylePtr_t &style)
void setGraphicStyle (const IWORKStylePtr_t &style)
void collectGeometry (const IWORKGeometryPtr_t &geometry)
void collectBezier (const IWORKPathPtr_t &path)
void collectImage (const IWORKImagePtr_t &image)
void collectLine (const IWORKLinePtr_t &line)
void collectShape ()
void collectBezierPath ()
void collectPolygonPath (const IWORKSize &size, unsigned edges)
void collectRoundedRectanglePath (const IWORKSize &size, double radius)
void collectArrowPath (const IWORKSize &size, double headWidth, double stemRelYPos, bool doubleSided)
void collectStarPath (const IWORKSize &size, unsigned points, double innerRadius)
void collectConnectionPath (const IWORKSize &size, double middleX, double middleY)
void collectCalloutPath (const IWORKSize &size, double radius, double tailSize, double tailX, double tailY, bool quoteBubble)
void collectMedia (const IWORKMediaContentPtr_t &content)
void collectStylesheet (const IWORKStylesheetPtr_t &stylesheet)
void collectMetadata (const IWORKMetadata &metadata)
void collectHeader (const std::string &name)
void collectFooter (const std::string &name)
void collectTable (const boost::shared_ptr< IWORKTable > &table)
void collectText (const boost::shared_ptr< IWORKText > &text)
void startDocument ()
void endDocument ()
void startGroup ()
void endGroup ()
void startLevel ()
void endLevel ()
void pushStyle ()
void popStyle ()
void pushStylesheet (const IWORKStylesheetPtr_t &stylesheet)
void popStylesheet ()
IWORKOutputManagergetOutputManager ()
virtual boost::shared_ptr
< IWORKTable
createTable (const IWORKTableNameMapPtr_t &tableNameMap) const
virtual boost::shared_ptr
< IWORKText
createText (const IWORKLanguageManager &langManager, bool discardEmptyContent=false) const

Protected Member Functions

void fillMetadata (librevenge::RVNGPropertyList &props)

Static Protected Member Functions

static void writeFill (const IWORKFill &fill, librevenge::RVNGPropertyList &props)

Protected Attributes

IWORKDocumentInterfacem_document
boost::shared_ptr< IWORKRecorderm_recorder
std::stack< Levelm_levelStack
IWORKStyleStack m_styleStack
std::stack< IWORKStylesheetPtr_tm_stylesheetStack
IWORKOutputManager m_outputManager
std::deque< IWORKStylePtr_tm_newStyles
boost::shared_ptr< IWORKTablem_currentTable
boost::shared_ptr< IWORKTextm_currentText
IWORKHeaderFooterMap_t m_headers
IWORKHeaderFooterMap_t m_footers

Private Member Functions

void pushStyle (const IWORKStylePtr_t &style)
void resolveStyle (IWORKStyle &style)
void collectHeaderFooter (const std::string &name, IWORKHeaderFooterMap_t &map)
void drawMedia (const IWORKMediaPtr_t &media)
void drawShape (const IWORKShapePtr_t &shape)
virtual void drawTable ()=0
virtual void drawMedia (double x, double y, double w, double h, const std::string &mimetype, const librevenge::RVNGBinaryData &data)=0
virtual void fillShapeProperties (librevenge::RVNGPropertyList &props)=0
virtual void drawTextBox (const IWORKTextPtr_t &text, const glm::dmat3 &trafo, const IWORKGeometryPtr_t &boundingBox)=0

Private Attributes

IWORKPathPtr_t m_currentPath
IWORKDataPtr_t m_currentData
IWORKMediaContentPtr_t m_currentUnfiltered
IWORKMediaContentPtr_t m_currentFiltered
IWORKMediaContentPtr_t m_currentLeveled
IWORKMediaContentPtr_t m_currentContent
IWORKMetadata m_metadata
int m_groupLevel

Constructor & Destructor Documentation


Member Function Documentation

void libetonyek::IWORKCollector::collectArrowPath ( const IWORKSize size,
double  headWidth,
double  stemRelYPos,
bool  doubleSided 
)
void libetonyek::IWORKCollector::collectCalloutPath ( const IWORKSize size,
double  radius,
double  tailSize,
double  tailX,
double  tailY,
bool  quoteBubble 
)
void libetonyek::IWORKCollector::collectConnectionPath ( const IWORKSize size,
double  middleX,
double  middleY 
)
void libetonyek::IWORKCollector::collectFooter ( const std::string &  name)
void libetonyek::IWORKCollector::collectHeader ( const std::string &  name)
void libetonyek::IWORKCollector::collectHeaderFooter ( const std::string &  name,
IWORKHeaderFooterMap_t map 
) [private]

Referenced by collectFooter(), and collectHeader().

void libetonyek::IWORKCollector::collectStarPath ( const IWORKSize size,
unsigned  points,
double  innerRadius 
)
void libetonyek::IWORKCollector::collectTable ( const boost::shared_ptr< IWORKTable > &  table)
void libetonyek::IWORKCollector::drawMedia ( const IWORKMediaPtr_t media) [private]

Referenced by collectMedia().

virtual void libetonyek::IWORKCollector::drawMedia ( double  x,
double  y,
double  w,
double  h,
const std::string &  mimetype,
const librevenge::RVNGBinaryData &  data 
) [private, pure virtual]
void libetonyek::IWORKCollector::drawShape ( const IWORKShapePtr_t shape) [private]

Referenced by collectShape().

virtual void libetonyek::IWORKCollector::drawTable ( ) [private, pure virtual]
virtual void libetonyek::IWORKCollector::drawTextBox ( const IWORKTextPtr_t text,
const glm::dmat3 &  trafo,
const IWORKGeometryPtr_t boundingBox 
) [private, pure virtual]
virtual void libetonyek::IWORKCollector::fillShapeProperties ( librevenge::RVNGPropertyList &  props) [private, pure virtual]
void libetonyek::IWORKCollector::pushStyle ( const IWORKStylePtr_t style) [private]
void libetonyek::IWORKCollector::setRecorder ( const boost::shared_ptr< IWORKRecorder > &  recorder)
void libetonyek::IWORKCollector::writeFill ( const IWORKFill fill,
librevenge::RVNGPropertyList &  props 
) [static, protected]

Member Data Documentation


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