pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sharki Chacko <sharki.cha...@gmail.com>
Subject Re: Question on working with encrypted PDF file using PDFBox
Date Wed, 02 Dec 2015 17:41:08 GMT
Version is 1.8.9.

Here is the  method used to load document,

public void OpenDocument(string path)
{
if (_document != null)
{
_document.close();
}
_document = PDDocument.load(path);
}

Let me know if you have any other question.

Thanks,
Sharki

On Wed, Dec 2, 2015 at 12:36 PM, Tilman Hausherr <THausherr@t-online.de>
wrote:

> What version are you using? What method are you using to load the file?
>
> Tilman
>
>
> Am 02.12.2015 um 18:10 schrieb Sharki Chacko:
>
>> Hi
>>>
>>> I have an encrypted PDF file without a password. The
>>> statement, (PDPage)_document.getDocumentCatalog().getAllPages() returns
>>> null because of that. I just want to know what else I can try to get the
>>> pages of the encrypted PDF file?
>>>
>>> Thanks,
>>> Sharki
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

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