RPhraseAttribsEntry Class Reference

class RPhraseAttribsEntry

Provides a full description of a phrase. A phrase consists of a specified number of contiguous characters [the phrase length] of identical character format. Where a picture is included as text content, it is described by its own phrase.

Constructor & Destructor Documentation

RPhraseAttribsEntry()

RPhraseAttribsEntry ( )

RPhraseAttribsEntry(CCharFormatLayer *, TInt)

RPhraseAttribsEntry ( CCharFormatLayer * aCharFormat,
TInt aLength = 0
)

Parameters

CCharFormatLayer * aCharFormat
TInt aLength = 0

RPhraseAttribsEntry(CPicturePhrase *)

RPhraseAttribsEntry ( CPicturePhrase * aPicturePhrase )

Parameters

CPicturePhrase * aPicturePhrase

RPhraseAttribsEntry(const RPhraseAttribsEntry &)

RPhraseAttribsEntry ( const RPhraseAttribsEntry & aPhrase ) [inline]

Parameters

const RPhraseAttribsEntry & aPhrase

Member Functions Documentation

AdjustLength(TInt)

void AdjustLength ( TInt aIncrement )

Parameters

TInt aIncrement

AssignAndRelease(const RPhraseAttribsEntry &)

void AssignAndRelease ( const RPhraseAttribsEntry & aPhrase ) [private]

Parameters

const RPhraseAttribsEntry & aPhrase

CharFormat()

CCharFormatLayer * CharFormat ( ) const

Discard()

void Discard ( )

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

GetPictureSizeInTwips(TSize &)

TInt GetPictureSizeInTwips ( TSize & aSize ) const

Parameters

TSize & aSize

IsIdentical(const RPhraseAttribsEntry &)

TBool IsIdentical ( const RPhraseAttribsEntry & aPhrase ) const

Parameters

const RPhraseAttribsEntry & aPhrase

IsPicturePhrase()

TBool IsPicturePhrase ( ) const [inline]

Length()

TInt Length ( ) const [inline]

PictureHandleL(const MPictureFactory *, const MRichTextStoreResolver *, TInt, MLayDoc::TForcePictureLoad)

const CPicture * PictureHandleL ( const MPictureFactory * aFactory,
const MRichTextStoreResolver * aResolver,
TInt aPos,
MLayDoc::TForcePictureLoad aForceLoad
) const

Parameters

const MPictureFactory * aFactory
const MRichTextStoreResolver * aResolver
TInt aPos
MLayDoc::TForcePictureLoad aForceLoad

PictureHeader()

TPictureHeader PictureHeader ( ) const

PictureHeaderPtr()

TPictureHeader * PictureHeaderPtr ( ) const

ReleaseCharFormatLayerOwnership()

CCharFormatLayer * ReleaseCharFormatLayerOwnership ( )

SetLength(TInt)

void SetLength ( TInt aLength )

Parameters

TInt aLength

operator=(const RPhraseAttribsEntry &)

RPhraseAttribsEntry & operator= ( const RPhraseAttribsEntry & aPhrase ) [inline]

Parameters

const RPhraseAttribsEntry & aPhrase

Member Data Documentation

union RPhraseAttribsEntry::@70 @71

union RPhraseAttribsEntry::@70 @71 [private]

__DECLARE_TEST

__DECLARE_TEST [private]

CCharFormatLayer * iCharFormat

CCharFormatLayer * iCharFormat

TInt iLength

TInt iLength [private]

CPicturePhrase * iPicturePhrase

CPicturePhrase * iPicturePhrase