#include <frmvis.h>
class TNonPrintingCharVisibility |
Public Member Functions | |
---|---|
TNonPrintingCharVisibility() | |
TNonPrintingCharVisibility(const TNonPrintingCharVisibility &) | |
TBool | AllVisible() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
TBool | LineBreaksVisible() |
TBool | NonBreakingHyphensVisible() |
TBool | NonBreakingSpacesVisible() |
TBool | NoneVisible() |
TBool | PageBreaksVisible() |
TBool | ParagraphDelimitersVisible() |
TBool | PotentialHyphensVisible() |
IMPORT_C void | SetAllVisible() |
IMPORT_C void | SetLineBreaksVisible(TBool) |
IMPORT_C void | SetNonBreakingHyphensVisible(TBool) |
IMPORT_C void | SetNonBreakingSpacesVisible(TBool) |
IMPORT_C void | SetNoneVisible() |
IMPORT_C void | SetPageBreaksVisible(TBool) |
IMPORT_C void | SetParagraphDelimitersVisible(TBool) |
IMPORT_C void | SetPotentialHyphensVisible(TBool) |
IMPORT_C void | SetSpacesVisible(TBool) |
IMPORT_C void | SetTabsVisible(TBool) |
TBool | SpacesVisible() |
TBool | TabsVisible() |
IMPORT_C TNonPrintingCharVisibility & | operator=(const 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().
IMPORT_C | TNonPrintingCharVisibility | ( | ) |
IMPORT_C | TNonPrintingCharVisibility | ( | const TNonPrintingCharVisibility & | aVisibility | ) |
TBool | AllVisible | ( | ) | const [inline] |
Tests whether all non-printing characters are visible.
IMPORT_C 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.
Parameters | |
---|---|
aStream | Stream to which the object should be externalised. |
IMPORT_C 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.
Parameters | |
---|---|
aStream | Stream from which the object should be internalised. |
TBool | LineBreaksVisible | ( | ) | const [inline] |
Tests whether forced line break characters are visible.
TBool | NonBreakingHyphensVisible | ( | ) | const [inline] |
Tests whether non-breaking hyphens (enclosing word is always kept on the same line) are visible.
TBool | NonBreakingSpacesVisible | ( | ) | const [inline] |
Tests whether non-breaking spaces are visible.
TBool | NoneVisible | ( | ) | const [inline] |
Tests whether all non-printing characters are hidden.
TBool | PageBreaksVisible | ( | ) | const [inline] |
Tests whether page break characters are visible.
TBool | ParagraphDelimitersVisible | ( | ) | const [inline] |
Tests whether paragraph delimiters are visible.
TBool | PotentialHyphensVisible | ( | ) | const [inline] |
Tests whether potential hyphen characters (inserted before a line break within a word) are visible.
IMPORT_C void | SetAllVisible | ( | ) |
Sets all non-printing characters to be drawn using symbols.
IMPORT_C void | SetLineBreaksVisible | ( | TBool | aVisible | ) |
Sets the visibility of line breaks (force a new line without beginning a new paragraph).
Parameters | |
---|---|
aVisible | True for visible line breaks. False for hidden. |
IMPORT_C void | SetNonBreakingHyphensVisible | ( | TBool | aVisible | ) |
Sets the visibility of non-breaking hyphens (enclosing word is always kept on the same line).
Parameters | |
---|---|
aVisible | True for visible non-breaking hyphens, false for hidden. |
IMPORT_C void | SetNonBreakingSpacesVisible | ( | TBool | aVisible | ) |
Sets the visibility of non-breaking spaces.
Parameters | |
---|---|
aVisible | True for visible non-breaking spaces, false for hidden. |
IMPORT_C void | SetPageBreaksVisible | ( | TBool | aVisible | ) |
Sets the visibility of page breaks.
Parameters | |
---|---|
aVisible | True for visible page breaks, false for hidden. |
IMPORT_C void | SetParagraphDelimitersVisible | ( | TBool | aVisible | ) |
Sets the visibility of paragraph delimiters.
Parameters | |
---|---|
aVisible | True for visible paragraph delimiters, false for hidden. |
IMPORT_C void | SetPotentialHyphensVisible | ( | TBool | aVisible | ) |
Sets the visibility of potential hyphens (inserted before a line break within a word).
Parameters | |
---|---|
aVisible | True for visible potential hyphens, false for hidden. |
IMPORT_C void | SetSpacesVisible | ( | TBool | aVisible | ) |
Sets the visibility of space characters.
Parameters | |
---|---|
aVisible | True for visible space characters. False for hidden. |
IMPORT_C void | SetTabsVisible | ( | TBool | aVisible | ) |
Sets the visibility of tab stops.
Parameters | |
---|---|
aVisible | True for visible tab stops. False for hidden. |
TBool | SpacesVisible | ( | ) | const [inline] |
Tests whether space characters are visible.
Note: To get the the visibility of non-breaking space characters, use NonBreakingSpacesVisible() instead.
TBool | TabsVisible | ( | ) | const [inline] |
Tests whether tab stop characters are visible.
IMPORT_C TNonPrintingCharVisibility & | operator= | ( | const TNonPrintingCharVisibility & | aVisibility | ) |