libebook::FB2CellContext Class Reference

#include <FB2TableContext.h>

Inheritance diagram for libebook::FB2CellContext:
libebook::FB2StyleContextBase libebook::FB2ParserContext libebook::FB2XMLParserContext

List of all members.

Public Member Functions

 FB2CellContext (FB2ParserContext *parentContext, FB2TableModel *model, const FB2BlockFormat &format, bool header)

Private Member Functions

 FB2CellContext (const FB2CellContext &other)
FB2CellContextoperator= (const FB2CellContext &other)
virtual void startOfElement ()
 Signalize the start of an element.
virtual void endOfElement ()
 Signalize the end of an element.
virtual void attribute (const EBOOKToken &name, const EBOOKToken *ns, const char *value)
 Process an attribute.
virtual void endOfAttributes ()
 Signalize the end of attributes.
void openCell ()

Private Attributes

FB2TableModel *const m_model
const bool m_header
bool m_opened
int m_columnSpan
int m_rowSpan
size_t m_coveredColumns

Constructor & Destructor Documentation

libebook::FB2CellContext::FB2CellContext ( FB2ParserContext parentContext,
FB2TableModel model,
const FB2BlockFormat format,
bool  header 
)

Member Function Documentation

void libebook::FB2CellContext::attribute ( const EBOOKToken name,
const EBOOKToken ns,
const char *  value 
) [private, virtual]

Process an attribute.

Attributes are handled to the current element's context one by one.

Reimplemented from libebook::FB2StyleContextBase.

void libebook::FB2CellContext::endOfAttributes ( ) [private, virtual]

Signalize the end of attributes.

Reimplemented from libebook::FB2StyleContextBase.

void libebook::FB2CellContext::endOfElement ( ) [private, virtual]

Signalize the end of an element.

Reimplemented from libebook::FB2StyleContextBase.

FB2CellContext& libebook::FB2CellContext::operator= ( const FB2CellContext other) [private]
void libebook::FB2CellContext::startOfElement ( ) [private, virtual]

Signalize the start of an element.

This can be used if initialization of the context needs virtual function calls.

Implements libebook::FB2XMLParserContext.


Member Data Documentation

const bool libebook::FB2CellContext::m_header [private]

Referenced by endOfElement(), and openCell().

Referenced by attribute(), and openCell().


The documentation for this class was generated from the following files: