Implementation of common parts of styles and content collector. More...
#include <KEYCollectorBase.h>
Classes | |
struct | Level |
Public Member Functions | |
KEYCollectorBase (KEYDictionary &dict, const KEYDefaults &defaults) | |
~KEYCollectorBase () | |
virtual void | collectCellStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectCharacterStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectConnectionStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectGraphicStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectLayoutStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectListStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectParagraphStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectPlaceholderStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectSlideStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectTabularStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectVectorStyle (const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous) |
virtual void | collectGeometry (boost::optional< ID_t > &id, boost::optional< KEYSize > &naturalSize, boost::optional< KEYPosition > &position, boost::optional< double > &angle, boost::optional< double > &shearXAngle, boost::optional< double > &shearYAngle, boost::optional< bool > &horizontalFlip, boost::optional< bool > &verticalFlip, boost::optional< bool > &aspectRatioLocked, boost::optional< bool > &sizesLocked) |
virtual void | collectBezier (const boost::optional< ID_t > &id, const KEYPathPtr_t &path, bool ref) |
virtual void | collectGroup (const boost::optional< ID_t > &id, const KEYGroupPtr_t &group) |
virtual void | collectImage (const boost::optional< ID_t > &id, const KEYImagePtr_t &image) |
virtual void | collectLine (const boost::optional< ID_t > &id, const KEYLinePtr_t &line) |
virtual void | collectShape (const boost::optional< ID_t > &id) |
virtual void | collectBezierPath (const boost::optional< ID_t > &id) |
virtual void | collectPolygonPath (const boost::optional< ID_t > &id, const KEYSize &size, unsigned edges) |
virtual void | collectRoundedRectanglePath (const boost::optional< ID_t > &id, const KEYSize &size, double radius) |
virtual void | collectArrowPath (const boost::optional< ID_t > &id, const KEYSize &size, double headWidth, double stemRelYPos, bool doubleSided) |
virtual void | collectStarPath (const boost::optional< ID_t > &id, const KEYSize &size, unsigned points, double innerRadius) |
virtual void | collectConnectionPath (const boost::optional< ID_t > &id, const KEYSize &size, double middleX, double middleY) |
virtual void | collectCalloutPath (const boost::optional< ID_t > &id, const KEYSize &size, double radius, double tailSize, double tailX, double tailY, bool quoteBubble) |
virtual void | collectData (const boost::optional< ID_t > &id, const WPXInputStreamPtr_t &stream, const boost::optional< std::string > &displayName, const boost::optional< unsigned > &type, bool ref) |
virtual void | collectUnfiltered (const boost::optional< ID_t > &id, const boost::optional< KEYSize > &size, bool ref) |
virtual void | collectFiltered (const boost::optional< ID_t > &id, const boost::optional< KEYSize > &size) |
virtual void | collectLeveled (const boost::optional< ID_t > &id, const boost::optional< KEYSize > &size) |
virtual void | collectFilteredImage (const boost::optional< ID_t > &id, bool ref) |
virtual void | collectMovieMedia (const boost::optional< ID_t > &id) |
virtual void | collectMedia (const boost::optional< ID_t > &id) |
virtual void | collectLayer (const boost::optional< ID_t > &id, bool ref) |
virtual void | collectStylesheet (const boost::optional< ID_t > &id, const boost::optional< ID_t > &parent) |
virtual void | collectText (const boost::optional< ID_t > &style, const std::string &text) |
virtual void | collectTab () |
virtual void | collectLineBreak () |
virtual void | collectTextPlaceholder (const boost::optional< ID_t > &id, bool title, bool ref) |
virtual void | startLayer () |
virtual void | endLayer () |
virtual void | startGroup () |
virtual void | endGroup () |
virtual void | startParagraph (const boost::optional< ID_t > &style) |
virtual void | endParagraph () |
virtual void | startText () |
Start of a block that can contain text. More... | |
virtual void | endText () |
End of a text block. More... | |
virtual void | startLevel () |
virtual void | endLevel () |
![]() | |
virtual | ~KEYCollector ()=0 |
virtual void | collectPresentation (const boost::optional< KEYSize > &size)=0 |
virtual void | collectPage (const boost::optional< ID_t > &id)=0 |
virtual void | startPage ()=0 |
virtual void | endPage ()=0 |
virtual void | startSlides ()=0 |
virtual void | endSlides ()=0 |
virtual void | startThemes ()=0 |
virtual void | endThemes ()=0 |
Protected Member Functions | |
bool | isCollecting () const |
void | setCollecting (bool collecting) |
const KEYDefaults & | getDefaults () const |
const KEYLayerPtr_t & | getLayer () const |
Implementation of common parts of styles and content collector.
It collects styles and drawable objects.
libetonyek::KEYCollectorBase::KEYCollectorBase | ( | KEYDictionary & | dict, |
const KEYDefaults & | defaults | ||
) |
libetonyek::KEYCollectorBase::~KEYCollectorBase | ( | ) |
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
Reimplemented in libetonyek::KEYContentCollector, and libetonyek::KEYThemeCollector.
Referenced by libetonyek::KEYThemeCollector::collectLayer(), and libetonyek::KEYContentCollector::collectLayer().
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
Reimplemented in libetonyek::KEYContentCollector, and libetonyek::KEYThemeCollector.
Referenced by libetonyek::KEYThemeCollector::endLayer(), and libetonyek::KEYContentCollector::endLayer().
|
virtual |
Implements libetonyek::KEYCollector.
Referenced by endLayer().
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
End of a text block.
Implements libetonyek::KEYCollector.
|
protected |
Referenced by libetonyek::KEYThemeCollector::collectPresentation().
|
protected |
|
protected |
Referenced by libetonyek::KEYThemeCollector::collectLayer(), libetonyek::KEYContentCollector::collectLayer(), libetonyek::KEYContentCollector::collectPage(), libetonyek::KEYContentCollector::endLayer(), libetonyek::KEYContentCollector::endPage(), libetonyek::KEYContentCollector::startLayer(), and libetonyek::KEYContentCollector::startPage().
|
protected |
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Implements libetonyek::KEYCollector.
Reimplemented in libetonyek::KEYContentCollector, and libetonyek::KEYThemeCollector.
Referenced by libetonyek::KEYThemeCollector::startLayer(), and libetonyek::KEYContentCollector::startLayer().
|
virtual |
Implements libetonyek::KEYCollector.
Referenced by startLayer().
|
virtual |
Implements libetonyek::KEYCollector.
|
virtual |
Start of a block that can contain text.
This can be:
Implements libetonyek::KEYCollector.
|
private |
Referenced by collectArrowPath(), collectBezier(), collectCalloutPath(), collectCharacterStyle(), collectConnectionPath(), collectData(), collectFiltered(), collectFilteredImage(), collectGeometry(), collectGraphicStyle(), collectGroup(), collectImage(), collectLayer(), collectLayoutStyle(), collectLeveled(), collectLine(), collectLineBreak(), collectMedia(), collectMovieMedia(), collectParagraphStyle(), collectPlaceholderStyle(), collectPolygonPath(), collectRoundedRectanglePath(), collectShape(), collectStarPath(), collectStylesheet(), collectTab(), collectText(), collectTextPlaceholder(), collectUnfiltered(), endGroup(), endLayer(), endLevel(), endParagraph(), endText(), isCollecting(), setCollecting(), startGroup(), startLayer(), startLevel(), startParagraph(), startText(), and ~KEYCollectorBase().
|
private |
Referenced by collectFilteredImage(), collectMedia(), and collectMovieMedia().
|
private |
Referenced by collectData(), collectFiltered(), collectLeveled(), collectMovieMedia(), and collectUnfiltered().
|
private |
Referenced by collectFiltered(), and collectFilteredImage().
|
private |
Referenced by collectLayer(), endLayer(), getLayer(), and startLayer().
|
private |
Referenced by collectFilteredImage(), and collectLeveled().
|
private |
|
private |
Referenced by collectPlaceholderStyle(), collectStylesheet(), collectTextPlaceholder(), and ~KEYCollectorBase().
|
private |
|
private |
|
private |
Referenced by collectFilteredImage(), and collectUnfiltered().
|
private |
Referenced by collectGeometry(), and getDefaults().
|
private |
Referenced by collectBezier(), collectCharacterStyle(), collectData(), collectFilteredImage(), collectGraphicStyle(), collectImage(), collectLayoutStyle(), collectParagraphStyle(), collectPlaceholderStyle(), collectStylesheet(), collectText(), collectTextPlaceholder(), collectUnfiltered(), and startParagraph().
|
private |
Referenced by endGroup(), startGroup(), and ~KEYCollectorBase().
|
private |
Referenced by collectGraphicStyle(), collectLayer(), endGroup(), endLayer(), startGroup(), startLayer(), and ~KEYCollectorBase().
|
private |
Referenced by collectGeometry(), collectGraphicStyle(), collectImage(), collectLine(), collectMedia(), collectShape(), endLevel(), startLevel(), and ~KEYCollectorBase().
|
private |
|
private |