Hi Wolfgang, the latest version of the class org.pdfbox.pdmodel.PDPage contains all constants (PAGE_SIZE_AX )you are looking for. I guess you are using pdf 0.73 and have to upgrade to a newer version.
Mit freundlichen Grüßen Andreas Lehmkühler RWE IT GmbH Application Centre Downstream Solutions Customer Application Management (CHI-ADA) Huyssenallee 16-18, 45128 Essen T intern 70-21639 T extern +49 201 12-21639 F +49 201 12-24796 -----Ursprüngliche Nachricht----- Von: Wolfgang S. Kechel [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 23. Juli 2008 08:54 An: [email protected] Betreff: pdfbox issues with media box I have problems with missing constants in class PDPage: The PAGE_SIZE constants are missing for the A0-A6 formats. I'd also like to kearn how to figure out the page format of a document that yields an empty (null) getMediaBox(). Acrobat detects the page format properly. Please answer to my email directly since I do not have the chance to access the stuff on the apache website. Regards -- Wolfgang Kechel mailto:[EMAIL PROTECTED] Patzschke + Rasp Software GmbH http://www.prs.de Bierstadter Straße 7 Fax: +49-(0)611-1731-31 D-65189 Wiesbaden Phone: +49-(0)611-1731-611/+49-(0)174-3454260 ---------------------------------------------------------------- Geschaeftsfuehrung: Chittur Ramakrishnan, Dr. Berend Holst, Dr. Jens Hueffer, Georg K. Lambertz Sitz der Gesellschaft: Dortmund Eingetragen beim Amtsgericht Dortmund Handelsregister-Nr. HR B 21222 USt.-IdNr. DE 2588 96 719
