Error inport a pdf file

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 333
Joined: Wed Jan 20, 2010 1:15 pm

Error inport a pdf file

Post by dkaip »

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 136 times
utelle
Moderator
Moderator
Posts: 1125
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Error inport a pdf file

Post by utelle »

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
Post Reply