com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class WebDocument

  • java.lang.Object
    • com.aspose.slides.WebDocument


  • public class WebDocument
    extends java.lang.Object

    Represents a transition form of the presentation for saving into a web format.

    • Constructor Detail

    • Method Detail

      • save

        public final void save()

        Saves the document output.

      • getInput

        public final Input getInput()

        Returns collection of input elements (templates) of the document. Read-only Input(getInput()).

      • getOutput

        public final Output getOutput()

        Returns collection of output elements of the document. Read-only Output(getOutput()).


          
          WebDocumentOptions options = new WebDocumentOptions();
        
          WebDocument document = new WebDocument(options);
        
          // put "slideMargin" property to use from templates
          document.getGlobal().put("slideMargin", 10);
        
          // ... set up other options of the document and then save the document
          document.save();
          
      • getGlobal

        public final Storage getGlobal()

        Returns global storage of the document. Read-only Storage.


        Using this (getGlobal()) property (implementation of Storage interface) a
          property can be put to use it later in the template:
          
          WebDocumentOptions options = new WebDocumentOptions();
        
          WebDocument document = new WebDocument(options);
        
          // put "slideMargin" property to use from templates
          document.getGlobal().put("slideMargin", 10);
        
          // ... set up other options of the document and then save the document
          document.save();