libetonyek::KEYParagraphStyle Class Reference

Represents a paragraph style. More...

#include <KEYStyles.h>

Inheritance diagram for libetonyek::KEYParagraphStyle:
libetonyek::KEYCharacterStyle libetonyek::KEYStyleBase libetonyek::KEYStyle

Public Member Functions

 KEYParagraphStyle (const KEYPropertyMap &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent)
 
boost::optional< KEYAlignmentgetAlignment (const KEYStyleContext &context=KEYStyleContext()) const
 
boost::optional< KEYTabStops_tgetTabs (const KEYStyleContext &context=KEYStyleContext()) const
 
- Public Member Functions inherited from libetonyek::KEYCharacterStyle
 KEYCharacterStyle (const KEYPropertyMap &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent)
 
boost::optional< KEYBaselinegetBaseline (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< KEYColorgetFontColor (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
 
- Public Member Functions inherited from libetonyek::KEYStyleBase
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...
 
- Public Member Functions inherited from libetonyek::KEYStyle
virtual ~KEYStyle ()=0
 

Private Member Functions

virtual KEYStylePtr_t find (const KEYStylesheetPtr_t &stylesheet, const std::string &ident) const
 

Additional Inherited Members

- Protected Member Functions inherited from libetonyek::KEYStyleBase
 KEYStyleBase (const KEYPropertyMap &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent)
 
virtual ~KEYStyleBase ()
 
virtual const KEYPropertyMapgetPropertyMap () 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...
 

Detailed Description

Represents a paragraph style.

Constructor & Destructor Documentation

libetonyek::KEYParagraphStyle::KEYParagraphStyle ( const KEYPropertyMap props,
const boost::optional< std::string > &  ident,
const boost::optional< std::string > &  parentIdent 
)

Member Function Documentation

KEYStylePtr_t libetonyek::KEYParagraphStyle::find ( const KEYStylesheetPtr_t stylesheet,
const std::string &  ident 
) const
privatevirtual

Reimplemented from libetonyek::KEYCharacterStyle.

boost::optional< KEYAlignment > libetonyek::KEYParagraphStyle::getAlignment ( const KEYStyleContext context = KEYStyleContext()) const
boost::optional< KEYTabStops_t > libetonyek::KEYParagraphStyle::getTabs ( const KEYStyleContext context = KEYStyleContext()) const

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

Generated for libetonyek by doxygen 1.8.7