HtmlFormatter
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IHtmlFormatter
public final class HtmlFormatter implements IHtmlFormatter
Represents HTML file template.
Methods
Method | Description |
---|---|
createDocumentFormatter(String css, boolean showSlideTitle) | Creates and returns HTML formatter for a simple document view which consists of sequences of slides one below another. |
createSlideShowFormatter(String css, boolean showSlideTitle) | Creates and returns HTML formatter for a simple slide show html which shows slides one after another. |
createCustomFormatter(IHtmlFormattingController formattingController) | Creates and returns HTML formatter for custom callback-driven html generation. |
createDocumentFormatter(String css, boolean showSlideTitle)
public static HtmlFormatter createDocumentFormatter(String css, boolean showSlideTitle)
Creates and returns HTML formatter for a simple document view which consists of sequences of slides one below another.
Parameters:
Parameter | Type | Description |
---|---|---|
css | java.lang.String | Specifies CSS for this file. |
showSlideTitle | boolean | Add slide title if there is one above slide image. |
Returns: HtmlFormatter - The HtmlFormatter object.
createSlideShowFormatter(String css, boolean showSlideTitle)
public static HtmlFormatter createSlideShowFormatter(String css, boolean showSlideTitle)
Creates and returns HTML formatter for a simple slide show html which shows slides one after another.
Parameters:
Parameter | Type | Description |
---|---|---|
css | java.lang.String | Specifies URL of CCS file used. |
showSlideTitle | boolean | Add slide title if there is one above slide image. |
Returns: HtmlFormatter - The HtmlFormatter object.
createCustomFormatter(IHtmlFormattingController formattingController)
public static HtmlFormatter createCustomFormatter(IHtmlFormattingController formattingController)
Creates and returns HTML formatter for custom callback-driven html generation.
Parameters:
Parameter | Type | Description |
---|---|---|
formattingController | IHtmlFormattingController | Callback interface which controls html file generation. |
Returns: HtmlFormatter - The HtmlFormatter object.