Represents a character style. More...
#include <KEYStyles.h>
Public Member Functions | |
KEYCharacterStyle (const KEYPropertyMap &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent) | |
![]() | |
virtual bool | link (const KEYStylesheetPtr_t &stylesheet) |
Find the parent style by its ID. More... | |
virtual void | flatten () |
Copy attributes from parent style (recursively). More... | |
![]() | |
virtual | ~KEYStyle ()=0 |
Private Member Functions | |
virtual KEYStylePtr_t | find (const KEYStylesheetPtr_t &stylesheet, const std::string &ident) const |
Additional Inherited Members | |
![]() | |
KEYStyleBase (const KEYPropertyMap &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent) | |
virtual | ~KEYStyleBase () |
virtual const KEYPropertyMap & | getPropertyMap () const |
Get the style's property map. More... | |
boost::any | lookup (const char *property, const KEYStyleContext &context=KEYStyleContext()) const |
Look up a property in this style. More... | |
Represents a character style.
libetonyek::KEYCharacterStyle::KEYCharacterStyle | ( | const KEYPropertyMap & | props, |
const boost::optional< std::string > & | ident, | ||
const boost::optional< std::string > & | parentIdent | ||
) |
|
privatevirtual |
Implements libetonyek::KEYStyleBase.