Public Member Functions | Public Attributes

MimeDisplayOptions Class Reference

#include <modlmime.h>

Collaboration diagram for MimeDisplayOptions:

List of all members.

Public Member Functions

 MimeDisplayOptions ()
virtual ~MimeDisplayOptions ()

Public Attributes

mozITXTToHTMLConvconv
nsCOMPtr< nsIPrefBranchm_prefBranch
nsMimeOutputType format_out
nsCString_external charsetForCachedInputDecoder
nsCOMPtr< nsIUnicodeDecoder > m_inputCharsetToUnicodeDecoder
nsCOMPtr< nsIUnicodeEncoder > m_unicodeToUTF8Encoder
const char * url
MimeHeadersState headers
PRBool fancy_headers_p
PRBool output_vcard_buttons_p
PRBool variable_width_plaintext_p
PRBool wrap_long_lines_p
PRBool rot13_p
char * part_to_load
PRBool write_html_p
PRBool decrypt_p
PRUint32 whattodo
char * default_charset
PRBool override_charset
PRBool force_user_charset
void * stream_closure
int(* output_init_fn )(const char *type, const char *charset, const char *name, const char *x_mac_type, const char *x_mac_creator, void *stream_closure)
int(* output_fn )(const char *buf, PRInt32 size, void *closure)
void * output_closure
int(* charset_conversion_fn )(const char *input_line, PRInt32 input_length, const char *input_charset, const char *output_charset, char **output_ret, PRInt32 *output_size_ret, void *stream_closure, nsIUnicodeDecoder *decoder, nsIUnicodeEncoder *encoder)
PRBool rfc1522_conversion_p
char *(* file_type_fn )(const char *filename, void *stream_closure)
void *(* passwd_prompt_fn )(void *arg1, void *arg2)
void * html_closure
MimeHTMLGeneratorFunction generate_header_html_fn
MimeHTMLGeneratorFunction generate_post_header_html_fn
MimeHTMLGeneratorFunction generate_footer_html_fn
MimeHTMLGeneratorFunction generate_reference_url_fn
MimeHTMLGeneratorFunction generate_mailto_url_fn
MimeHTMLGeneratorFunction generate_news_url_fn
void *(* image_begin )(const char *image_url, const char *content_type, void *stream_closure)
void(* image_end )(void *image_closure, int status)
int(* image_write_buffer )(const char *buf, PRInt32 size, void *image_closure)
char *(* make_image_html )(void *image_closure)
MimeParseStateObjectstate
PRBool decompose_file_p
PRBool done_parsing_outer_headers
PRBool is_multipart_msg
int decompose_init_count
PRBool signed_p
PRBool caller_need_root_headers
int(* decompose_headers_info_fn )(void *closure, MimeHeaders *headers)
nsresult(* decompose_file_init_fn )(void *stream_closure, MimeHeaders *headers)
nsresult(* decompose_file_output_fn )(const char *buf, PRInt32 size, void *stream_closure)
nsresult(* decompose_file_close_fn )(void *stream_closure)
PRInt32 attachment_icon_layer_id
PRBool missing_parts
PRBool show_attachment_inline_p
PRBool quote_attachment_inline_p
PRBool notify_nested_bodies
 Should StartBody/EndBody events be generated for nested MimeMessages.
PRBool write_pure_bodies
 When true, compels mime parts to only write the actual body payload and not display-gunk like links to attachments.

Constructor & Destructor Documentation

MimeDisplayOptions::MimeDisplayOptions (  ) 
virtual MimeDisplayOptions::~MimeDisplayOptions (  )  [virtual]

Member Data Documentation

int(* MimeDisplayOptions::charset_conversion_fn)(const char *input_line, PRInt32 input_length, const char *input_charset, const char *output_charset, char **output_ret, PRInt32 *output_size_ret, void *stream_closure, nsIUnicodeDecoder *decoder, nsIUnicodeEncoder *encoder)
char*(* MimeDisplayOptions::file_type_fn)(const char *filename, void *stream_closure)
void*(* MimeDisplayOptions::image_begin)(const char *image_url, const char *content_type, void *stream_closure)
void(* MimeDisplayOptions::image_end)(void *image_closure, int status)
int(* MimeDisplayOptions::image_write_buffer)(const char *buf, PRInt32 size, void *image_closure)
char*(* MimeDisplayOptions::make_image_html)(void *image_closure)

Should StartBody/EndBody events be generated for nested MimeMessages.

If false (the default value), the events are only generated for the outermost MimeMessage.

int(* MimeDisplayOptions::output_fn)(const char *buf, PRInt32 size, void *closure)
int(* MimeDisplayOptions::output_init_fn)(const char *type, const char *charset, const char *name, const char *x_mac_type, const char *x_mac_creator, void *stream_closure)
void*(* MimeDisplayOptions::passwd_prompt_fn)(void *arg1, void *arg2)

When true, compels mime parts to only write the actual body payload and not display-gunk like links to attachments.

This was primarily introduced for the benefit of the javascript emitter.


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