I'm trying Aspose.Words for Java, and I have a problem with the PDF that I'm getting.
I can't sign the PDF file with Acrobat Reader.
If I see the file properties in Acrobat Reader, I can see that the signature is not permitted. Is it possible to change this property when I'm transforming the Word file to PDF? Do I need another module Aspose?
Thanks for your inquiry. I tested the scenario with Aspose.Words for Java 13.12.0 by executing the following simple code and was not able to observe this problem on my side. The screenshot is attached which was captured when this .pdf was opened with Adobe Acrobat X v10.1.2. In the attached out.pdf, could you please clarify where the issue is?
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.writeln(“A paragraph is written”);
doc.save(“c:\temp\out.pdf”);
This doesn’t seem to be a problem in Aspose.Words as it correctly mimics the behavior of Microsoft Word i.e. the problem can still be observed in Adobe Reader when you open Microsoft Word generated Pdf document with it.
Secondly, it could be that Adobe Reader doesn’t show the value of “Signing” as “Allowed” because it can only read the content and can’t modify/sign Pdf documents whereas with Adobe Acrobat you can sign Pdf documents and modify their content. I am moving your thread in Aspose.Pdf forum where you’ll be guided appropriately.
Aspose.Pdf for .NET provides the feature to apply/update/remove security constraints over the PDF file. However in recent release version, we have observed that PDF signing feature is not being enabled when using the following code snippet. For the sake of correction, I have logged this problem
as PDFNEWNET-36397 in our issue tracking system. We will further
look into the details of this problem and will keep you updated on the status
of correction. Please be patient and spare us little time. We are sorry for
this inconvenience.
We have further investigated the issue PDFNEWNET-36397 reported earlier and it does not seem to be a bug. Please note that Acrobat Standard edition only allows the user to add the form fill-in and save Reader extension. In order to add the digital signature Reader extension, you need to have Acrobat Pro. So in this case Signing property is always false while using Acrobat Reader.