PdfMergeOptions class

Merge options.

Constructors

PdfMergeOptions({PdfMergeMode mode = PdfMergeMode.objectImport, bool importAnnotations = true, bool importFormFields = true, PdfFieldNameConflictPolicy fieldNameConflict = PdfFieldNameConflictPolicy.renameSuffix, bool importBookmarks = true, bool importNamedDestinations = true, bool importLayers = true, bool importPageLabels = true, bool importAttachments = false, bool importXmpMetadata = false, bool dropStructureTree = true, bool copyDocumentInfoFromFirst = false, bool groupBookmarksPerDocument = false, bool rejectSignedSources = false, bool keepInvalidSignatures = false, bool removeSignatureAppearance = false, bool deduplicateResources = true})
const

Properties

copyDocumentInfoFromFirst → bool
Copies /Info from the first source document into the destination.
final
deduplicateResources → bool
Reuses a single object for identical streams coming from different sources (font programs, images, repeated logos).
final
dropStructureTree → bool
Discards the structure tree (tagged PDF).
final
fieldNameConflict → PdfFieldNameConflictPolicy
What to do when an imported field has the same name as an existing one.
final
groupBookmarksPerDocument → bool
Groups the bookmarks of each source under a parent node of its own.
final
hashCode → int
The hash code for this object.
no setterinherited
importAnnotations → bool
Imports the page annotations (links, notes, stamps).
final
importAttachments → bool
Imports attachments (/Names /EmbeddedFiles).
final
importBookmarks → bool
Imports the bookmark tree (/Outlines).
final
importFormFields → bool
Imports the form fields (/AcroForm).
final
importLayers → bool
Imports layers / optional content groups (/OCProperties).
final
importNamedDestinations → bool
Resolves named destinations into explicit destinations while importing.
final
importPageLabels → bool
Imports the page numbering (/PageLabels).
final
importXmpMetadata → bool
Copies the XMP packet (/Metadata) of the first source document.
final
keepInvalidSignatures → bool
Keeps the signature fields of the source, with CMS and certificates.
final
mode → PdfMergeMode
Page import strategy.
final
rejectSignedSources → bool
Refuses to merge when the source has digital signatures.
final
removeSignatureAppearance → bool
Removes the visual stamp of the signature as well.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({PdfMergeMode? mode, bool? importAnnotations, bool? importFormFields, PdfFieldNameConflictPolicy? fieldNameConflict, bool? importBookmarks, bool? importNamedDestinations, bool? importLayers, bool? importPageLabels, bool? importAttachments, bool? importXmpMetadata, bool? dropStructureTree, bool? copyDocumentInfoFromFirst, bool? groupBookmarksPerDocument, bool? rejectSignedSources, bool? keepInvalidSignatures, bool? removeSignatureAppearance, bool? deduplicateResources}) → PdfMergeOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited