A representation of default values for various parts of the format. More...
#include <KEYDefaults.h>
Public Member Functions | |
| virtual | ~KEYDefaults ()=0 |
| virtual void | applyPresentationSize (boost::optional< KEYSize > &size) const =0 |
| virtual void | applyGeometry (boost::optional< KEYSize > &naturalSize, boost::optional< KEYPosition > &position) const =0 |
A representation of default values for various parts of the format.
It serves to represent (and use) default values globally, not strewn around over half a dozen source files, probably repeated. There are two types of functions this class offers:
X (e.g., paragraph style) X for attributes passed by boost::optional, unless already set (e.g., shape size as width and height). | libetonyek::KEYDefaults::~KEYDefaults | ( | ) | [pure virtual] |
| virtual void libetonyek::KEYDefaults::applyGeometry | ( | boost::optional< KEYSize > & | naturalSize, |
| boost::optional< KEYPosition > & | position | ||
| ) | const [pure virtual] |
Implemented in libetonyek::KEY1Defaults, and libetonyek::KEY2Defaults.
Referenced by libetonyek::KEYCollectorBase::collectGeometry(), and libetonyek::KEY2StyleParser::readGeometry().
| virtual void libetonyek::KEYDefaults::applyPresentationSize | ( | boost::optional< KEYSize > & | size | ) | const [pure virtual] |
Implemented in libetonyek::KEY1Defaults, and libetonyek::KEY2Defaults.
Referenced by libetonyek::KEYThemeCollector::collectPresentation().