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.
Private Member Enumerations | |
---|---|
enum | TPositionOrPhrase { EPositionOnly , EFollowingPhrase } |
enum | TScanToPositionMode { EScanToPositionMatchLeft , EScanToPositionAbsolute } |
Public Attributes | |
---|---|
__DECLARE_TEST | |
CArrayFixSeg < TParaAttribsEntry > * | iParaIx |
CArrayFixSeg < RPhraseAttribsEntry > * | iPhraseIx |
TInt | iPictureCount |
__MUTABLE TLogicalPosition | iPos |
Private Attributes | |
---|---|
TUint32 | iFlags |
CCharFormatLayer * | iLastCharacterStyle |
__MUTABLE TLogicalPosition | iLastUsed |
TInt | iPendingNewPhrasePos |
CParaAttribs * | iRollbackParaAttribsHandle |
__MUTABLE TDblQue < CParaAttribs > | iSharedParaQueHead |
const CRichText & | iText |
CRichTextIndex | ( | const CRichText & | aText | ) | [private] |
const CRichText & aText |
void | AppendParaIndexL | ( | const CRichTextIndex * | aSource, |
const TGlobalLayerInfoAppend & | aGlobalLayerInfo | |||
) | [private] |
const CRichTextIndex * aSource | |
const TGlobalLayerInfoAppend & aGlobalLayerInfo |
void | AppendParagraphL | ( | const CParaFormatLayer * | aGlobalParaFormatLayer, |
const CCharFormatLayer * | aGlobalCharFormatLayer, | |||
TInt | aReplicas | |||
) |
const CParaFormatLayer * aGlobalParaFormatLayer | |
const CCharFormatLayer * aGlobalCharFormatLayer | |
TInt aReplicas |
void | AppendPhraseIndexL | ( | const CRichTextIndex * | aSource, |
const TGlobalLayerInfoAppend & | aGlobalLayerInfo | |||
) | [private] |
const CRichTextIndex * aSource | |
const TGlobalLayerInfoAppend & aGlobalLayerInfo |
void | AppendSharedFormatsL | ( | CParaAttribsMap & | aMap, |
const CRichTextIndex * | aSource, | |||
const TGlobalLayerInfoAppend & | aGlobalLayerInfo | |||
) | [private] |
CParaAttribsMap & aMap | |
const CRichTextIndex * aSource | |
const TGlobalLayerInfoAppend & aGlobalLayerInfo |
void | AppendTakingSolePictureOwnershipL | ( | const CRichTextIndex * | aSource, |
const TGlobalLayerInfoAppend & | aGlobalLayerInfo | |||
) |
const CRichTextIndex * aSource | |
const TGlobalLayerInfoAppend & aGlobalLayerInfo |
void | ApplyCharFormatCleanup | ( | TAny * | aPtr | ) | [private, static] |
TAny * aPtr |
void | ApplyCharFormatL | ( | const TCharFormatX & | aFormat, |
const TCharFormatXMask & | aMask, | |||
TInt | aPos, | |||
TInt | aLength, | |||
TBool | aRemoveSpecific = EFalse | |||
) |
const TCharFormatX & aFormat | |
const TCharFormatXMask & aMask | |
TInt aPos | |
TInt aLength | |
TBool aRemoveSpecific = EFalse |
void | ApplyParaFormatL | ( | const CParaFormat * | aFormat, |
const TParaFormatMask & | aMask, | |||
TInt | aPos, | |||
TInt | aLength | |||
) |
const CParaFormat * aFormat | |
const TParaFormatMask & aMask | |
TInt aPos | |
TInt aLength |
void | ApplyParagraphStyleL | ( | const CParagraphStyle & | aStyle, |
TInt | aPos, | |||
TInt | aLength, | |||
const CCharFormatLayer * | aCharStyleNormal, | |||
CParagraphStyle::TApplyParaStyleMode | aMode | |||
) |
const CParagraphStyle & aStyle | |
TInt aPos | |
TInt aLength | |
const CCharFormatLayer * aCharStyleNormal | |
CParagraphStyle::TApplyParaStyleMode aMode |
void | CancelInsertCharFormat | ( | ) |
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.
void | CheckForUndetermined | ( | const TCharFormatX & | aFormatA, |
const TCharFormatX & | aFormatB, | |||
TCharFormatXMask & | aVaries | |||
) | const [private] |
const TCharFormatX & aFormatA | |
const TCharFormatX & aFormatB | |
TCharFormatXMask & aVaries |
void | ConsolidateAt | ( | TInt | aPosition, |
TPositionOrPhrase | aPositionOrPhrase | |||
) | [private] |
Attempts to merge phrases and share paragraphs.
TInt aPosition | Phrase boundary here is merged if possible, paragraph here is shared if possible. |
TPositionOrPhrase aPositionOrPhrase | If EPositionOnly the phrases either side of aPosition are considered for merging. If EFollowingPhrase, the end of the phrase following aPosition is also considered. |
void | ConstructL | ( | const CParaFormatLayer * | aGlobalParaFormat, |
const CCharFormatLayer * | aGlobalCharFormat, | |||
TInt | aParaGran, | |||
TInt | aPhraseGran | |||
) | [private] |
const CParaFormatLayer * aGlobalParaFormat | |
const CCharFormatLayer * aGlobalCharFormat | |
TInt aParaGran | |
TInt aPhraseGran |
void | CopyToStreamL | ( | RWriteStream & | aStream, |
TInt | aPos, | |||
TInt | aLength, | |||
TBool | aCopyStyles | |||
) | const |
RWriteStream & aStream | |
TInt aPos | |
TInt aLength | |
TBool aCopyStyles |
TBool | DeleteInsertCharFormat | ( | ) | [private] |
TBool | DeleteNow | ( | TIndexDeleteInfo & | aInfo | ) |
TIndexDeleteInfo & aInfo |
TBool | DeleteParagraphText | ( | TInt & | aLength | ) | [private] |
TInt & aLength |
void | DetachFromStoreL | ( | CPicture::TDetach | aDegree, |
TInt | aPos, | |||
TInt | aLength | |||
) |
CPicture::TDetach aDegree | |
TInt aPos | |
TInt aLength |
TBool | DoDeleteFromParagraph | ( | const TIndexDeleteInfo & | aInfo | ) | [private] |
const TIndexDeleteInfo & aInfo |
void | DoNewInsertCharFormatL | ( | const TCharFormatX & | aFormat, |
const TCharFormatXMask & | aMask, | |||
CCharFormatLayer * | aBasedOn, | |||
CParaAttribs * | aParaAttribs | |||
) | [private] |
const TCharFormatX & aFormat | |
const TCharFormatXMask & aMask | |
CCharFormatLayer * aBasedOn | |
CParaAttribs * aParaAttribs |
void | DoPasteCleanup | ( | TLogicalPosition & | aNormalizePos, |
CParaAttribs * | aReclaimed | |||
) | [private] |
TLogicalPosition & aNormalizePos | |
CParaAttribs * aReclaimed |
TParaAttribsEntry | DoPasteFirstIntoParaL | ( | RReadStream & | aStream, |
const CParaAttribsMap & | aMap, | |||
const TRtPasteContext & | aContext, | |||
RPhraseAttribsEntry *& | aFirstParaVirtualPhrase, | |||
CStyleMap * | aStyleMap | |||
) | [private] |
RReadStream & aStream | |
const CParaAttribsMap & aMap | |
const TRtPasteContext & aContext | |
RPhraseAttribsEntry *& aFirstParaVirtualPhrase | |
CStyleMap * aStyleMap |
TParaAttribsEntry | DoPasteIntoParaL | ( | RReadStream & | aStream, |
const CParaAttribsMap & | aMap, | |||
const TRtPasteContext & | aContext, | |||
CStyleMap * | aStyleMap | |||
) | [private] |
RReadStream & aStream | |
const CParaAttribsMap & aMap | |
const TRtPasteContext & aContext | |
CStyleMap * aStyleMap |
void | DoPastePhraseL | ( | RReadStream & | aStream, |
const TRtPasteContext & | aContext, | |||
RPhraseAttribsEntry & | aPhrase | |||
) | [private] |
RReadStream & aStream | |
const TRtPasteContext & aContext | |
RPhraseAttribsEntry & aPhrase |
void | DoSplitPhraseL | ( | RPhraseAttribsEntry & | aCurrentPhrase, |
TInt | aPhraseOffset, | |||
CParaAttribs * | aParaAttribs | |||
) | [private] |
RPhraseAttribsEntry & aCurrentPhrase | |
TInt aPhraseOffset | |
CParaAttribs * aParaAttribs |
void | ExternalizeItemsPresentInRegisterL | ( | RWriteStream & | aStream, |
TInt | aParaCount, | |||
const TDes8 & | aBuf, | |||
const CStyleList * | aStyleList | |||
) | const [private] |
RWriteStream & aStream | |
TInt aParaCount | |
const TDes8 & aBuf | |
const CStyleList * aStyleList |
void | ExternalizeItemsPresentInStyleRegisterL | ( | RWriteStream & | aStream, |
TInt | aRefStyleCount, | |||
const TDes8 & | aBuf | |||
) | const [private] |
RWriteStream & aStream | |
TInt aRefStyleCount | |
const TDes8 & aBuf |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
RPhraseAttribsEntry * | ExternalizeParaIxL | ( | RWriteStream & | aStream, |
const TLogicalPosition & | aStart, | |||
const TLogicalPosition & | aEnd, | |||
const CStyleList * | aStyleList | |||
) | const [private] |
RWriteStream & aStream | |
const TLogicalPosition & aStart | |
const TLogicalPosition & aEnd | |
const CStyleList * aStyleList |
void | ExternalizeParagraphFormatL | ( | RWriteStream & | aStream, |
const CParaFormatLayer & | aSpecificParaFormatLayer, | |||
const CStyleList * | aStyleList | |||
) | const [private] |
RWriteStream & aStream | |
const CParaFormatLayer & aSpecificParaFormatLayer | |
const CStyleList * aStyleList |
void | ExternalizePhraseCountL | ( | RWriteStream & | aStream, |
TInt | aPhraseCount | |||
) | const [private, inline] |
RWriteStream & aStream | |
TInt aPhraseCount |
void | ExternalizePhraseIxL | ( | RWriteStream & | aStream | ) | const [private] |
RWriteStream & aStream |
void | ExternalizePhraseIxL | ( | RWriteStream & | aStream, |
const TLogicalPosition & | aStartPos, | |||
TLogicalPosition & | aEndPos, | |||
const RPhraseAttribsEntry * | aVirtualTrailingText | |||
) | const [private] |
RWriteStream & aStream | |
const TLogicalPosition & aStartPos | |
TLogicalPosition & aEndPos | |
const RPhraseAttribsEntry * aVirtualTrailingText |
void | ExternalizePhrasesL | ( | RWriteStream & | aStream, |
TInt | aStart, | |||
TInt | aPhraseCount, | |||
const RPhraseAttribsEntry * | aVirtualPhrase = NULL | |||
) | const [private] |
RWriteStream & aStream | |
TInt aStart | |
TInt aPhraseCount | |
const RPhraseAttribsEntry * aVirtualPhrase = NULL |
void | ExternalizeReferencedStylesL | ( | RWriteStream & | aStream, |
const TLogicalPosition & | aStart, | |||
const TLogicalPosition & | aEnd | |||
) | const [private] |
RWriteStream & aStream | |
const TLogicalPosition & aStart | |
const TLogicalPosition & aEnd |
void | ExternalizeRtiHeaderL | ( | RWriteStream & | aStream, |
const TLogicalPosition & | aEnd, | |||
const CStyleList * | aStyleList | |||
) | const [private] |
RWriteStream & aStream | |
const TLogicalPosition & aEnd | |
const CStyleList * aStyleList |
void | ExternalizeSharedFormatsL | ( | RWriteStream & | aStream, |
const TLogicalPosition & | aStart, | |||
const TLogicalPosition & | aEnd, | |||
const CStyleList * | aStyleList | |||
) | const [private] |
RWriteStream & aStream | |
const TLogicalPosition & aStart | |
const TLogicalPosition & aEnd | |
const CStyleList * aStyleList |
CParaAttribs * | FindSharedParaAttribs | ( | const CParaFormatLayer & | aParaFormatLayer, |
const CCharFormatLayer & | aCharFormatLayer | |||
) | [private] |
const CParaFormatLayer & aParaFormatLayer | |
const CCharFormatLayer & aCharFormatLayer |
void | GeneratePhraseLink | ( | CCharFormatLayer * | aPhraseCharFormatLayer, |
const CParaFormatLayer * | aBase | |||
) | [private] |
CCharFormatLayer * aPhraseCharFormatLayer | |
const CParaFormatLayer * aBase |
void | GetCharFormat | ( | TCharFormatX & | aFormat, |
TCharFormatXMask & | aMask, | |||
TInt | aPos, | |||
TInt | aLength | |||
) | const |
TCharFormatX & aFormat | |
TCharFormatXMask & aMask | |
TInt aPos | |
TInt aLength |
TInt | GetChars | ( | TCharFormatX & | aFormat, |
TInt | aPos | |||
) | const |
TCharFormatX & aFormat | |
TInt aPos |
void | GetCurrentRecords | ( | TCurrentIndexRecords & | aRecord | ) | const [private] |
TCurrentIndexRecords & aRecord |
CParaAttribs * | GetParaAttribs | ( | const TLogicalPosition & | aLogicalPosition | ) | [private] |
const TLogicalPosition & aLogicalPosition |
CParaAttribs * | GetParaAttribs | ( | CParaAttribs * | aParaAttribs, |
CCharFormatLayer & | aCharFormatLayer | |||
) | [private] |
CParaAttribs * aParaAttribs | |
CCharFormatLayer & aCharFormatLayer |
CParaAttribs * | GetParaAttribsL | ( | const CParaFormatLayer * | aParaFormat, |
const CCharFormatLayer * | aCharFormat, | |||
CParaAttribs * | aReservedCell = NULL | |||
) | [private] |
const CParaFormatLayer * aParaFormat | |
const CCharFormatLayer * aCharFormat | |
CParaAttribs * aReservedCell = NULL |
void | GetParaFormatL | ( | CParaFormat * | aFormat, |
TParaFormatMask & | aUndeterminedMask, | |||
TInt | aPos, | |||
TInt | aLength, | |||
CParaFormat::TParaFormatGetMode | aMode | |||
) | const |
CParaFormat * aFormat | |
TParaFormatMask & aUndeterminedMask | |
TInt aPos | |
TInt aLength | |
CParaFormat::TParaFormatGetMode aMode |
void | GetParagraphFormatL | ( | CParaFormat * | aFormat, |
TInt | aPos | |||
) | const |
CParaFormat * aFormat | |
TInt aPos |
void | GetPhraseFormat | ( | TCurrentIndexRecords & | aCurrent, |
TCharFormatX & | aFormat, | |||
TCharFormatXMask & | aMask, | |||
CCharFormatLayer *& | aCharBase | |||
) | const [private] |
TCurrentIndexRecords & aCurrent | |
TCharFormatX & aFormat | |
TCharFormatXMask & aMask | |
CCharFormatLayer *& aCharBase |
void | GetSpecificCharFormat | ( | TCharFormatX & | aFormat, |
TCharFormatXMask & | aMask, | |||
TInt | aPos | |||
) | const |
TCharFormatX & aFormat | |
TCharFormatXMask & aMask | |
TInt aPos |
void | GetSpecificCharFormatDirection | ( | TCharFormatX & | aFormat, |
TCharFormatXMask & | aMask, | |||
TInt | aPos, | |||
TBool | aGetLeft | |||
) | const |
TCharFormatX & aFormat | |
TCharFormatXMask & aMask | |
TInt aPos | |
TBool aGetLeft |
void | GetSpecificParagraphFormatL | ( | CParaFormat * | aFormat, |
TParaFormatMask & | aMask, | |||
TInt | aPos | |||
) | const |
CParaFormat * aFormat | |
TParaFormatMask & aMask | |
TInt aPos |
TTextFragment | GetTextFragmentL | ( | RReadStream & | aStream | ) | [private] |
RReadStream & aStream |
TBool | HasMarkupData | ( | const CFormatLayer * | aGlobalParaFormatLayer | ) | const |
const CFormatLayer * aGlobalParaFormatLayer |
void | ImposeCharacterStyleL | ( | CCharFormatLayer ** | aCharLayer | ) | [private] |
CCharFormatLayer ** aCharLayer |
void | InsertL | ( | TInt | aPos, |
const TDesC & | aBuf, | |||
const CParaFormatLayer & | aGlobalParaFormatLayer | |||
) |
TInt aPos | |
const TDesC & aBuf | |
const CParaFormatLayer & aGlobalParaFormatLayer |
void | InsertL | ( | TInt | aPos, |
const TPictureHeader & | aPicHdr, | |||
TBool & | aPictureOwnershipTaken | |||
) |
TInt aPos | |
const TPictureHeader & aPicHdr | |
TBool & aPictureOwnershipTaken |
void | InsertParagraphL | ( | TInt | aPos, |
const CParaFormatLayer & | aGlobalParaFormatLayer | |||
) |
TInt aPos | |
const CParaFormatLayer & aGlobalParaFormatLayer |
void | InternalizeL | ( | RReadStream & | aStream, |
const CParaFormatLayer * | aGlobalParaLayer, | |||
const CCharFormatLayer * | aGlobalCharLayer, | |||
const CStyleList * | aStyleList | |||
) |
RReadStream & aStream | |
const CParaFormatLayer * aGlobalParaLayer | |
const CCharFormatLayer * aGlobalCharLayer | |
const CStyleList * aStyleList |
void | InternalizeParaIxL | ( | RReadStream & | aStream, |
const TRtPasteContext & | aContext | |||
) | [private] |
RReadStream & aStream | |
const TRtPasteContext & aContext |
CParaFormatLayer * | InternalizeParagraphFormatL | ( | RReadStream & | aStream, |
const TRtPasteContext & | aContext | |||
) | [private] |
RReadStream & aStream | |
const TRtPasteContext & aContext |
void | InternalizePhraseIxL | ( | RReadStream & | aStream, |
const CCharFormatLayer * | aGlobalCharFormat | |||
) | [private] |
RReadStream & aStream | |
const CCharFormatLayer * aGlobalCharFormat |
void | InternalizeRtiHeaderL | ( | RReadStream & | aStream, |
TRtPasteContext & | aContext | |||
) | [private] |
RReadStream & aStream | |
TRtPasteContext & aContext |
void | InternalizeSharedFormatsL | ( | RReadStream & | aStream, |
const TRtPasteContext & | aContext | |||
) | [private] |
RReadStream & aStream | |
const TRtPasteContext & aContext |
TInt | MarkRegister | ( | TDes8 & | aBuf, |
TInt | aStartPara, | |||
TInt | aEndPara | |||
) | const [private] |
TInt | MarkStyleRegister | ( | TDes8 & | aBuf, |
TInt | aStartPara, | |||
TInt | aEndPara | |||
) | const [private] |
TBool | MergePhrases | ( | const TLogicalPosition & | aPos | ) | [private] |
const TLogicalPosition & aPos |
TInt | MergePhrases | ( | TInt | aPhrase, |
RPhraseAttribsEntry & | aPhraseAttribs, | |||
CParaAttribs & | aParaAttribs | |||
) | [private] |
TInt aPhrase | |
RPhraseAttribsEntry & aPhraseAttribs | |
CParaAttribs & aParaAttribs |
void | ModifySpecificFormatting | ( | CParaFormatLayer & | aPl, |
CCharFormatLayer & | aCl, | |||
CParagraphStyle::TApplyParaStyleMode | aMode | |||
) | [private] |
CParaFormatLayer & aPl | |
CCharFormatLayer & aCl | |
CParagraphStyle::TApplyParaStyleMode aMode |
void | NewInsertCharFormatL | ( | const TCharFormatX & | aFormat, |
const TCharFormatXMask & | aMask, | |||
TInt | aPos | |||
) |
const TCharFormatX & aFormat | |
const TCharFormatXMask & aMask | |
TInt aPos |
CRichTextIndex * | NewL | ( | const CParaFormatLayer * | aGlobalParaLayer, |
const CCharFormatLayer * | aGlobalCharLayer, | |||
const CRichText & | aText, | |||
TInt | aParaGran, | |||
TInt | aPhraseGran | |||
) | [static] |
const CParaFormatLayer * aGlobalParaLayer | |
const CCharFormatLayer * aGlobalCharLayer | |
const CRichText & aText | |
TInt aParaGran | |
TInt aPhraseGran |
CRichTextIndex * | NewL | ( | const CStreamStore & | aStore, |
TStreamId | aId, | |||
const CParaFormatLayer * | aGlobalParaLayer, | |||
const CCharFormatLayer * | aGlobalCharLayer, | |||
const CRichText & | aText | |||
) | [static] |
const CStreamStore & aStore | |
TStreamId aId | |
const CParaFormatLayer * aGlobalParaLayer | |
const CCharFormatLayer * aGlobalCharLayer | |
const CRichText & aText |
void | NormalizeNow | ( | const TLogicalPosition & | aNormalizePos | ) | [private] |
const TLogicalPosition & aNormalizePos |
void | NotifyStyleChangedL | ( | const CParagraphStyle * | aTo, |
const CParagraphStyle * | aFrom, | |||
const CParaFormatLayer & | aGlobalParaFormatLayer, | |||
const CCharFormatLayer & | aGlobalCharFormatLayer | |||
) |
const CParagraphStyle * aTo | |
const CParagraphStyle * aFrom | |
const CParaFormatLayer & aGlobalParaFormatLayer | |
const CCharFormatLayer & aGlobalCharFormatLayer |
TInt | OwningParagraph | ( | TInt | aPos, |
TLogicalPosition * | aLastUsed = NULL | |||
) | const [private] |
TInt aPos | |
TLogicalPosition * aLastUsed = NULL |
TInt | ParaLengthFromBuffer | ( | TDesC & | aBuf | ) | const [private] |
TDesC & aBuf |
TInt | ParagraphNumberForPos | ( | TInt & | aPos | ) | const |
TInt & aPos |
const CParaFormatLayer * | ParagraphStyle | ( | TBool & | aStylesChangesOverRange, |
TInt | aPos, | |||
TInt | aLength | |||
) | const |
void | PasteFromStreamL | ( | const CStreamStore & | aStore, |
RReadStream & | aStream, | |||
TInt | aPos, | |||
CParagraphStyle::TStylePasteMode | aStylePasteMode, | |||
const CParaFormatLayer * | aGlobalParaLayer, | |||
const CCharFormatLayer * | aGlobalCharLayer | |||
) |
const CStreamStore & aStore | |
RReadStream & aStream | |
TInt aPos | |
CParagraphStyle::TStylePasteMode aStylePasteMode | |
const CParaFormatLayer * aGlobalParaLayer | |
const CCharFormatLayer * aGlobalCharLayer |
void | PasteIxL | ( | RReadStream & | aStream, |
TRtPasteContext & | aContext, | |||
const CParaAttribsMap & | aMap, | |||
CStyleMap * | aStyleMap | |||
) | [private] |
RReadStream & aStream | |
TRtPasteContext & aContext | |
const CParaAttribsMap & aMap | |
CStyleMap * aStyleMap |
TInt | PasteParaIxL | ( | RReadStream & | aStream, |
TRtPasteContext & | aContext, | |||
TInt | aCompleteParaCount, | |||
const CParaAttribsMap & | aMap, | |||
RPhraseAttribsEntry *& | aFirstParaVirtualPhrase, | |||
CStyleMap * | aStyleMap | |||
) | [private] |
RReadStream & aStream | |
TRtPasteContext & aContext | |
TInt aCompleteParaCount | |
const CParaAttribsMap & aMap | |
RPhraseAttribsEntry *& aFirstParaVirtualPhrase | |
CStyleMap * aStyleMap |
CParaFormatLayer * | PasteParagraphFormatL | ( | RReadStream & | aStream, |
const TRtPasteContext & | aContext, | |||
CStyleMap * | styleMap | |||
) | [private] |
RReadStream & aStream | |
const TRtPasteContext & aContext | |
CStyleMap * styleMap |
void | PastePhraseIxL | ( | RReadStream & | aStream, |
TRtPasteContext & | aContext, | |||
const RPhraseAttribsEntry * | aFirstParaVirtualPhrase | |||
) | [private] |
RReadStream & aStream | |
TRtPasteContext & aContext | |
const RPhraseAttribsEntry * aFirstParaVirtualPhrase |
void | PasteSharedFormatsL | ( | RReadStream & | aStream, |
CParaAttribsMap & | aMap, | |||
const TRtPasteContext & | aContext, | |||
CStyleMap * | aStyleMap | |||
) | [private] |
RReadStream & aStream | |
CParaAttribsMap & aMap | |
const TRtPasteContext & aContext | |
CStyleMap * aStyleMap |
void | PasteStylesL | ( | RReadStream & | aStream, |
CStyleMap & | aMap, | |||
const TRtPasteContext & | aContext | |||
) | [private] |
RReadStream & aStream | |
CStyleMap & aMap | |
const TRtPasteContext & aContext |
CPicture * | PictureHandleL | ( | TInt | aPos, |
MLayDoc::TForcePictureLoad | aForceLoad | |||
) | const |
TInt aPos | |
MLayDoc::TForcePictureLoad aForceLoad |
void | RbInsertPicture | ( | CParaAttribs * | aGoodParaAttribs | ) | [private] |
CParaAttribs * aGoodParaAttribs |
void | RbPasteParaIxL | ( | const TLogicalPosition & | aPastePos, |
TInt | aParaCount, | |||
TInt | aRet | |||
) | [private] |
const TLogicalPosition & aPastePos | |
TInt aParaCount | |
TInt aRet |
void | RbPastePhraseIxL | ( | const TLogicalPosition & | aPos, |
TInt | aPhraseCount, | |||
TInt | aRet | |||
) | [private] |
const TLogicalPosition & aPos | |
TInt aPhraseCount | |
TInt aRet |
void | RbRemoveInsertedParaAttribsEntries | ( | TInt | aFirstParaInsertPos, |
TInt | aInsertedParaCount | |||
) | [private] |
void | RbRemoveInsertedPhraseAttribsEntries | ( | TInt | aFirstPhraseInsertPos, |
TInt | aInsertedPhraseCount | |||
) | [private] |
TUint8 | ReadTUint8CountL | ( | RReadStream & | aStream | ) | const [private] |
RReadStream & aStream |
TUint8 | RefNum | ( | const CParaAttribs * | aParaAttribs | ) | const [private] |
const CParaAttribs * aParaAttribs |
void | RemoveFromPhraseIx | ( | TInt | aPos, |
TInt | aCount = 1 | |||
) | [private] |
Remove phrases from the containing object. This includes freeing referenced resources. (pictures etc.)
CParaAttribs * | RequestReclaimShareL | ( | CParaAttribs * | aParaAttribs, |
TParaAttribsEntry * | aParaEntry | |||
) | [private] |
CParaAttribs * aParaAttribs | |
TParaAttribsEntry * aParaEntry |
CParaAttribs * | RequestShare | ( | const TLogicalPosition & | aLogicalPosition | ) | [private] |
const TLogicalPosition & aLogicalPosition |
CParaAttribs * | RequestShareL | ( | CParaAttribs * | aParaAttribs, |
CCharFormatLayer * | aCharFormat = NULL, | |||
CParaAttribs * | aReservedCell = NULL | |||
) | [private] |
CParaAttribs * aParaAttribs | |
CCharFormatLayer * aCharFormat = NULL | |
CParaAttribs * aReservedCell = NULL |
void | Reset | ( | const CParaFormatLayer & | aNormalParagraphStyle | ) |
const CParaFormatLayer & aNormalParagraphStyle |
const CStreamStore * | ResolvedStreamStore | ( | TInt | aPos | ) | const [private, inline] |
TInt aPos |
void | RestoreL | ( | const CStreamStore & | aStore, |
TStreamId | aId, | |||
const CParaFormatLayer * | aGlobalParaLayer, | |||
const CCharFormatLayer * | aGlobalCharLayer, | |||
const CStyleList * | aStyleList | |||
) |
const CStreamStore & aStore | |
TStreamId aId | |
const CParaFormatLayer * aGlobalParaLayer | |
const CCharFormatLayer * aGlobalCharLayer | |
const CStyleList * aStyleList |
void | ScanToPosition | ( | TInt | aCharPos, |
TScanToPositionMode | aMode, | |||
TLogicalPosition * | aLastUsed = NULL | |||
) | [private] |
TInt aCharPos | |
TScanToPositionMode aMode | |
TLogicalPosition * aLastUsed = NULL |
void | SetForDeleteL | ( | TIndexDeleteInfo & | aInfo, |
TInt | aPos, | |||
TInt | aLength | |||
) |
TIndexDeleteInfo & aInfo | |
TInt aPos | |
TInt aLength |
void | SetInsertCharFormatL | ( | const TCharFormatX & | aFormat, |
const TCharFormatXMask & | aMask, | |||
TInt | aPos | |||
) |
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.
const TCharFormatX & aFormat | |
const TCharFormatXMask & aMask | |
TInt aPos |
void | SetSpecificMarkupInternalized | ( | TBool | aBool | ) | [inline] |
TBool aBool |
void | Share | ( | TParaAttribsEntry & | aParaEntry, |
TInt | aPhrase | |||
) | [private] |
TParaAttribsEntry & aParaEntry | |
TInt aPhrase |
CParaAttribs * | SharedParaAttribs | ( | TUint8 | aOrdinal | ) | [private] |
TUint8 aOrdinal |
TInt | SharedParaCount | ( | const CRichTextIndex * | aSource | ) | const |
const CRichTextIndex * aSource |
void | SplitParagraphAtPastePosL | ( | TLogicalPosition & | aPastePos, |
TLogicalPosition & | aNewPos, | |||
const CParaFormatLayer & | aGlobalParaFormatLayer | |||
) | [private] |
TLogicalPosition & aPastePos | |
TLogicalPosition & aNewPos | |
const CParaFormatLayer & aGlobalParaFormatLayer |
void | SplitPhraseL | ( | TInt | aPhraseElement, |
TInt | aPhraseOffset, | |||
CParaAttribs * | aParaAttribs | |||
) | [private] |
void | SplitPhraseL | ( | TInt | aPhrase, |
TInt | anOffset, | |||
RPhraseAttribsEntry & | aPhraseAttribs, | |||
CParaAttribs & | aParaAttribs | |||
) | [private] |
TInt aPhrase | |
TInt anOffset | |
RPhraseAttribsEntry & aPhraseAttribs | |
CParaAttribs & aParaAttribs |
TStreamId | StoreMarkupL | ( | CStreamStore & | aStore, |
const CStyleList * | aStyleList | |||
) | const |
CStreamStore & aStore | |
const CStyleList * aStyleList |
void | StorePicturesL | ( | CStreamStore & | aStore, |
CStoreMap & | aMap | |||
) | const |
CStreamStore & aStore | |
CStoreMap & aMap |
void | StorePicturesL | ( | CStreamStore & | aStore, |
CStoreMap & | aMap, | |||
TInt | aPos, | |||
TInt | aLength | |||
) | const |
CStreamStore & aStore | |
CStoreMap & aMap | |
TInt aPos | |
TInt aLength |
void | TidyAfterDelete | ( | const TIndexDeleteInfo & | aInfo | ) | [private] |
const TIndexDeleteInfo & aInfo |
void | UpdateInsertCharFormatL | ( | const TCharFormatX & | aFormat, |
const TCharFormatXMask & | aMask | |||
) |
const TCharFormatX & aFormat | |
const TCharFormatXMask & aMask |
__MUTABLE TDblQue < CParaAttribs > | iSharedParaQueHead | [private] |
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.