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).
|
pure virtual |
|
pure virtual |
Implemented in libetonyek::KEY1Defaults, and libetonyek::KEY2Defaults.
Referenced by libetonyek::KEYCollectorBase::collectGeometry(), and libetonyek::KEY2StyleParser::readGeometry().
|
pure virtual |
Implemented in libetonyek::KEY1Defaults, and libetonyek::KEY2Defaults.
Referenced by libetonyek::KEYThemeCollector::collectPresentation().