copyWith method
PdfMergeOptions
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,
Implementation
PdfMergeOptions 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,
}) {
return PdfMergeOptions(
mode: mode ?? this.mode,
importAnnotations: importAnnotations ?? this.importAnnotations,
importFormFields: importFormFields ?? this.importFormFields,
fieldNameConflict: fieldNameConflict ?? this.fieldNameConflict,
importBookmarks: importBookmarks ?? this.importBookmarks,
importNamedDestinations:
importNamedDestinations ?? this.importNamedDestinations,
importLayers: importLayers ?? this.importLayers,
importPageLabels: importPageLabels ?? this.importPageLabels,
importAttachments: importAttachments ?? this.importAttachments,
importXmpMetadata: importXmpMetadata ?? this.importXmpMetadata,
dropStructureTree: dropStructureTree ?? this.dropStructureTree,
copyDocumentInfoFromFirst:
copyDocumentInfoFromFirst ?? this.copyDocumentInfoFromFirst,
groupBookmarksPerDocument:
groupBookmarksPerDocument ?? this.groupBookmarksPerDocument,
rejectSignedSources: rejectSignedSources ?? this.rejectSignedSources,
keepInvalidSignatures:
keepInvalidSignatures ?? this.keepInvalidSignatures,
removeSignatureAppearance:
removeSignatureAppearance ?? this.removeSignatureAppearance,
deduplicateResources: deduplicateResources ?? this.deduplicateResources,
);
}