PdfRewriteOptions constructor
const
PdfRewriteOptions({
- bool keepDocumentInfo = true,
- bool keepXmpMetadata = true,
- bool keepAttachments = true,
- bool keepLayers = true,
- bool keepBookmarks = true,
- bool keepPageLabels = true,
- bool keepAnnotations = true,
- bool keepFormFields = true,
- bool keepStructureTree = false,
- bool deduplicateResources = true,
- bool rejectSignedSources = false,
- bool keepInvalidSignatures = false,
- bool removeSignatureAppearance = false,
Configures the rewrite.
Implementation
const PdfRewriteOptions({
this.keepDocumentInfo = true,
this.keepXmpMetadata = true,
this.keepAttachments = true,
this.keepLayers = true,
this.keepBookmarks = true,
this.keepPageLabels = true,
this.keepAnnotations = true,
this.keepFormFields = true,
this.keepStructureTree = false,
this.deduplicateResources = true,
this.rejectSignedSources = false,
this.keepInvalidSignatures = false,
this.removeSignatureAppearance = false,
});