public class HtmlSaveOptions extends HeadersFormattingOptions
Allows to specify additional options when saving MailMessage to Html format.
Constructor and Description |
---|
HtmlSaveOptions()
Initializes a new instance of this class that can be used to save a MailMessage in the Html format.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCheckBodyContentEncoding()
Defines whether need check message body content encoding when saving.
|
boolean |
getEmbedResources()
Deprecated.
EmbedResources is obsolete, don't work correctly and will be removed soon. Please use ResourceRenderingMode instead.
|
int |
getHtmlFormatOptions()
Gets or sets additional options when saving in HTML format.
|
ResourceHtmlRenderingHandler |
getResourceHtmlRenderingHandler()
Provides customization of rendering resources in html.
|
int |
getResourceRenderingMode()
Provides set various modes of rendering resources in html.
|
SaveResourceHandler |
getSaveResourceHandler()
This handler is called for saving all message attachments if EmbedResources is false.
|
void |
setCheckBodyContentEncoding(boolean value)
Defines whether need check message body content encoding when saving.
|
void |
setEmbedResources(boolean value)
Deprecated.
EmbedResources is obsolete, don't work correctly and will be removed soon. Please use ResourceRenderingMode instead.
|
void |
setHtmlFormatOptions(int value)
Gets or sets additional options when saving in HTML format.
|
void |
setResourceHtmlRenderingHandler(ResourceHtmlRenderingHandler value)
Provides customization of rendering resources in html.
|
void |
setResourceRenderingMode(int value)
Provides set various modes of rendering resources in html.
|
void |
setSaveResourceHandler(SaveResourceHandler value)
This handler is called for saving all message attachments if EmbedResources is false.
|
getAfterHeadersFormat, getBeforeHeadersFormat, getCssStyles, getDefaultHeaderFormat, getDefaultPageHeaderFormat, getFormatTemplates, getRenderedContactFields, getRenderingHeaders, setAfterHeadersFormat, setBeforeHeadersFormat, setCssStyles, setDefaultHeaderFormat, setDefaultPageHeaderFormat, setRenderedContactFields
createSaveOptions, getCustomProgressHandler, getDefaultEml, getDefaultHtml, getDefaultMhtml, getDefaultMsg, getDefaultMsgUnicode, getMailMessageSaveType, setCustomProgressHandler, setMailMessageSaveType
public HtmlSaveOptions()
Initializes a new instance of this class that can be used to save a MailMessage in the Html format.
@Deprecated public final boolean getEmbedResources()
Defines whether need embed resources in html content when saving or not. Default value is true.
@Deprecated public final void setEmbedResources(boolean value)
Defines whether need embed resources in html content when saving or not. Default value is true.
public final int getHtmlFormatOptions()
Gets or sets additional options when saving in HTML format. Default value is HtmlFormatOptions.None.
public final void setHtmlFormatOptions(int value)
Gets or sets additional options when saving in HTML format. Default value is HtmlFormatOptions.None.
public final boolean getCheckBodyContentEncoding()
Defines whether need check message body content encoding when saving.
public final void setCheckBodyContentEncoding(boolean value)
Defines whether need check message body content encoding when saving.
public final SaveResourceHandler getSaveResourceHandler()
This handler is called for saving all message attachments if EmbedResources is false.
public final void setSaveResourceHandler(SaveResourceHandler value)
This handler is called for saving all message attachments if EmbedResources is false.
public final ResourceHtmlRenderingHandler getResourceHtmlRenderingHandler()
Provides customization of rendering resources in html.
public final void setResourceHtmlRenderingHandler(ResourceHtmlRenderingHandler value)
Provides customization of rendering resources in html.
public final int getResourceRenderingMode()
Provides set various modes of rendering resources in html. Default value EmbedIntoHtml.
public final void setResourceRenderingMode(int value)
Provides set various modes of rendering resources in html. Default value EmbedIntoHtml.