CRichTextIndex Class Reference

class CRichTextIndex : public CBase

Stores the paragraph and character formatting information for CRichText.

iParaIx stores the paragraph formatting, one entry per paragraph. Paragraphs are pieces of text delimited by the Unicode Paragraph Delimiter character U+2029.

iPhraseIx stores the character formatting.

Paragraph formatting information can be shared or not shared between paragraphs. Sharing is only permitted for paragraphs that do not have any character formatting applied to their text.

A phrase is a run of consistently formatted characters. A phrase may only contain a paragraph delimiter in its last character. In other words, phrases are not permitted to span paragraph boundaries.

iPhraseIx only stores formatting for the non-shared paragraphs. Therefore adding up the lengths of all the phrases in iPhraseIx will yield the sum of the non-shared paragraphs stored in iParaIx.

Note that the "nominal" paragraph delimiter at the end of the text which is not stored by CRichText is covered by both character and paragraph formatting. So the length of the final paragraph and final phrase (if appropriate) includes this character.

Inherits from

Public Member Functions
~CRichTextIndex()
voidAppendParagraphL(const CParaFormatLayer *, const CCharFormatLayer *, TInt)
voidAppendTakingSolePictureOwnershipL(const CRichTextIndex *, const TGlobalLayerInfoAppend &)
voidApplyCharFormatL(const TCharFormatX &, const TCharFormatXMask &, TInt, TInt, TBool)
voidApplyParaFormatL(const CParaFormat *, const TParaFormatMask &, TInt, TInt)
voidApplyParagraphStyleL(const CParagraphStyle &, TInt, TInt, const CCharFormatLayer *, CParagraphStyle::TApplyParaStyleMode)
voidCancelInsertCharFormat()
TInt CharPosOfParagraph(TInt &, TInt)
voidCopyToStreamL(RWriteStream &, TInt, TInt, TBool)
TBool DelSetInsertCharFormatL(TInt, TInt)
voidDeleteFromParagraph(TInt, TInt)
TBool DeleteNow(TIndexDeleteInfo &)
TBool DeleteParagraph(TInt, TInt)
voidDetachFromStoreL(CPicture::TDetach, TInt, TInt)
voidDocumentChanged()
voidExternalizeL(RWriteStream &)
voidGetCharFormat(TCharFormatX &, TCharFormatXMask &, TInt, TInt)
TInt GetChars(TCharFormatX &, TInt)
CCharFormatLayer *GetCurrentInsertCharFormat()
voidGetParaFormatL(CParaFormat *, TParaFormatMask &, TInt, TInt, CParaFormat::TParaFormatGetMode)
voidGetParagraphFormatL(CParaFormat *, TInt)
TInt GetPictureSizeInTwips(TSize &, TInt)
voidGetSpecificCharFormat(TCharFormatX &, TCharFormatXMask &, TInt)
voidGetSpecificCharFormatDirection(TCharFormatX &, TCharFormatXMask &, TInt, TBool)
voidGetSpecificParagraphFormatL(CParaFormat *, TParaFormatMask &, TInt)
TBool HasMarkupData(const CFormatLayer *)
TBool InsertCharFormatIsActive()
voidInsertL(TInt, const TDesC &, const CParaFormatLayer &)
voidInsertL(TInt, const TPictureHeader &, TBool &)
voidInsertParagraphL(TInt, const CParaFormatLayer &)
voidInternalizeL(RReadStream &, const CParaFormatLayer *, const CCharFormatLayer *, const CStyleList *)
voidNewInsertCharFormatL(const TCharFormatX &, const TCharFormatXMask &, TInt)
CRichTextIndex *NewL(const CParaFormatLayer *, const CCharFormatLayer *, const CRichText &, TInt, TInt)
CRichTextIndex *NewL(const CStreamStore &, TStreamId, const CParaFormatLayer *, const CCharFormatLayer *, const CRichText &)
voidNormalize(TInt)
voidNotifyStyleChangedL(const CParagraphStyle *, const CParagraphStyle *, const CParaFormatLayer &, const CCharFormatLayer &)
TInt ParagraphCount()
TInt ParagraphNumberForPos(TInt &)
const CParaFormatLayer *ParagraphStyle(TBool &, TInt, TInt)
voidPasteFromStreamL(const CStreamStore &, RReadStream &, TInt, CParagraphStyle::TStylePasteMode, const CParaFormatLayer *, const CCharFormatLayer *)
CPicture *PictureHandleL(TInt, MLayDoc::TForcePictureLoad)
TPictureHeader PictureHeader(TInt)
TPictureHeader *PictureHeaderPtr(TInt)
voidRemoveSpecificCharFormatL(TInt, TInt)
voidRemoveSpecificParaFormatL(TInt, TInt)
voidReset(const CParaFormatLayer &)
voidRestoreL(const CStreamStore &, TStreamId, const CParaFormatLayer *, const CCharFormatLayer *, const CStyleList *)
voidSetForDeleteL(TIndexDeleteInfo &, TInt, TInt)
voidSetInsertCharFormatL(const TCharFormatX &, const TCharFormatXMask &, TInt)
voidSetSpecificMarkupInternalized(TBool)
TInt SharedParaCount(const CRichTextIndex *)
TBool SpecificMarkupInternalized()
TStreamId StoreMarkupL(CStreamStore &, const CStyleList *)
voidStorePicturesL(CStreamStore &, CStoreMap &)
voidStorePicturesL(CStreamStore &, CStoreMap &, TInt, TInt)
voidUpdateInsertCharFormatL(const TCharFormatX &, const TCharFormatXMask &)
Private Member Functions
CRichTextIndex(const CRichText &)
voidAppendParaIndexL(const CRichTextIndex *, const TGlobalLayerInfoAppend &)
voidAppendPhraseIndexL(const CRichTextIndex *, const TGlobalLayerInfoAppend &)
voidAppendSharedFormatsL(CParaAttribsMap &, const CRichTextIndex *, const TGlobalLayerInfoAppend &)
voidApplyCharFormatCleanup(TAny *)
voidApplyCharFormatRollback()
voidCheckForUndetermined(const TCharFormatX &, const TCharFormatX &, TCharFormatXMask &)
voidConsolidateAt(TInt, TPositionOrPhrase)
voidConstructL(const CParaFormatLayer *, const CCharFormatLayer *, TInt, TInt)
TInt CurrentPhraseLength()
TInt CurrentPhraseOffset()
TBool DeleteInsertCharFormat()
TBool DeleteParagraphText(TInt &)
TBool DoDeleteFromParagraph(const TIndexDeleteInfo &)
voidDoNewInsertCharFormatL(const TCharFormatX &, const TCharFormatXMask &, CCharFormatLayer *, CParaAttribs *)
voidDoPasteCleanup(TLogicalPosition &, CParaAttribs *)
TParaAttribsEntry DoPasteFirstIntoParaL(RReadStream &, const CParaAttribsMap &, const TRtPasteContext &, RPhraseAttribsEntry *&, CStyleMap *)
TParaAttribsEntry DoPasteIntoParaL(RReadStream &, const CParaAttribsMap &, const TRtPasteContext &, CStyleMap *)
voidDoPastePhraseL(RReadStream &, const TRtPasteContext &, RPhraseAttribsEntry &)
voidDoSoloInsertL(TInt, TInt)
voidDoSplitPhraseL(RPhraseAttribsEntry &, TInt, CParaAttribs *)
voidExternalizeItemsPresentInRegisterL(RWriteStream &, TInt, const TDes8 &, const CStyleList *)
voidExternalizeItemsPresentInStyleRegisterL(RWriteStream &, TInt, const TDes8 &)
RPhraseAttribsEntry *ExternalizeParaIxL(RWriteStream &, const TLogicalPosition &, const TLogicalPosition &, const CStyleList *)
voidExternalizeParagraphFormatL(RWriteStream &, const CParaFormatLayer &, const CStyleList *)
voidExternalizePhraseCountL(RWriteStream &, TInt)
voidExternalizePhraseIxL(RWriteStream &)
voidExternalizePhraseIxL(RWriteStream &, const TLogicalPosition &, TLogicalPosition &, const RPhraseAttribsEntry *)
voidExternalizePhrasesL(RWriteStream &, TInt, TInt, const RPhraseAttribsEntry *)
voidExternalizeReferencedStylesL(RWriteStream &, const TLogicalPosition &, const TLogicalPosition &)
voidExternalizeRtiHeaderL(RWriteStream &, const TLogicalPosition &, const CStyleList *)
voidExternalizeSharedFormatsL(RWriteStream &, const TLogicalPosition &, const TLogicalPosition &, const CStyleList *)
CParaAttribs *FindSharedParaAttribs(const CParaFormatLayer &, const CCharFormatLayer &)
TBool FirstPhraseOfParagraph()
voidGenerateAllPhraseLinksL()
voidGeneratePhraseLink(CCharFormatLayer *, const CParaFormatLayer *)
voidGetCurrentRecords(TCurrentIndexRecords &)
CParaAttribs *GetParaAttribs(const TLogicalPosition &)
CParaAttribs *GetParaAttribs(CParaAttribs *, CCharFormatLayer &)
CParaAttribs *GetParaAttribsL(const CParaFormatLayer *, const CCharFormatLayer *, CParaAttribs *)
voidGetPhraseFormat(TCurrentIndexRecords &, TCharFormatX &, TCharFormatXMask &, CCharFormatLayer *&)
TTextFragment GetTextFragmentL(RReadStream &)
voidImposeCharacterStyleL(CCharFormatLayer **)
voidInternalizeParaIxL(RReadStream &, const TRtPasteContext &)
CParaFormatLayer *InternalizeParagraphFormatL(RReadStream &, const TRtPasteContext &)
voidInternalizePhraseIxL(RReadStream &, const CCharFormatLayer *)
voidInternalizeRtiHeaderL(RReadStream &, TRtPasteContext &)
voidInternalizeSharedFormatsL(RReadStream &, const TRtPasteContext &)
TInt MarkRegister(TDes8 &, TInt, TInt)
TInt MarkStyleRegister(TDes8 &, TInt, TInt)
TBool MergePhrases(TInt)
TBool MergePhrases(const TLogicalPosition &)
TInt MergePhrases(TInt, RPhraseAttribsEntry &, CParaAttribs &)
voidModifySpecificFormatting(CParaFormatLayer &, CCharFormatLayer &, CParagraphStyle::TApplyParaStyleMode)
voidNormalizeNow(const TLogicalPosition &)
voidNormalizeSharedList()
TInt OwningParagraph(TInt, TLogicalPosition *)
TInt ParaLengthFromBuffer(TDesC &)
voidPasteIxL(RReadStream &, TRtPasteContext &, const CParaAttribsMap &, CStyleMap *)
TInt PasteParaIxL(RReadStream &, TRtPasteContext &, TInt, const CParaAttribsMap &, RPhraseAttribsEntry *&, CStyleMap *)
CParaFormatLayer *PasteParagraphFormatL(RReadStream &, const TRtPasteContext &, CStyleMap *)
voidPastePhraseIxL(RReadStream &, TRtPasteContext &, const RPhraseAttribsEntry *)
voidPasteSharedFormatsL(RReadStream &, CParaAttribsMap &, const TRtPasteContext &, CStyleMap *)
voidPasteStylesL(RReadStream &, CStyleMap &, const TRtPasteContext &)
TInt PhraseCount()
TBool PhraseSplit()
voidRbInsertPicture(CParaAttribs *)
voidRbPasteParaIxL(const TLogicalPosition &, TInt, TInt)
voidRbPastePhraseIxL(const TLogicalPosition &, TInt, TInt)
voidRbPasteSharedFormatsL(TInt)
voidRbRemoveInsertedParaAttribsEntries(TInt, TInt)
voidRbRemoveInsertedPhraseAttribsEntries(TInt, TInt)
TUint8 ReadTUint8CountL(RReadStream &)
voidRebalanceIndex()
TUint8 RefNum(const CParaAttribs *)
voidRemoveFromPhraseIx(TInt, TInt)
CParaAttribs *RequestReclaimShareL(CParaAttribs *, TParaAttribsEntry *)
CParaAttribs *RequestShare(const TLogicalPosition &)
CParaAttribs *RequestShareL(CParaAttribs *, CCharFormatLayer *, CParaAttribs *)
CParaAttribs *ReserveCellL()
CParaAttribs *ReserveCellLC()
const CStreamStore *ResolvedStreamStore(TInt)
voidScanToPosition(TInt, TScanToPositionMode, TLogicalPosition *)
voidSetPhraseSplit(TBool)
voidShare(TParaAttribsEntry &, TInt)
CParaAttribs *SharedParaAttribs(TUint8)
TUint8 SharedParaAttribsEntryCountL()
voidSplitParagraphAtPastePosL(TLogicalPosition &, TLogicalPosition &, const CParaFormatLayer &)
voidSplitPhraseL(TInt)
voidSplitPhraseL(TInt, TInt, CParaAttribs *)
voidSplitPhraseL(TInt, TInt, RPhraseAttribsEntry &, CParaAttribs &)
voidTidyAfterDelete(const TIndexDeleteInfo &)
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()
Private Member Enumerations
enumTPositionOrPhrase { EPositionOnly, EFollowingPhrase }
enumTScanToPositionMode { EScanToPositionMatchLeft, EScanToPositionAbsolute }
Public Attributes
__DECLARE_TEST
CArrayFixSeg< TParaAttribsEntry > *iParaIx
CArrayFixSeg< RPhraseAttribsEntry > *iPhraseIx
TInt iPictureCount
__MUTABLE TLogicalPositioniPos
Private Attributes
TUint32 iFlags
CCharFormatLayer *iLastCharacterStyle
__MUTABLE TLogicalPositioniLastUsed
TInt iPendingNewPhrasePos
CParaAttribs *iRollbackParaAttribsHandle
__MUTABLE TDblQue< CParaAttribs >iSharedParaQueHead
const CRichText &iText

Constructor & Destructor Documentation

CRichTextIndex(const CRichText &)

CRichTextIndex(const CRichText &aText)[private]

Parameters

const CRichText & aText

~CRichTextIndex()

~CRichTextIndex()

Member Functions Documentation

AppendParaIndexL(const CRichTextIndex *, const TGlobalLayerInfoAppend &)

voidAppendParaIndexL(const CRichTextIndex *aSource,
const TGlobalLayerInfoAppend &aGlobalLayerInfo
)[private]

Parameters

const CRichTextIndex * aSource
const TGlobalLayerInfoAppend & aGlobalLayerInfo

AppendParagraphL(const CParaFormatLayer *, const CCharFormatLayer *, TInt)

voidAppendParagraphL(const CParaFormatLayer *aGlobalParaFormatLayer,
const CCharFormatLayer *aGlobalCharFormatLayer,
TIntaReplicas
)

Parameters

const CParaFormatLayer * aGlobalParaFormatLayer
const CCharFormatLayer * aGlobalCharFormatLayer
TInt aReplicas

AppendPhraseIndexL(const CRichTextIndex *, const TGlobalLayerInfoAppend &)

voidAppendPhraseIndexL(const CRichTextIndex *aSource,
const TGlobalLayerInfoAppend &aGlobalLayerInfo
)[private]

Parameters

const CRichTextIndex * aSource
const TGlobalLayerInfoAppend & aGlobalLayerInfo

AppendSharedFormatsL(CParaAttribsMap &, const CRichTextIndex *, const TGlobalLayerInfoAppend &)

voidAppendSharedFormatsL(CParaAttribsMap &aMap,
const CRichTextIndex *aSource,
const TGlobalLayerInfoAppend &aGlobalLayerInfo
)[private]

Parameters

CParaAttribsMap & aMap
const CRichTextIndex * aSource
const TGlobalLayerInfoAppend & aGlobalLayerInfo

AppendTakingSolePictureOwnershipL(const CRichTextIndex *, const TGlobalLayerInfoAppend &)

voidAppendTakingSolePictureOwnershipL(const CRichTextIndex *aSource,
const TGlobalLayerInfoAppend &aGlobalLayerInfo
)

Parameters

const CRichTextIndex * aSource
const TGlobalLayerInfoAppend & aGlobalLayerInfo

ApplyCharFormatCleanup(TAny *)

voidApplyCharFormatCleanup(TAny *aPtr)[private, static]

Parameters

TAny * aPtr

ApplyCharFormatL(const TCharFormatX &, const TCharFormatXMask &, TInt, TInt, TBool)

voidApplyCharFormatL(const TCharFormatX &aFormat,
const TCharFormatXMask &aMask,
TIntaPos,
TIntaLength,
TBoolaRemoveSpecific = EFalse
)

Parameters

const TCharFormatX & aFormat
const TCharFormatXMask & aMask
TInt aPos
TInt aLength
TBool aRemoveSpecific = EFalse

ApplyCharFormatRollback()

voidApplyCharFormatRollback()[private]

ApplyParaFormatL(const CParaFormat *, const TParaFormatMask &, TInt, TInt)

voidApplyParaFormatL(const CParaFormat *aFormat,
const TParaFormatMask &aMask,
TIntaPos,
TIntaLength
)

Parameters

const CParaFormat * aFormat
const TParaFormatMask & aMask
TInt aPos
TInt aLength

ApplyParagraphStyleL(const CParagraphStyle &, TInt, TInt, const CCharFormatLayer *, CParagraphStyle::TApplyParaStyleMode)

voidApplyParagraphStyleL(const CParagraphStyle &aStyle,
TIntaPos,
TIntaLength,
const CCharFormatLayer *aCharStyleNormal,
CParagraphStyle::TApplyParaStyleModeaMode
)

Parameters

const CParagraphStyle & aStyle
TInt aPos
TInt aLength
const CCharFormatLayer * aCharStyleNormal
CParagraphStyle::TApplyParaStyleMode aMode

CancelInsertCharFormat()

voidCancelInsertCharFormat()

Cancels the transitory state where a specified character format is applied on top of any inherited formatting. eg, when bold is on. Cancel when: (1) the text position is altered. (2) the first character (or picture) has been inserted following the setting of this state. If a zero length phrase is removed OR has content entered into it, the newly abutting phrases are checked to see if they can be merged. Then a request share of this para is issued.

CharPosOfParagraph(TInt &, TInt)

TInt CharPosOfParagraph(TInt &aLength,
TIntaParaOffset
)const

Parameters

TInt & aLength
TInt aParaOffset

CheckForUndetermined(const TCharFormatX &, const TCharFormatX &, TCharFormatXMask &)

voidCheckForUndetermined(const TCharFormatX &aFormatA,
const TCharFormatX &aFormatB,
TCharFormatXMask &aVaries
)const [private]

Parameters

const TCharFormatX & aFormatA
const TCharFormatX & aFormatB
TCharFormatXMask & aVaries

ConsolidateAt(TInt, TPositionOrPhrase)

voidConsolidateAt(TIntaPosition,
TPositionOrPhraseaPositionOrPhrase
)[private]

Attempts to merge phrases and share paragraphs.

Parameters

TInt aPositionPhrase boundary here is merged if possible, paragraph here is shared if possible.
TPositionOrPhrase aPositionOrPhraseIf EPositionOnly the phrases either side of aPosition are considered for merging. If EFollowingPhrase, the end of the phrase following aPosition is also considered.

ConstructL(const CParaFormatLayer *, const CCharFormatLayer *, TInt, TInt)

voidConstructL(const CParaFormatLayer *aGlobalParaFormat,
const CCharFormatLayer *aGlobalCharFormat,
TIntaParaGran,
TIntaPhraseGran
)[private]

Parameters

const CParaFormatLayer * aGlobalParaFormat
const CCharFormatLayer * aGlobalCharFormat
TInt aParaGran
TInt aPhraseGran

CopyToStreamL(RWriteStream &, TInt, TInt, TBool)

voidCopyToStreamL(RWriteStream &aStream,
TIntaPos,
TIntaLength,
TBoolaCopyStyles
)const

Parameters

RWriteStream & aStream
TInt aPos
TInt aLength
TBool aCopyStyles

CurrentPhraseLength()

TInt CurrentPhraseLength()const [private]

CurrentPhraseOffset()

TInt CurrentPhraseOffset()const [private]

DelSetInsertCharFormatL(TInt, TInt)

TBool DelSetInsertCharFormatL(TIntaPos,
TIntaLength
)

Parameters

TInt aPos
TInt aLength

DeleteFromParagraph(TInt, TInt)

voidDeleteFromParagraph(TIntaPos,
TIntaLength
)

Parameters

TInt aPos
TInt aLength

DeleteInsertCharFormat()

TBool DeleteInsertCharFormat()[private]
Attempts to delete a zero-length phrase at the insert character format position. Does not delete any phrase of non-zero length.
Pre-condition
The insert character format must be active

DeleteNow(TIndexDeleteInfo &)

TBool DeleteNow(TIndexDeleteInfo &aInfo)

Parameters

TIndexDeleteInfo & aInfo

DeleteParagraph(TInt, TInt)

TBool DeleteParagraph(TIntaPos,
TIntaLength
)

Parameters

TInt aPos
TInt aLength

DeleteParagraphText(TInt &)

TBool DeleteParagraphText(TInt &aLength)[private]

Parameters

TInt & aLength

DetachFromStoreL(CPicture::TDetach, TInt, TInt)

voidDetachFromStoreL(CPicture::TDetachaDegree,
TIntaPos,
TIntaLength
)

Parameters

CPicture::TDetach aDegree
TInt aPos
TInt aLength

DoDeleteFromParagraph(const TIndexDeleteInfo &)

TBool DoDeleteFromParagraph(const TIndexDeleteInfo &aInfo)[private]

Parameters

const TIndexDeleteInfo & aInfo

DoNewInsertCharFormatL(const TCharFormatX &, const TCharFormatXMask &, CCharFormatLayer *, CParaAttribs *)

voidDoNewInsertCharFormatL(const TCharFormatX &aFormat,
const TCharFormatXMask &aMask,
CCharFormatLayer *aBasedOn,
CParaAttribs *aParaAttribs
)[private]

Parameters

const TCharFormatX & aFormat
const TCharFormatXMask & aMask
CCharFormatLayer * aBasedOn
CParaAttribs * aParaAttribs

DoPasteCleanup(TLogicalPosition &, CParaAttribs *)

voidDoPasteCleanup(TLogicalPosition &aNormalizePos,
CParaAttribs *aReclaimed
)[private]

Parameters

TLogicalPosition & aNormalizePos
CParaAttribs * aReclaimed

DoPasteFirstIntoParaL(RReadStream &, const CParaAttribsMap &, const TRtPasteContext &, RPhraseAttribsEntry *&, CStyleMap *)

TParaAttribsEntry DoPasteFirstIntoParaL(RReadStream &aStream,
const CParaAttribsMap &aMap,
const TRtPasteContext &aContext,
RPhraseAttribsEntry *&aFirstParaVirtualPhrase,
CStyleMap *aStyleMap
)[private]

Parameters

RReadStream & aStream
const CParaAttribsMap & aMap
const TRtPasteContext & aContext
RPhraseAttribsEntry *& aFirstParaVirtualPhrase
CStyleMap * aStyleMap

DoPasteIntoParaL(RReadStream &, const CParaAttribsMap &, const TRtPasteContext &, CStyleMap *)

TParaAttribsEntry DoPasteIntoParaL(RReadStream &aStream,
const CParaAttribsMap &aMap,
const TRtPasteContext &aContext,
CStyleMap *aStyleMap
)[private]

Parameters

RReadStream & aStream
const CParaAttribsMap & aMap
const TRtPasteContext & aContext
CStyleMap * aStyleMap

DoPastePhraseL(RReadStream &, const TRtPasteContext &, RPhraseAttribsEntry &)

voidDoPastePhraseL(RReadStream &aStream,
const TRtPasteContext &aContext,
RPhraseAttribsEntry &aPhrase
)[private]

Parameters

RReadStream & aStream
const TRtPasteContext & aContext
RPhraseAttribsEntry & aPhrase

DoSoloInsertL(TInt, TInt)

voidDoSoloInsertL(TIntaPos,
TIntaLength
)[private]

Parameters

TInt aPos
TInt aLength

DoSplitPhraseL(RPhraseAttribsEntry &, TInt, CParaAttribs *)

voidDoSplitPhraseL(RPhraseAttribsEntry &aCurrentPhrase,
TIntaPhraseOffset,
CParaAttribs *aParaAttribs
)[private]

Parameters

RPhraseAttribsEntry & aCurrentPhrase
TInt aPhraseOffset
CParaAttribs * aParaAttribs

DocumentChanged()

voidDocumentChanged()const

ExternalizeItemsPresentInRegisterL(RWriteStream &, TInt, const TDes8 &, const CStyleList *)

voidExternalizeItemsPresentInRegisterL(RWriteStream &aStream,
TIntaParaCount,
const TDes8 &aBuf,
const CStyleList *aStyleList
)const [private]

Parameters

RWriteStream & aStream
TInt aParaCount
const TDes8 & aBuf
const CStyleList * aStyleList

ExternalizeItemsPresentInStyleRegisterL(RWriteStream &, TInt, const TDes8 &)

voidExternalizeItemsPresentInStyleRegisterL(RWriteStream &aStream,
TIntaRefStyleCount,
const TDes8 &aBuf
)const [private]

Parameters

RWriteStream & aStream
TInt aRefStyleCount
const TDes8 & aBuf

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

ExternalizeParaIxL(RWriteStream &, const TLogicalPosition &, const TLogicalPosition &, const CStyleList *)

RPhraseAttribsEntry *ExternalizeParaIxL(RWriteStream &aStream,
const TLogicalPosition &aStart,
const TLogicalPosition &aEnd,
const CStyleList *aStyleList
)const [private]

Parameters

RWriteStream & aStream
const TLogicalPosition & aStart
const TLogicalPosition & aEnd
const CStyleList * aStyleList

ExternalizeParagraphFormatL(RWriteStream &, const CParaFormatLayer &, const CStyleList *)

voidExternalizeParagraphFormatL(RWriteStream &aStream,
const CParaFormatLayer &aSpecificParaFormatLayer,
const CStyleList *aStyleList
)const [private]

Parameters

RWriteStream & aStream
const CParaFormatLayer & aSpecificParaFormatLayer
const CStyleList * aStyleList

ExternalizePhraseCountL(RWriteStream &, TInt)

voidExternalizePhraseCountL(RWriteStream &aStream,
TIntaPhraseCount
)const [private, inline]

Parameters

RWriteStream & aStream
TInt aPhraseCount

ExternalizePhraseIxL(RWriteStream &)

voidExternalizePhraseIxL(RWriteStream &aStream)const [private]

Parameters

RWriteStream & aStream

ExternalizePhraseIxL(RWriteStream &, const TLogicalPosition &, TLogicalPosition &, const RPhraseAttribsEntry *)

voidExternalizePhraseIxL(RWriteStream &aStream,
const TLogicalPosition &aStartPos,
TLogicalPosition &aEndPos,
const RPhraseAttribsEntry *aVirtualTrailingText
)const [private]

Parameters

RWriteStream & aStream
const TLogicalPosition & aStartPos
TLogicalPosition & aEndPos
const RPhraseAttribsEntry * aVirtualTrailingText

ExternalizePhrasesL(RWriteStream &, TInt, TInt, const RPhraseAttribsEntry *)

voidExternalizePhrasesL(RWriteStream &aStream,
TIntaStart,
TIntaPhraseCount,
const RPhraseAttribsEntry *aVirtualPhrase = NULL
)const [private]

Parameters

RWriteStream & aStream
TInt aStart
TInt aPhraseCount
const RPhraseAttribsEntry * aVirtualPhrase = NULL

ExternalizeReferencedStylesL(RWriteStream &, const TLogicalPosition &, const TLogicalPosition &)

voidExternalizeReferencedStylesL(RWriteStream &aStream,
const TLogicalPosition &aStart,
const TLogicalPosition &aEnd
)const [private]

Parameters

RWriteStream & aStream
const TLogicalPosition & aStart
const TLogicalPosition & aEnd

ExternalizeRtiHeaderL(RWriteStream &, const TLogicalPosition &, const CStyleList *)

voidExternalizeRtiHeaderL(RWriteStream &aStream,
const TLogicalPosition &aEnd,
const CStyleList *aStyleList
)const [private]

Parameters

RWriteStream & aStream
const TLogicalPosition & aEnd
const CStyleList * aStyleList

ExternalizeSharedFormatsL(RWriteStream &, const TLogicalPosition &, const TLogicalPosition &, const CStyleList *)

voidExternalizeSharedFormatsL(RWriteStream &aStream,
const TLogicalPosition &aStart,
const TLogicalPosition &aEnd,
const CStyleList *aStyleList
)const [private]

Parameters

RWriteStream & aStream
const TLogicalPosition & aStart
const TLogicalPosition & aEnd
const CStyleList * aStyleList

FindSharedParaAttribs(const CParaFormatLayer &, const CCharFormatLayer &)

CParaAttribs *FindSharedParaAttribs(const CParaFormatLayer &aParaFormatLayer,
const CCharFormatLayer &aCharFormatLayer
)[private]

Parameters

const CParaFormatLayer & aParaFormatLayer
const CCharFormatLayer & aCharFormatLayer

FirstPhraseOfParagraph()

TBool FirstPhraseOfParagraph()const [private]

GenerateAllPhraseLinksL()

voidGenerateAllPhraseLinksL()[private]

GeneratePhraseLink(CCharFormatLayer *, const CParaFormatLayer *)

voidGeneratePhraseLink(CCharFormatLayer *aPhraseCharFormatLayer,
const CParaFormatLayer *aBase
)[private]

Parameters

CCharFormatLayer * aPhraseCharFormatLayer
const CParaFormatLayer * aBase

GetCharFormat(TCharFormatX &, TCharFormatXMask &, TInt, TInt)

voidGetCharFormat(TCharFormatX &aFormat,
TCharFormatXMask &aMask,
TIntaPos,
TIntaLength
)const

Parameters

TCharFormatX & aFormat
TCharFormatXMask & aMask
TInt aPos
TInt aLength

GetChars(TCharFormatX &, TInt)

TInt GetChars(TCharFormatX &aFormat,
TIntaPos
)const

Parameters

TCharFormatX & aFormat
TInt aPos

GetCurrentInsertCharFormat()

CCharFormatLayer *GetCurrentInsertCharFormat()

GetCurrentRecords(TCurrentIndexRecords &)

voidGetCurrentRecords(TCurrentIndexRecords &aRecord)const [private]

Parameters

TCurrentIndexRecords & aRecord

GetParaAttribs(const TLogicalPosition &)

CParaAttribs *GetParaAttribs(const TLogicalPosition &aLogicalPosition)[private]

Parameters

const TLogicalPosition & aLogicalPosition

GetParaAttribs(CParaAttribs *, CCharFormatLayer &)

CParaAttribs *GetParaAttribs(CParaAttribs *aParaAttribs,
CCharFormatLayer &aCharFormatLayer
)[private]

Parameters

CParaAttribs * aParaAttribs
CCharFormatLayer & aCharFormatLayer

GetParaAttribsL(const CParaFormatLayer *, const CCharFormatLayer *, CParaAttribs *)

CParaAttribs *GetParaAttribsL(const CParaFormatLayer *aParaFormat,
const CCharFormatLayer *aCharFormat,
CParaAttribs *aReservedCell = NULL
)[private]

Parameters

const CParaFormatLayer * aParaFormat
const CCharFormatLayer * aCharFormat
CParaAttribs * aReservedCell = NULL

GetParaFormatL(CParaFormat *, TParaFormatMask &, TInt, TInt, CParaFormat::TParaFormatGetMode)

voidGetParaFormatL(CParaFormat *aFormat,
TParaFormatMask &aUndeterminedMask,
TIntaPos,
TIntaLength,
CParaFormat::TParaFormatGetModeaMode
)const

Parameters

CParaFormat * aFormat
TParaFormatMask & aUndeterminedMask
TInt aPos
TInt aLength
CParaFormat::TParaFormatGetMode aMode

GetParagraphFormatL(CParaFormat *, TInt)

voidGetParagraphFormatL(CParaFormat *aFormat,
TIntaPos
)const

Parameters

CParaFormat * aFormat
TInt aPos

GetPhraseFormat(TCurrentIndexRecords &, TCharFormatX &, TCharFormatXMask &, CCharFormatLayer *&)

voidGetPhraseFormat(TCurrentIndexRecords &aCurrent,
TCharFormatX &aFormat,
TCharFormatXMask &aMask,
CCharFormatLayer *&aCharBase
)const [private]

Parameters

TCurrentIndexRecords & aCurrent
TCharFormatX & aFormat
TCharFormatXMask & aMask
CCharFormatLayer *& aCharBase

GetPictureSizeInTwips(TSize &, TInt)

TInt GetPictureSizeInTwips(TSize &aSize,
TIntaPos
)const

Parameters

TSize & aSize
TInt aPos

GetSpecificCharFormat(TCharFormatX &, TCharFormatXMask &, TInt)

voidGetSpecificCharFormat(TCharFormatX &aFormat,
TCharFormatXMask &aMask,
TIntaPos
)const

Parameters

TCharFormatX & aFormat
TCharFormatXMask & aMask
TInt aPos

GetSpecificCharFormatDirection(TCharFormatX &, TCharFormatXMask &, TInt, TBool)

voidGetSpecificCharFormatDirection(TCharFormatX &aFormat,
TCharFormatXMask &aMask,
TIntaPos,
TBoolaGetLeft
)const

Parameters

TCharFormatX & aFormat
TCharFormatXMask & aMask
TInt aPos
TBool aGetLeft

GetSpecificParagraphFormatL(CParaFormat *, TParaFormatMask &, TInt)

voidGetSpecificParagraphFormatL(CParaFormat *aFormat,
TParaFormatMask &aMask,
TIntaPos
)const

Parameters

CParaFormat * aFormat
TParaFormatMask & aMask
TInt aPos

GetTextFragmentL(RReadStream &)

TTextFragment GetTextFragmentL(RReadStream &aStream)[private]

Parameters

RReadStream & aStream

HasMarkupData(const CFormatLayer *)

TBool HasMarkupData(const CFormatLayer *aGlobalParaFormatLayer)const

Parameters

const CFormatLayer * aGlobalParaFormatLayer

ImposeCharacterStyleL(CCharFormatLayer **)

voidImposeCharacterStyleL(CCharFormatLayer **aCharLayer)[private]

Parameters

CCharFormatLayer ** aCharLayer

InsertCharFormatIsActive()

TBool InsertCharFormatIsActive()

InsertL(TInt, const TDesC &, const CParaFormatLayer &)

voidInsertL(TIntaPos,
const TDesC &aBuf,
const CParaFormatLayer &aGlobalParaFormatLayer
)

Parameters

TInt aPos
const TDesC & aBuf
const CParaFormatLayer & aGlobalParaFormatLayer

InsertL(TInt, const TPictureHeader &, TBool &)

voidInsertL(TIntaPos,
const TPictureHeader &aPicHdr,
TBool &aPictureOwnershipTaken
)

Parameters

TInt aPos
const TPictureHeader & aPicHdr
TBool & aPictureOwnershipTaken

InsertParagraphL(TInt, const CParaFormatLayer &)

voidInsertParagraphL(TIntaPos,
const CParaFormatLayer &aGlobalParaFormatLayer
)

Parameters

TInt aPos
const CParaFormatLayer & aGlobalParaFormatLayer

InternalizeL(RReadStream &, const CParaFormatLayer *, const CCharFormatLayer *, const CStyleList *)

voidInternalizeL(RReadStream &aStream,
const CParaFormatLayer *aGlobalParaLayer,
const CCharFormatLayer *aGlobalCharLayer,
const CStyleList *aStyleList
)

Parameters

RReadStream & aStream
const CParaFormatLayer * aGlobalParaLayer
const CCharFormatLayer * aGlobalCharLayer
const CStyleList * aStyleList

InternalizeParaIxL(RReadStream &, const TRtPasteContext &)

voidInternalizeParaIxL(RReadStream &aStream,
const TRtPasteContext &aContext
)[private]

Parameters

RReadStream & aStream
const TRtPasteContext & aContext

InternalizeParagraphFormatL(RReadStream &, const TRtPasteContext &)

CParaFormatLayer *InternalizeParagraphFormatL(RReadStream &aStream,
const TRtPasteContext &aContext
)[private]

Parameters

RReadStream & aStream
const TRtPasteContext & aContext

InternalizePhraseIxL(RReadStream &, const CCharFormatLayer *)

voidInternalizePhraseIxL(RReadStream &aStream,
const CCharFormatLayer *aGlobalCharFormat
)[private]

Parameters

RReadStream & aStream
const CCharFormatLayer * aGlobalCharFormat

InternalizeRtiHeaderL(RReadStream &, TRtPasteContext &)

voidInternalizeRtiHeaderL(RReadStream &aStream,
TRtPasteContext &aContext
)[private]

Parameters

RReadStream & aStream
TRtPasteContext & aContext

InternalizeSharedFormatsL(RReadStream &, const TRtPasteContext &)

voidInternalizeSharedFormatsL(RReadStream &aStream,
const TRtPasteContext &aContext
)[private]

Parameters

RReadStream & aStream
const TRtPasteContext & aContext

MarkRegister(TDes8 &, TInt, TInt)

TInt MarkRegister(TDes8 &aBuf,
TIntaStartPara,
TIntaEndPara
)const [private]

Parameters

TDes8 & aBuf
TInt aStartPara
TInt aEndPara

MarkStyleRegister(TDes8 &, TInt, TInt)

TInt MarkStyleRegister(TDes8 &aBuf,
TIntaStartPara,
TIntaEndPara
)const [private]

Parameters

TDes8 & aBuf
TInt aStartPara
TInt aEndPara

MergePhrases(TInt)

TBool MergePhrases(TIntaPos)[private]

Parameters

TInt aPos

MergePhrases(const TLogicalPosition &)

TBool MergePhrases(const TLogicalPosition &aPos)[private]

Parameters

const TLogicalPosition & aPos

MergePhrases(TInt, RPhraseAttribsEntry &, CParaAttribs &)

TInt MergePhrases(TIntaPhrase,
RPhraseAttribsEntry &aPhraseAttribs,
CParaAttribs &aParaAttribs
)[private]

Parameters

TInt aPhrase
RPhraseAttribsEntry & aPhraseAttribs
CParaAttribs & aParaAttribs

ModifySpecificFormatting(CParaFormatLayer &, CCharFormatLayer &, CParagraphStyle::TApplyParaStyleMode)

voidModifySpecificFormatting(CParaFormatLayer &aPl,
CCharFormatLayer &aCl,
CParagraphStyle::TApplyParaStyleModeaMode
)[private]

NewInsertCharFormatL(const TCharFormatX &, const TCharFormatXMask &, TInt)

voidNewInsertCharFormatL(const TCharFormatX &aFormat,
const TCharFormatXMask &aMask,
TIntaPos
)

Parameters

const TCharFormatX & aFormat
const TCharFormatXMask & aMask
TInt aPos

NewL(const CParaFormatLayer *, const CCharFormatLayer *, const CRichText &, TInt, TInt)

CRichTextIndex *NewL(const CParaFormatLayer *aGlobalParaLayer,
const CCharFormatLayer *aGlobalCharLayer,
const CRichText &aText,
TIntaParaGran,
TIntaPhraseGran
)[static]

Parameters

const CParaFormatLayer * aGlobalParaLayer
const CCharFormatLayer * aGlobalCharLayer
const CRichText & aText
TInt aParaGran
TInt aPhraseGran

NewL(const CStreamStore &, TStreamId, const CParaFormatLayer *, const CCharFormatLayer *, const CRichText &)

CRichTextIndex *NewL(const CStreamStore &aStore,
TStreamIdaId,
const CParaFormatLayer *aGlobalParaLayer,
const CCharFormatLayer *aGlobalCharLayer,
const CRichText &aText
)[static]

Parameters

const CStreamStore & aStore
TStreamId aId
const CParaFormatLayer * aGlobalParaLayer
const CCharFormatLayer * aGlobalCharLayer
const CRichText & aText

Normalize(TInt)

voidNormalize(TIntaPos)

Parameters

TInt aPos

NormalizeNow(const TLogicalPosition &)

voidNormalizeNow(const TLogicalPosition &aNormalizePos)[private]

Parameters

const TLogicalPosition & aNormalizePos

NormalizeSharedList()

voidNormalizeSharedList()[private]

NotifyStyleChangedL(const CParagraphStyle *, const CParagraphStyle *, const CParaFormatLayer &, const CCharFormatLayer &)

voidNotifyStyleChangedL(const CParagraphStyle *aTo,
const CParagraphStyle *aFrom,
const CParaFormatLayer &aGlobalParaFormatLayer,
const CCharFormatLayer &aGlobalCharFormatLayer
)

Parameters

const CParagraphStyle * aTo
const CParagraphStyle * aFrom
const CParaFormatLayer & aGlobalParaFormatLayer
const CCharFormatLayer & aGlobalCharFormatLayer

OwningParagraph(TInt, TLogicalPosition *)

TInt OwningParagraph(TIntaPos,
TLogicalPosition *aLastUsed = NULL
)const [private]

Parameters

TInt aPos
TLogicalPosition * aLastUsed = NULL

ParaLengthFromBuffer(TDesC &)

TInt ParaLengthFromBuffer(TDesC &aBuf)const [private]

Parameters

TDesC & aBuf

ParagraphCount()

TInt ParagraphCount()const [inline]

ParagraphNumberForPos(TInt &)

TInt ParagraphNumberForPos(TInt &aPos)const

Parameters

TInt & aPos

ParagraphStyle(TBool &, TInt, TInt)

const CParaFormatLayer *ParagraphStyle(TBool &aStylesChangesOverRange,
TIntaPos,
TIntaLength
)const

Parameters

TBool & aStylesChangesOverRange
TInt aPos
TInt aLength

PasteFromStreamL(const CStreamStore &, RReadStream &, TInt, CParagraphStyle::TStylePasteMode, const CParaFormatLayer *, const CCharFormatLayer *)

voidPasteFromStreamL(const CStreamStore &aStore,
RReadStream &aStream,
TIntaPos,
CParagraphStyle::TStylePasteModeaStylePasteMode,
const CParaFormatLayer *aGlobalParaLayer,
const CCharFormatLayer *aGlobalCharLayer
)

Parameters

const CStreamStore & aStore
RReadStream & aStream
TInt aPos
CParagraphStyle::TStylePasteMode aStylePasteMode
const CParaFormatLayer * aGlobalParaLayer
const CCharFormatLayer * aGlobalCharLayer

PasteIxL(RReadStream &, TRtPasteContext &, const CParaAttribsMap &, CStyleMap *)

voidPasteIxL(RReadStream &aStream,
TRtPasteContext &aContext,
const CParaAttribsMap &aMap,
CStyleMap *aStyleMap
)[private]

Parameters

RReadStream & aStream
TRtPasteContext & aContext
const CParaAttribsMap & aMap
CStyleMap * aStyleMap

PasteParaIxL(RReadStream &, TRtPasteContext &, TInt, const CParaAttribsMap &, RPhraseAttribsEntry *&, CStyleMap *)

TInt PasteParaIxL(RReadStream &aStream,
TRtPasteContext &aContext,
TIntaCompleteParaCount,
const CParaAttribsMap &aMap,
RPhraseAttribsEntry *&aFirstParaVirtualPhrase,
CStyleMap *aStyleMap
)[private]

Parameters

RReadStream & aStream
TRtPasteContext & aContext
TInt aCompleteParaCount
const CParaAttribsMap & aMap
RPhraseAttribsEntry *& aFirstParaVirtualPhrase
CStyleMap * aStyleMap

PasteParagraphFormatL(RReadStream &, const TRtPasteContext &, CStyleMap *)

CParaFormatLayer *PasteParagraphFormatL(RReadStream &aStream,
const TRtPasteContext &aContext,
CStyleMap *styleMap
)[private]

Parameters

RReadStream & aStream
const TRtPasteContext & aContext
CStyleMap * styleMap

PastePhraseIxL(RReadStream &, TRtPasteContext &, const RPhraseAttribsEntry *)

voidPastePhraseIxL(RReadStream &aStream,
TRtPasteContext &aContext,
const RPhraseAttribsEntry *aFirstParaVirtualPhrase
)[private]

Parameters

RReadStream & aStream
TRtPasteContext & aContext
const RPhraseAttribsEntry * aFirstParaVirtualPhrase

PasteSharedFormatsL(RReadStream &, CParaAttribsMap &, const TRtPasteContext &, CStyleMap *)

voidPasteSharedFormatsL(RReadStream &aStream,
CParaAttribsMap &aMap,
const TRtPasteContext &aContext,
CStyleMap *aStyleMap
)[private]

Parameters

RReadStream & aStream
CParaAttribsMap & aMap
const TRtPasteContext & aContext
CStyleMap * aStyleMap

PasteStylesL(RReadStream &, CStyleMap &, const TRtPasteContext &)

voidPasteStylesL(RReadStream &aStream,
CStyleMap &aMap,
const TRtPasteContext &aContext
)[private]

Parameters

RReadStream & aStream
CStyleMap & aMap
const TRtPasteContext & aContext

PhraseCount()

TInt PhraseCount()const [private, inline]

PhraseSplit()

TBool PhraseSplit()const [private, inline]

PictureHandleL(TInt, MLayDoc::TForcePictureLoad)

CPicture *PictureHandleL(TIntaPos,
MLayDoc::TForcePictureLoadaForceLoad
)const

Parameters

TInt aPos
MLayDoc::TForcePictureLoad aForceLoad

PictureHeader(TInt)

TPictureHeader PictureHeader(TIntaPos)const

Parameters

TInt aPos

PictureHeaderPtr(TInt)

TPictureHeader *PictureHeaderPtr(TIntaPos)

Parameters

TInt aPos

RbInsertPicture(CParaAttribs *)

voidRbInsertPicture(CParaAttribs *aGoodParaAttribs)[private]

Parameters

CParaAttribs * aGoodParaAttribs

RbPasteParaIxL(const TLogicalPosition &, TInt, TInt)

voidRbPasteParaIxL(const TLogicalPosition &aPastePos,
TIntaParaCount,
TIntaRet
)[private]

Parameters

const TLogicalPosition & aPastePos
TInt aParaCount
TInt aRet

RbPastePhraseIxL(const TLogicalPosition &, TInt, TInt)

voidRbPastePhraseIxL(const TLogicalPosition &aPos,
TIntaPhraseCount,
TIntaRet
)[private]

Parameters

const TLogicalPosition & aPos
TInt aPhraseCount
TInt aRet

RbPasteSharedFormatsL(TInt)

voidRbPasteSharedFormatsL(TIntaRet)[private]

Parameters

TInt aRet

RbRemoveInsertedParaAttribsEntries(TInt, TInt)

voidRbRemoveInsertedParaAttribsEntries(TIntaFirstParaInsertPos,
TIntaInsertedParaCount
)[private]

Parameters

TInt aFirstParaInsertPos
TInt aInsertedParaCount

RbRemoveInsertedPhraseAttribsEntries(TInt, TInt)

voidRbRemoveInsertedPhraseAttribsEntries(TIntaFirstPhraseInsertPos,
TIntaInsertedPhraseCount
)[private]

Parameters

TInt aFirstPhraseInsertPos
TInt aInsertedPhraseCount

ReadTUint8CountL(RReadStream &)

TUint8 ReadTUint8CountL(RReadStream &aStream)const [private]

Parameters

RReadStream & aStream

RebalanceIndex()

voidRebalanceIndex()[private]

RefNum(const CParaAttribs *)

TUint8 RefNum(const CParaAttribs *aParaAttribs)const [private]

Parameters

const CParaAttribs * aParaAttribs

RemoveFromPhraseIx(TInt, TInt)

voidRemoveFromPhraseIx(TIntaPos,
TIntaCount = 1
)[private]

Remove phrases from the containing object. This includes freeing referenced resources. (pictures etc.)

Parameters

TInt aPosThe first phrase to be deleted
TInt aCount = 1The number of phrases to be deleted

RemoveSpecificCharFormatL(TInt, TInt)

voidRemoveSpecificCharFormatL(TIntaPos,
TIntaLength
)

Parameters

TInt aPos
TInt aLength

RemoveSpecificParaFormatL(TInt, TInt)

voidRemoveSpecificParaFormatL(TIntaPos,
TIntaLength
)

Parameters

TInt aPos
TInt aLength

RequestReclaimShareL(CParaAttribs *, TParaAttribsEntry *)

CParaAttribs *RequestReclaimShareL(CParaAttribs *aParaAttribs,
TParaAttribsEntry *aParaEntry
)[private]

Parameters

CParaAttribs * aParaAttribs
TParaAttribsEntry * aParaEntry

RequestShare(const TLogicalPosition &)

CParaAttribs *RequestShare(const TLogicalPosition &aLogicalPosition)[private]

Parameters

const TLogicalPosition & aLogicalPosition

RequestShareL(CParaAttribs *, CCharFormatLayer *, CParaAttribs *)

CParaAttribs *RequestShareL(CParaAttribs *aParaAttribs,
CCharFormatLayer *aCharFormat = NULL,
CParaAttribs *aReservedCell = NULL
)[private]

Parameters

CParaAttribs * aParaAttribs
CCharFormatLayer * aCharFormat = NULL
CParaAttribs * aReservedCell = NULL

ReserveCellL()

CParaAttribs *ReserveCellL()[private]

ReserveCellLC()

CParaAttribs *ReserveCellLC()[private]

Reset(const CParaFormatLayer &)

voidReset(const CParaFormatLayer &aNormalParagraphStyle)

Parameters

const CParaFormatLayer & aNormalParagraphStyle

ResolvedStreamStore(TInt)

const CStreamStore *ResolvedStreamStore(TIntaPos)const [private, inline]

Parameters

TInt aPos

RestoreL(const CStreamStore &, TStreamId, const CParaFormatLayer *, const CCharFormatLayer *, const CStyleList *)

voidRestoreL(const CStreamStore &aStore,
TStreamIdaId,
const CParaFormatLayer *aGlobalParaLayer,
const CCharFormatLayer *aGlobalCharLayer,
const CStyleList *aStyleList
)

Parameters

const CStreamStore & aStore
TStreamId aId
const CParaFormatLayer * aGlobalParaLayer
const CCharFormatLayer * aGlobalCharLayer
const CStyleList * aStyleList

ScanToPosition(TInt, TScanToPositionMode, TLogicalPosition *)

voidScanToPosition(TIntaCharPos,
TScanToPositionModeaMode,
TLogicalPosition *aLastUsed = NULL
)[private]

Parameters

TInt aCharPos
TScanToPositionMode aMode
TLogicalPosition * aLastUsed = NULL

SetForDeleteL(TIndexDeleteInfo &, TInt, TInt)

voidSetForDeleteL(TIndexDeleteInfo &aInfo,
TIntaPos,
TIntaLength
)

Parameters

TIndexDeleteInfo & aInfo
TInt aPos
TInt aLength

SetInsertCharFormatL(const TCharFormatX &, const TCharFormatXMask &, TInt)

voidSetInsertCharFormatL(const TCharFormatX &aFormat,
const TCharFormatXMask &aMask,
TIntaPos
)

Sets an *InsertPending* state, where format has been inserted into the text, but no content has yet been inserted. This *state* is cancelled by cursor movement etc. Split the current phrase at aPos (if necessary) and insert a zero length phrase, ready to accept the pending content of the specified format.

Parameters

const TCharFormatX & aFormat
const TCharFormatXMask & aMask
TInt aPos

SetPhraseSplit(TBool)

voidSetPhraseSplit(TBoolaBool)[private, inline]

Parameters

TBool aBool

SetSpecificMarkupInternalized(TBool)

voidSetSpecificMarkupInternalized(TBoolaBool)[inline]

Parameters

TBool aBool

Share(TParaAttribsEntry &, TInt)

voidShare(TParaAttribsEntry &aParaEntry,
TIntaPhrase
)[private]

Parameters

TParaAttribsEntry & aParaEntry
TInt aPhrase

SharedParaAttribs(TUint8)

CParaAttribs *SharedParaAttribs(TUint8aOrdinal)[private]

Parameters

TUint8 aOrdinal

SharedParaAttribsEntryCountL()

TUint8 SharedParaAttribsEntryCountL()const [private]

SharedParaCount(const CRichTextIndex *)

TInt SharedParaCount(const CRichTextIndex *aSource)const

Parameters

const CRichTextIndex * aSource

SpecificMarkupInternalized()

TBool SpecificMarkupInternalized()const [inline]

SplitParagraphAtPastePosL(TLogicalPosition &, TLogicalPosition &, const CParaFormatLayer &)

voidSplitParagraphAtPastePosL(TLogicalPosition &aPastePos,
TLogicalPosition &aNewPos,
const CParaFormatLayer &aGlobalParaFormatLayer
)[private]

Parameters

TLogicalPosition & aPastePos
TLogicalPosition & aNewPos
const CParaFormatLayer & aGlobalParaFormatLayer

SplitPhraseL(TInt)

voidSplitPhraseL(TIntaSplitPos)[private]

Parameters

TInt aSplitPos

SplitPhraseL(TInt, TInt, CParaAttribs *)

voidSplitPhraseL(TIntaPhraseElement,
TIntaPhraseOffset,
CParaAttribs *aParaAttribs
)[private]

Parameters

TInt aPhraseElement
TInt aPhraseOffset
CParaAttribs * aParaAttribs

SplitPhraseL(TInt, TInt, RPhraseAttribsEntry &, CParaAttribs &)

voidSplitPhraseL(TIntaPhrase,
TIntanOffset,
RPhraseAttribsEntry &aPhraseAttribs,
CParaAttribs &aParaAttribs
)[private]

Parameters

TInt aPhrase
TInt anOffset
RPhraseAttribsEntry & aPhraseAttribs
CParaAttribs & aParaAttribs

StoreMarkupL(CStreamStore &, const CStyleList *)

TStreamId StoreMarkupL(CStreamStore &aStore,
const CStyleList *aStyleList
)const

Parameters

CStreamStore & aStore
const CStyleList * aStyleList

StorePicturesL(CStreamStore &, CStoreMap &)

voidStorePicturesL(CStreamStore &aStore,
CStoreMap &aMap
)const

Parameters

CStreamStore & aStore
CStoreMap & aMap

StorePicturesL(CStreamStore &, CStoreMap &, TInt, TInt)

voidStorePicturesL(CStreamStore &aStore,
CStoreMap &aMap,
TIntaPos,
TIntaLength
)const

Parameters

CStreamStore & aStore
CStoreMap & aMap
TInt aPos
TInt aLength

TidyAfterDelete(const TIndexDeleteInfo &)

voidTidyAfterDelete(const TIndexDeleteInfo &aInfo)[private]

Parameters

const TIndexDeleteInfo & aInfo

UpdateInsertCharFormatL(const TCharFormatX &, const TCharFormatXMask &)

voidUpdateInsertCharFormatL(const TCharFormatX &aFormat,
const TCharFormatXMask &aMask
)

Parameters

const TCharFormatX & aFormat
const TCharFormatXMask & aMask

Member Enumerations Documentation

Enum TPositionOrPhrase

Enumerators

EPositionOnly
EFollowingPhrase

Enum TScanToPositionMode

Enumerators

EScanToPositionMatchLeft
EScanToPositionAbsolute

Member Data Documentation

__DECLARE_TEST

__DECLARE_TEST

TUint32 iFlags

TUint32 iFlags[private]

CCharFormatLayer * iLastCharacterStyle

CCharFormatLayer *iLastCharacterStyle[private]

__MUTABLE TLogicalPosition iLastUsed

__MUTABLE TLogicalPositioniLastUsed[private]

CArrayFixSeg< TParaAttribsEntry > * iParaIx

CArrayFixSeg< TParaAttribsEntry > *iParaIx

TInt iPendingNewPhrasePos

TInt iPendingNewPhrasePos[private]

CArrayFixSeg< RPhraseAttribsEntry > * iPhraseIx

CArrayFixSeg< RPhraseAttribsEntry > *iPhraseIx

TInt iPictureCount

TInt iPictureCount

__MUTABLE TLogicalPosition iPos

__MUTABLE TLogicalPositioniPos

CParaAttribs * iRollbackParaAttribsHandle

CParaAttribs *iRollbackParaAttribsHandle[private]

__MUTABLE TDblQue< CParaAttribs > iSharedParaQueHead

__MUTABLE TDblQue< CParaAttribs >iSharedParaQueHead[private]

const CRichText & iText

const CRichText &iText[private]