com.groupdocs.viewer.converter.options

Class HtmlOptions



  • public class HtmlOptions
    extends RenderOptions

    Provides options for rendering documents as HTML.

    Version:
    17.5.0
    Author:
    GroupDocs.Viewer Team
    • Constructor Detail

      • HtmlOptions

        public HtmlOptions()
    • Method Detail

      • isResourcesEmbedded

        public boolean isResourcesEmbedded()

        Indicates whether to embed resources into HTML or not.

        Returns:
        a boolean.
      • setResourcesEmbedded

        public void setResourcesEmbedded(boolean value)

        Indicates whether to embed resources into HTML or not.

        The following example demonstrates how to separate resources from HTML when rendering document as HTML.
        Parameters:
        value - a boolean.
      • getHtmlResourcePrefix

        public String getHtmlResourcePrefix()

        The prefix for HTML resource name.

        Returns:
        a String object.
      • setHtmlResourcePrefix

        public void setHtmlResourcePrefix(String value)

        Specifies prefix for HTML resource name.

        The following example demonstrates how to specify resource prefix with replacement patterns.
        Parameters:
        value - a String object.
      • getIgnoreResourcePrefixForCss

        public boolean getIgnoreResourcePrefixForCss()

        Indicates whether to ignore resource prefix when processing CSS or not.

        Returns:
        a boolean.
      • setIgnoreResourcePrefixForCss

        public void setIgnoreResourcePrefixForCss(boolean value)

        Indicates whether to ignore resource prefix when processing CSS or not.

        The following example demonstrates how to ignore resource prefix when processing CSS.
        Parameters:
        value - a boolean.