CImStoreMessagePart Class Reference

class CImStoreMessagePart : public CMsvOperation

Inherits from

Public Member Functions
~CImStoreMessagePart()
CImStoreMessagePart *AddAttachmentL(TMsvId, const TDesC &, CMsvEntry &, CMsvAttachment *, TRequestStatus &)
CImStoreMessagePart *AddAttachmentL(TMsvId, RFile &, CMsvEntry &, CMsvAttachment *, TRequestStatus &)
CImStoreMessagePart *AddEntryAsAttachmentL(TMsvId, TMsvId, CMsvEntry &, CMsvAttachment *, TRequestStatus &)
CImStoreMessagePart *AddLinkedAttachmentL(TMsvId, const TDesC &, CMsvEntry &, CMsvAttachment *, TRequestStatus &)
CImStoreMessagePart *AddRelatedPartL(TRequestStatus &, CMsvEntry &, TMsvId, const TDesC &, TMsvId, const TDesC8 &)
CImStoreMessagePart *CreateAttachmentL(TMsvId, const TDesC &, RFile &, CMsvEntry &, CMsvAttachment *, TRequestStatus &)
voidDoCancel()
const TDesC8 &FinalProgress()
const TDesC8 &ProgressL()
voidRunL()
CImStoreMessagePart *StoreBodyTextL(TRequestStatus &, CMsvEntry &, TMsvId, CRichText &, TBool)
CImStoreMessagePart *StoreBodyTextWithMimeHeaderL(TRequestStatus &, CMsvEntry &, TMsvId, CRichText &, const CImMimeHeader &, TBool)
CImStoreMessagePart *StorePlainBodyTextL(TRequestStatus &, CMsvEntry &, TMsvId, TBool)
CImStoreMessagePart *StorePlainBodyTextL(TRequestStatus &, CMsvEntry &, TMsvId, CImMimeHeader &, TBool)
Private Member Functions
CImStoreMessagePart(TRequestStatus &, CMsvEntry &, TMsvId, TBool)
voidAddAttachmentL()
voidAddAttachmentUsingFileHandleL()
voidAddEntryAsAttachmentL()
voidAddLinkedAttachmentL()
TBool AttachmentEntryCreated()
voidChangeStateL()
voidCheckForSubfolderL()
TInt CheckMimeInAttachmentInfoL(CMsvMimeHeaders &)
voidCompleteStoreMessagePartL()
voidConstructAttachmentInfo(CMsvAttachment *, TInt)
voidConstructL(RFile &)
voidConstructL(RFile &, const TDesC &)
voidConstructL(const TDesC &, const TDesC8 &)
voidConstructL()
voidConstructL(const TDesC &)
voidConstructL(TMsvId)
voidConstructL(const TDesC &, TMsvId, const TDesC8 &)
voidConstructL(CRichText &)
voidConstructL(CRichText &, const CImMimeHeader &)
voidConstructL(CImMimeHeader &)
voidConstructL(TImMessagePart)
voidCopyOrigMessageToMessageL()
voidCreateAttachmentEntryL()
voidCreateAttachmentL()
TBool CreateAttachmentMimeHeaderL(CImMimeHeader &, const TDesC &)
voidCreateFolderMimeHeaderL(CImMimeHeader &)
voidCreateHTMLEntryL()
voidCreateMessageMimeHeaderL(CImMimeHeader &)
voidCreateMultipartAlternativeFolderEntryL()
voidCreateMultipartMixedFolderEntryL()
voidCreateMultipartRelatedFolderEntryL()
voidCreateTextEntryL()
voidDoAttachmentStoreL()
voidErrorRecovery(TInt)
voidFindMultipartRelatedFolderL()
TPtrC GetDefaultAttachmentName()
TBool HTMLMessage()
voidMoveOriginalMessageEntryChildrenToNewFolderL()
voidMoveTextEntryToAltFolderL()
TBool MultipartAlternativeCreated()
TBool MultipartAlternativeExists()
TBool MultipartMixedCreated()
TBool MultipartMixedExists()
TBool MultipartRelatedCreated()
TBool MultipartRelatedExists()
voidOpenAndReadResourceFileL()
voidPrepareToStoreHTMLEntryTextL()
CImMimeHeader *ProcessAttachmentMimeHeadersL()
voidRecover()
voidRemoveHTMLEntryL()
voidRequestComplete(TInt)
voidSelectAndChangeToNextStateL()
voidSelectNextStateL()
voidSetAttachmentEntryCreated(TBool)
voidSetEntryDetailsL(TMsvEntry &)
voidSetHTMLMessage(TBool)
voidSetMultipartAlternativeCreated(TBool)
voidSetMultipartAlternativeExists(TBool)
voidSetMultipartMixedCreated(TBool)
voidSetMultipartMixedExists(TBool)
voidSetMultipartRelatedCreated(TBool)
voidSetMultipartRelatedExists(TBool)
voidSetTextPartCreated(TBool)
voidSetTextPartExists(TBool)
voidStoreHTMLEntryTextL()
voidStoreMimeHeaderL()
voidStorePlainTextL()
voidStoreRichTextL()
TBool TextPartCreated()
TBool TextPartExists()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
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()
CMsvOperation::CMsvOperation(CMsvSession &,TInt,TRequestStatus &)
CMsvOperation::Extension_(TUint,TAny *&,TAny *)
CMsvOperation::Id()const
CMsvOperation::Mtm()const
CMsvOperation::Service()const
CMsvOperation::SystemProgress(TMsvSystemProgress &)
CMsvOperation::~CMsvOperation()
Private Member Enumerations
enumTImAttachmentCreation { EAddAttachment, EAddAttachmentUsingFileHandle, EAddLinkedAttachment, EAddEntryAsAttachment, ECreateAttachment }
enumTImMessagePart { EMessagePartAttachment, EMessagePartBody, EMessagePartMessageAttachment }
enumTImStoreMessagePartFlags {
KStoreMessagePartClearFlag = 0x00000000, KStoreMessagePartHTMLMessage = 0x00000001, KStoreMessagePartMultipartMixedExists = 0x00000002, KStoreMessagePartMultipartMixedCreated = 0x00000004, KStoreMessagePartMultipartAlternativeExists = 0x00000008, KStoreMessagePartMultipartAlternativeCreated = 0x00000010, KStoreMessagePartTextPartExists = 0x00000020, KStoreMessagePartTextPartCreated = 0x00000040, KStoreMessagePartAttachmentEntryCreated = 0x00000080, KStoreMessagePartOrigMessageEntryChildrenCopied = 0x00000100, KStoreMessagePartOrigMessageEntryChildrenDeleted = 0x00000200, KStoreMessagePartMultipartRelatedExists = 0x00000400, KStoreMessagePartMultipartRelatedCreated = 0x00000800
}
enumTImStoreMessagePartState {
EFindMultipartRelatedFolder, ECheckForSubfolder, ECreateAttachmentEntry, EStoreAttachment, ECopyOrigMessageToMessage, ECreateMultipartMixedFolderEntry, ECreateMultipartRelatedFolderEntry, ECreateMultipartAlternativeFolderEntry, EMoveOriginalMessageEntryChildrenToNewFolder, ECreateTextEntry, EStoreRichText, ERemoveHTMLEntry, EMoveTextToAlternativeFolder, ECreateHTMLEntry, EPrepareToStoreHTMLEntryText, EStoreHTMLEntryText, ECompleteStoreMessage, EFinished, EStoreHTMLTextInEntry, EAddEntryAttachment
}
Inherited Enumerations
CActive:TPriority
Private Attributes
TMsvId iAltFolderId
TInt iAttachmentCreateState
HBufC *iAttachmentFullName
TMsvId iAttachmentId
CMsvAttachment *iAttachmentInfo
TMsvId iAttachmentMessageId
TInt iAttachmentSize
CCharFormatLayer *iCharLayer
HBufC8 *iContentId
TPckgBuf< TMsvId >iDataMember
CImEmailMessage *iEmailMessage
RFile iFile
RFile *iFileHandle
CFileMan *iFileMan
TBool iFinishedConvertingHTML
TUint32 iFlags
CImHtmlConverter *iHtmlConverter
TMsvId iHtmlId
TBool iIsAddByFileHandle
CMsvEntrySelection *iMessageEntrySelection
TMsvId iMessageId
TImMessagePart iMessagePart
CImMimeHeader *iMimeHeaderOfBodyText
TMsvId iMixFolderId
CMsvEntry &iMsvEntry
CMsvOperation *iMsvOperation
CParaFormatLayer *iParaLayer
TMsvId iRelFolderId
TMsvId iRelatedPartId
TInt iRestoreErr
CRichText *iRichText
CRichText *iRichTextToStore
TInt iSizeFwdReplyBody
TInt iSizeOfBody
TInt iState
CMsvStore *iStore
TMsvId iTextId
TBool iUsePlainTextStorage
Inherited Attributes
CActive::iStatus
CMsvOperation::iMsvSession
CMsvOperation::iMtm
CMsvOperation::iObserverRequestStatus
CMsvOperation::iService

Constructor & Destructor Documentation

CImStoreMessagePart(TRequestStatus &, CMsvEntry &, TMsvId, TBool)

CImStoreMessagePart(TRequestStatus &aStatus,
CMsvEntry &aMsvEntry,
TMsvIdaMessageId,
TBoolaUsePlainTextStorage = EFalse
)[private]

Parameters

TRequestStatus & aStatus
CMsvEntry & aMsvEntry
TMsvId aMessageId
TBool aUsePlainTextStorage = EFalse

~CImStoreMessagePart()

~CImStoreMessagePart()

Member Functions Documentation

AddAttachmentL(TMsvId, const TDesC &, CMsvEntry &, CMsvAttachment *, TRequestStatus &)

CImStoreMessagePart *AddAttachmentL(TMsvIdaMessageId,
const TDesC &aFilePath,
CMsvEntry &aMsvEntry,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)[static]

Parameters

TMsvId aMessageId
const TDesC & aFilePath
CMsvEntry & aMsvEntry
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

AddAttachmentL(TMsvId, RFile &, CMsvEntry &, CMsvAttachment *, TRequestStatus &)

CImStoreMessagePart *AddAttachmentL(TMsvIdaMessageId,
RFile &aFile,
CMsvEntry &aMsvEntry,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)[static]

Parameters

TMsvId aMessageId
RFile & aFile
CMsvEntry & aMsvEntry
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

AddAttachmentL()

voidAddAttachmentL()[private]

AddAttachmentUsingFileHandleL()

voidAddAttachmentUsingFileHandleL()[private]

AddEntryAsAttachmentL(TMsvId, TMsvId, CMsvEntry &, CMsvAttachment *, TRequestStatus &)

CImStoreMessagePart *AddEntryAsAttachmentL(TMsvIdaMessageId,
TMsvIdaAttachmentMessageId,
CMsvEntry &aMsvEntry,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)[static]

Parameters

TMsvId aMessageId
TMsvId aAttachmentMessageId
CMsvEntry & aMsvEntry
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

AddEntryAsAttachmentL()

voidAddEntryAsAttachmentL()[private]

AddLinkedAttachmentL(TMsvId, const TDesC &, CMsvEntry &, CMsvAttachment *, TRequestStatus &)

CImStoreMessagePart *AddLinkedAttachmentL(TMsvIdaMessageId,
const TDesC &aFilePath,
CMsvEntry &aMsvEntry,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)[static]

Parameters

TMsvId aMessageId
const TDesC & aFilePath
CMsvEntry & aMsvEntry
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

AddLinkedAttachmentL()

voidAddLinkedAttachmentL()[private]

AddRelatedPartL(TRequestStatus &, CMsvEntry &, TMsvId, const TDesC &, TMsvId, const TDesC8 &)

CImStoreMessagePart *AddRelatedPartL(TRequestStatus &aStatus,
CMsvEntry &aMsvEntry,
TMsvIdaMessageId,
const TDesC &aAttachmentFullName,
TMsvIdaRelatedPartId,
const TDesC8 &aContentId
)[static]

Parameters

TRequestStatus & aStatus
CMsvEntry & aMsvEntry
TMsvId aMessageId
const TDesC & aAttachmentFullName
TMsvId aRelatedPartId
const TDesC8 & aContentId

AttachmentEntryCreated()

TBool AttachmentEntryCreated()const [private]

ChangeStateL()

voidChangeStateL()[private]

CheckForSubfolderL()

voidCheckForSubfolderL()[private]

CheckMimeInAttachmentInfoL(CMsvMimeHeaders &)

TInt CheckMimeInAttachmentInfoL(CMsvMimeHeaders &aMsvMimeHeaders)[private]

Parameters

CMsvMimeHeaders & aMsvMimeHeaders

CompleteStoreMessagePartL()

voidCompleteStoreMessagePartL()[private]

ConstructAttachmentInfo(CMsvAttachment *, TInt)

voidConstructAttachmentInfo(CMsvAttachment *aAttachmentInfo,
TIntaAttachmentCreationState
)[private]

Parameters

CMsvAttachment * aAttachmentInfo
TInt aAttachmentCreationState

ConstructL(RFile &)

voidConstructL(RFile &aFile)[private]

Parameters

RFile & aFile

ConstructL(RFile &, const TDesC &)

voidConstructL(RFile &aFile,
const TDesC &aAttachmentName
)[private]

Parameters

RFile & aFile
const TDesC & aAttachmentName

ConstructL(const TDesC &, const TDesC8 &)

voidConstructL(const TDesC &aAttachmentFullName,
const TDesC8 &aContentId
)[private]

Parameters

const TDesC & aAttachmentFullName
const TDesC8 & aContentId

ConstructL()

voidConstructL()[private]

ConstructL(const TDesC &)

voidConstructL(const TDesC &aAttachmentFullName)[private]

Parameters

const TDesC & aAttachmentFullName

ConstructL(TMsvId)

voidConstructL(TMsvIdaAttachmentMessageId)[private]

Parameters

TMsvId aAttachmentMessageId

ConstructL(const TDesC &, TMsvId, const TDesC8 &)

voidConstructL(const TDesC &aAttachmentFullName,
TMsvIdaRelatedPartId,
const TDesC8 &aContentId
)[private]

Parameters

const TDesC & aAttachmentFullName
TMsvId aRelatedPartId
const TDesC8 & aContentId

ConstructL(CRichText &)

voidConstructL(CRichText &aRichText)[private]

Parameters

CRichText & aRichText

ConstructL(CRichText &, const CImMimeHeader &)

voidConstructL(CRichText &aRichText,
const CImMimeHeader &aMimeHeader
)[private]

Parameters

CRichText & aRichText
const CImMimeHeader & aMimeHeader

ConstructL(CImMimeHeader &)

voidConstructL(CImMimeHeader &aMimeHeader)[private]

Parameters

CImMimeHeader & aMimeHeader

ConstructL(TImMessagePart)

voidConstructL(TImMessagePartaMessagePart)[private]

Parameters

TImMessagePart aMessagePart

CopyOrigMessageToMessageL()

voidCopyOrigMessageToMessageL()[private]

CreateAttachmentEntryL()

voidCreateAttachmentEntryL()[private]

CreateAttachmentL(TMsvId, const TDesC &, RFile &, CMsvEntry &, CMsvAttachment *, TRequestStatus &)

CImStoreMessagePart *CreateAttachmentL(TMsvIdaMessageId,
const TDesC &aFileName,
RFile &aAttachmentFile,
CMsvEntry &aMsvEntry,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)[static]

Parameters

TMsvId aMessageId
const TDesC & aFileName
RFile & aAttachmentFile
CMsvEntry & aMsvEntry
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

CreateAttachmentL()

voidCreateAttachmentL()[private]

CreateAttachmentMimeHeaderL(CImMimeHeader &, const TDesC &)

TBool CreateAttachmentMimeHeaderL(CImMimeHeader &aMimeHeader,
const TDesC &aDetails
)[private]

Opens attachment file & extract initial text, pass into recognizer. If the file type is recognized, use the MIME string produced in the MIMEheader object stored in the attachment entry.

Parameters

CImMimeHeader & aMimeHeader
const TDesC & aDetails

CreateFolderMimeHeaderL(CImMimeHeader &)

voidCreateFolderMimeHeaderL(CImMimeHeader &aMimeHeader)[private]

Parameters

CImMimeHeader & aMimeHeader

CreateHTMLEntryL()

voidCreateHTMLEntryL()[private]

CreateMessageMimeHeaderL(CImMimeHeader &)

voidCreateMessageMimeHeaderL(CImMimeHeader &aMimeHeader)[private]

Parameters

CImMimeHeader & aMimeHeader

CreateMultipartAlternativeFolderEntryL()

voidCreateMultipartAlternativeFolderEntryL()[private]

CreateMultipartMixedFolderEntryL()

voidCreateMultipartMixedFolderEntryL()[private]

CreateMultipartRelatedFolderEntryL()

voidCreateMultipartRelatedFolderEntryL()[private]

CreateTextEntryL()

voidCreateTextEntryL()[private]

DoAttachmentStoreL()

voidDoAttachmentStoreL()[private]

DoCancel()

voidDoCancel()[virtual]

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel().

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel().

CActive::Cancel

ErrorRecovery(TInt)

voidErrorRecovery(TInterror)[private]

Parameters

TInt error

FinalProgress()

const TDesC8 &FinalProgress()[virtual]

FindMultipartRelatedFolderL()

voidFindMultipartRelatedFolderL()[private]

GetDefaultAttachmentName()

TPtrC GetDefaultAttachmentName()[private]

HTMLMessage()

TBool HTMLMessage()const [private]

MoveOriginalMessageEntryChildrenToNewFolderL()

voidMoveOriginalMessageEntryChildrenToNewFolderL()[private]

MoveTextEntryToAltFolderL()

voidMoveTextEntryToAltFolderL()[private]

MultipartAlternativeCreated()

TBool MultipartAlternativeCreated()const [private]

MultipartAlternativeExists()

TBool MultipartAlternativeExists()const [private]

MultipartMixedCreated()

TBool MultipartMixedCreated()const [private]

MultipartMixedExists()

TBool MultipartMixedExists()const [private]

MultipartRelatedCreated()

TBool MultipartRelatedCreated()const [private]

MultipartRelatedExists()

TBool MultipartRelatedExists()const [private]

OpenAndReadResourceFileL()

voidOpenAndReadResourceFileL()[private]

PrepareToStoreHTMLEntryTextL()

voidPrepareToStoreHTMLEntryTextL()[private]

ProcessAttachmentMimeHeadersL()

CImMimeHeader *ProcessAttachmentMimeHeadersL()[private]

ProgressL()

const TDesC8 &ProgressL()[virtual]

Gets information on the progress of the operation.

All operations on local entries share the same progress information format, which defined by TMsvLocalOperationProgress.

For MTM-specific operations, progress information can be extracted by calling CBaseUiMtm::GetProgress() or displayed by CBaseUiMtm::DisplayProgressSummary() on the appropriate User Interface MTM.

Requirements:

Derived classes should implement this function so that the client can check on the progress of the operation. The function should share an understanding of the format of the buffer with the implementations of CBaseUiMtm::GetProgress() and CBaseUiMtm::DisplayProgressSummary() in the User Interface MTM. The arguments of CBaseUiMtm::GetProgress() show some information that should be included where appropriate.

leave
KErrNotReady The operation has not yet been started: it has been queued for execution in the Message Server

Recover()

voidRecover()[private]

RemoveHTMLEntryL()

voidRemoveHTMLEntryL()[private]

RequestComplete(TInt)

voidRequestComplete(TIntaError)[private]

Parameters

TInt aError

RunL()

voidRunL()[virtual]

Handles an active object's request completion event.

A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.

The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.

Before calling this active object's RunL() function, the active scheduler has:

1. decided that this is the highest priority active object with a completed request

2. marked this active object's request as complete (i.e. the request is no longer outstanding)

RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.

Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.

CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD

SelectAndChangeToNextStateL()

voidSelectAndChangeToNextStateL()[private]

SelectNextStateL()

voidSelectNextStateL()[private]

SetAttachmentEntryCreated(TBool)

voidSetAttachmentEntryCreated(TBoolaFlag)[private]

Parameters

TBool aFlag

SetEntryDetailsL(TMsvEntry &)

voidSetEntryDetailsL(TMsvEntry &aEntry)[private]

Parameters

TMsvEntry & aEntry

SetHTMLMessage(TBool)

voidSetHTMLMessage(TBoolaFlag)[private]

Parameters

TBool aFlag

SetMultipartAlternativeCreated(TBool)

voidSetMultipartAlternativeCreated(TBoolaFlag)[private]

Parameters

TBool aFlag

SetMultipartAlternativeExists(TBool)

voidSetMultipartAlternativeExists(TBoolaFlag)[private]

Parameters

TBool aFlag

SetMultipartMixedCreated(TBool)

voidSetMultipartMixedCreated(TBoolaFlag)[private]

Parameters

TBool aFlag

SetMultipartMixedExists(TBool)

voidSetMultipartMixedExists(TBoolaFlag)[private]

Parameters

TBool aFlag

SetMultipartRelatedCreated(TBool)

voidSetMultipartRelatedCreated(TBoolaFlag)[private]

Parameters

TBool aFlag

SetMultipartRelatedExists(TBool)

voidSetMultipartRelatedExists(TBoolaFlag)[private]

Parameters

TBool aFlag

SetTextPartCreated(TBool)

voidSetTextPartCreated(TBoolaFlag)[private]

Parameters

TBool aFlag

SetTextPartExists(TBool)

voidSetTextPartExists(TBoolaFlag)[private]

Parameters

TBool aFlag

StoreBodyTextL(TRequestStatus &, CMsvEntry &, TMsvId, CRichText &, TBool)

CImStoreMessagePart *StoreBodyTextL(TRequestStatus &aStatus,
CMsvEntry &aMsvEntry,
TMsvIdaMessageId,
CRichText &aRichText,
TBoolaUsePlainTextStorage = EFalse
)[static]

Parameters

TRequestStatus & aStatus
CMsvEntry & aMsvEntry
TMsvId aMessageId
CRichText & aRichText
TBool aUsePlainTextStorage = EFalse

StoreBodyTextWithMimeHeaderL(TRequestStatus &, CMsvEntry &, TMsvId, CRichText &, const CImMimeHeader &, TBool)

CImStoreMessagePart *StoreBodyTextWithMimeHeaderL(TRequestStatus &aStatus,
CMsvEntry &aMsvEntry,
TMsvIdaMessageId,
CRichText &aRichText,
const CImMimeHeader &aMimeHeader,
TBoolaUsePlainTextStorage = EFalse
)[static]

Parameters

TRequestStatus & aStatus
CMsvEntry & aMsvEntry
TMsvId aMessageId
CRichText & aRichText
const CImMimeHeader & aMimeHeader
TBool aUsePlainTextStorage = EFalse

StoreHTMLEntryTextL()

voidStoreHTMLEntryTextL()[private]

StoreMimeHeaderL()

voidStoreMimeHeaderL()[private]

StorePlainBodyTextL(TRequestStatus &, CMsvEntry &, TMsvId, TBool)

CImStoreMessagePart *StorePlainBodyTextL(TRequestStatus &aStatus,
CMsvEntry &aMsvEntry,
TMsvIdaMessageId,
TBoolaUsePlainTextStorage = ETrue
)[static]

Parameters

TRequestStatus & aStatus
CMsvEntry & aMsvEntry
TMsvId aMessageId
TBool aUsePlainTextStorage = ETrue

StorePlainBodyTextL(TRequestStatus &, CMsvEntry &, TMsvId, CImMimeHeader &, TBool)

CImStoreMessagePart *StorePlainBodyTextL(TRequestStatus &aStatus,
CMsvEntry &aMsvEntry,
TMsvIdaMessageId,
CImMimeHeader &aMimeHeader,
TBoolaUsePlainTextStorage = ETrue
)[static]

Parameters

TRequestStatus & aStatus
CMsvEntry & aMsvEntry
TMsvId aMessageId
CImMimeHeader & aMimeHeader
TBool aUsePlainTextStorage = ETrue

StorePlainTextL()

voidStorePlainTextL()[private]

StoreRichTextL()

voidStoreRichTextL()[private]

TextPartCreated()

TBool TextPartCreated()const [private]

TextPartExists()

TBool TextPartExists()const [private]

Member Enumerations Documentation

Enum TImAttachmentCreation

Enumerators

EAddAttachment
EAddAttachmentUsingFileHandle
EAddLinkedAttachment
EAddEntryAsAttachment
ECreateAttachment

Enum TImMessagePart

Enumerators

EMessagePartAttachment
EMessagePartBody
EMessagePartMessageAttachment

Enum TImStoreMessagePartFlags

Enumerators

KStoreMessagePartClearFlag = 0x00000000
KStoreMessagePartHTMLMessage = 0x00000001
KStoreMessagePartMultipartMixedExists = 0x00000002
KStoreMessagePartMultipartMixedCreated = 0x00000004
KStoreMessagePartMultipartAlternativeExists = 0x00000008
KStoreMessagePartMultipartAlternativeCreated = 0x00000010
KStoreMessagePartTextPartExists = 0x00000020
KStoreMessagePartTextPartCreated = 0x00000040
KStoreMessagePartAttachmentEntryCreated = 0x00000080
KStoreMessagePartOrigMessageEntryChildrenCopied = 0x00000100
KStoreMessagePartOrigMessageEntryChildrenDeleted = 0x00000200
KStoreMessagePartMultipartRelatedExists = 0x00000400
KStoreMessagePartMultipartRelatedCreated = 0x00000800

Enum TImStoreMessagePartState

Enumerators

EFindMultipartRelatedFolder
ECheckForSubfolder
ECreateAttachmentEntry
EStoreAttachment
ECopyOrigMessageToMessage
ECreateMultipartMixedFolderEntry
ECreateMultipartRelatedFolderEntry
ECreateMultipartAlternativeFolderEntry
EMoveOriginalMessageEntryChildrenToNewFolder
ECreateTextEntry
EStoreRichText
ERemoveHTMLEntry
EMoveTextToAlternativeFolder
ECreateHTMLEntry
EPrepareToStoreHTMLEntryText
EStoreHTMLEntryText
ECompleteStoreMessage
EFinished
EStoreHTMLTextInEntry
EAddEntryAttachment

Member Data Documentation

TMsvId iAltFolderId

TMsvId iAltFolderId[private]

TInt iAttachmentCreateState

TInt iAttachmentCreateState[private]

HBufC * iAttachmentFullName

HBufC *iAttachmentFullName[private]

TMsvId iAttachmentId

TMsvId iAttachmentId[private]

CMsvAttachment * iAttachmentInfo

CMsvAttachment *iAttachmentInfo[private]

TMsvId iAttachmentMessageId

TMsvId iAttachmentMessageId[private]

TInt iAttachmentSize

TInt iAttachmentSize[private]

CCharFormatLayer * iCharLayer

CCharFormatLayer *iCharLayer[private]

HBufC8 * iContentId

HBufC8 *iContentId[private]

TPckgBuf< TMsvId > iDataMember

TPckgBuf< TMsvId >iDataMember[private]

CImEmailMessage * iEmailMessage

CImEmailMessage *iEmailMessage[private]

RFile iFile

RFile iFile[private]

RFile * iFileHandle

RFile *iFileHandle[private]

CFileMan * iFileMan

CFileMan *iFileMan[private]

TBool iFinishedConvertingHTML

TBool iFinishedConvertingHTML[private]

TUint32 iFlags

TUint32 iFlags[private]

CImHtmlConverter * iHtmlConverter

CImHtmlConverter *iHtmlConverter[private]

TMsvId iHtmlId

TMsvId iHtmlId[private]

TBool iIsAddByFileHandle

TBool iIsAddByFileHandle[private]

CMsvEntrySelection * iMessageEntrySelection

CMsvEntrySelection *iMessageEntrySelection[private]

TMsvId iMessageId

TMsvId iMessageId[private]

TImMessagePart iMessagePart

TImMessagePart iMessagePart[private]

CImMimeHeader * iMimeHeaderOfBodyText

CImMimeHeader *iMimeHeaderOfBodyText[private]

TMsvId iMixFolderId

TMsvId iMixFolderId[private]

CMsvEntry & iMsvEntry

CMsvEntry &iMsvEntry[private]

CMsvOperation * iMsvOperation

CMsvOperation *iMsvOperation[private]

CParaFormatLayer * iParaLayer

CParaFormatLayer *iParaLayer[private]

TMsvId iRelFolderId

TMsvId iRelFolderId[private]

TMsvId iRelatedPartId

TMsvId iRelatedPartId[private]

TInt iRestoreErr

TInt iRestoreErr[private]

CRichText * iRichText

CRichText *iRichText[private]

CRichText * iRichTextToStore

CRichText *iRichTextToStore[private]

TInt iSizeFwdReplyBody

TInt iSizeFwdReplyBody[private]

TInt iSizeOfBody

TInt iSizeOfBody[private]

TInt iState

TInt iState[private]

CMsvStore * iStore

CMsvStore *iStore[private]

TMsvId iTextId

TMsvId iTextId[private]

TBool iUsePlainTextStorage

TBool iUsePlainTextStorage[private]