[
https://issues.apache.org/jira/browse/PDFBOX-4511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815724#comment-16815724
]
Luiz commented on PDFBOX-4511:
------------------------------
I see. I already verify if a field name already exists, but that check is
outside pdfbox. I think others users can do the same.
About workaround: I know it is risky, but we use it for a couple of years and
until now only one pdf resulted in a weird parser. Besides,
the default and complete parser is still avaiable, i only created a few new
types of parser for signature, following a enum type.
We use it because we only want to get the structures related with signatures,
we dont need all pds parsed in memory. Ex: We dont need to parser an image or
text of a large pdf to generate a signature.
If you agree, i can open an issue describing all the details about this parser
and add a patch about it.
Thanks!
> Add name to signature field
> ---------------------------
>
> Key: PDFBOX-4511
> URL: https://issues.apache.org/jira/browse/PDFBOX-4511
> Project: PDFBox
> Issue Type: Improvement
> Components: Signing
> Affects Versions: 2.0.14
> Reporter: Luiz
> Priority: Major
> Labels: patch
> Attachments: field_name.jpg, signatureFieldName.patch
>
>
> I've implemented an adjust to add signature field name on method
> {code:java}
> addSignature(PDSignature sigObject, SignatureInterface signatureInterface,
> SignatureOptions options){code}
> Only add if PDSignature contains a name.
> Adobe Reader shows the name as you can see in field_name.jpg.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]