#include <CIMPLAINBODYTEXT.H>
Link against:
imcm.lib
This item is not part of the S60 5th Edition SDK
class CImPlainBodyText : public CMsgActive;
Description
This class is a wrapper over CMsvPlainBodyText
class of message server. The pointer to this class can be obtained by calling OpenPlainBodyTextForReadL or OpenPlainBodyTextForWriteL
API of the CImEmailMessage
class. This can be used to store/restore a email message created by using the CImEmailOperation
class.
Derivation
CMsgActive
- No description.
CImPlainBodyText
- This class is a wrapper over CMsvPlainBodyText class of message server. The poin...
Members
Defined in CImPlainBodyText
:
See also:
CImEmailMessage
This class can be used to manipulate new emails that have been created using CIm...
CImEmailOperation
Provides simple email messages creation functions, including creation of new mes...
Construction and destruction
IMPORT_C ~CImPlainBodyText();
Description
Destructor
StoreChunkL(const TDesC8 &,TRequestStatus &)
IMPORT_C void StoreChunkL(const TDesC8 &aChunk, TRequestStatus &aStatus);
Description
Store the plain body text part in chunks.
Parameters
Leave codes
KErrAccessDenied. |
If CMsvStore was opened in Read mode or If CommitL is already called.
|
Other |
Standard system-wide error codes.
|
|
StoreChunkL(const TDesC8 &)
IMPORT_C void StoreChunkL(const TDesC8 &aChunk);
Description
Store the plain body text part in chunks,synchronous version.
Parameters
Leave codes
KErrAccessDenied. |
If CMsvStore was opened in Read mode or If CommitL is already called.
|
Other |
Standard system-wide error codes.
|
|
StoreChunkL(const TDesC16 &,TRequestStatus &)
IMPORT_C void StoreChunkL(const TDesC16 &aChunk, TRequestStatus &aStatus);
Description
Store the body part in chunks(16 bit version).
Parameters
Leave codes
KErrNotSupported |
If the 8-bit storage was enabled.
|
KErrAccessDenied |
If CMsvStore was opened in Read mode or IfCommitL is already called.
|
Other |
Standard system-wide error codes.
|
|
StoreChunkL(const TDesC16 &)
IMPORT_C void StoreChunkL(const TDesC16 &aChunk);
Description
Store the body part in chunks(16 bit synchronous version).
Parameters
const TDesC16 &aChunk |
The 16 bit chunk that is to be stored.
|
|
Leave codes
KErrNotSupported |
If the 8-bit storage was enabled.
|
KErrAccessDenied |
If CMsvStore was opened in Read mode or If CommitL is already called.
|
Other |
Standard system-wide error codes.
|
|
StoreRichTextAsPlainTextL(CRichText &)
IMPORT_C void StoreRichTextAsPlainTextL(CRichText &aRichText);
Description
Converts and stores the CRichText
contents to a plain text.
Parameters
CRichText &aRichText |
The CRichText object that will be stored as plain body text.
|
|
Leave codes
KErrNotSupported |
If the 8-bit storage was enabled.
|
KErrAccessDenied |
If CMsvStore was opened in Read mode or If CommitL is already called.
|
Other |
Standard system-wide error codes.
|
|
CommitL(TRequestStatus &)
IMPORT_C void CommitL(TRequestStatus &aStatus);
Description
Commits the email message after it has been completed.
Parameters
CommitL(TRequestStatus &,CImMimeHeader &)
IMPORT_C void CommitL(TRequestStatus &aStatus, CImMimeHeader &aMimeHeader);
Description
Commits the email message after it has been completed along with mime header for this message.
Parameters
NextChunkL(TDes8 &,TRequestStatus &)
IMPORT_C void NextChunkL(TDes8 &aChunk, TRequestStatus &aStatus);
Description
Retrieve the next chunk of the plain body text.
Parameters
Leave codes
KErrAccessDenied |
If CMsvStore was opened in Write mode.
|
KErrNotSupported |
If 16-bit storage is enabled.
|
KErrUnderflow |
If aChunk MaxLength is less than iChunkMaxLength.
|
Other |
Standard system-wide error codes.
|
|
IMPORT_C void NextChunkL(TDes8 &aChunk);
Description
Retrieve the next chunk of the plain body text.
Parameters
TDes8 &aChunk |
The output parameter contains the requested chunk.
|
|
Leave codes
KErrNotSupported |
If CMsvStore was opened in Write mode.
|
KErrNotSupported |
If 16-bit storage is enabled.
|
KErrUnderflow |
If aChunk MaxLength is less than iChunkMaxLength.
|
Other |
Standard system-wide error codes.
|
|
NextChunkL(TDes16 &,TRequestStatus &)
IMPORT_C void NextChunkL(TDes16 &aChunk, TRequestStatus &aStatus);
Description
Restore the plain body text into chunks.
Parameters
Leave codes
KErrNotSupported |
If CMsvStore was opened in Write mode.
|
KErrUnderflow |
If aChunk MaxLength is less than iChunkMaxLength.
|
Other |
Standard system-wide error codes.
|
|
IMPORT_C void NextChunkL(TDes16 &aChunk);
Description
Restores the plain body text into chunks.
Parameters
TDes16 &aChunk |
The output parameter contains the requested chunk on completion.
|
|
Leave codes
KErrNotSupported |
If CMsvStore was opened in Write mode.
|
KErrUnderflow |
If aChunk MaxLength is less than iChunkMaxLength.
|
Other |
Standard system-wide error codes.
|
|
PreviousChunkL(TDes8 &,TRequestStatus &)
IMPORT_C void PreviousChunkL(TDes8 &aChunk, TRequestStatus &aStatus);
Description
Retrieve the next chunk of the plain body text.
Parameters
Leave codes
KErrNotSupported |
If CMsvStore was opened in Write mode.
|
KErrNotSupported |
If 16-bit storage is enabled.
|
KErrUnderflow |
If aChunk MaxLength is less than iChunkMaxLength.
|
Other |
Standard system-wide error codes.
|
|
IMPORT_C void PreviousChunkL(TDes8 &aChunk);
Description
Retrieve the next chunk of the plain body text.
Parameters
TDes8 &aChunk |
The output parameter contains the requested chunk.
|
|
Leave codes
KErrNotSupported |
If CMsvStore was opened in Write mode.
|
KErrNotSupported |
If 16-bit storage is enabled.
|
KErrUnderflow |
If aChunk MaxLength is less than iChunkMaxLength.
|
Other |
Standard system-wide error codes.
|
|
PreviousChunkL(TDes16 &,TRequestStatus &)
IMPORT_C void PreviousChunkL(TDes16 &aChunk, TRequestStatus &aStatus);
Description
Restore the plain body text into chunks.
Parameters
Leave codes
KErrNotSupported |
If CMsvStore was opened in Write mode.
|
KErrUnderflow |
If aChunk MaxLength is less than iChunkMaxLength.
|
Other |
Standard system-wide error codes.
|
|
IMPORT_C void PreviousChunkL(TDes16 &aChunk);
Description
Restore the plain body text into chunks.
Parameters
TDes16 &aChunk |
The output parameter contains the requested chunk on completion.
|
|
Leave codes
KErrNotSupported |
If CMsvStore was opened in Write mode.
|
KErrUnderflow |
If aChunk MaxLength is less than iChunkMaxLength.
|
Other |
Standard system-wide error codes.
|
|
private: virtual void DoRunL();
Description
private: virtual void DoCancel();
Description
Cancels the relavent CMsvPlainBodyText
object