|
My Project
|
#include <docparser.h>
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 |
| void | accept (DocVisitor *v) |
| const HtmlAttribList & | attribs () const |
Public Member Functions inherited from DocNode | |
| DocNode () | |
| virtual | ~DocNode () |
| DocNode * | parent () const |
| void | setParent (DocNode *parent) |
| bool | isPreformatted () const |
Private Attributes | |
| uint | m_position |
| Style | m_style |
| bool | m_enable |
| HtmlAttribList | m_attribs |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
| void | setInsidePreformatted (bool p) |
Protected Attributes inherited from DocNode | |
| DocNode * | m_parent |
Node representing a style change
Definition at line 309 of file docparser.h.
| Enumerator | |
|---|---|
| Bold | |
| Italic | |
| Code | |
| Center | |
| Small | |
| Subscript | |
| Superscript | |
| Preformatted | |
| Span | |
| Div | |
Definition at line 312 of file docparser.h.
|
inline |
Definition at line 324 of file docparser.h.
References attribs(), m_attribs, DocNode::m_parent, and DocNode::parent().
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
| v | Abstract visitor. |
Implements DocNode.
Definition at line 333 of file docparser.h.
References DocVisitor::visit().
|
inline |
Definition at line 334 of file docparser.h.
References m_attribs.
Referenced by DocStyleChange(), handleInitialStyleCommands(), and HtmlDocVisitor::visit().
|
inline |
Definition at line 331 of file docparser.h.
References m_enable.
Referenced by insideStyleChangeThatIsOutsideParagraph(), DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), PrintDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 328 of file docparser.h.
References DocNode::Kind_StyleChange.
|
inline |
Definition at line 332 of file docparser.h.
References m_position.
Referenced by handlePendingStyleCommands().
|
inline |
Definition at line 329 of file docparser.h.
References m_style.
Referenced by handleInitialStyleCommands(), handlePendingStyleCommands(), insideStyleChangeThatIsOutsideParagraph(), DocbookDocVisitor::visit(), RTFDocVisitor::visit(), ManDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), PrintDocVisitor::visit(), and PerlModDocVisitor::visit().
| const char * DocStyleChange::styleString | ( | ) | const |
Definition at line 1025 of file docparser.cpp.
References Bold, Center, Code, Div, Italic, m_style, Preformatted, Small, Span, Subscript, and Superscript.
Referenced by handleUnclosedStyleCommands().
|
private |
Definition at line 340 of file docparser.h.
Referenced by attribs(), and DocStyleChange().
|
private |
Definition at line 339 of file docparser.h.
Referenced by enable().
|
private |
Definition at line 337 of file docparser.h.
Referenced by position().
|
private |
Definition at line 338 of file docparser.h.
Referenced by style(), and styleString().