public class WebDocument
extends java.lang.Object
Represents a transition form of the presentation for saving into a web format.
| Constructor and Description |
|---|
WebDocument(WebDocumentOptions options)
WebDocument constructor. |
| Modifier and Type | Method and Description |
|---|---|
Storage |
getGlobal()
Returns global storage of the document.
|
Input |
getInput()
Returns collection of input elements (templates) of the document.
|
Output |
getOutput()
Returns collection of output elements of the document.
|
void |
save()
Saves the document output.
|
public WebDocument(WebDocumentOptions options)
WebDocument constructor.
options - Options set for the document.public final void save()
Saves the document output.
public final Input getInput()
Returns collection of input elements (templates) of the document.
Read-only Input(getInput()).
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();
public final Storage getGlobal()
Returns global storage of the document.
Read-only Storage.
Using this (getGlobal()) property (implementation ofStorageinterface) 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();
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.