Location:
FRMTLAY.H
Link against: form.lib
class MFormCustomInvisibleCharacterRemapper;
Mixin class used to customize visible appearance of invisible characters such as a paragraph mark or a tab.
Defined in MFormCustomInvisibleCharacterRemapper
:
DefaultMapping()
, Remap()
static IMPORT_C TUint DefaultMapping(TUint aChar, const TNonPrintingCharVisibility aNonPrintingCharVisibility, const TLayDocTextSource
&aLayDoc);
Default implementation of mapping invisible character to its specified alternate.
Called by TLayDocTextSource::Map()
unless overidden by custom mapping class. May be called by custom mapping class
|
|
virtual TUint Remap(TUint aChar, const TNonPrintingCharVisibility aNonPrintingCharVisibility, const TLayDocTextSource &aLayDoc)=0;
Allows custom remapping of invisible characters.
Called by TLayDocTextSource::Map()
if it has been created and registered with TLayDocTextSource
using CTextLayout::SetInvisibleCharacterRemapper().
Unless there is a specific reason for doing otherwise it is recommended that where this function has not remapped a given
character it should pass it to DefaultMapping()
to let it try.
|
|