#include <IWORKShapeContext.h>
Public Member Functions | |
IWORKShapeContext (IWORKXMLParserState &state) | |
![]() | |
IWORKXMLContextBase (IWORKXMLParserState &state) | |
IWORKXMLContextBase (IWORKXMLParserState &state, const T &a) | |
IWORKXMLParserState & | getState () |
IWORKXMLContextBase (IWORKXMLParserState &state) | |
IWORKXMLContextBase (IWORKXMLParserState &state, const T &a) | |
IWORKXMLParserState & | getState () |
![]() | |
virtual | ~IWORKXMLContext ()=0 |
virtual void | CDATA (const char *value) |
Process CDATA content of an element. | |
Protected Member Functions | |
void | startOfElement () override |
Signalize the start of an element. | |
void | attribute (int name, const char *value) override |
Process an attribute. | |
IWORKXMLContextPtr_t | element (int name) override |
Create a context for parsing a child element. | |
void | endOfElement () override |
Signalize the end of an element. | |
![]() | |
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. | |
Protected Attributes | |
IWORKStylePtr_t | m_style |
boost::optional< IWORKWrap > | m_wrap |
boost::optional< int > | m_order |
bool | m_locked |
![]() | |
IWORKXMLParserState & | m_state |
IWORKXMLParserState & | m_state |
|
explicit |
|
overrideprotectedvirtual |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libetonyek::IWORKXMLContext.
Reimplemented in libetonyek::PAG1ShapeContext.
|
overrideprotectedvirtual |
Create a context for parsing a child element.
Implements libetonyek::IWORKXMLContext.
Reimplemented in libetonyek::PAG1ShapeContext.
|
overrideprotectedvirtual |
Signalize the end of an element.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Implements libetonyek::IWORKXMLContext.
|
protected |
Referenced by attribute(), endOfElement(), and IWORKShapeContext().
|
protected |
Referenced by libetonyek::PAG1ShapeContext::attribute(), endOfElement(), and IWORKShapeContext().
|
protected |
Referenced by element(), endOfElement(), and IWORKShapeContext().
|
protected |
Referenced by element(), and IWORKShapeContext().