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 fromtargetDocument
- the PdfDocument
the pages are copied topublic boolean shouldProcess(PdfObject newParent, PdfName name, PdfObject value)
ICopyFilter
shouldProcess
in interface ICopyFilter
newParent
- the parent in the target of the PdfObject to be checkedname
- the name of the PdfObject if the parent is a PdfDictionaryvalue
- the PdfObject toi be checkedCopyright © 1998–2023 Apryse Group NV. All rights reserved.