#include <FictionBook2TableContext.h>
Private Member Functions | |
FictionBook2CellContext (const FictionBook2CellContext &other) | |
FictionBook2CellContext & | operator= (const FictionBook2CellContext &other) |
void | startOfElement () override |
Signalize the start of an element. More... | |
void | endOfElement () override |
Signalize the end of an element. More... | |
void | attribute (const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override |
Process an attribute. More... | |
void | endOfAttributes () override |
Signalize the end of attributes. More... | |
void | openCell () |
Private Attributes | |
const std::shared_ptr< FictionBook2TableModel > | m_model |
const bool | m_header |
bool | m_opened |
int | m_columnSpan |
int | m_rowSpan |
size_t | m_coveredColumns |
Additional Inherited Members | |
![]() | |
FictionBook2Style & | getStyle () |
FictionBook2TextFormat & | getTextFormat () |
FictionBook2XMLParserContext * | element (const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override |
Create a context for parsing a child element. More... | |
void | text (const char *value) override |
Process textual content of an element. More... | |
|
private |
libebook::FictionBook2CellContext::FictionBook2CellContext | ( | FictionBook2ParserContext * | parentContext, |
const std::shared_ptr< FictionBook2TableModel > & | model, | ||
const FictionBook2BlockFormat & | format, | ||
bool | header | ||
) |
|
overrideprivatevirtual |
Process an attribute.
Attributes are handled to the current element's context one by one.
Reimplemented from libebook::FictionBook2StyleContextBase.
|
overrideprivatevirtual |
Signalize the end of attributes.
Reimplemented from libebook::FictionBook2StyleContextBase.
|
overrideprivatevirtual |
Signalize the end of an element.
Reimplemented from libebook::FictionBook2StyleContextBase.
|
private |
Referenced by endOfAttributes(), and endOfElement().
|
private |
|
overrideprivatevirtual |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Implements libebook::FictionBook2XMLParserContext.
|
private |
Referenced by attribute(), and openCell().
|
private |
Referenced by endOfElement(), and openCell().
|
private |
|
private |
Referenced by openCell().
|
private |
Referenced by endOfElement(), and openCell().
|
private |
Referenced by attribute(), and openCell().