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–2025 The Apache Software Foundation. All rights reserved.