#include <docparser.h>
Inheritance diagram for DocStyleChange:
Public Types | |
enum | Style { Bold, Italic, Code, Center, Small, Subscript, Superscript, Preformatted, Span, Div } |
Public Member Functions | |
DocStyleChange (DocNode *parent, uint position, Style s, bool enable, const HtmlAttribList *attribs=0) | |
Kind | kind () const |
Style | style () const |
const char * | styleString () const |
bool | enable () const |
uint | position () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
const HtmlAttribList & | attribs () const |
Definition at line 294 of file docparser.h.
Definition at line 297 of file docparser.h.
DocStyleChange::DocStyleChange | ( | DocNode * | parent, | |
uint | position, | |||
Style | s, | |||
bool | enable, | |||
const HtmlAttribList * | attribs = 0 | |||
) | [inline] |
Kind DocStyleChange::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 305 of file docparser.h.
References DocNode::Kind_StyleChange.
Style DocStyleChange::style | ( | ) | const [inline] |
Definition at line 306 of file docparser.h.
Referenced by XmlDocVisitor::visit(), RTFDocVisitor::visit(), PrintDocVisitor::visit(), PerlModDocVisitor::visit(), ManDocVisitor::visit(), LatexDocVisitor::visit(), and HtmlDocVisitor::visit().
const char * DocStyleChange::styleString | ( | ) | const |
Definition at line 920 of file docparser.cpp.
References Bold, Center, Code, Div, Italic, Preformatted, Small, Span, Subscript, and Superscript.
bool DocStyleChange::enable | ( | ) | const [inline] |
Definition at line 308 of file docparser.h.
Referenced by XmlDocVisitor::visit(), RTFDocVisitor::visit(), PrintDocVisitor::visit(), PerlModDocVisitor::visit(), ManDocVisitor::visit(), LatexDocVisitor::visit(), and HtmlDocVisitor::visit().
uint DocStyleChange::position | ( | ) | const [inline] |
Definition at line 309 of file docparser.h.
DocNode* DocStyleChange::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 310 of file docparser.h.
void DocStyleChange::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 311 of file docparser.h.
References DocVisitor::visit().
const HtmlAttribList& DocStyleChange::attribs | ( | ) | const [inline] |
Definition at line 312 of file docparser.h.
Referenced by DocStyleChange(), and HtmlDocVisitor::visit().