IHtml5Options

All Implemented Interfaces: com.aspose.slides.ISaveOptions

public interface IHtml5Options extends ISaveOptions

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();
 }

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.

getAnimateTransitions()

public abstract 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 abstract 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 abstract 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 abstract 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