FlattenSettings
Overview
FlattenSettings is a class in Aspose.PDF FOSS for Java.
Settings that control how form fields are flattened into page content.
This class provides 13 methods for working with FlattenSettings objects in Java programs.
Available methods include: FlattenSettings, getApplyRedactions, getCallEvents, getHideButtons, getUpdateAppearances, isApplyRedactions, isCallEvents, isHideButtons, isUpdateAppearances, setApplyRedactions, setCallEvents, setHideButtons, and 1 additional methods.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: applyRedactions, callEvents, hideButtons, updateAppearances.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
applyRedactions | boolean | Read | Returns whether redaction annotations should be applied during flattening. |
hideButtons | boolean | Read | Returns whether button fields should be hidden (not rendered) during flattening. |
updateAppearances | boolean | Read | Returns whether field appearances should be updated before flattening. |
callEvents | boolean | Read | Returns whether events should be triggered during flattening. |
Methods
| Signature | Description |
|---|---|
FlattenSettings() | Creates a new FlattenSettings with default values. |
isApplyRedactions() → boolean | Returns whether redaction annotations should be applied during flattening. |
getApplyRedactions() → boolean | Returns whether redaction annotations should be applied during flattening. |
setApplyRedactions(applyRedactions: boolean) | Sets whether redaction annotations should be applied during flattening. |
isHideButtons() → boolean | Returns whether button fields should be hidden (not rendered) during flattening. |
getHideButtons() → boolean | Returns whether button fields should be hidden (not rendered) during flattening. |
setHideButtons(hideButtons: boolean) | Sets whether button fields should be hidden (not rendered) during flattening. |
isUpdateAppearances() → boolean | Returns whether field appearances should be updated before flattening. |
getUpdateAppearances() → boolean | Returns whether field appearances should be updated before flattening. |
setUpdateAppearances(updateAppearances: boolean) | Sets whether field appearances should be updated before flattening. |
isCallEvents() → boolean | Returns whether events should be triggered during flattening. |
getCallEvents() → boolean | Returns whether events should be triggered during flattening. |
setCallEvents(callEvents: boolean) | Sets whether events should be triggered during flattening. |