Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
MimeDisplayOptions Class Reference

#include <modlmime.h>

Collaboration diagram for MimeDisplayOptions:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MimeDisplayOptions ()
virtual ~MimeDisplayOptions ()

Public Attributes

mozITXTToHTMLConvconv
nsCOMPtr< nsIPrefBranchm_prefBranch
nsMimeOutputType format_out
nsCString charsetForCachedInputDecoder
nsCOMPtr< nsIUnicodeDecoderm_inputCharsetToUnicodeDecoder
nsCOMPtr< nsIUnicodeEncoderm_unicodeToUTF8Encoder
const char * url
MimeHeadersState headers
PRBool fancy_headers_p
PRBool output_vcard_buttons_p
PRBool fancy_links_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
PRBool nice_html_only_p
PRUint32 whattodo
char * default_charset
PRBool override_charset
PRBool force_user_charset
voidstream_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)
voidoutput_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)
voidhtml_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

Detailed Description

Definition at line 163 of file modlmime.h.


Constructor & Destructor Documentation

Definition at line 1391 of file mimemoz2.cpp.

{
  conv = nsnull;        // For text conversion...
  format_out = 0;   // The format out type
  url = nsnull;      

  memset(&headers,0, sizeof(headers));    
  fancy_headers_p = PR_FALSE;

  output_vcard_buttons_p = PR_FALSE;

  fancy_links_p = PR_FALSE;

  variable_width_plaintext_p = PR_FALSE;
  wrap_long_lines_p = PR_FALSE;
  rot13_p = PR_FALSE;
  part_to_load = nsnull;

  write_html_p = PR_FALSE;

  decrypt_p = PR_FALSE;

  nice_html_only_p = PR_FALSE;

  whattodo = 0 ;
  default_charset = nsnull;
  override_charset = PR_FALSE;
  force_user_charset = PR_FALSE;
  stream_closure = nsnull;

  /* For setting up the display stream, so that the MIME parser can inform
        the caller of the type of the data it will be getting. */
  output_init_fn = nsnull;
  output_fn = nsnull;

  output_closure = nsnull;

  charset_conversion_fn = nsnull;
  rfc1522_conversion_p = PR_FALSE;

  file_type_fn = nsnull;

  passwd_prompt_fn = nsnull;

  html_closure = nsnull;

  generate_header_html_fn = nsnull;
  generate_post_header_html_fn = nsnull;
  generate_footer_html_fn = nsnull;
  generate_reference_url_fn = nsnull;
  generate_mailto_url_fn = nsnull;
  generate_news_url_fn = nsnull;

  image_begin = nsnull;
  image_end = nsnull;
  image_write_buffer = nsnull;
  make_image_html = nsnull;
  state = nsnull;

#ifdef MIME_DRAFTS
  decompose_file_p = PR_FALSE;
  done_parsing_outer_headers = PR_FALSE;
  is_multipart_msg = PR_FALSE;
  decompose_init_count = 0;

  signed_p = PR_FALSE;
  caller_need_root_headers = PR_FALSE; 
  decompose_headers_info_fn = nsnull;
  decompose_file_init_fn = nsnull;
  decompose_file_output_fn = nsnull;
  decompose_file_close_fn = nsnull;
#endif /* MIME_DRAFTS */

  attachment_icon_layer_id = 0;

  missing_parts = PR_FALSE;
  show_attachment_inline_p = PR_FALSE;
}

Here is the call graph for this function:

Definition at line 1470 of file mimemoz2.cpp.


Member Data Documentation

Definition at line 389 of file modlmime.h.

Definition at line 369 of file modlmime.h.

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)

Definition at line 275 of file modlmime.h.

Definition at line 171 of file modlmime.h.

Definition at line 168 of file modlmime.h.

Definition at line 386 of file modlmime.h.

Definition at line 380 of file modlmime.h.

Definition at line 383 of file modlmime.h.

Definition at line 354 of file modlmime.h.

Definition at line 376 of file modlmime.h.

Definition at line 363 of file modlmime.h.

Definition at line 204 of file modlmime.h.

Definition at line 221 of file modlmime.h.

Definition at line 356 of file modlmime.h.

Definition at line 181 of file modlmime.h.

Definition at line 187 of file modlmime.h.

Definition at line 287 of file modlmime.h.

Definition at line 232 of file modlmime.h.

Definition at line 170 of file modlmime.h.

Definition at line 309 of file modlmime.h.

Definition at line 301 of file modlmime.h.

Definition at line 315 of file modlmime.h.

Definition at line 318 of file modlmime.h.

Definition at line 305 of file modlmime.h.

Definition at line 312 of file modlmime.h.

Definition at line 180 of file modlmime.h.

Definition at line 297 of file modlmime.h.

void*(* MimeDisplayOptions::image_begin)(const char *image_url, const char *content_type, void *stream_closure)

Definition at line 329 of file modlmime.h.

Definition at line 333 of file modlmime.h.

Definition at line 336 of file modlmime.h.

Definition at line 360 of file modlmime.h.

Definition at line 172 of file modlmime.h.

Definition at line 169 of file modlmime.h.

Definition at line 173 of file modlmime.h.

char*(* MimeDisplayOptions::make_image_html)(void *image_closure)

Definition at line 339 of file modlmime.h.

Definition at line 397 of file modlmime.h.

Definition at line 213 of file modlmime.h.

Definition at line 256 of file modlmime.h.

Definition at line 252 of file modlmime.h.

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)

Definition at line 244 of file modlmime.h.

Definition at line 184 of file modlmime.h.

Definition at line 225 of file modlmime.h.

Definition at line 199 of file modlmime.h.

Definition at line 291 of file modlmime.h.

Definition at line 284 of file modlmime.h.

Definition at line 197 of file modlmime.h.

Definition at line 400 of file modlmime.h.

Definition at line 366 of file modlmime.h.

Definition at line 345 of file modlmime.h.

Definition at line 240 of file modlmime.h.

Definition at line 175 of file modlmime.h.

Definition at line 192 of file modlmime.h.

Definition at line 219 of file modlmime.h.

Definition at line 194 of file modlmime.h.

Definition at line 202 of file modlmime.h.


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