Location:
TXTFRMAT.H
Link against: etext.lib
class TParaFormatMask;
Masks the paragraph format attributes which are involved when setting and sensing paragraph formatting.
Used in conjunction with an object of class CParaFormat
. When setting formatting, only the attributes which are set in the mask will participate in the relevant function. When sensing
formatting, on return, the mask indicates which attributes were sensed from the format layer, and were not taken from the
default values.
Defined in TParaFormatMask
:
AttribIsSet()
, ClearAll()
, ClearAttrib()
, IsNull()
, SetAll()
, SetAttrib()
, TParaFormatMask()
, operator!=()
, operator==()
inline TParaFormatMask();
The default C++ constructor constructs a paragraph format mask, initialising all bits to zero.
inline void SetAttrib(TTextFormatAttribute aAttribute);
Sets a single attribute flag in the paragraph format mask.
|
inline void ClearAttrib(TTextFormatAttribute aAttribute);
Clears a single attribute flag in the paragraph format mask.
|
inline TBool AttribIsSet(TTextFormatAttribute aAttribute) const;
Tests whether an attribute flag is set.
|
|
inline TBool IsNull() const;
Tests whether the mask is NULL, indicating that no flags have been set.
|
IMPORT_C TBool operator==(const TParaFormatMask &aMask) const;
Compares two paragraph format masks for equality.
|
|
inline TBool operator!=(const TParaFormatMask &aMask) const;
Compares two paragraph format masks for inequality.
|
|