#include <IWORKTabularModelElement.h>
Public Member Functions | |
IWORKTabularModelElement (IWORKXMLParserState &state, bool isDefinition=false) | |
![]() | |
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. | |
Private Member Functions | |
void | attribute (int name, const char *value) override |
Process an attribute. | |
void | startOfElement () override |
Signalize the start of an element. | |
IWORKXMLContextPtr_t | element (int name) override |
Create a context for parsing a child element. | |
void | endOfElement () override |
Signalize the end of an element. | |
void | sendStyle (const IWORKStylePtr_t &style, const std::shared_ptr< IWORKTable > &table) |
Private Attributes | |
bool | m_isDefinition |
boost::optional< ID_t > | m_id |
boost::optional< std::string > | m_tableName |
boost::optional< std::string > | m_tableId |
boost::optional< ID_t > | m_styleRef |
boost::optional< unsigned > | m_headerColumns |
boost::optional< unsigned > | m_headerRows |
boost::optional< unsigned > | m_footerRows |
std::map< std::pair< unsigned, unsigned >, ID_t > | m_coordinateCommentRefMap |
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 |
|
explicit |
Referenced by IWORKTabularModelElement().
|
overrideprivatevirtual |
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.
|
overrideprivatevirtual |
Signalize the end of an element.
Implements libetonyek::IWORKXMLContext.
|
private |
Referenced by endOfElement().
|
overrideprivatevirtual |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Implements libetonyek::IWORKXMLContext.
|
private |
Referenced by element(), endOfElement(), and IWORKTabularModelElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKTabularModelElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKTabularModelElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKTabularModelElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKTabularModelElement().
|
private |
Referenced by endOfElement(), IWORKTabularModelElement(), and startOfElement().
|
private |
Referenced by element(), endOfElement(), and IWORKTabularModelElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKTabularModelElement().
|
private |
Referenced by attribute(), endOfElement(), and IWORKTabularModelElement().