Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34B39172E9 for ; Fri, 11 Sep 2015 07:52:11 +0000 (UTC) Received: (qmail 33765 invoked by uid 500); 11 Sep 2015 07:52:10 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 33738 invoked by uid 500); 11 Sep 2015 07:52:10 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 33725 invoked by uid 99); 11 Sep 2015 07:52:10 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2015 07:52:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2D60A180424 for ; Fri, 11 Sep 2015 07:52:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id h9dkN8GiONff for ; Fri, 11 Sep 2015 07:52:04 +0000 (UTC) Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id CE55D42B46 for ; Fri, 11 Sep 2015 07:52:03 +0000 (UTC) Received: by vkao3 with SMTP id o3so10202263vka.2 for ; Fri, 11 Sep 2015 00:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VU1wSgd4wn92suba4UA9asm5g/46ABH/Sny8pIgIwuA=; b=YfjoZ3NR7zs1SierJhC8zON/3Cv6C1cqkPjEu3bZgqKo0WicyVvILOgCR3edb0V+9T /byFkn+dfrjQYDqGNj15bcWu0esTEjNgUoqS17CqR33nhzqHNVG6Q3iLXxRcyatNKDcP RactyRvpHBvWGGUcZXaVx5aosXw1K19niK4BvnJ87+CXODAq1wDuTzkiVM6LC2DbuiLx RVyjBp9lr7GM83fyQ89CoPyOXY7bUdOnGDqpyqcLWIZKKtD4IOzIKp8u7VP2245FIzzN nK3SxTDq/N/QS3M2rvPPKaLSSNhes/22D6IIbtJocQ8zbJlZzzAUESOXiiWPdyUDx13v 0Kxw== MIME-Version: 1.0 X-Received: by 10.31.134.193 with SMTP id i184mr3392928vkd.64.1441957916920; Fri, 11 Sep 2015 00:51:56 -0700 (PDT) Received: by 10.103.42.4 with HTTP; Fri, 11 Sep 2015 00:51:56 -0700 (PDT) In-Reply-To: References: Date: Fri, 11 Sep 2015 13:36:56 +0545 Message-ID: Subject: Re: How to identify PDF Portfolio? From: Ramesh Shrestha To: users@pdfbox.apache.org Content-Type: multipart/alternative; boundary=001a114115e66b4ea6051f73fd1b --001a114115e66b4ea6051f73fd1b Content-Type: text/plain; charset=UTF-8 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 wrote: > Hi, > > > Am 11.09.2015 um 08:42 schrieb Ramesh Shrestha : > > > > 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 --001a114115e66b4ea6051f73fd1b--