libetonyek::KEYDefaults Class Referenceabstract

A representation of default values for various parts of the format. More...

#include <KEYDefaults.h>

Inheritance diagram for libetonyek::KEYDefaults:
libetonyek::KEY1Defaults libetonyek::KEY2Defaults

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
 

Detailed Description

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:

  • getX() - get the default value of X (e.g., paragraph style)
  • applyX(x...) - apply the default values for X for attributes passed by boost::optional, unless already set (e.g., shape size as width and height).

Constructor & Destructor Documentation

libetonyek::KEYDefaults::~KEYDefaults ( )
pure virtual

Member Function Documentation

virtual void libetonyek::KEYDefaults::applyGeometry ( boost::optional< KEYSize > &  naturalSize,
boost::optional< KEYPosition > &  position 
) const
pure virtual
virtual void libetonyek::KEYDefaults::applyPresentationSize ( boost::optional< KEYSize > &  size) const
pure virtual

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

Generated for libetonyek by doxygen 1.8.5