filters

TextFormatting Class Reference

#include <KWEFStructures.h>

List of all members.


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.


Public Member Functions

 TextFormatting ()
 TextFormatting (const bool newMissing)
 TextFormatting (QString f, bool i, bool u, bool s, int w, int sz, QColor fg, QColor bg, int v)

Public Attributes

QString fontName
bool italic
bool underline
QString underlineValue
QString underlineStyle
bool underlineWord
QColor underlineColor
bool strikeout
QString strikeoutType
QString strikeoutLineStyle
bool strikeoutWord
int weight
int fontSize
QColor fgColor
QColor bgColor
int verticalAlignment
QString fontAttribute
QString language
bool missing

Member Data Documentation

QString TextFormatting::language
 

Language code.

Note:
the test language "xx" in converted to "en_US"

Definition at line 109 of file KWEFStructures.h.

bool TextFormatting::missing
 

true if this TextFormatting object does not correspond to a real <FORMAT> element

Definition at line 111 of file KWEFStructures.h.

bool TextFormatting::strikeout
 

true if strikeout

Definition at line 93 of file KWEFStructures.h.

QString TextFormatting::strikeoutLineStyle
 

type of the strikeout line: solid, dash, dot, ....

Definition at line 95 of file KWEFStructures.h.

QString TextFormatting::strikeoutType
 

type of strikeout: single, bold, double

Definition at line 94 of file KWEFStructures.h.

bool TextFormatting::strikeoutWord
 

Todo:
: not finished ###

Definition at line 96 of file KWEFStructures.h.

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.

QColor TextFormatting::underlineColor
 

color of the line

Definition at line 91 of file KWEFStructures.h.

QString TextFormatting::underlineStyle
 

underline style: solid, dash, dot dash, ....

Definition at line 89 of file KWEFStructures.h.

QString TextFormatting::underlineValue
 

"value" of the underline: single, double, bold-single...

Definition at line 88 of file KWEFStructures.h.

bool TextFormatting::underlineWord
 

true if word-by-word (i.e spaces are not underlined)

Definition at line 90 of file KWEFStructures.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys