com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class HeadersFormattingOptions

  • Direct Known Subclasses:
    HtmlSaveOptions, MhtSaveOptions


    public abstract class HeadersFormattingOptions
    extends SaveOptions

    Allows to specify headers formatting options when saving MailMessage to Mhtml or Html format.

    • Constructor Detail

      • HeadersFormattingOptions

        public HeadersFormattingOptions()

        Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format.

    • Method Detail

      • getRenderedContactFields

        public final int getRenderedContactFields()

        Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting.

      • setRenderedContactFields

        public final void setRenderedContactFields(int value)

        Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting.

      • getCssStyles

        public final String getCssStyles()

        Gets or sets the additional css styles for the formatter.

        Value: The styles to be injected into resulting html body.
      • setCssStyles

        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.
      • getDefaultPageHeaderFormat

        public final String getDefaultPageHeaderFormat()

        Default page header format.

        Value: The styles to be injected into resulting html body.
      • setDefaultPageHeaderFormat

        public final void setDefaultPageHeaderFormat(String value)

        Default page header format.

        Value: The styles to be injected into resulting html body.
      • getDefaultHeaderFormat

        public final String getDefaultHeaderFormat()

        Default header line format.

        Value: The styles to be injected into resulting html body.
      • setDefaultHeaderFormat

        public final void setDefaultHeaderFormat(String value)

        Default header line format.

        Value: The styles to be injected into resulting html body.
      • getBeforeHeadersFormat

        public final String getBeforeHeadersFormat()

        Before headers format.

        Value: The styles to be injected into resulting html body.
      • setBeforeHeadersFormat

        public final void setBeforeHeadersFormat(String value)

        Before headers format.

        Value: The styles to be injected into resulting html body.
      • getAfterHeadersFormat

        public final String getAfterHeadersFormat()

        After headers format.

        Value: The styles to be injected into resulting html body.
      • setAfterHeadersFormat

        public final void setAfterHeadersFormat(String value)

        After headers format.

        Value: The styles to be injected into resulting html body.
      • getFormatTemplates

        public final com.aspose.ms.System.Collections.Specialized.StringDictionary getFormatTemplates()

        Gets the format templates.

        Value: The format templates.
      • getRenderingHeaders

        public final List<String> getRenderingHeaders()

        Gets list of headers for rendering.