ContentDisposition
Overview
ContentDisposition is an enum in Aspose.Words FOSS for Java.
Enumerates different ways of presenting the document at the client browser.
Edition status of its 7 listed members (a property and its accessor methods are listed separately, overloads once): 7 not yet exercised by a verified example.
This enum declares 4 methods for ContentDisposition objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
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 | Send the document to the browser and presents an option to save the document to disk or open inside the browser. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ContentDisposition values. |
Methods
| Signature | Description |
|---|---|
getName(contentDisposition: int) → String | Returns JAVA_STYLE string representation of integer ContentDisposition value. |
toString(contentDisposition: int) → String | Returns DotNetStyle string representation of integer ContentDisposition value. |
fromName(contentDispositionName: String) → int | Returns integer representation by ContentDisposition name. |
getValues() → int[] | Returns array of ContentDisposition values. |