TParaBorder Class Reference

class TParaBorder

Defines the characteristics of one of the four sides of a paragraph border.

These are the line style, thickness and colour. Paragraph borders are paragraph format attributes. They are owned by the CParaFormat class which allows paragraph borders to be added and removed. The CParaFormat::TParaBorderSide enumeration identifies which side of the paragraph the object applies to.

Constructor & Destructor Documentation

TParaBorder()

IMPORT_CTParaBorder()

Member Functions Documentation

operator!=(const TParaBorder &)

TBool operator!=(const TParaBorder &aParaBorder)const [inline]

Compares two paragraph border sides for inequality. Two paragraph border sides are different if any of their data members are different.

ETrue if the two paragraph border sides are different, EFalse if not.

Parameters

const TParaBorder & aParaBorder

operator==(const TParaBorder &)

IMPORT_C TBooloperator==(const TParaBorder &aParaBorder)const

Parameters

const TParaBorder & aParaBorder

Member Enumerations Documentation

Enum TLineStyle

Line styles.

Enumerators

ENullLineStyle

No line style.

ESolid

Solid line.

EDouble

Double solid line.

EDotted

Dotted line.

EDashed

Dashed line.

EDotDash

Alternating dots and dashes.

EDotDotDash

Alternating sequence of two dots and a dash.

Member Data Documentation

TBool iAutoColor

TBool iAutoColor

ETrue indicates that the line colour is set to the default or current text colour, overriding iColor. EFalse indicates that the iColor value is used. By default, ETrue.

TLogicalRgb iColor

TLogicalRgb iColor

The line colour. By default, the system's default foreground colour.

TLineStyle iLineStyle

TLineStyle iLineStyle

The line style. By default, ENullLineStyle.

TInt iThickness

TInt iThickness

The line thickness in twips. By default, zero.