filters
WP::Token Class Reference#include <parser.h>
List of all members.
Detailed Description
This class is an abstract encapsulation of a token to be use in the parser.
- See also:
- Parser
Definition at line 36 of file parser.h.
|
Public Types |
| enum | Type {
Unknown,
Function,
Text,
Lang,
SoftSpace,
HardSpace,
HardHyphen,
ExtChar,
SoftReturn,
HardReturn,
DormantHardReturn,
AttrOn,
AttrOff,
UnderlineMode,
MarkTocStart,
MarkTocEnd,
LeftMargin,
RightMargin,
TopMargin,
BottomMargin,
Linespace,
Justification,
ParagraphIndent,
LeftMarginAdjust,
RightMarginAdjust,
TabSet,
TabLeft,
TabHardFlushRight,
FontColor,
FontSize,
FontFace,
HighlightOn,
HighlightOff,
TableOn,
TableColumn,
TableEnd,
TableCell,
TableRow,
TableOff
} |
| enum | Attr {
None,
ExtraLarge,
VeryLarge,
Large,
Small,
Fine,
Bold,
Italic,
Underline,
DoubleUnderline,
Subscript,
Superscript,
StrikedOut,
Redline,
Shadow,
Outline,
SmallCaps,
Blink
} |
| enum | Align {
Left,
Right,
Center,
Full,
All
} |
| enum | TabType {
LeftTab,
CenterTab,
RightTab,
DecimalTab,
VerticalTab
} |
Public Member Functions |
|
| Token () |
|
| Token (Type type) |
|
| Token (const QString &text) |
|
| Token (Type type, Attr attr) |
|
| Token (Type type, int value) |
|
| Token (Type type, Align align) |
|
| Token (Type type, int charset, int charcode) |
|
| Token (Type type, int red, int green, int blue) |
|
| Token (Type type, QString fontface) |
|
| Token (const QPtrList< Tab > &tabs) |
|
Type | type () |
|
int | value () |
|
QString | text () |
|
Attr | attr () |
|
Align | align () |
|
int | red () |
|
int | green () |
|
int | blue () |
|
QString | fontface () |
|
int | charset () |
|
int | charcode () |
|
QPtrList< Tab > | tabs () |
Classes |
| class | Tab |
Member Enumeration Documentation
- Enumerator:
-
| Unknown |
|
| Function |
|
| Text |
|
| Lang |
|
| SoftSpace |
|
| HardSpace |
|
| HardHyphen |
|
| ExtChar |
|
| SoftReturn |
|
| HardReturn |
|
| DormantHardReturn |
|
| AttrOn |
|
| AttrOff |
|
| UnderlineMode |
|
| MarkTocStart |
|
| MarkTocEnd |
|
| LeftMargin |
|
| RightMargin |
|
| TopMargin |
|
| BottomMargin |
|
| Linespace |
|
| Justification |
|
| ParagraphIndent |
|
| LeftMarginAdjust |
|
| RightMarginAdjust |
|
| TabSet |
|
| TabLeft |
|
| TabHardFlushRight |
|
| FontColor |
|
| FontSize |
|
| FontFace |
|
| HighlightOn |
|
| HighlightOff |
|
| TableOn |
|
| TableColumn |
|
| TableEnd |
|
| TableCell |
|
| TableRow |
|
| TableOff |
|
Definition at line 41 of file parser.h.
- Enumerator:
-
| None |
|
| ExtraLarge |
|
| VeryLarge |
|
| Large |
|
| Small |
|
| Fine |
|
| Bold |
|
| Italic |
|
| Underline |
|
| DoubleUnderline |
|
| Subscript |
|
| Superscript |
|
| StrikedOut |
|
| Redline |
|
| Shadow |
|
| Outline |
|
| SmallCaps |
|
| Blink |
|
Definition at line 56 of file parser.h.
- Enumerator:
-
| Left |
|
| Right |
|
| Center |
|
| Full |
|
| All |
|
Definition at line 63 of file parser.h.
- Enumerator:
-
| LeftTab |
|
| CenterTab |
|
| RightTab |
|
| DecimalTab |
|
| VerticalTab |
|
Definition at line 66 of file parser.h.
The documentation for this class was generated from the following file:
|