| java.lang.Object | |
| ↳ | com.pspdfkit.api.DocumentSaveOptions.Builder |
A builder to help create the DocumentSaveOptions.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Builder() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DocumentSaveOptions.Builder |
applyRedactionAnnotations(boolean applyRedactionAnnotations)
Sets whether to apply redaction annotations.
| ||||||||||
| DocumentSaveOptions |
build()
Creates the
DocumentSaveOptions with the builder options. | ||||||||||
| DocumentSaveOptions.Builder |
flattenAnnotations(boolean flattenAnnotations)
Sets whether to flatten the annotations into the document or not.
| ||||||||||
| DocumentSaveOptions.Builder |
forceSave(boolean forceSave)
Forces PSPDFKit to save the document even if unmodified.
| ||||||||||
| DocumentSaveOptions.Builder |
incrementalSave(boolean incremental)
Sets whether to save incrementally.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Sets whether to apply redaction annotations. It is not possible to apply redaction annotations incrementally therefore a full save will be performed.
| applyRedactionAnnotations | If to apply redaction annotations. |
|---|
Creates the DocumentSaveOptions with the builder options.
DocumentSaveOptions to use when saving.
Sets whether to flatten the annotations into the document or not. If enabled, incremental save will be ignored.
| flattenAnnotations | If to flatten the annotations or not. |
|---|
Forces PSPDFKit to save the document even if unmodified.
| forceSave | Set force save. |
|---|
Sets whether to save incrementally. An incremental save will not be performed if applyRedactionAnnotations(boolean)
is set.
| incremental | If to save incrementally. |
|---|