com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IHtml5Options

  • All Superinterfaces:
    ISaveOptions
    All Known Implementing Classes:
    Html5Options


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

      • getAnimateTransitions

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

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

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

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