Hi all, 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. For each visible element in the source document, how can I get its Y coordinate and set a different Y coordinate in the destination document? For now, I've implemented a prototype by modifying PrintImageLocations.java and PrintTextLocations.java, but this approach seems too complicated for a simple copy. Thanks in advance. Carlos Antelo RodrÃguez.

