TNonPrintingCharVisibility Class Reference

class TNonPrintingCharVisibility

A set of flags to indicate which non-printing characters (e.g. space, tab, paragraph break, etc.) should be drawn using symbols. By default, all non-printing characters are hidden.

An instance of this class is used in CTextLayout::SetNonPrintingCharsVisibility().

Constructor & Destructor Documentation

TNonPrintingCharVisibility()

IMPORT_CTNonPrintingCharVisibility()

TNonPrintingCharVisibility(const TNonPrintingCharVisibility &)

IMPORT_CTNonPrintingCharVisibility(const TNonPrintingCharVisibility &aVisibility)

Parameters

const TNonPrintingCharVisibility & aVisibility

Member Functions Documentation

AllVisible()

TBool AllVisible()const [inline]

Tests whether all non-printing characters are visible.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

LineBreaksVisible()

TBool LineBreaksVisible()const [inline]

Tests whether forced line break characters are visible.

NonBreakingHyphensVisible()

TBool NonBreakingHyphensVisible()const [inline]

Tests whether non-breaking hyphens (enclosing word is always kept on the same line) are visible.

NonBreakingSpacesVisible()

TBool NonBreakingSpacesVisible()const [inline]

Tests whether non-breaking spaces are visible.

NoneVisible()

TBool NoneVisible()const [inline]

Tests whether all non-printing characters are hidden.

PageBreaksVisible()

TBool PageBreaksVisible()const [inline]

Tests whether page break characters are visible.

ParagraphDelimitersVisible()

TBool ParagraphDelimitersVisible()const [inline]

Tests whether paragraph delimiters are visible.

PotentialHyphensVisible()

TBool PotentialHyphensVisible()const [inline]

Tests whether potential hyphen characters (inserted before a line break within a word) are visible.

SetAllVisible()

IMPORT_C voidSetAllVisible()

SetLineBreaksVisible(TBool)

IMPORT_C voidSetLineBreaksVisible(TBoolaVisible)

Parameters

TBool aVisible

SetNonBreakingHyphensVisible(TBool)

IMPORT_C voidSetNonBreakingHyphensVisible(TBoolaVisible)

Parameters

TBool aVisible

SetNonBreakingSpacesVisible(TBool)

IMPORT_C voidSetNonBreakingSpacesVisible(TBoolaVisible)

Parameters

TBool aVisible

SetNoneVisible()

IMPORT_C voidSetNoneVisible()

SetPageBreaksVisible(TBool)

IMPORT_C voidSetPageBreaksVisible(TBoolaVisible)

Parameters

TBool aVisible

SetParagraphDelimitersVisible(TBool)

IMPORT_C voidSetParagraphDelimitersVisible(TBoolaVisible)

Parameters

TBool aVisible

SetPotentialHyphensVisible(TBool)

IMPORT_C voidSetPotentialHyphensVisible(TBoolaVisible)

Parameters

TBool aVisible

SetSpacesVisible(TBool)

IMPORT_C voidSetSpacesVisible(TBoolaVisible)

Parameters

TBool aVisible

SetTabsVisible(TBool)

IMPORT_C voidSetTabsVisible(TBoolaVisible)

Parameters

TBool aVisible

SpacesVisible()

TBool SpacesVisible()const [inline]

Tests whether space characters are visible.

Note: To get the the visibility of non-breaking space characters, use NonBreakingSpacesVisible() instead.

TabsVisible()

TBool TabsVisible()const [inline]

Tests whether tab stop characters are visible.

operator=(const TNonPrintingCharVisibility &)

IMPORT_C TNonPrintingCharVisibility &operator=(const TNonPrintingCharVisibility &aVisibility)

Parameters

const TNonPrintingCharVisibility & aVisibility

Member Enumerations Documentation

Enum TShowFormatChars

Enumerators

EFNothingVisible = 0x000
EFTabsVisible = 0x001
EFSpacesVisible = 0x002
EFParagraphDelimitersVisible = 0x004
EFLineBreaksVisible = 0x008
EFPotentialHyphensVisible = 0x010
EFNonBreakingHyphensVisible = 0x020
EFNonBreakingSpacesVisible = 0x040
EFPageBreaksVisible = 0x080
EFEverythingVisible = 0xffffffff

Member Data Documentation

TUint32 iVisible

TUint32 iVisible[private]