Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Sep 17, 2015 8:11 pm

Hello support,

I have a PDF/A file and would want to attach a cover letter onto it. The first file was saved as PDF/A to keep the signature on it. When I try to merge the 2 documents, I get this exception "Badly formed dictionary". Do you have any suggestion on resolving this?

Thank you.

janquin78
 
Posts: 9
Joined: Wed May 13, 2015 3:18 pm

Fri Sep 18, 2015 3:47 am

Hello,

Thanks for your inquiry.
Could you please offer us your sample 2 pdf documents?
It would be helpful to replicate the issue and work out the solution for you ASAP.
If the information is confidential, you can send it to us ( [email protected] ) via email.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Mon Sep 21, 2015 6:59 am

Hello,

How is the issue now?
If the issue still exists, could you please offer us your sample 2 pdf documents?
It would be helpful to replicate the issue and work out the solution for you ASAP.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Tue Sep 22, 2015 7:52 pm

Hello,

I can send you the sample files later. I have to get approval from our Compliance Department first as it is a legal document.

janquin78
 
Posts: 9
Joined: Wed May 13, 2015 3:18 pm

Tue Sep 22, 2015 9:26 pm

Hello support,

I tried to reproduce the issue with dummy documents and the same exception is thrown: "Badly formed dictionary next should be a name..."

In my routine, I tried to merge these 2 documents (attached).

Your assistance on this matter is greatly appreciated.

janquin78
 
Posts: 9
Joined: Wed May 13, 2015 3:18 pm

Wed Sep 23, 2015 1:37 am

Hello,

Thanks for your information.
I have noticed your issue. And I have posted the issue to our dev team. We will inform you when it is fixed. Sorry for the inconvenience.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Fri Sep 25, 2015 3:31 pm

Hello support,

Any resolution to this post?

Thanks

janquin78
 
Posts: 9
Joined: Wed May 13, 2015 3:18 pm

Mon Sep 28, 2015 6:23 am

Hello,

Thanks for your reply.
Our dev team is doing some investigation about this issue.
We need some time to fix the issue regarding it's complexity. Once the issue is resolved or there is any progress, we will let you know ASAP.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Mon Sep 28, 2015 1:28 pm

Thank you.

janquin78
 
Posts: 9
Joined: Wed May 13, 2015 3:18 pm

Thu Oct 29, 2015 7:55 am

Hi,

Thanks for waiting.
This issue has been resolved, but there is another issue that the signature in merged document is not same as source document's(attached screenshot).
Our dev team will continue to fix it.
We just released a new version(Spire.PDF Pack(Hot Fix) Version:3.5.143) which fixed the issue, not include signature issue.
The downloading link is http://www.e-iceblue.com/Download/downl ... t-now.html.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3011
Joined: Wed Jun 27, 2012 8:50 am

Mon Jan 25, 2016 7:12 pm

Hello Support,

Just want to check if there's a complete solution on this issue? The ultimate goal is to be able to merge the pdf files and keep the signature intact.

Let me know of any updates. My boss asked me of the status. Thank you.

janquin78
 
Posts: 9
Joined: Wed May 13, 2015 3:18 pm

Tue Jan 26, 2016 5:46 am

Hi,

Sorry for the delayed update. Our dev team is fixing it. We will tell you immediately when it is resolved, and then provide you new version.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3011
Joined: Wed Jun 27, 2012 8:50 am

Wed Jan 27, 2016 7:37 am

Hi,

Our dev team finished the investigation for the signature issue. The signature in your original PDF/A file is in accordance with PDF/A standard. Because your two documents has one is in common PDF standard and the other is in PDF/A standard, we made the merged document is in common PDF standard, and the signature as below is in accordance with common PDF standard, so the result is fine when it is in common PDF standard.
common.png


If the merged document is in PDF/A standard, the signatrue will keep original PDF/A standard as below.
original.png


To keep original signature intact, the merged document must be in PDF/A standard. Please tell us whether you can accept the merged document is in PDF/A standard or not. If you can, we will do some modification to make the merged document is in PDF/A standard.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3011
Joined: Wed Jun 27, 2012 8:50 am

Thu Jan 28, 2016 1:49 pm

Hello Amy,

Thank you for your quick response. Yes, PDF/A Standard is fine, as long as the signature is visible in the document.

janquin78
 
Posts: 9
Joined: Wed May 13, 2015 3:18 pm

Fri Jan 29, 2016 1:58 am

Hi,

Thanks for your reply.
Please add the line
Code: Select all
 doc.Conformance = PdfConformanceLevel.Pdf_A1B
before saving.
Code: Select all
 PdfDocumentBase doc = PdfDocument.MergeFiles(files);
            doc.Conformance = PdfConformanceLevel.Pdf_A1B;
            doc.Save(outputFile, FileFormat.PDF);


Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3011
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF

cron