Ah.  But the class is not visible. That is why I could not find it.

-----Original Message-----
From: Tilman Hausherr [mailto:[email protected]] 
Sent: Monday, September 21, 2015 12:17 PM
To: [email protected]
Subject: Re: Cloing a document in PDFBox 2

Am 21.09.2015 um 17:02 schrieb Kevin Ternes:
> This is related to a question from last week that I did not follow up on.
> For PDFBox 1.8, Tilman confirmed that the best way to clone a document was:
>
>        PDDocument targetPDDocument = new PDDocument();
>        PDFCloneUtility cloneUtility = new PDFCloneUtility(targetPDDocument);
>        cloneUtility.cloneForNewDocument(sourcePDDocument);
>
> Thank you, TIlman.  But wow would this be done in PDFBox 2?  I do not see the 
> PDFCloneUtility in PDFBox 2.0.0-SNAPSHOT.

It is in the package  org.apache.pdfbox.multipdf

Tilman


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to