Handles markup commands in the XML input. More...
#include <dochandler.h>
Public Member Functions | |
MarkupHandler (QList< DocImpl > &children, QString &curString) | |
virtual | ~MarkupHandler () |
int | markup () const |
int | headingLevel () const |
virtual void | startBold (const QXmlAttributes &attrib) |
virtual void | endBold () |
virtual void | startEmphasis (const QXmlAttributes &attrib) |
virtual void | endEmphasis () |
virtual void | startComputerOutput (const QXmlAttributes &attrib) |
virtual void | endComputerOutput () |
virtual void | startCenter (const QXmlAttributes &attrib) |
virtual void | endCenter () |
virtual void | startSmallFont (const QXmlAttributes &attrib) |
virtual void | endSmallFont () |
virtual void | startSubscript (const QXmlAttributes &attrib) |
virtual void | endSubscript () |
virtual void | startSuperscript (const QXmlAttributes &attrib) |
virtual void | endSuperscript () |
virtual void | startPreformatted (const QXmlAttributes &attrib) |
virtual void | endPreformatted () |
virtual void | startHeading1 (const QXmlAttributes &attrib) |
virtual void | endHeading1 () |
virtual void | startHeading2 (const QXmlAttributes &attrib) |
virtual void | endHeading2 () |
virtual void | startHeading3 (const QXmlAttributes &attrib) |
virtual void | endHeading3 () |
virtual void | startHeading4 (const QXmlAttributes &attrib) |
virtual void | endHeading4 () |
virtual void | startHeading5 (const QXmlAttributes &attrib) |
virtual void | endHeading5 () |
virtual void | startHeading6 (const QXmlAttributes &attrib) |
virtual void | endHeading6 () |
Public Member Functions inherited from BaseFallBackHandler< MarkupHandler > | |
BaseFallBackHandler () | |
virtual | ~BaseFallBackHandler () |
bool | handleStartElement (const QString &name, const QXmlAttributes &attrib) |
bool | handleEndElement (const QString &name) |
Public Member Functions inherited from ElementMapper< MarkupHandler > | |
ElementMapper () | |
virtual | ~ElementMapper () |
void | addStartHandler (const char *key) |
void | addStartHandler (const char *key, MarkupHandler *obj, void(MarkupHandler::*handler)(const QXmlAttributes &)) |
void | addEndHandler (const char *key) |
void | addEndHandler (const char *key, MarkupHandler *obj, void(MarkupHandler::*handler)()) |
Public Member Functions inherited from IFallBackHandler | |
virtual | ~IFallBackHandler () |
Private Member Functions | |
void | addTextNode () |
Private Attributes | |
QList< DocImpl > & | m_children |
QString & | m_curString |
int | m_curMarkup |
int | m_headingLevel |
Additional Inherited Members | |
Public Types inherited from BaseFallBackHandler< MarkupHandler > | |
typedef ElementMapper< MarkupHandler >::StartElementHandlerT | StartElementHandlerT |
typedef ElementMapper< MarkupHandler >::EndElementHandlerT | EndElementHandlerT |
Public Types inherited from ElementMapper< MarkupHandler > | |
typedef StartElementHandler | StartElementHandlerT |
typedef EndElementHandler | EndElementHandlerT |
Protected Attributes inherited from ElementMapper< MarkupHandler > | |
QDict< StartElementHandlerT > | m_startHandlers |
QDict< EndElementHandlerT > | m_endHandlers |
Handles markup commands in the XML input.
Definition at line 135 of file dochandler.h.
Definition at line 100 of file dochandler.cpp.
|
virtual |
Definition at line 147 of file dochandler.cpp.
|
private |
Definition at line 151 of file dochandler.cpp.
|
virtual |
Definition at line 168 of file dochandler.cpp.
|
virtual |
Definition at line 210 of file dochandler.cpp.
|
virtual |
Definition at line 196 of file dochandler.cpp.
|
virtual |
Definition at line 182 of file dochandler.cpp.
|
virtual |
Definition at line 281 of file dochandler.cpp.
|
virtual |
Definition at line 297 of file dochandler.cpp.
|
virtual |
Definition at line 313 of file dochandler.cpp.
|
virtual |
Definition at line 329 of file dochandler.cpp.
|
virtual |
Definition at line 345 of file dochandler.cpp.
|
virtual |
Definition at line 361 of file dochandler.cpp.
|
virtual |
Definition at line 266 of file dochandler.cpp.
|
virtual |
Definition at line 224 of file dochandler.cpp.
|
virtual |
Definition at line 238 of file dochandler.cpp.
|
virtual |
Definition at line 252 of file dochandler.cpp.
|
inline |
Definition at line 141 of file dochandler.h.
|
inline |
Definition at line 140 of file dochandler.h.
|
virtual |
Definition at line 161 of file dochandler.cpp.
|
virtual |
Definition at line 203 of file dochandler.cpp.
|
virtual |
Definition at line 189 of file dochandler.cpp.
|
virtual |
Definition at line 175 of file dochandler.cpp.
|
virtual |
Definition at line 273 of file dochandler.cpp.
|
virtual |
Definition at line 289 of file dochandler.cpp.
|
virtual |
Definition at line 305 of file dochandler.cpp.
|
virtual |
Definition at line 321 of file dochandler.cpp.
|
virtual |
Definition at line 337 of file dochandler.cpp.
|
virtual |
Definition at line 353 of file dochandler.cpp.
|
virtual |
Definition at line 259 of file dochandler.cpp.
|
virtual |
Definition at line 217 of file dochandler.cpp.
|
virtual |
Definition at line 231 of file dochandler.cpp.
|
virtual |
Definition at line 245 of file dochandler.cpp.
Definition at line 176 of file dochandler.h.
|
private |
Definition at line 178 of file dochandler.h.
|
private |
Definition at line 177 of file dochandler.h.
|
private |
Definition at line 179 of file dochandler.h.