CCharFormatLayer Class Reference
class CCharFormatLayer : public CFormatLayer |
Character format layer.
Uses a pointer (stored in its base class CFormatLayer) to another character format layer which may be NULL. This pointer is referred to as the based-on link. A character format layer is owned by an instance of the CGlobalText class and stores the object's global character formatting. Implements persistence and allows attributes to be set and sensed.
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CFormatLayer::CFormatLayer() |
| CFormatLayer::ChainCount()const |
| CFormatLayer::CloneLayerL(CFormatLayer *)const |
| CFormatLayer::ExternalizeChainL(RWriteStream &,TInt)const |
| CFormatLayer::ExternalizeLayersRecurseL(RWriteStream &,TInt)const |
| CFormatLayer::InternalizeChainL(RReadStream &,const CFormatLayer *) |
| CFormatLayer::IsEmpty()const |
| CFormatLayer::IsIdentical(const TUint8 *,TInt)const |
| CFormatLayer::Reset() |
| CFormatLayer::SenseBase()const |
| CFormatLayer::SetBase(const CFormatLayer *) |
| CFormatLayer::Swap(CFormatLayer &) |
| CFormatLayer::~CFormatLayer() |
Constructor & Destructor Documentation
CCharFormatLayer()
CCharFormatLayer | ( | ) | [private] |
Member Functions Documentation
CloneL()
Constructs and returns a new CCharFormatLayer with identical formatting to the current layer. Note that the function does not copy the original layer's based-on link - the new layer's based-on link is set to NULL, so that the two layers may not have the same effective formatting.
ExternalizeL(RWriteStream &)
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Implementations of this function externalise the format layer but not its based-on link to a write stream. The presence of this function means that the standard templatedoperator<<() (defined in s32strm.h) is available to externalise objects of the derived class.
Parameters
RWriteStream & aStream | Stream to which the format layer should be externalised. |
FillCharFormat(TCharFormatX &, TCharFormatXMask &)
void | FillCharFormat | ( | TCharFormatX & | aCharFormat, |
| TCharFormatXMask & | aMask |
| ) | const [private, virtual] |
Parameters
TCharFormatX & aCharFormat | |
TCharFormatXMask & aMask | |
InternalizeL(RReadStream &, const CFormatLayer *)
Implementations of this function internalise the format layer but not its based-on link 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 the derived class. The internalised layer is set to be based on the layer specified.
Parameters
RReadStream & aStream | Stream from which the format layer should be internalised. |
const CFormatLayer * aBase = NULL | The based-on link to assign to the layer. By default, NULL. |
IsIdentical(CFormatLayer *, TBool)
Implementations of this function compare another format layer with the current object. For the two layers to be equal, they must have the same contents and (if the second parameter is ETrue), their based-on links must point to the same format layer.
Parameters
CFormatLayer * aLayer | The layer to compare to this format layer. |
TBool aCheckBasedOnLink = ETrue | If ETrue, both layers' based-on links must point to the same format layer. If EFalse, the based-on links are not used in the comparison. By default, ETrue. |
IsIdentical(const TCharFormat &, const TCharFormatMask &)
NewCopyBaseL(const CCharFormatLayer *)
NewL(const TCharFormat &, const TCharFormatMask &)
NewL(const CCharFormatLayer *)
NewL(const TCharFormatX &, const TCharFormatXMask &)
CCharFormatLayer * | NewL | ( | const TCharFormatX & | aFormat, |
| const TCharFormatXMask & | aMask |
| ) | [static] |
Parameters
const TCharFormatX & aFormat | |
const TCharFormatXMask & aMask | |
RestoreNewL(RReadStream &)
Sense(TCharFormat &, TCharFormatMask &)
Sense(TCharFormatX &, TCharFormatXMask &)
void | Sense | ( | TCharFormatX & | aCharFormat, |
| TCharFormatXMask & | aMask |
| ) | const |
Parameters
TCharFormatX & aCharFormat | |
TCharFormatXMask & aMask | |
SenseEffective(TCharFormat &)
IMPORT_C void | SenseEffective | ( | TCharFormat & | aCharFormat | ) | const |
SenseEffective(TCharFormatX &)
void | SenseEffective | ( | TCharFormatX & | aCharFormat | ) | const |
Parameters
TCharFormatX & aCharFormat | |
SetL(const TCharFormat &, const TCharFormatMask &)
SetL(const TCharFormatX &, const TCharFormatXMask &)
void | SetL | ( | const TCharFormatX & | aCharFormat, |
| const TCharFormatXMask & | aMask |
| ) | |
Parameters
const TCharFormatX & aCharFormat | |
const TCharFormatXMask & aMask | |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.