Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6DE1B200C88 for ; Fri, 19 May 2017 05:57:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6C323160BC4; Fri, 19 May 2017 03:57:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B3052160BB5 for ; Fri, 19 May 2017 05:57:58 +0200 (CEST) Received: (qmail 90878 invoked by uid 500); 19 May 2017 03:57:52 -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 90862 invoked by uid 99); 19 May 2017 03:57:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2017 03:57:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B9096C061C for ; Fri, 19 May 2017 03:57:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.629 X-Spam-Level: ** X-Spam-Status: No, score=2.629 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PleZQ7J_8kMf for ; Fri, 19 May 2017 03:57:50 +0000 (UTC) Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9C64C5F4A9 for ; Fri, 19 May 2017 03:57:50 +0000 (UTC) Received: by mail-qt0-f176.google.com with SMTP id v27so49792150qtg.2 for ; Thu, 18 May 2017 20:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=fahXVosMyi83olOj99UJ7h2I1kj2dcTQW6Oc4gVKHhc=; b=WVu7dFwdG6FvVpL/h3fmigRIiHSk1xw54evk4nS6gFtYR0g7NHzBau0O3nVbkcQWSS DX8IwEfUCYJtsE6b4jzRpB/w+raAWD3339aBOodrfFokX5zCIyeaSZNQ2hXN8Dxn91Tz 19LCs/5hxsatu4VAbhCGek6SVFAyhVU9JNmCu+41S4Y3RHBQzoVjZ0GSZfQNDoVktmxb boOAXnuzMDw3MvYgPovNQsNTp+5kN24Z3PB+0Z4XPwjHpb0jBmmGM5z0czuy6f+ywL2Z HAwXDNCfc5/yw882Ec38cBE4oSB1gWkrXiy3PIRFLWFyr+1nSXypTL4tjljTUCEUPe+0 sQ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=fahXVosMyi83olOj99UJ7h2I1kj2dcTQW6Oc4gVKHhc=; b=d9Y68Kx7S+hgTSdFRnZU4r47jPx+yQXZmVBWCnmHvAEOLAv8zDLgHKPABymcCTQywS L9fYvO1hP6eGkSBwNADoKxLk/Iv134Fid77wnh8s0hjqwZbTTOiyRBRq2EFT0DvQ1MA/ cRQ+chXJZqyp8ysh8pMx0vZqCu/AlLGwRR3w6FlaX2zwGhTUFzKpW5MZ7gZS24Lpsrwp o0lXKFNgq8RGofTh+T0apITRxaWgb6/eogjPr4eTjB+ncpJHr4wzg0w/Vt3hgpwOTjmo hhw3tR8bTcMCgkP4ptjGryMXw/6RN7yZb8S4YypaRo6nKo+zKkFn4/J2sNef8jhUh737 fORw== X-Gm-Message-State: AODbwcDDTEVAP6/szz3RDqu2kPrB6av6spOcjK0gU/t7vb2WeNmOrpxN 1DePrvkx0Zz9pCw4wLf7UxyEPaNEQg== X-Received: by 10.200.57.103 with SMTP id t36mr6692564qtb.291.1495166270135; Thu, 18 May 2017 20:57:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.156.73 with HTTP; Thu, 18 May 2017 20:57:49 -0700 (PDT) In-Reply-To: References: From: karthick g Date: Fri, 19 May 2017 09:27:49 +0530 Message-ID: Subject: Re: Linearized dictionary To: users@pdfbox.apache.org Content-Type: multipart/alternative; boundary="001a113f286c6966c1054fd88652" archived-at: Fri, 19 May 2017 03:57:59 -0000 --001a113f286c6966c1054fd88652 Content-Type: text/plain; charset="UTF-8" Hi, * I need to Check whether my PDF file is Linearized or not, for fast view web. * In the previous version (1.8.2) of PDFBox Linearized is in the COSName. I will get the COSDictionary and check whether Linearized is available in the COSName and conclude the PDF is suited for fast web view. Now Linearized keyword is not in the List of COSName. How can I get the Linearized dictionary in PDFBox. Please let me know if you need more details. Regards, Karthick G On Thu, May 18, 2017 at 9:17 AM, karthick g wrote: > Hi team, > > I am a long time user of PDFBox. We starts to migrate pdfbox from 1.8.2 to > 2.0.5. > During migration I found that Linearized dictionary moved to preflight > jar. > I created the PDDocument based on preflight context which is returning > null. > Since the PDDocument is null I can't proceed further. What is the right > way to > get Lineraized dictionary in the current version of PDFBox . Please guide > me. > Please let me know if you need more details. > > Regards, > Karthick G > > > > --001a113f286c6966c1054fd88652--