pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sipin Verma <sipinverm...@gmail.com>
Subject Re: How to use pdfviewer in liferay portlet to see a pdf
Date Thu, 13 Sep 2012 11:08:34 GMT
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, <jlonc@gi-bon.sk> 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 <sipinverma16@gmail.com>
> 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*
>
>

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