CInlineTextStore Class Reference

class CInlineTextStore : public CArrayPtrFlat< CInlineTextPositionedText >

Class to hold an array of inline texts for access

InlineText
Since
3.2
Public Member Functions
~CInlineTextStore ()
void Clear ()
void ClearRange (const TTmDocPos &, const TTmDocPos &)
TInt IndexFromDocPos (const TTmDocPos &)
void InsertInlineTextL ( CInlineTextPositionedText *)
CInlineTextStore * NewL ()
const TTmDocPos * NextInlineTextDocPos (const TTmDocPos &)
Private Member Functions
CInlineTextStore ()
TInt NextIndexStartingAtDocPos (const TTmDocPos &)
Inherited Functions
CArrayFix< CInlineTextPositionedText * >::AppendL(const CInlineTextPositionedText *&)
CArrayFix< CInlineTextPositionedText * >::AppendL(const CInlineTextPositionedText *&,TInt)
CArrayFix< CInlineTextPositionedText * >::AppendL(const CInlineTextPositionedText **,TInt)
CArrayFix< CInlineTextPositionedText * >::Array()const
CArrayFix< CInlineTextPositionedText * >::At(TInt)
CArrayFix< CInlineTextPositionedText * >::At(TInt)const
CArrayFix< CInlineTextPositionedText * >::Back(TInt)
CArrayFix< CInlineTextPositionedText * >::Back(TInt)const
CArrayFix< CInlineTextPositionedText * >::CArrayFix(TBufRep,TInt)
CArrayFix< CInlineTextPositionedText * >::End(TInt)
CArrayFix< CInlineTextPositionedText * >::End(TInt)const
CArrayFix< CInlineTextPositionedText * >::ExpandL(TInt)
CArrayFix< CInlineTextPositionedText * >::ExtendL()
CArrayFix< CInlineTextPositionedText * >::Find(const CInlineTextPositionedText *&,TKeyArrayFix &,TInt &)const
CArrayFix< CInlineTextPositionedText * >::FindIsq(const CInlineTextPositionedText *&,TKeyArrayFix &,TInt &)const
CArrayFix< CInlineTextPositionedText * >::InsertIsqAllowDuplicatesL(const CInlineTextPositionedText *&,TKeyArrayFix &)
CArrayFix< CInlineTextPositionedText * >::InsertIsqL(const CInlineTextPositionedText *&,TKeyArrayFix &)
CArrayFix< CInlineTextPositionedText * >::InsertL(TInt,const CInlineTextPositionedText *&)
CArrayFix< CInlineTextPositionedText * >::InsertL(TInt,const CInlineTextPositionedText *&,TInt)
CArrayFix< CInlineTextPositionedText * >::InsertL(TInt,const CInlineTextPositionedText **,TInt)
CArrayFix< CInlineTextPositionedText * >::ResizeL(TInt)
CArrayFix< CInlineTextPositionedText * >::ResizeL(TInt,const CInlineTextPositionedText *&)
CArrayFix< CInlineTextPositionedText * >::operator[](TInt)
CArrayFix< CInlineTextPositionedText * >::operator[](TInt)const
CArrayFixBase::AtR(const CBase *,TInt)
CArrayFixBase::CArrayFixBase(TBufRep,TInt,TInt)
CArrayFixBase::Compress()
CArrayFixBase::Count()const
CArrayFixBase::CountR(const CBase *)
CArrayFixBase::Delete(TInt)
CArrayFixBase::Delete(TInt,TInt)
CArrayFixBase::Find(const TAny *,TKeyArrayFix &,TInt &)const
CArrayFixBase::FindIsq(const TAny *,TKeyArrayFix &,TInt &)const
CArrayFixBase::InsertIsqAllowDuplicatesL(const TAny *,TKeyArrayFix &)
CArrayFixBase::InsertIsqL(const TAny *,TKeyArrayFix &)
CArrayFixBase::InsertL(TInt,const TAny *)
CArrayFixBase::InsertL(TInt,const TAny *,TInt)
CArrayFixBase::InsertRepL(TInt,const TAny *,TInt)
CArrayFixBase::Length()const
CArrayFixBase::Reset()
CArrayFixBase::ResizeL(TInt,const TAny *)
CArrayFixBase::SetKey(TKeyArrayFix &)const
CArrayFixBase::SetReserveFlatL(TInt)
CArrayFixBase::Sort(TKeyArrayFix &)
CArrayFixBase::~CArrayFixBase()
CArrayPtr< CInlineTextPositionedText >::CArrayPtr(TBufRep,TInt)
CArrayPtr< CInlineTextPositionedText >::ResetAndDestroy()
CArrayPtrFlat< CInlineTextPositionedText >::CArrayPtrFlat(TInt)
CArrayPtrFlat< CInlineTextPositionedText >::SetReserveL(TInt)
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()

Constructor & Destructor Documentation

CInlineTextStore()

CInlineTextStore ( ) [private]

Private constructor; no derivation permitted

~CInlineTextStore()

~CInlineTextStore ( )

Member Functions Documentation

Clear()

void Clear ( )

Clears and destroys all inline texts

ClearRange(const TTmDocPos &, const TTmDocPos &)

void ClearRange ( const TTmDocPos & aStart,
const TTmDocPos & aEnd
)

Clears and destroys inline texts in a range of document positions. Range is taken to be inclusive.

Parameters

const TTmDocPos & aStart First position from which and including inline texts are removed
const TTmDocPos & aEnd Final position up to which and including inline texts are removed

IndexFromDocPos(const TTmDocPos &)

TInt IndexFromDocPos ( const TTmDocPos & aDocPos ) const

Searches for the input document position and returns the index in the Store

Parameters

const TTmDocPos & aDocPos input document position

InsertInlineTextL(CInlineTextPositionedText *)

void InsertInlineTextL ( CInlineTextPositionedText * aInlineText )

Insert the inline text object into the store

Parameters

CInlineTextPositionedText * aInlineText object to add

NewL()

CInlineTextStore * NewL ( ) [static]

NextIndexStartingAtDocPos(const TTmDocPos &)

TInt NextIndexStartingAtDocPos ( const TTmDocPos & aDocPos ) const [private]

Internal method for determining index of the position later or including the passed-in position

Parameters

const TTmDocPos & aDocPos

NextInlineTextDocPos(const TTmDocPos &)

const TTmDocPos * NextInlineTextDocPos ( const TTmDocPos & aDocPos ) const

Returns the pointer to the document position closest after or including the passed-in position.

Parameters

const TTmDocPos & aDocPos position from which to look for inline texts