CImPlainBodyText Class Reference
class CImPlainBodyText : public CMsgActive
|
Public Member Functions
|
|
~CImPlainBodyText
()
|
IMPORT_C void
|
CommitL
(
TRequestStatus
&)
|
IMPORT_C void
|
CommitL
(
TRequestStatus
&,
CImMimeHeader
&)
|
CImPlainBodyText
*
|
NewL
(
CImEmailMessage
&,
CMsvEntry
&,
CImEmailMessage::TImEmailEntryType
,
TInt
,
TBool
)
|
IMPORT_C void
|
NextChunkL
(
TDes8
&,
TRequestStatus
&)
|
IMPORT_C void
|
NextChunkL
(
TDes8
&)
|
IMPORT_C void
|
NextChunkL
(
TDes16
&,
TRequestStatus
&)
|
IMPORT_C void
|
NextChunkL
(
TDes16
&)
|
IMPORT_C void
|
PreviousChunkL
(
TDes8
&,
TRequestStatus
&)
|
IMPORT_C void
|
PreviousChunkL
(
TDes8
&)
|
IMPORT_C void
|
PreviousChunkL
(
TDes16
&,
TRequestStatus
&)
|
IMPORT_C void
|
PreviousChunkL
(
TDes16
&)
|
IMPORT_C void
|
StoreChunkL
(const
TDesC8
&,
TRequestStatus
&)
|
IMPORT_C void
|
StoreChunkL
(const
TDesC8
&)
|
IMPORT_C void
|
StoreChunkL
(const
TDesC16
&,
TRequestStatus
&)
|
IMPORT_C void
|
StoreChunkL
(const
TDesC16
&)
|
IMPORT_C void
|
StoreRichTextAsPlainTextL
(
CRichText
&)
|
Constructor & Destructor Documentation
CImPlainBodyText(CImEmailMessage &, CMsvEntry &)
~CImPlainBodyText()
IMPORT_C
|
~CImPlainBodyText
|
(
|
)
|
|
Member Functions Documentation
CommitL(TRequestStatus &)
Commits the email message after it has been completed.
Parameters
TRequestStatus
& aStatus
|
The TRequestStatus parameter for this request.
|
CommitL(TRequestStatus &, CImMimeHeader &)
Commits the email message after it has been completed along with mime header for this message.
ConstructL(TInt, CImEmailMessage::TImEmailEntryType, TBool)
The 2nd Phase construction.
DoCancel()
void
|
DoCancel
|
(
|
)
|
[private, virtual]
|
DoRunL()
void
|
DoRunL
|
(
|
)
|
[private, virtual]
|
NewL(CImEmailMessage &, CMsvEntry &, CImEmailMessage::TImEmailEntryType, TInt, TBool)
NextChunkL(TDes8 &, TRequestStatus &)
Retrieve the next chunk of the plain body text.
-
leave
-
KErrAccessDenied If
CMsvStore
was opened in Write mode.
-
leave
-
KErrNotSupported If 16-bit storage is enabled.
-
leave
-
KErrUnderflow If aChunk MaxLength is less than iChunkMaxLength.
-
leave
-
Other Standard system-wide error codes.
NextChunkL(TDes8 &)
IMPORT_C void
|
NextChunkL
|
(
|
TDes8
&
|
aChunk
|
)
|
|
Retrieve the next chunk of the plain body text.
-
leave
-
KErrNotSupported If
CMsvStore
was opened in Write mode.
-
leave
-
KErrNotSupported If 16-bit storage is enabled.
-
leave
-
KErrUnderflow If aChunk MaxLength is less than iChunkMaxLength.
-
leave
-
Other Standard system-wide error codes.
Parameters
TDes8
& aChunk
|
The output parameter contains the requested chunk.
|
NextChunkL(TDes16 &, TRequestStatus &)
Restore the plain body text into chunks.
-
leave
-
KErrNotSupported If
CMsvStore
was opened in Write mode.
-
leave
-
KErrUnderflow If aChunk MaxLength is less than iChunkMaxLength.
-
leave
-
Other Standard system-wide error codes.
Parameters
TDes16
& aChunk
|
The output parameter contains the requested chunk on completion.
|
TRequestStatus
& aStatus
|
The TRequestStatus parameter for this request.
|
NextChunkL(TDes16 &)
IMPORT_C void
|
NextChunkL
|
(
|
TDes16
&
|
aChunk
|
)
|
|
Restores the plain body text into chunks.
-
leave
-
KErrNotSupported If
CMsvStore
was opened in Write mode.
-
leave
-
KErrUnderflow If aChunk MaxLength is less than iChunkMaxLength.
-
leave
-
Other Standard system-wide error codes.
Parameters
TDes16
& aChunk
|
The output parameter contains the requested chunk on completion.
|
PreviousChunkL(TDes8 &, TRequestStatus &)
Retrieve the next chunk of the plain body text.
-
leave
-
KErrNotSupported If
CMsvStore
was opened in Write mode.
-
leave
-
KErrNotSupported If 16-bit storage is enabled.
-
leave
-
KErrUnderflow If aChunk MaxLength is less than iChunkMaxLength.
-
leave
-
Other Standard system-wide error codes.
PreviousChunkL(TDes8 &)
IMPORT_C void
|
PreviousChunkL
|
(
|
TDes8
&
|
aChunk
|
)
|
|
Retrieve the next chunk of the plain body text.
-
leave
-
KErrNotSupported If
CMsvStore
was opened in Write mode.
-
leave
-
KErrNotSupported If 16-bit storage is enabled.
-
leave
-
KErrUnderflow If aChunk MaxLength is less than iChunkMaxLength.
-
leave
-
Other Standard system-wide error codes.
Parameters
TDes8
& aChunk
|
The output parameter contains the requested chunk.
|
PreviousChunkL(TDes16 &, TRequestStatus &)
Restore the plain body text into chunks.
-
leave
-
KErrNotSupported If
CMsvStore
was opened in Write mode.
-
leave
-
KErrUnderflow If aChunk MaxLength is less than iChunkMaxLength.
-
leave
-
Other Standard system-wide error codes.
Parameters
TDes16
& aChunk
|
The output parameter contains the requested chunk on completion.
|
TRequestStatus
& aStatus
|
The TRequestStatus parameter for this request.
|
PreviousChunkL(TDes16 &)
IMPORT_C void
|
PreviousChunkL
|
(
|
TDes16
&
|
aChunk
|
)
|
|
Restore the plain body text into chunks.
-
leave
-
KErrNotSupported If
CMsvStore
was opened in Write mode.
-
leave
-
KErrUnderflow If aChunk MaxLength is less than iChunkMaxLength.
-
leave
-
Other Standard system-wide error codes.
Parameters
TDes16
& aChunk
|
The output parameter contains the requested chunk on completion.
|
StoreChunkL(const TDesC8 &, TRequestStatus &)
Store the plain body text part in chunks.
-
leave
-
KErrAccessDenied. If
CMsvStore
was opened in Read mode or If CommitL is already called.
-
leave
-
Other Standard system-wide error codes.
StoreChunkL(const TDesC8 &)
IMPORT_C void
|
StoreChunkL
|
(
|
const
TDesC8
&
|
aChunk
|
)
|
|
Store the plain body text part in chunks,synchronous version.
-
leave
-
KErrAccessDenied. If
CMsvStore
was opened in Read mode or If CommitL is already called.
-
leave
-
Other Standard system-wide error codes.
StoreChunkL(const TDesC16 &, TRequestStatus &)
Store the body part in chunks(16 bit version).
-
leave
-
KErrNotSupported If the 8-bit storage was enabled.
-
leave
-
KErrAccessDenied If
CMsvStore
was opened in Read mode or IfCommitL is already called.
-
leave
-
Other Standard system-wide error codes.
Parameters
const
TDesC16
& aChunk
|
The 16 bit chunk that is to be stored.
|
TRequestStatus
& aStatus
|
The TRequestStatus parameter for this request.
|
StoreChunkL(const TDesC16 &)
IMPORT_C void
|
StoreChunkL
|
(
|
const
TDesC16
&
|
aChunk
|
)
|
|
Store the body part in chunks(16 bit synchronous version).
-
leave
-
KErrNotSupported If the 8-bit storage was enabled.
-
leave
-
KErrAccessDenied If
CMsvStore
was opened in Read mode or If CommitL is already called.
-
leave
-
Other Standard system-wide error codes.
Parameters
const
TDesC16
& aChunk
|
The 16 bit chunk that is to be stored.
|
StoreRichTextAsPlainTextL(CRichText &)
IMPORT_C void
|
StoreRichTextAsPlainTextL
|
(
|
CRichText
&
|
aRichText
|
)
|
|
Converts and stores the
CRichText
contents to a plain text.
-
leave
-
KErrNotSupported If the 8-bit storage was enabled.
-
leave
-
KErrAccessDenied If
CMsvStore
was opened in Read mode or If CommitL is already called.
-
leave
-
Other Standard system-wide error codes.
Parameters
CRichText
& aRichText
|
The CRichText object that will be stored as plain body text.
|
Member Enumerations Documentation
Enum TChunkRetrievalState
Enum indicating which asynchronous chunk retrieving method resulted in a call to DoRunl.
Enumerators
EIdleState
|
|
ENextChunk8Bit
|
|
ENextChunk16Bit
|
|
EPreviousChunk8Bit
|
|
EPreviousChunk16Bit
|
|
Member Data Documentation
TDes16 * iChunk16
The 16-bit pointer to a chunk that will be populated with data when asynchronous 16-bit versions of NextChunkL / PreviousChunkL returns.
TDes8 * iChunk8
TDes8
*
|
iChunk8
|
[private]
|
The 8-bit pointer to a chunk that will be populated with data when asynchronous 8-bit versions of NextChunkL / PreviousChunkL returns.
enum CImPlainBodyText::TChunkRetrievalState iChunkRetrievalState
Enum indicating which asynchronous chunk retrieving method resulted in a call to DoRunl.
CImEmailMessage & iEmailMessage
TInt
iIndex
For indexing the plaintext array
CMsvEntry & iMsvEntry
The
CMsvEntry
associated with the message being stored/restored.
RPointerArray< CMsvPlainBodyText > iPlainTextArray
The array of framework/server class to store/restore body text in chunks.
CMsvStore * iStore
The Store associated with the message being stored/restored.
CImStoreMessagePart * iStoreMessagePart
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.