java.lang.Object | |
↳ | com.pspdfkit.api.DocumentSaveOptions |
Options to be able to customize the document save.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | DocumentSaveOptions.Builder | A builder to help create the DocumentSaveOptions . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
getApplyRedactionAnnotations()
Gets whether to apply the redaction annotations to the saved document.
| ||||||||||
boolean |
getFlattenAnnotations()
Gets whether to save save the document even if unmodified.
| ||||||||||
boolean |
getForceSave()
Gets whether to save save the document even if unmodified.
| ||||||||||
boolean |
getIncremental()
Gets whether to save incrementally.
| ||||||||||
void |
setApplyRedactionAnnotations(boolean applyRedactionAnnotations)
Sets whether to save redaction annotations.
| ||||||||||
void |
setFlattenAnnotations(boolean flattenAnnotations)
Sets whether to flatten the annotations into the document or not.
| ||||||||||
void |
setForceSave(boolean forceSave)
Forces PSPDFKit to save the document even if unmodified.
| ||||||||||
void |
setIncremental(boolean incremental)
Sets whether to save incrementally.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Gets whether to apply the redaction annotations to the saved document.
Gets whether to save save the document even if unmodified.
Gets whether to save save the document even if unmodified.
Gets whether to save incrementally.
Sets whether to save redaction annotations. It is not possible to apply redaction annotations incrementally therefore a full save will be performed.
applyRedactionAnnotations | If to apply redaction annotations. |
---|
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
setApplyRedactionAnnotations(boolean)
or
setFlattenAnnotations(boolean)
is set.
incremental | If to save incrementally. |
---|