pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher So" <chr...@necaonline.com>
Subject RE: Copy pages
Date Fri, 12 Dec 2014 16:27:14 GMT
Hi Maruan,
Ultimately what I want to do is merge two pdf documents together but
intersplice the pages with each other. So for example page 1 of document 1
would go first, then page 1 of document 2, then page 2 of document 2, then
page 2 of document 1, and so on. I want to copy each page individually and
put them into a new document in a customized order.

-----Original Message-----
From: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] 
Sent: Friday, December 12, 2014 11:12 AM
To: users@pdfbox.apache.org
Subject: Re: Copy pages

Hi,

what would you like to do with the copy/cloned page?

There is PDDocument.importPage as a start. But other ways should be used
e.g. if you'd like to superimpose a page above another .

BR
Maruan

Am 12.12.2014 um 16:55 schrieb Christopher So <chriss@necaonline.com>:

> Hi all,
> 
> I was wondering how to copy or clone a page using pdfbox. Thanks in
advance!
> 



Mime
View raw message