nsIMsgCompose

IID:a56e2be5-76c2-4647-857d-ca71b129b4d6
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRBool bodyModified

readonly nsIMsgCompFields compFields

readonly PRBool composeHTML

PRBool deleteDraft

readonly nsIDOMWindowInternal domWindow

readonly nsIEditor editor

readonly nsIMsgSend messageSend

readonly char* originalMsgURI

readonly nsIMsgProgress progress

PRBool recycledWindow

nsIMsgComposeRecyclingListener recyclingListener

char* savedFolderURI

MSG_ComposeType type

readonly PRInt32 wrapLength


Methods

void abort ( ) AUTF8String AttachmentPrettyName ( char* url , char* charset ) PRInt32 bodyConvertible ( ) [noscript] void buildBodyMessageAndSignature ( ) [noscript] void buildQuotedMessageAndSignature ( ) PRUint32 CheckAndPopulateRecipients ( PRBool populateMailList , PRBool returnNonHTMLRecipients , out PRUnichar* nonHTMLRecipients ) PRBool checkCharsetConversion ( nsIMsgIdentity identity , out char* fallbackCharset ) [noscript] void clearEditor ( ) void CloseWindow ( PRBool reclycleIt ) [noscript] void convertAndLoadComposeWindow ( nsStringRef prefix , nsStringRef buf , nsStringRef signature , PRBool quoted , PRBool HTMLEditor ) nsIMsgSendListener getExternalSendListener ( ) [noscript] void getQuotingToFollow ( out PRBool quotingToFollow ) void initEditor ( nsIEditor editor , nsIDOMWindow contentWindow ) void Initialize ( nsIDOMWindowInternal window , nsIMsgComposeParams params ) [noscript] void notifyStateListeners ( TStateListenerNotification notificationType , nsresult result ) [noscript] void processReplyFlags ( ) [noscript] void processSignature ( nsIMsgIdentity identity , PRBool quoted , inout nsString msgBody ) void quoteMessage ( char* msgURI ) void RegisterStateListener ( nsIMsgComposeStateListener stateListener ) [noscript] void rememberQueuedDisposition ( ) void SendMsg ( MSG_DeliverMode deliverMode , nsIMsgIdentity identity , char* accountKey , nsIMsgWindow msgWindow , nsIMsgProgress progress ) [noscript] void setCiteReference ( nsString citeReference ) void SetDocumentCharset ( char* charset ) void SetSignature ( nsIMsgIdentity identity ) void UnregisterStateListener ( nsIMsgComposeStateListener stateListener )

void abort ( )


AUTF8String AttachmentPrettyName ( char* url , char* charset )

Arguments:
url
charset

PRInt32 bodyConvertible ( )


void buildBodyMessageAndSignature ( )


void buildQuotedMessageAndSignature ( )


PRUint32 CheckAndPopulateRecipients ( PRBool populateMailList , PRBool returnNonHTMLRecipients , out PRUnichar* nonHTMLRecipients )

Arguments:
populateMailList
returnNonHTMLRecipients
nonHTMLRecipients

PRBool checkCharsetConversion ( nsIMsgIdentity identity , out char* fallbackCharset )

Arguments:
identity
fallbackCharset

void clearEditor ( )


void CloseWindow ( PRBool reclycleIt )

Arguments:
reclycleIt

void convertAndLoadComposeWindow ( nsStringRef prefix , nsStringRef buf , nsStringRef signature , PRBool quoted , PRBool HTMLEditor )

Arguments:
prefix
buf
signature
quoted
HTMLEditor

nsIMsgSendListener getExternalSendListener ( )


void getQuotingToFollow ( out PRBool quotingToFollow )

Arguments:
quotingToFollow

void initEditor ( nsIEditor editor , nsIDOMWindow contentWindow )

Init the editor THIS USED TO BE [noscript] Now, this is called after editor is created, which is triggered by loading startup url from JS. The completion of document loading is detected by observing the "obs_documentCreated" command

Arguments:
editor
contentWindow

void Initialize ( nsIDOMWindowInternal window , nsIMsgComposeParams params )

Arguments:
window
params

void notifyStateListeners ( TStateListenerNotification notificationType , nsresult result )

Arguments:
notificationType
result

void processReplyFlags ( )


void processSignature ( nsIMsgIdentity identity , PRBool quoted , inout nsString msgBody )

Arguments:
identity
quoted
msgBody

void quoteMessage ( char* msgURI )

Arguments:
msgURI

void RegisterStateListener ( nsIMsgComposeStateListener stateListener )

Arguments:
stateListener

void rememberQueuedDisposition ( )


void SendMsg ( MSG_DeliverMode deliverMode , nsIMsgIdentity identity , char* accountKey , nsIMsgWindow msgWindow , nsIMsgProgress progress )

Arguments:
deliverMode
identity
accountKey
msgWindow
progress

void setCiteReference ( nsString citeReference )

Arguments:
citeReference

void SetDocumentCharset ( char* charset )

Arguments:
charset

void SetSignature ( nsIMsgIdentity identity )

Arguments:
identity

void UnregisterStateListener ( nsIMsgComposeStateListener stateListener )

Arguments:
stateListener

References

This interface is passed as an argument to the following methods:

nsIMsgComposeSendListener.setMsgCompose

This interface is returned from the following methods:

nsIMsgComposeService.InitCompose

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com