You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Wolfgang S. Kechel" <wo...@prs.de> on 2008/07/23 08:53:46 UTC

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:wolfgang.kechel@prs.de
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


AW: pdfbox issues with media box

Posted by An...@rwe.com.
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:wolfgang.kechel@prs.de] 
Gesendet: Mittwoch, 23. Juli 2008 08:54
An: pdfbox-dev@incubator.apache.org
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:wolfgang.kechel@prs.de
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