com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class HtmlFormatter

  • java.lang.Object
    • com.aspose.slides.HtmlFormatter
  • All Implemented Interfaces:
    IHtmlFormatter


    public final class HtmlFormatter
    extends java.lang.Object
    implements IHtmlFormatter

    Represents HTML file template.

    • Method Detail

      • createDocumentFormatter

        public static HtmlFormatter createDocumentFormatter(java.lang.String css,
                                                            boolean showSlideTitle)

        Creates and returns HTML formatter for a simple document view which consists of sequences of slides one below another.

        Parameters:
        css - Specifies CSS for this file.
        showSlideTitle - Add slide title if there is one above slide image.
        Returns:
        The HtmlFormatter object.
      • createSlideShowFormatter

        public static HtmlFormatter createSlideShowFormatter(java.lang.String css,
                                                             boolean showSlideTitle)

        Creates and returns HTML formatter for a simple slide show html which shows slides one after another.

        Parameters:
        css - Specifies URL of CCS file used.
        showSlideTitle - Add slide title if there is one above slide image.
        Returns:
        The HtmlFormatter object.
      • createCustomFormatter

        public static HtmlFormatter createCustomFormatter(IHtmlFormattingController formattingController)

        Creates and returns HTML formatter for custom callback-driven html generation.

        Parameters:
        formattingController - Callback interface which controls html file generation.
        Returns:
        The HtmlFormatter object.