#include <IWORKPElement.h>
Public Member Functions | |
IWORKPElement (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 | 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. | |
void | text (const char *value) override |
Process textual content of an element. | |
void | ensureOpened () |
![]() | |
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 |
![]() | |
IWORKXMLContextMixed (IWORKXMLParserState &) | |
![]() | |
IWORKXMLContextMinimal () | |
void | startOfElement () override |
Signalize the start of an element. | |
void | endOfElement () override |
Signalize the end of an element. | |
Private Attributes | |
IWORKStylePtr_t | m_style |
bool | m_opened |
bool | m_delayedPageBreak |
boost::optional< unsigned > | m_listLevel |
boost::optional< bool > | m_restartList |
Additional Inherited Members | |
![]() | |
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.
|
overrideprotectedvirtual |
Create a context for parsing a child element.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Signalize the end of an element.
Implements libetonyek::IWORKXMLContext.
|
protected |
Referenced by element(), endOfElement(), and text().
|
overrideprotectedvirtual |
Process textual content of an element.
This function can be called more than once if the element has mixed content.
Implements libetonyek::IWORKXMLContext.
|
private |
Referenced by element(), endOfElement(), and IWORKPElement().
|
private |
Referenced by attribute(), ensureOpened(), and IWORKPElement().
|
private |
Referenced by ensureOpened(), and IWORKPElement().
|
private |
Referenced by attribute(), ensureOpened(), and IWORKPElement().
|
private |
Referenced by attribute(), ensureOpened(), and IWORKPElement().