Error adding 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 adding pdf file

Post by dkaip »

Hello.
I am trying to add file, and i have the results.
I am upload biz088_supplemental_file_s1.pdf file.
File is at ...

https://www.google.com/url?sa=t&rct=j&q ... 0mCA-Ace32

What i must do?
Thank you
Jim.

21:47:34: wxPdfParser::SetupDecryptor: Unknown encryption type (4).
21:47:34: wxPdfParser::SetupDecryptor: Unsupported V value.
21:47:34: wxPdfParser::SetupDecryptor: Import of document not allowed due to missing permissions.
21:47:34: wxPdfDocument::SetSourceFile: Parser creation failed.
utelle
Moderator
Moderator
Posts: 1125
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Error adding pdf file

Post by utelle »

dkaip wrote: Wed Jan 27, 2021 8:08 pm I am trying to add file, and i have the results.

21:47:34: wxPdfParser::SetupDecryptor: Unknown encryption type (4).
21:47:34: wxPdfParser::SetupDecryptor: Unsupported V value.
21:47:34: wxPdfParser::SetupDecryptor: Import of document not allowed due to missing permissions.
21:47:34: wxPdfDocument::SetSourceFile: Parser creation failed.

What i must do?
Well, at the moment there is nothing you can do to resolve the issue, unfortunately. Currently the class wxPdfParser does not support the encryption method used by the document you try to import.

Your uploaded document uses 128-bit AES encryption. wxPdfDocument supports this encryption method only for generating documents, but not for importing documents.
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 333
Joined: Wed Jan 20, 2010 1:15 pm

Re: Error adding pdf file

Post by dkaip »

I understand now.
Thank you.
Jim.
utelle
Moderator
Moderator
Posts: 1125
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Error adding pdf file

Post by utelle »

wxPdfDocument supports this encryption method only for generating documents, but not for importing documents.
This might change with a future release of wxPdfDocument, but it is still unclear if and when this will happen.
Post Reply