public class PDFCloneUtility extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PDFCloneUtility(PDDocument dest)
Creates a new instance for the given target document.
|
| Modifier and Type | Method and Description |
|---|---|
<TCOSBASE extends COSBase> |
cloneForNewDocument(TCOSBASE base)
Deep-clones the given object for inclusion into a different PDF document identified by the destination parameter.
|
protected PDFCloneUtility(PDDocument dest)
dest - the destination PDF document that will receive the clonespublic <TCOSBASE extends COSBase> TCOSBASE cloneForNewDocument(TCOSBASE base) throws IOException
TCOSBASE - The type to be returned.base - the initial object as the root of the deep-clone operationIOException - if an I/O error occursCopyright © 2002–2026 The Apache Software Foundation. All rights reserved.