pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Villu Ruusmann <villu.ruusm...@gmail.com>
Subject Re: Problem changing Y coordinates
Date Tue, 29 Dec 2009 10:45:18 GMT
Hello there,

> I'm developing a software tool to adapt PDF documents.
> The idea is to copy all visible elements (text, images, etc.) from a source document
to a new document (destination) with a different page height than the original one.

You might want to take a look at chapter 14.11.2 "Page Boundaries" in
the PDF specification, which discusses the layout box model. Perhaps
it would suffice if you simply resize the MediaBox, and/or define
CropBox. PDFBox provides you a nice API for that (eg.


View raw message