#include <IWORKStyleContext.h>
Public Member Functions | |
IWORKStyleContext (IWORKXMLParserState &state, IWORKStyleMap_t *styleMap=nullptr) | |
IWORKStyleContext (IWORKXMLParserState &state, IWORKPropertyMap &props, IWORKStyleMap_t *styleMap=nullptr, const char *defaultParent=nullptr) | |
void | attribute (int name, const char *value) override |
void | endOfElement () override |
IWORKStylePtr_t | getStyle () |
returns the created style | |
![]() | |
IWORKXMLContextBase (State &state) | |
template<typename T > | |
IWORKXMLContextBase (State &state, const T &a) | |
State & | getState () |
Private Member Functions | |
IWORKXMLContextPtr_t | element (int name) override |
IWORKStyleContext (IWORKStyleContext &) | |
IWORKStyleContext | operator= (IWORKStyleContext &) |
Private Attributes | |
IWORKStyleMap_t *const | m_styleMap |
const std::string | m_defaultParent |
IWORKPropertyMap | m_ownProps |
IWORKPropertyMap & | m_props |
IWORKStylePtr_t | m_style |
the final style | |
boost::optional< std::string > | m_ident |
boost::optional< std::string > | m_parentIdent |
Additional Inherited Members | |
![]() | |
Collector & | getCollector () const |
int | getToken (const char *const value) const |
bool | isCollector () const |
![]() | |
State & | m_state |
libetonyek::IWORKStyleContext::IWORKStyleContext | ( | IWORKXMLParserState & | state, |
IWORKStyleMap_t * | styleMap = nullptr ) |
libetonyek::IWORKStyleContext::IWORKStyleContext | ( | IWORKXMLParserState & | state, |
IWORKPropertyMap & | props, | ||
IWORKStyleMap_t * | styleMap = nullptr, | ||
const char * | defaultParent = nullptr ) |
|
private |
|
override |
Referenced by libetonyek::KEY2StyleContext::attribute(), and libetonyek::PAG1StyleContext::attribute().
|
overrideprivate |
|
override |
|
inline |
returns the created style
|
private |
|
private |
Referenced by endOfElement().
|
private |
Referenced by attribute(), and endOfElement().
|
private |
|
private |
Referenced by attribute(), and endOfElement().
|
private |
Referenced by element(), and endOfElement().
|
private |
the final style
Referenced by endOfElement(), and getStyle().
|
private |
Referenced by endOfElement().