public class DestinationResolverCopyFilter extends Object implements ICopyFilter
Constructor and Description |
---|
DestinationResolverCopyFilter(PdfDocument fromDocument, PdfDocument targetDocument)
Initilazes a copy filter that will set all needed information aside to handle objects with a page destination after all pages are copied.
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldProcess(PdfObject newParent, PdfName name, PdfObject value)
Verifies whether a PdfObject should be copied in the copying flow.
|
public DestinationResolverCopyFilter(PdfDocument fromDocument, PdfDocument targetDocument)
fromDocument
- the PdfDocument
the pages are copied from
targetDocument
- the PdfDocument
the pages are copied to
public boolean shouldProcess(PdfObject newParent, PdfName name, PdfObject value)
ICopyFilter
shouldProcess
in interface ICopyFilter
newParent
- the parent in the target of the PdfObject to be checked
name
- the name of the PdfObject if the parent is a PdfDictionary
value
- the PdfObject toi be checked
Copyright © 1998–2022 iText Group NV. All rights reserved.