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(); }
| Constructor and Description |
|---|
Html5Options() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAnimateShapes()
Returns or sets shapes animation option.
|
boolean |
getAnimateTransitions()
Returns or sets transitions animation option.
|
void |
setAnimateShapes(boolean value)
Returns or sets shapes animation option.
|
void |
setAnimateTransitions(boolean value)
Returns or sets transitions animation option.
|
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallbackequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallbackpublic 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(); }
getAnimateTransitions in interface IHtml5Optionspublic 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(); }
setAnimateTransitions in interface IHtml5Optionspublic 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(); }
getAnimateShapes in interface IHtml5Optionspublic 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(); }
setAnimateShapes in interface IHtml5OptionsCopyright © 2004-2022 Aspose Pty Ltd. All Rights Reserved.