java.lang.Object
com.aspose.words.ContentDisposition
public class ContentDisposition
- extends java.lang.Object
Utility class containing constants.
Enumerates different ways of presenting the document at the client browser.
Note that the actual behavior on the client browser might be affected by security configuration of the browser.
Example:
Performs a simple insertion of data into merge fields.
// Open an existing document.
Document doc = new Document(getMyDir() + "MailMerge.ExecuteArray.doc");
// Fill the fields in the document with user data.
doc.getMailMerge().execute(
new String[] {"FullName", "Company", "Address", "Address2", "City"},
new Object[] {"James Bond", "MI5 Headquarters", "Milbank", "", "London"});
doc.save(getMyDir() + "MailMerge.ExecuteArray Out.doc");
Field Summary |
static final int | ATTACHMENT = 0 | |
Send the document to the browser and present an option to save the document to disk or open in the application
associated with the document's extension.
|
static final int | INLINE = 1 | |
Send the document to the browser and presents an option to save the document to disk or open inside the browser.
|
ATTACHMENT = 0 | |
public static final int ATTACHMENT |
-
Send the document to the browser and present an option to save the document to disk or open in the application
associated with the document's extension.
INLINE = 1 | |
public static final int INLINE |
-
Send the document to the browser and presents an option to save the document to disk or open inside the browser.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.