#include <KEYCollector.h>
Public Member Functions | |
KEYCollector (IWORKDocumentInterface *document) | |
~KEYCollector () | |
void | collectPresentationSize (const IWORKSize &size) |
KEYLayerPtr_t | collectLayer () |
void | insertLayer (const KEYLayerPtr_t &layer) |
void | collectPage () |
KEYPlaceholderPtr_t | collectTextPlaceholder (const IWORKStylePtr_t &style, bool title) |
void | insertTextPlaceholder (const KEYPlaceholderPtr_t &placeholder) |
void | collectNote () |
void | collectStickyNote () |
void | startDocument () |
void | endDocument () |
void | startSlides () |
void | endSlides () |
void | startThemes () |
void | endThemes () |
void | startPage () |
void | endPage () |
void | startLayer () |
void | endLayer () |
![]() | |
IWORKCollector (IWORKDocumentInterface *document) | |
~IWORKCollector () | |
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 | collectText (const std::string &text) |
void | collectTab () |
void | collectLineBreak () |
void | collectTableSizes (const IWORKRowSizes_t &rowSizes, const IWORKColumnSizes_t &columnSizes) |
void | collectTableBorders (const IWORKGridLineList_t &verticalLines, const IWORKGridLineList_t &horizontalLines) |
void | collectTableCell (unsigned row, unsigned column, const boost::optional< std::string > &content, unsigned rowSpan, unsigned columnSpan) |
void | collectCoveredTableCell (unsigned row, unsigned column) |
void | collectTableRow () |
void | collectTable () |
void | collectMetadata (const IWORKMetadata &metadata) |
void | collectHeader (const std::string &name) |
void | collectFooter (const std::string &name) |
void | startDocument () |
void | endDocument () |
void | startGroup () |
void | endGroup () |
void | startLayout (const IWORKStylePtr_t &style) |
void | endLayout () |
void | startParagraph (const IWORKStylePtr_t &style) |
void | endParagraph () |
void | openSpan (const IWORKStylePtr_t &style) |
void | closeSpan () |
void | openLink (const std::string &url) |
void | closeLink () |
void | startText (bool discardEmptyContent=false) |
void | endText () |
void | startLevel () |
void | endLevel () |
void | pushStyle () |
void | popStyle () |
void | pushStylesheet (const IWORKStylesheetPtr_t &stylesheet) |
void | popStylesheet () |
IWORKOutputManager & | getOutputManager () |
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 | writeSlide (const IWORKOutputElements &content) |
Private Attributes | |
IWORKSize | m_size |
std::deque< IWORKOutputElements > | m_slides |
IWORKOutputElements | m_notes |
IWORKOutputElements | m_stickyNotes |
bool | m_pageOpened |
bool | m_layerOpened |
int | m_layerCount |
bool | m_paint |
Additional Inherited Members | |
![]() | |
void | fillMetadata (librevenge::RVNGPropertyList &props) |
![]() | |
IWORKDocumentInterface * | m_document |
std::stack< Level > | m_levelStack |
IWORKStyleStack | m_styleStack |
std::stack< IWORKStylesheetPtr_t > | m_stylesheetStack |
IWORKOutputManager | m_outputManager |
std::deque< IWORKStylePtr_t > | m_newStyles |
std::stack< IWORKTextPtr_t > | m_textStack |
IWORKTable | m_currentTable |
IWORKHeaderFooterMap_t | m_headers |
IWORKHeaderFooterMap_t | m_footers |
|
explicit |
libetonyek::KEYCollector::~KEYCollector | ( | ) |
KEYLayerPtr_t libetonyek::KEYCollector::collectLayer | ( | ) |
void libetonyek::KEYCollector::collectNote | ( | ) |
void libetonyek::KEYCollector::collectPage | ( | ) |
void libetonyek::KEYCollector::collectPresentationSize | ( | const IWORKSize & | size | ) |
void libetonyek::KEYCollector::collectStickyNote | ( | ) |
KEYPlaceholderPtr_t libetonyek::KEYCollector::collectTextPlaceholder | ( | const IWORKStylePtr_t & | style, |
bool | title | ||
) |
|
privatevirtual |
Implements libetonyek::IWORKCollector.
|
privatevirtual |
Implements libetonyek::IWORKCollector.
|
privatevirtual |
Implements libetonyek::IWORKCollector.
Referenced by insertTextPlaceholder().
void libetonyek::KEYCollector::endDocument | ( | ) |
void libetonyek::KEYCollector::endLayer | ( | ) |
void libetonyek::KEYCollector::endPage | ( | ) |
void libetonyek::KEYCollector::endSlides | ( | ) |
void libetonyek::KEYCollector::endThemes | ( | ) |
|
privatevirtual |
Implements libetonyek::IWORKCollector.
void libetonyek::KEYCollector::insertLayer | ( | const KEYLayerPtr_t & | layer | ) |
void libetonyek::KEYCollector::insertTextPlaceholder | ( | const KEYPlaceholderPtr_t & | placeholder | ) |
void libetonyek::KEYCollector::startDocument | ( | ) |
void libetonyek::KEYCollector::startLayer | ( | ) |
void libetonyek::KEYCollector::startPage | ( | ) |
void libetonyek::KEYCollector::startSlides | ( | ) |
void libetonyek::KEYCollector::startThemes | ( | ) |
|
private |
Referenced by endDocument().
|
private |
Referenced by insertLayer().
|
private |
Referenced by collectLayer(), endLayer(), insertLayer(), startLayer(), and startPage().
|
private |
Referenced by collectNote(), collectPage(), endPage(), and startPage().
|
private |
Referenced by collectPage(), endLayer(), endPage(), startLayer(), and startPage().
|
private |
Referenced by collectPage(), endSlides(), insertLayer(), KEYCollector(), startPage(), startSlides(), and ~KEYCollector().
|
private |
Referenced by collectPresentationSize(), and writeSlide().
|
private |
Referenced by collectPage(), endDocument(), insertLayer(), and startPage().
|
private |
Referenced by collectPage(), collectStickyNote(), endPage(), and startPage().