public abstract class HeadersFormattingOptions extends SaveOptions
Allows to specify headers formatting options when saving MailMessage to Mhtml or Html format.
Constructor and Description |
---|
HeadersFormattingOptions()
Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format.
|
Modifier and Type | Method and Description |
---|---|
String |
getAfterHeadersFormat()
After headers format.
|
String |
getBeforeHeadersFormat()
Before headers format.
|
String |
getCssStyles()
Gets or sets the additional css styles for the formatter.
|
String |
getDefaultHeaderFormat()
Default header line format.
|
String |
getDefaultPageHeaderFormat()
Default page header format.
|
StringDictionary |
getFormatTemplates()
Gets the format templates.
|
int |
getRenderedContactFields()
Defines groups of Contact fields which will be included in output mhtml.
|
List<String> |
getRenderingHeaders()
Gets list of headers for rendering.
|
void |
setAfterHeadersFormat(String value)
After headers format.
|
void |
setBeforeHeadersFormat(String value)
Before headers format.
|
void |
setCssStyles(String value)
Gets or sets the additional css styles for the formatter.
|
void |
setDefaultHeaderFormat(String value)
Default header line format.
|
void |
setDefaultPageHeaderFormat(String value)
Default page header format.
|
void |
setRenderedContactFields(int value)
Defines groups of Contact fields which will be included in output mhtml.
|
createSaveOptions, getCustomProgressHandler, getDefaultEml, getDefaultHtml, getDefaultMhtml, getDefaultMsg, getDefaultMsgUnicode, getMailMessageSaveType, setCustomProgressHandler, setMailMessageSaveType
public HeadersFormattingOptions()
Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format.
public final int getRenderedContactFields()
Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting.
public final void setRenderedContactFields(int value)
Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting.
public final String getCssStyles()
Gets or sets the additional css styles for the formatter.
Value: The styles to be injected into resulting html body.public final void setCssStyles(String value)
Gets or sets the additional css styles for the formatter.
Value: The styles to be injected into resulting html body.public final String getDefaultPageHeaderFormat()
Default page header format.
Value: The styles to be injected into resulting html body.public final void setDefaultPageHeaderFormat(String value)
Default page header format.
Value: The styles to be injected into resulting html body.public final String getDefaultHeaderFormat()
Default header line format.
Value: The styles to be injected into resulting html body.public final void setDefaultHeaderFormat(String value)
Default header line format.
Value: The styles to be injected into resulting html body.public final String getBeforeHeadersFormat()
Before headers format.
Value: The styles to be injected into resulting html body.public final void setBeforeHeadersFormat(String value)
Before headers format.
Value: The styles to be injected into resulting html body.public final String getAfterHeadersFormat()
After headers format.
Value: The styles to be injected into resulting html body.public final void setAfterHeadersFormat(String value)
After headers format.
Value: The styles to be injected into resulting html body.public final StringDictionary getFormatTemplates()
Gets the format templates.
Value: The format templates.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.