libetonyek::KEYStyle Class Reference

Represents a hierarchical style. More...

#include <KEYStyle.h>

Inheritance diagram for libetonyek::KEYStyle:
libetonyek::KEYStyleBase libetonyek::KEYCellStyle libetonyek::KEYCharacterStyle libetonyek::KEYConnectionStyle libetonyek::KEYGraphicStyle libetonyek::KEYLayoutStyle libetonyek::KEYListStyle libetonyek::KEYPlaceholderStyle libetonyek::KEYSlideStyle libetonyek::KEYTabularStyle libetonyek::KEYVectorStyle

List of all members.

Public Member Functions

virtual ~KEYStyle ()=0
virtual bool link (const KEYStylesheetPtr_t &stylesheet)=0
 Find the parent style by its ID.
virtual void flatten ()=0
 Copy attributes from parent style (recursively).
virtual const KEYPropertyMapgetPropertyMap () const =0
 Get the style's property map.

Detailed Description

Represents a hierarchical style.


Constructor & Destructor Documentation

libetonyek::KEYStyle::~KEYStyle ( ) [pure virtual]

Member Function Documentation

virtual void libetonyek::KEYStyle::flatten ( ) [pure virtual]

Copy attributes from parent style (recursively).

Todo:
Will this have any effect on performance anyway?

Implemented in libetonyek::KEYStyleBase.

virtual const KEYPropertyMap& libetonyek::KEYStyle::getPropertyMap ( ) const [pure virtual]

Get the style's property map.

Implemented in libetonyek::KEYStyleBase.

virtual bool libetonyek::KEYStyle::link ( const KEYStylesheetPtr_t stylesheet) [pure virtual]

Find the parent style by its ID.

  • [in] stylesheet the stylesheet to use for looking for parent.
    Returns:
    true if the parent style has been found, false otherwise.

Implemented in libetonyek::KEYStyleBase.

Referenced by libetonyek::KEYCollectorBase::collectStylesheet().


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