#include <FictionBook2TextContext.h>
Public Member Functions | |
FictionBook2StrikethroughContext (FictionBook2ParserContext *parentContext, FictionBook2Style &style) | |
![]() | |
FictionBook2StyleContextBase (FictionBook2ParserContext *parentContext, const FictionBook2Style &style) | |
![]() | |
FictionBook2ParserContext (FictionBook2ParserContext *parentContext, FictionBook2Collector *collector=nullptr) | |
Create a new context with parentContext as parent. More... | |
FictionBook2XMLParserContext * | leaveContext () const override |
Destroy this context and return parent. More... | |
FictionBook2Collector * | getCollector () const |
Get the collector. More... | |
FictionBook2ParserContext * | getParentContext () const |
Get the parent context. More... | |
![]() | |
virtual | ~FictionBook2XMLParserContext ()=0 |
Private Member Functions | |
void | startOfElement () override |
Signalize the start of an element. More... | |
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 | 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 | text (const char *value) override |
Process textual content of an element. More... | |
libebook::FictionBook2StrikethroughContext::FictionBook2StrikethroughContext | ( | FictionBook2ParserContext * | parentContext, |
FictionBook2Style & | style | ||
) |
|
overrideprivatevirtual |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Implements libebook::FictionBook2XMLParserContext.