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_C TNonPrintingCharVisibility ( )

TNonPrintingCharVisibility(const TNonPrintingCharVisibility &)

IMPORT_C TNonPrintingCharVisibility ( 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 void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( 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 void SetAllVisible ( )

SetLineBreaksVisible(TBool)

IMPORT_C void SetLineBreaksVisible ( TBool aVisible )

Parameters

TBool aVisible

SetNonBreakingHyphensVisible(TBool)

IMPORT_C void SetNonBreakingHyphensVisible ( TBool aVisible )

Parameters

TBool aVisible

SetNonBreakingSpacesVisible(TBool)

IMPORT_C void SetNonBreakingSpacesVisible ( TBool aVisible )

Parameters

TBool aVisible

SetNoneVisible()

IMPORT_C void SetNoneVisible ( )

SetPageBreaksVisible(TBool)

IMPORT_C void SetPageBreaksVisible ( TBool aVisible )

Parameters

TBool aVisible

SetParagraphDelimitersVisible(TBool)

IMPORT_C void SetParagraphDelimitersVisible ( TBool aVisible )

Parameters

TBool aVisible

SetPotentialHyphensVisible(TBool)

IMPORT_C void SetPotentialHyphensVisible ( TBool aVisible )

Parameters

TBool aVisible

SetSpacesVisible(TBool)

IMPORT_C void SetSpacesVisible ( TBool aVisible )

Parameters

TBool aVisible

SetTabsVisible(TBool)

IMPORT_C void SetTabsVisible ( TBool aVisible )

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]