It's trivial to get the other boxes. To get the art box, for example:
PdfReader reader = ...;
PdfDictionary page = reader.getPageN(1);
PdfArray artBox = (PdfArray)PdfReader.getPdfObject(page.get(PdfName.ARTBOX));
Rectangle rect = null;
if (artBox != null)
rect = PdfReader.getNormalizedRectangle(artBox);
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Henning Vortisch
> Sent: Thursday, December 02, 2004 1:03 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] (no subject)
>
> I need to know the trim-, crop-, bleed and artbox of an
> imported page for an
> impostion-programm for pdf. I saw getCropBox in PdfReader.
> Is it planned, to implement the other Boxes in the PdfReader,
> PdfPage and
> PdfImportedPage?
>
> The Boxes above are characteristics of visual pages.
> So programming for me would be more easy, if a
> PdfImportedPage would have
> these members.
> Same with PdfPage.
>
> I would programm this for you, if you think this will be good
> for itext.
> I don't know the code very well because I use itext as black box.
> So I think to change PdfReader, PdfImportedPage and PdfPage and some
> constants will cost half an hour for you.
> I will need one ore more days because I don't know the
> details of itext and
> have to inspect the code very well.
>
>
> mit freundlichen Grüßen
>
> Henning Vortisch
>
> Voigt Druck GmbH | Henning Vortisch
> tel 05371 985515 | fax 05371 985550
> email [EMAIL PROTECTED]
>
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions