PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed Apr 25, 2018 1:07 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Fri May 06, 2016 7:57 pm 
Offline

Joined: Fri May 06, 2016 6:40 pm
Posts: 1
Howdy,

I have a fillable, editable PDF that has an owner password. I can fill it in Adobe Reader and export it, and I can also use iTextSharp with unethicalReading set to true and then fill the PDF just fine, but with PDFsharp I always get the "we don't support this encryption" message.

Is there a way to edit/fill PDFs that have the owner's password set?

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Sat May 07, 2016 7:28 am 
Offline
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 358
Location: CCAA
Hi!
adabada wrote:
Is there a way to edit/fill PDFs that have the owner's password set?
Yes - if the encryption scheme is supported.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 10, 2017 7:48 pm 
Offline

Joined: Mon Jan 09, 2017 8:12 pm
Posts: 2
I get a different error in this same use case. I get "Header checksum illegal".

I don't want to edit the document, just fill the form via our application. The document does not have a user password, just an owner password. This prevents PdfSharp from even opening the document so I cannot fill the form.

I have tried all the PdfDocumentOpenModes and get the same error on the line executing PdfReader.Open.


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 11, 2017 8:59 am 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2810
Location: Cologne, Germany
kevin.gregg wrote:
I get a different error in this same use case. I get "Header checksum illegal".
Different error, different problem.
No simple solution yet, but maybe a workaround.
See also:
viewtopic.php?f=3&t=3276&hilit=header+checksum#p9700

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 14, 2018 8:52 am 
Offline

Joined: Wed Jan 24, 2018 5:33 pm
Posts: 8
Hi, I believe I have a similar issue. I cannot read a PDF (PDFREADER returns blank pages), nor to draw on it.

the URL to the PDF: http://mayafiles.tase.co.il/RPdf/556001 ... 907-00.pdf

when trying to draw i get - PdfSharp.SharpZipLib.SharpZipBaseException: 'Header checksum illegal'
when trying to save, i get - cannot save a pdf with no pages, although the pagecount is 2.

will glad to know if there is a solution.

many thanks in advance.


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 14, 2018 9:36 am 
Offline
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 302
rogdo wrote:
Hi, I believe I have a similar issue. I cannot read a PDF (PDFREADER returns blank pages), nor to draw on it.
Different error, different problem.
No simple solution yet, but maybe a workaround.
See also:
viewtopic.php?f=3&t=3276&hilit=header+checksum#p9700
viewtopic.php?f=2&t=832

_________________
Ă–hmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group