#include <KWEFStructures.h>
Public Member Functions | |
| TextFormatting (const bool newMissing) | |
| TextFormatting (TQString f, bool i, bool u, bool s, int w, int sz, TQColor fg, TQColor bg, int v) | |
Public Attributes | |
| TQString | fontName |
| bool | italic |
| bool | underline |
| TQString | underlineValue |
| TQString | underlineStyle |
| bool | underlineWord |
| TQColor | underlineColor |
| bool | strikeout |
| TQString | strikeoutType |
| TQString | strikeoutLineStyle |
| bool | strikeoutWord |
| int | weight |
| int | fontSize |
| TQColor | fgColor |
| TQColor | bgColor |
| int | verticalAlignment |
| TQString | fontAttribute |
| TQString | language |
| bool | missing |
Detailed Description
TextFormatting is a container for data retrieved from the <FORMAT> tag and its subtags to be used in the <PARAGRAPH> tag.
Definition at line 56 of file KWEFStructures.h.
Constructor & Destructor Documentation
◆ TextFormatting() [1/3]
|
inline |
Definition at line 59 of file KWEFStructures.h.
◆ TextFormatting() [2/3]
|
inline |
Definition at line 63 of file KWEFStructures.h.
◆ TextFormatting() [3/3]
|
inline |
Definition at line 68 of file KWEFStructures.h.
Member Data Documentation
◆ bgColor
| TQColor TextFormatting::bgColor |
Definition at line 101 of file KWEFStructures.h.
◆ fgColor
| TQColor TextFormatting::fgColor |
Definition at line 100 of file KWEFStructures.h.
◆ fontAttribute
| TQString TextFormatting::fontAttribute |
Definition at line 104 of file KWEFStructures.h.
◆ fontName
| TQString TextFormatting::fontName |
Definition at line 82 of file KWEFStructures.h.
◆ fontSize
| int TextFormatting::fontSize |
Definition at line 99 of file KWEFStructures.h.
◆ italic
| bool TextFormatting::italic |
Definition at line 84 of file KWEFStructures.h.
◆ language
| TQString TextFormatting::language |
Language code.
- Note
- the test language "xx" in converted to "en_US"
Definition at line 109 of file KWEFStructures.h.
◆ missing
| bool TextFormatting::missing |
true if this TextFormatting object does not correspond to a real <FORMAT> element
Definition at line 111 of file KWEFStructures.h.
◆ strikeout
| bool TextFormatting::strikeout |
true if strikeout
Definition at line 93 of file KWEFStructures.h.
◆ strikeoutLineStyle
| TQString TextFormatting::strikeoutLineStyle |
type of the strikeout line: solid, dash, dot, ....
Definition at line 95 of file KWEFStructures.h.
◆ strikeoutType
| TQString TextFormatting::strikeoutType |
type of strikeout: single, bold, double
Definition at line 94 of file KWEFStructures.h.
◆ strikeoutWord
| bool TextFormatting::strikeoutWord |
- Todo:
- : not finished ###
Definition at line 96 of file KWEFStructures.h.
◆ underline
| bool TextFormatting::underline |
Any underline? (If true, we do not know if simple or double or what else)
Definition at line 86 of file KWEFStructures.h.
◆ underlineColor
| TQColor TextFormatting::underlineColor |
color of the line
Definition at line 91 of file KWEFStructures.h.
◆ underlineStyle
| TQString TextFormatting::underlineStyle |
underline style: solid, dash, dot dash, ....
Definition at line 89 of file KWEFStructures.h.
◆ underlineValue
| TQString TextFormatting::underlineValue |
"value" of the underline: single, double, bold-single...
Definition at line 88 of file KWEFStructures.h.
◆ underlineWord
| bool TextFormatting::underlineWord |
true if word-by-word (i.e spaces are not underlined)
Definition at line 90 of file KWEFStructures.h.
◆ verticalAlignment
| int TextFormatting::verticalAlignment |
Definition at line 102 of file KWEFStructures.h.
◆ weight
| int TextFormatting::weight |
Definition at line 98 of file KWEFStructures.h.
The documentation for this class was generated from the following file:
