Html5Options

Inheritance: java.lang.Object, com.aspose.slides.SaveOptions

All Implemented Interfaces: com.aspose.slides.IHtml5Options

public class Html5Options extends SaveOptions implements IHtml5Options

Represents a HTML5 exporting options.


Example:
 
 Presentation pres = new Presentation("demo.pptx");
 try {
     Html5Options htmlOptions = new Html5Options();
     htmlOptions.setAnimateShapes(true);
     htmlOptions.setAnimateTransitions(true);

     pres.save("demo-animate-shapes-and-transitions.html", SaveFormat.Html5, htmlOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Constructors

Constructor Description
Html5Options()

Methods

Method Description
getAnimateTransitions() Returns or sets transitions animation option.
setAnimateTransitions(boolean value) Returns or sets transitions animation option.
getAnimateShapes() Returns or sets shapes animation option.
setAnimateShapes(boolean value) Returns or sets shapes animation option.

Html5Options()

public Html5Options()

getAnimateTransitions()

public final boolean getAnimateTransitions()

Returns or sets transitions animation option. Read/write boolean.


Example:
 
 Presentation pres = new Presentation("demo.pptx");
 try {
     Html5Options htmlOptions = new Html5Options();
     htmlOptions.setAnimateTransitions(true);

     pres.save("demo-animate-shapes-and-transitions.html", SaveFormat.Html5, htmlOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Returns: boolean

setAnimateTransitions(boolean value)

public final void setAnimateTransitions(boolean value)

Returns or sets transitions animation option. Read/write boolean.


Example:
 
 Presentation pres = new Presentation("demo.pptx");
 try {
     Html5Options htmlOptions = new Html5Options();
     htmlOptions.setAnimateTransitions(true);

     pres.save("demo-animate-shapes-and-transitions.html", SaveFormat.Html5, htmlOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Parameters:

Parameter Type Description
value boolean

getAnimateShapes()

public final boolean getAnimateShapes()

Returns or sets shapes animation option. Read/write boolean.


Example:
 
 Presentation pres = new Presentation("demo.pptx");
 try {
     Html5Options htmlOptions = new Html5Options();
     htmlOptions.setAnimateShapes(true);

     pres.save("demo-animate-shapes-and-transitions.html", SaveFormat.Html5, htmlOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Returns: boolean

setAnimateShapes(boolean value)

public final void setAnimateShapes(boolean value)

Returns or sets shapes animation option. Read/write boolean.


Example:
 
 Presentation pres = new Presentation("demo.pptx");
 try {
     Html5Options htmlOptions = new Html5Options();
     htmlOptions.setAnimateShapes(true);

     pres.save("demo-animate-shapes-and-transitions.html", SaveFormat.Html5, htmlOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Parameters:

Parameter Type Description
value boolean