[
https://issues.apache.org/jira/browse/PDFBOX-5354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468474#comment-17468474
]
Mayur Kothiwala commented on PDFBOX-5354:
-----------------------------------------
Yes, i refereed {{CreateEmptySignatureForm.java}} example and try to load pdf
using PDDocument, initially it load successfully but unable to add empty
signature field. Now i made some changes and use PDAppearanceStream and
PDPageContentStream and it's working fine.
But still there is issue with my gradle. Getting this error, although i had
added dependencies in build.gradle file
*{color:#FF0000}the import org.apache.pdfbox cannot be resolved{color}*
> How to add empty signature field in existing PDF using pdfbox-3.0.0-RC1
> ------------------------------------------------------------------------
>
> Key: PDFBOX-5354
> URL: https://issues.apache.org/jira/browse/PDFBOX-5354
> Project: PDFBox
> Issue Type: Wish
> Components: AcroForm, Signing
> Reporter: Mayur Kothiwala
> Priority: Major
> Labels: help-requested, query, solution
>
> I want to add digital signature in existing PDF file. For that i just want to
> add empty signature field in pdf as per my desire location using Java. Once
> the new PDF file generated, we would apply digital signature externally by
> clicking on empty signature field which we design above.
> I found some source code but it's with new empty PDF and i want to add in
> existing pdf.
> Kindly provide some sample code.
> I have another query for gradle dependencies.
> how can i add dependencies in gradle, i already tried with this but it's not
> working
> compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '3.0.0-RC1'
> Kindly suggest correct way to declare dependancy.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]