pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramesh Shrestha <rameshp...@gmail.com>
Subject Re: How to identify PDF Portfolio?
Date Fri, 11 Sep 2015 07:51:56 GMT
Hi

I have tried following code snippet


*    PDDocument pdfDocument = new PDDocument();*
*    pdfDocument = PDDocument.load(inputPDF);*
*    PDDocumentCatalog cat = pdfDocument.getDocumentCatalog();*

But I am not able to find /Collection entry. Can you help me to find that
entry?

Thanks
Ramesh

On Fri, Sep 11, 2015 at 1:06 PM, Maruan Sahyoun <sahyoun@fileaffairs.de>
wrote:

> Hi,
>
> > Am 11.09.2015 um 08:42 schrieb Ramesh Shrestha <rameshpasa@gmail.com>:
> >
> > Hi,
> >
> > Is it possible to identify whether PDF is PDF Portfolio or not?
> >
>
> you could check if the Document Catalog dictionary contains a /Collection
> entry.
>
> BR
> Maruan
>
>
> > Thanks,
> > Ramesh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>


-- 
pasa

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message