pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4511) Add name to signature field
Date Thu, 11 Apr 2019 19:06:00 GMT

    [ 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.


> 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
> 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

To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org

View raw message