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 A6D5D9EED for ; Thu, 13 Sep 2012 11:09:44 +0000 (UTC) Received: (qmail 79824 invoked by uid 500); 13 Sep 2012 11:09:44 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 79796 invoked by uid 500); 13 Sep 2012 11:09:44 -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 79783 invoked by uid 99); 13 Sep 2012 11:09:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 11:09:43 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sipinverma16@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 11:09:38 +0000 Received: by weyu3 with SMTP id u3so1921060wey.21 for ; Thu, 13 Sep 2012 04:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=YZDIohsBZ7jkb5YI02B5SY8gTQgnJ1dnf92YUXNVKtM=; b=Ho7dHufMyAGZk6WmywvU/SdvUUvjvfKgpEw5SmLooiehXAjNXtYW/hHXU0JUiUupe5 PY83aOVlvdKFb8L1eGGE330mIG0+JOzxUjcMO3spJplNUOsRMqHgANxG3CM1FtmA3GzI l4FjDin5FPsy9g/lLKCKgt4A3blpFlmgS967NymZ+D3jplD1Yhw8a2cvIR6NCwiYsULs E+RRYVHaV5tgizks7Am0b1A8Cexlex15VANB06QM7Ks6p4UK8rVigRWiTvaZPNa2x6nk BCzt1S9zZ2cd8T+R/C601DUWNUpTjGgpzzZwjj5GseVW0+A92LZn0TSe2IGfIG1bLqLV JpRQ== Received: by 10.216.197.162 with SMTP id t34mr1143338wen.5.1347534556985; Thu, 13 Sep 2012 04:09:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.54.200 with HTTP; Thu, 13 Sep 2012 04:08:34 -0700 (PDT) In-Reply-To: References: From: Sipin Verma Date: Thu, 13 Sep 2012 16:38:34 +0530 Message-ID: Subject: Re: How to use pdfviewer in liferay portlet to see a pdf To: users@pdfbox.apache.org Content-Type: multipart/alternative; boundary=0016e6d64b2a977a9304c993569a X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d64b2a977a9304c993569a Content-Type: text/plain; charset=UTF-8 ok. Thanks for your reply. I have 2 options to read pdf files. 1) from document library 2) from some other server Suppose I have the pdf download link then how can I feed this link to pdf box so that it opens it in my portlet page. On Thu, Sep 13, 2012 at 4:32 PM, wrote: > Hi Sipin, > > portlet is not able to open file from your local machine. > portlet has access to server files only. > > so you have to make portlet where user can upload some pdf file, then > portlet can process that file (and then use pdfbox) > > > Best regards > Juraj Lonc > > > > > > From: Sipin Verma > To: users@pdfbox.apache.org, > Date: 13. 09. 2012 12:56 > Subject: How to use pdfviewer in liferay portlet to see a pdf > > > > Hi , > > My requirement is to open a pdf document from my local machine hard disk > or > from a online available pdf link in my liferay portlet. > I am looking into PDFBox but I am not able to understand how to start. > What > APIs I should use to open a pdf document in my portlet. > > Can anyone help me with some sample code or directions to use pdfviewer > for > opening a pdf in browser. > > *Sipin Verma* > > --0016e6d64b2a977a9304c993569a--