Location:
frmvis.h
Link against: form.lib
TNonPrintingCharVisibility
Supported from 5.0
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()
.
Defined in TNonPrintingCharVisibility
:
AllVisible()
, ExternalizeL()
, InternalizeL()
, LineBreaksVisible()
, NonBreakingHyphensVisible()
, NonBreakingSpacesVisible()
, NoneVisible()
, PageBreaksVisible()
, ParagraphDelimitersVisible()
, PotentialHyphensVisible()
, SetAllVisible()
, SetLineBreaksVisible()
, SetNonBreakingHyphensVisible()
, SetNonBreakingSpacesVisible()
, SetNoneVisible()
, SetPageBreaksVisible()
, SetParagraphDelimitersVisible()
, SetPotentialHyphensVisible()
, SetSpacesVisible()
, SetTabsVisible()
, SpacesVisible()
, TNonPrintingCharVisibility()
, TabsVisible()
, operator=()
TNonPrintingCharVisibility();
Trivial default C++ constructor.
This constructs a TNonPrintingCharVisibility
object. By default, all non-printing characters are
hidden.
TNonPrintingCharVisibility(const TNonPrintingCharVisibility& aVisibility);
Copy constructor.
The C++ copy constructor constructs a new
TNonPrintingCharVisibility
object from an existing
one.
TNonPrintingCharVisibility& operator=(const TNonPrintingCharVisibility& aVisibility);
Assigns a TNonPrintingCharVisibility
object to this
one.
|
|
void ExternalizeL(RWriteStream& aStream)const;
Externalises a TNonPrintingCharVisibility
object to a
write stream. The presence of this function means that the standard templated
operator<<()
(defined in s32strm.h)
is available to externalise objects of this class.
|
void InternalizeL(RReadStream& aStream);
Internalises a TNonPrintingCharVisibility
object from a
read stream. The presence of this function means that the standard templated
operator>>()
(defined in s32strm.h)
is available to internalise objects of this class.
|
void SetTabsVisible(TBool aVisible);
Sets the visibility of tab stops.
|
void SetSpacesVisible(TBool aVisible);
Sets the visibility of space characters.
|
void SetParagraphDelimitersVisible(TBool aVisible);
Sets the visibility of paragraph delimiters.
|
void SetLineBreaksVisible(TBool aVisible);
Sets the visibility of line breaks (force a new line without beginning a new paragraph).
|
void SetPotentialHyphensVisible(TBool aVisible);
Sets the visibility of potential hyphens (inserted before a line break within a word).
|
void SetNonBreakingHyphensVisible(TBool aVisible);
Sets the visibility of non-breaking hyphens (enclosing word is always kept on the same line).
|
void SetNonBreakingSpacesVisible(TBool aVisible);
Sets the visibility of non-breaking spaces.
|
void SetPageBreaksVisible(TBool aVisible);
Sets the visibility of page breaks.
|
TBool AllVisible()const;
Tests whether all non-printing characters are visible.
|
TBool NoneVisible()const;
Tests whether all non-printing characters are hidden.
|
TBool TabsVisible()const;
Tests whether tab stop characters are visible.
|
TBool SpacesVisible()const;
Tests whether space characters are visible.
Note
To get the the visibility of non-breaking space characters, use
NonBreakingSpacesVisible()
instead.
|
TBool ParagraphDelimitersVisible()const;
Tests whether paragraph delimiters are visible.
|
TBool LineBreaksVisible()const;
Tests whether forced line break characters are visible.
|
TBool PotentialHyphensVisible()const;
Tests whether potential hyphen characters (inserted before a line break within a word) are visible.
|
TBool NonBreakingHyphensVisible()const;
Tests whether non-breaking hyphens (enclosing word is always kept on the same line) are visible.
|
TBool NonBreakingSpacesVisible()const;
Tests whether non-breaking spaces are visible.
|
TBool PageBreaksVisible()const;
Tests whether page break characters are visible.
|