#include <IWORKStyleContext.h>
Private Member Functions | |
IWORKXMLContextPtr_t | element (int name) override |
Create a context for parsing a child element. | |
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 | |
![]() | |
IWORKCollector & | getCollector () const |
int | getToken (const char *const value) const |
bool | isCollector () const |
IWORKCollector & | getCollector () const |
int | getToken (const char *const value) const |
bool | isCollector () const |
![]() | |
IWORKXMLContextElement (IWORKXMLParserState &) | |
void | attribute (int name, const char *value) override |
Process an attribute. | |
void | text (const char *value) override |
Process textual content of an element. | |
const boost::optional< ID_t > & | getId () const |
void | setId (const char *value) |
![]() | |
IWORKXMLContextMinimal () | |
void | startOfElement () override |
Signalize the start of an element. | |
void | endOfElement () override |
Signalize the end of an element. | |
![]() | |
IWORKXMLParserState & | m_state |
IWORKXMLParserState & | m_state |
libetonyek::IWORKStyleContext::IWORKStyleContext | ( | IWORKXMLParserState & | state, |
IWORKStyleMap_t * | styleMap = nullptr ) |
Referenced by IWORKStyleContext(), and operator=().
libetonyek::IWORKStyleContext::IWORKStyleContext | ( | IWORKXMLParserState & | state, |
IWORKPropertyMap & | props, | ||
IWORKStyleMap_t * | styleMap = nullptr, | ||
const char * | defaultParent = nullptr ) |
|
private |
|
overridevirtual |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libetonyek::IWORKXMLContext.
|
overrideprivatevirtual |
Create a context for parsing a child element.
Implements libetonyek::IWORKXMLContext.
|
overridevirtual |
Signalize the end of an element.
Implements libetonyek::IWORKXMLContext.
|
inline |
returns the created style
|
private |
|
private |
Referenced by endOfElement(), IWORKStyleContext(), and IWORKStyleContext().
|
private |
Referenced by attribute(), endOfElement(), IWORKStyleContext(), and IWORKStyleContext().
|
private |
Referenced by IWORKStyleContext(), and IWORKStyleContext().
|
private |
Referenced by attribute(), endOfElement(), IWORKStyleContext(), and IWORKStyleContext().
|
private |
Referenced by element(), endOfElement(), IWORKStyleContext(), and IWORKStyleContext().
|
private |
the final style
Referenced by endOfElement(), getStyle(), IWORKStyleContext(), and IWORKStyleContext().
|
private |
Referenced by endOfElement(), IWORKStyleContext(), and IWORKStyleContext().