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) | |
boost::optional< KEYBaseline > | getBaseline (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< double > | getBaselineShift (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< bool > | getBold (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional < KEYCapitalization > | getCapitalization (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< bool > | getItalic (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< KEYColor > | getFontColor (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< double > | getFontSize (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< std::string > | getFontName (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< bool > | getOutline (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< bool > | getStrikethru (const KEYStyleContext &context=KEYStyleContext()) const |
boost::optional< bool > | getUnderline (const KEYStyleContext &context=KEYStyleContext()) const |
Private Member Functions | |
virtual KEYStylePtr_t | find (const KEYStylesheetPtr_t &stylesheet, const std::string &ident) const |
Represents a character style.
libetonyek::KEYCharacterStyle::KEYCharacterStyle | ( | const KEYPropertyMap & | props, |
const boost::optional< std::string > & | ident, | ||
const boost::optional< std::string > & | parentIdent | ||
) |
KEYStylePtr_t libetonyek::KEYCharacterStyle::find | ( | const KEYStylesheetPtr_t & | stylesheet, |
const std::string & | ident | ||
) | const [private, virtual] |
Implements libetonyek::KEYStyleBase.
Reimplemented in libetonyek::KEYParagraphStyle.
boost::optional<KEYBaseline> libetonyek::KEYCharacterStyle::getBaseline | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional<double> libetonyek::KEYCharacterStyle::getBaselineShift | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< bool > libetonyek::KEYCharacterStyle::getBold | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< KEYCapitalization > libetonyek::KEYCharacterStyle::getCapitalization | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< KEYColor > libetonyek::KEYCharacterStyle::getFontColor | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< std::string > libetonyek::KEYCharacterStyle::getFontName | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< double > libetonyek::KEYCharacterStyle::getFontSize | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< bool > libetonyek::KEYCharacterStyle::getItalic | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< bool > libetonyek::KEYCharacterStyle::getOutline | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< bool > libetonyek::KEYCharacterStyle::getStrikethru | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |
boost::optional< bool > libetonyek::KEYCharacterStyle::getUnderline | ( | const KEYStyleContext & | context = KEYStyleContext() | ) | const |