libetonyek::NUMCollector Class Reference

#include <NUMCollector.h>

Inheritance diagram for libetonyek::NUMCollector:
libetonyek::IWORKCollector

Public Member Functions

 NUMCollector (IWORKDocumentInterface *document)
 
void startDocument ()
 
void endDocument ()
 
- Public Member Functions inherited from libetonyek::IWORKCollector
 IWORKCollector (IWORKDocumentInterface *document)
 
 ~IWORKCollector ()
 
void setRecorder (const std::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 std::shared_ptr< IWORKTable > &table)
 
void collectText (const std::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 ()
 
IWORKStylesheetPtr_t getStylesheet () const
 
IWORKOutputManagergetOutputManager ()
 
virtual std::shared_ptr< IWORKTablecreateTable (const IWORKTableNameMapPtr_t &tableNameMap, const IWORKLanguageManager &langManager) const
 
virtual std::shared_ptr< IWORKTextcreateText (const IWORKLanguageManager &langManager, bool discardEmptyContent=false) const
 

Private Member Functions

void drawTable () override
 
void drawMedia (double x, double y, double w, double h, const std::string &mimetype, const librevenge::RVNGBinaryData &data) override
 
void fillShapeProperties (librevenge::RVNGPropertyList &props) override
 
void drawTextBox (const IWORKTextPtr_t &text, const glm::dmat3 &trafo, const IWORKGeometryPtr_t &boundingBox) override
 

Additional Inherited Members

- Protected Member Functions inherited from libetonyek::IWORKCollector
void fillMetadata (librevenge::RVNGPropertyList &props)
 
- Static Protected Member Functions inherited from libetonyek::IWORKCollector
static void writeFill (const IWORKFill &fill, librevenge::RVNGPropertyList &props)
 
- Protected Attributes inherited from libetonyek::IWORKCollector
IWORKDocumentInterfacem_document
 
std::shared_ptr< IWORKRecorderm_recorder
 
std::stack< Levelm_levelStack
 
IWORKStyleStack m_styleStack
 
std::stack< IWORKStylesheetPtr_tm_stylesheetStack
 
IWORKOutputManager m_outputManager
 
std::deque< IWORKStylePtr_tm_newStyles
 
std::shared_ptr< IWORKTablem_currentTable
 
std::shared_ptr< IWORKTextm_currentText
 
IWORKHeaderFooterMap_t m_headers
 
IWORKHeaderFooterMap_t m_footers
 

Constructor & Destructor Documentation

◆ NUMCollector()

libetonyek::NUMCollector::NUMCollector ( IWORKDocumentInterface document)
explicit

Member Function Documentation

◆ drawMedia()

void libetonyek::NUMCollector::drawMedia ( double  x,
double  y,
double  w,
double  h,
const std::string &  mimetype,
const librevenge::RVNGBinaryData &  data 
)
overrideprivatevirtual

◆ drawTable()

void libetonyek::NUMCollector::drawTable ( )
overrideprivatevirtual

◆ drawTextBox()

void libetonyek::NUMCollector::drawTextBox ( const IWORKTextPtr_t text,
const glm::dmat3 &  trafo,
const IWORKGeometryPtr_t boundingBox 
)
overrideprivatevirtual

◆ endDocument()

void libetonyek::NUMCollector::endDocument ( )

◆ fillShapeProperties()

void libetonyek::NUMCollector::fillShapeProperties ( librevenge::RVNGPropertyList &  props)
overrideprivatevirtual

◆ startDocument()

void libetonyek::NUMCollector::startDocument ( )

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

Generated for libetonyek by doxygen 1.8.13