Error inport a pdf file

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
dkaip
I live to help wx-kind
I live to help wx-kind
Posts: 189
Joined: Wed Jan 20, 2010 1:15 pm

Error inport a pdf file

Postby dkaip » Tue Jun 26, 2018 10:41 am

Importing a pdf file i take errors...

13:19:29: wxPdfParser::SetupDecryptor: Unknown encryption type (4).
13:19:29: wxPdfParser::SetupDecryptor: Unsupported V value.
13:19:29: wxPdfDocument::SetSourceFile: Parser creation failed.

I just upload a pdf file with extension txt because server dont except pad files.

YThank you
Jim
Attachments
1.txt
(166.69 KiB) Downloaded 8 times

utelle
Moderator
Moderator
Posts: 823
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Error inport a pdf file

Postby utelle » Tue Jun 26, 2018 1:59 pm

dkaip wrote:Importing a pdf file i take errors...

13:19:29: wxPdfParser::SetupDecryptor: Unknown encryption type (4).
13:19:29: wxPdfParser::SetupDecryptor: Unsupported V value.
13:19:29: wxPdfDocument::SetSourceFile: Parser creation failed.

I just upload a pdf file with extension txt because server dont except pad files.

Your sample PDF file is encrypted with encryption method AESV2 (symbol in wxPdfDocument: wxPDF_ENCRYPTION_AESV2) (corresponding to V(ersion)=4 and R(evision)=4). Although this method is supported by wxPdfDocument for encrypting new documents, it is currently not supported for parsing existing PDF documents, unfortunately. That is, wxPdfDocument is currently not able to import pages from such PDF documents.

Regards,

Ulrich


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 0 guests