Location:
TXTFRMAT.H
Link against: etext.lib
class TTabStop;
A tab stop.
This is a position on a page used to align columns of text. It has a twips position and an alignment. The twips position is the width in twips (1/1440th of an inch) of the tab stop, i.e. the number of twips from the start of the line at which text can be inserted. It uniquely identifies the tab stop. The alignment (left, right, or centre) indicates how text inserted at the tab stop should be aligned.
Tab stops are paragraph format attributes. They are owned by the CParaFormat
class, through which tab stops can be added and removed.
Defined in TTabStop
:
ECenteredTab
, ELeftTab
, ENullTab
, ERightTab
, TTabStop()
, TTabStop()
, TTabType
, iTwipsPosition
, iType
, operator!=()
, operator=()
, operator==()
IMPORT_C TTabStop();
The default C++ constructor constructs a TTabStop. The twips position is initialised to zero and the alignment to ELeftTab.
IMPORT_C TTabStop &operator=(const TTabStop &aTabStop);
Assigns the twips position and alignment of aTabStop to the current TTabStop.
|
|
IMPORT_C TBool operator==(const TTabStop &aTabStop) const;
Compares two tab stops for equality. To be equal, they must have the same twips position and alignment.
|
|
inline TBool operator!=(const TTabStop &aTabStop) const;
Compares two tab stops for inequality. They are different if the twips position or alignment is different.
|
|
TTabType
Text alignment at the tab stop.
|
TUint32 iTwipsPosition;
The twips position. This is the width in twips of the tab stop, i.e. the number of twips from the start of the line at which text can be inserted.
TTabType iType;
Text alignment at the tab stop.