PdfRewriteOptions constructor

const PdfRewriteOptions({
  1. bool keepDocumentInfo = true,
  2. bool keepXmpMetadata = true,
  3. bool keepAttachments = true,
  4. bool keepLayers = true,
  5. bool keepBookmarks = true,
  6. bool keepPageLabels = true,
  7. bool keepAnnotations = true,
  8. bool keepFormFields = true,
  9. bool keepStructureTree = false,
  10. bool deduplicateResources = true,
  11. bool rejectSignedSources = false,
  12. bool keepInvalidSignatures = false,
  13. 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,
});