PresentationOptions

Inheritance: java.lang.Object

public class PresentationOptions

Provides options for rendering presentations options.

For details, see the documentation.

Constructors

Constructor Description
PresentationOptions()

Methods

Method Description
isRenderToPureHtml() Enables a new HTML rendering mode for Presentation documents.
setRenderToPureHtml(boolean renderToPureHtml) Enables a new HTML rendering mode for Presentation documents.
isRenderHeaderFooterPlaceholders() Enables rendering placeholders in the header and footer of a slide.
setRenderHeaderFooterPlaceholders(boolean renderHeaderFooterPlaceholders) Enables rendering placeholders in the header and footer of a slide.
getResolution() Resolution for images inside presentation (for to HTML/PDF rendering only).
setResolution(Resolution resolution) Resolution for images inside presentation (for to HTML/PDF rendering only).

PresentationOptions()

public PresentationOptions()

isRenderToPureHtml()

public boolean isRenderToPureHtml()

Enables a new HTML rendering mode for Presentation documents.

In this mode, the Presentation files are rendered to pure HTML/CSS markup, without SVG images. By default, this feature is disabled (false). Existing SVG-based HTML renderer is used if this option is not enabled.

Returns: boolean

setRenderToPureHtml(boolean renderToPureHtml)

public void setRenderToPureHtml(boolean renderToPureHtml)

Enables a new HTML rendering mode for Presentation documents.

In this mode, the Presentation files are rendered to pure HTML/CSS markup, without SVG images. By default, this feature is disabled (false). Existing SVG-based HTML renderer is used if this option is not enabled.

Parameters:

Parameter Type Description
renderToPureHtml boolean

isRenderHeaderFooterPlaceholders()

public boolean isRenderHeaderFooterPlaceholders()

Enables rendering placeholders in the header and footer of a slide. Disabled by default (false). This option applies for all 4 rendering modes of presentations: HTML, PDF, PNG, and JPEG. Is not applicable when rendering presentation to pure HTML/CSS markup using .

Returns: boolean

setRenderHeaderFooterPlaceholders(boolean renderHeaderFooterPlaceholders)

public void setRenderHeaderFooterPlaceholders(boolean renderHeaderFooterPlaceholders)

Enables rendering placeholders in the header and footer of a slide. Disabled by default (false). This option applies for all 4 rendering modes of presentations: HTML, PDF, PNG, and JPEG. Is not applicable when rendering presentation to pure HTML/CSS markup using .

Parameters:

Parameter Type Description
renderHeaderFooterPlaceholders boolean

getResolution()

public Resolution getResolution()

Resolution for images inside presentation (for to HTML/PDF rendering only).

For code sample, see the documentation.

Returns: com.groupdocs.viewer.options.Resolution

setResolution(Resolution resolution)

public void setResolution(Resolution resolution)

Resolution for images inside presentation (for to HTML/PDF rendering only).

For code sample, see the documentation.

Parameters:

Parameter Type Description
resolution com.groupdocs.viewer.options.Resolution