Public Member Functions | Public Attributes

nsIMessenger Interface Reference

import "nsIMessenger.idl";

Collaboration diagram for nsIMessenger:

List of all members.

Public Member Functions

void setDisplayCharset (in ACString aCharset)
void setWindow (in nsIDOMWindowInternal ptr, in nsIMsgWindow msgWindow)
void openURL (in ACString aURL)
void loadURL (in nsIDOMWindowInternal ptr, in ACString aURL)
 load a custom message by url, e.g load a attachment as a email
void launchExternalURL (in ACString aURL)
boolean canUndo ()
boolean canRedo ()
unsigned long getUndoTransactionType ()
unsigned long getRedoTransactionType ()
void undo (in nsIMsgWindow msgWindow)
void redo (in nsIMsgWindow msgWindow)
void setDocumentCharset (in ACString characterSet)
void saveAs (in ACString aURI, in boolean aAsFile, in nsIMsgIdentity aIdentity, in AString aMsgFilename)
void saveMessages (in unsigned long count,[array, size_is(count)] in wstring filenameArray,[array, size_is(count)] in string messageUriArray)
 Save the given messages as files in a folder - the user will be prompted for which folder to use.
void openAttachment (in ACString contentTpe, in ACString url, in ACString displayName, in ACString messageUri, in boolean isExternalAttachment)
void saveAttachment (in ACString contentTpe, in ACString url, in ACString displayName, in ACString messageUri, in boolean isExternalAttachment)
void saveAllAttachments (in unsigned long count,[array, size_is(count)] in string contentTypeArray,[array, size_is(count)] in string urlArray,[array, size_is(count)] in string displayNameArray,[array, size_is(count)] in string messageUriArray)
void saveAttachmentToFile (in nsIFile aFile, in ACString aUrl, in ACString aMessageUri, in ACString aContentType, in nsIUrlListener aListener)
void detachAttachment (in string contentTpe, in string url, in string displayName, in string messageUri, in boolean saveFirst,[optional] in boolean withoutWarning)
void detachAllAttachments (in unsigned long count,[array, size_is(count)] in string contentTypeArray,[array, size_is(count)] in string urlArray,[array, size_is(count)] in string displayNameArray,[array, size_is(count)] in string messageUriArray, in boolean saveFirst,[optional] in boolean withoutWarning)
nsILocalFile saveAttachmentToFolder (in ACString contentType, in ACString url, in ACString displayName, in ACString messageUri, in nsILocalFile aDestFolder)
nsIMsgMessageService messageServiceFromURI (in ACString aUri)
nsIMsgDBHdr msgHdrFromURI (in ACString aUri)
ACString getMsgUriAtNavigatePos (in long aPos)
ACString getFolderUriAtNavigatePos (in long aPos)
void getNavigateHistory (out unsigned long aCurPos, out unsigned long aCount,[array, size_is(aCount)] out string aHistory)

Public Attributes

const long eUnknown = 0
const long eDeleteMsg = 1
const long eMoveMsg = 2
const long eCopyMsg = 3
const long eMarkAllMsg = 4
readonly attribute
nsITransactionManager 
transactionManager
readonly attribute ACString lastDisplayedMessageUri
attribute long navigatePos

Member Function Documentation

boolean nsIMessenger::canRedo (  ) 
boolean nsIMessenger::canUndo (  ) 
void nsIMessenger::detachAllAttachments ( in unsigned long  count,
[array, size_is(count)] in string  contentTypeArray,
[array, size_is(count)] in string  urlArray,
[array, size_is(count)] in string  displayNameArray,
[array, size_is(count)] in string  messageUriArray,
in boolean  saveFirst,
[optional] in boolean  withoutWarning 
)
void nsIMessenger::detachAttachment ( in string  contentTpe,
in string  url,
in string  displayName,
in string  messageUri,
in boolean  saveFirst,
[optional] in boolean  withoutWarning 
)
ACString nsIMessenger::getFolderUriAtNavigatePos ( in long  aPos  ) 
ACString nsIMessenger::getMsgUriAtNavigatePos ( in long  aPos  ) 
void nsIMessenger::getNavigateHistory ( out unsigned long  aCurPos,
out unsigned long  aCount,
[array, size_is(aCount)] out string  aHistory 
)
unsigned long nsIMessenger::getRedoTransactionType (  ) 
unsigned long nsIMessenger::getUndoTransactionType (  ) 
void nsIMessenger::launchExternalURL ( in ACString  aURL  ) 
void nsIMessenger::loadURL ( in nsIDOMWindowInternal  ptr,
in ACString  aURL 
)

load a custom message by url, e.g load a attachment as a email

nsIMsgMessageService nsIMessenger::messageServiceFromURI ( in ACString  aUri  ) 
nsIMsgDBHdr nsIMessenger::msgHdrFromURI ( in ACString  aUri  ) 
void nsIMessenger::openAttachment ( in ACString  contentTpe,
in ACString  url,
in ACString  displayName,
in ACString  messageUri,
in boolean  isExternalAttachment 
)
void nsIMessenger::openURL ( in ACString  aURL  ) 
void nsIMessenger::redo ( in nsIMsgWindow  msgWindow  ) 
void nsIMessenger::saveAllAttachments ( in unsigned long  count,
[array, size_is(count)] in string  contentTypeArray,
[array, size_is(count)] in string  urlArray,
[array, size_is(count)] in string  displayNameArray,
[array, size_is(count)] in string  messageUriArray 
)
void nsIMessenger::saveAs ( in ACString  aURI,
in boolean  aAsFile,
in nsIMsgIdentity  aIdentity,
in AString  aMsgFilename 
)
void nsIMessenger::saveAttachment ( in ACString  contentTpe,
in ACString  url,
in ACString  displayName,
in ACString  messageUri,
in boolean  isExternalAttachment 
)
void nsIMessenger::saveAttachmentToFile ( in nsIFile  aFile,
in ACString  aUrl,
in ACString  aMessageUri,
in ACString  aContentType,
in nsIUrlListener  aListener 
)
nsILocalFile nsIMessenger::saveAttachmentToFolder ( in ACString  contentType,
in ACString  url,
in ACString  displayName,
in ACString  messageUri,
in nsILocalFile  aDestFolder 
)
void nsIMessenger::saveMessages ( in unsigned long  count,
[array, size_is(count)] in wstring  filenameArray,
[array, size_is(count)] in string  messageUriArray 
)

Save the given messages as files in a folder - the user will be prompted for which folder to use.

Parameters:
count message count
filenameArray the filenames to use
messageUriArray uris of the messages to save
void nsIMessenger::setDisplayCharset ( in ACString  aCharset  ) 
void nsIMessenger::setDocumentCharset ( in ACString  characterSet  ) 
void nsIMessenger::setWindow ( in nsIDOMWindowInternal  ptr,
in nsIMsgWindow  msgWindow 
)
void nsIMessenger::undo ( in nsIMsgWindow  msgWindow  ) 

Member Data Documentation

const long nsIMessenger::eCopyMsg = 3
const long nsIMessenger::eDeleteMsg = 1
const long nsIMessenger::eMarkAllMsg = 4
const long nsIMessenger::eMoveMsg = 2
const long nsIMessenger::eUnknown = 0
readonly attribute ACString nsIMessenger::lastDisplayedMessageUri
attribute long nsIMessenger::navigatePos

The documentation for this interface was generated from the following file: