[ 
https://issues.apache.org/jira/browse/PDFBOX-3310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cyril Bremaud updated PDFBOX-3310:
----------------------------------
    Description: 
First of all congratulation for the new version!

With PDFBox 1.8.x I was able to re-write the addSignature() function in order 
to sign in an existing empty visible signature field.
When I wanted to redo the same with this new version, I failed because the 
setter COSDocument.setSignatureInterface() does not exist anymore and I found 
no way to set the signature interface without re-writing a ton of Java classes.

Now I may have a clean solution: make some attributes protected in PDDocument 
in order to extend it and override some functions.

You may have a better idea.
Thank you.


  was:
First of all congratulation for the new version!

With PDFBox 1.8.x I was able to re-write the addSignature() function in order 
to sign in an existing empty visible signature field.
When I wanted to redo the same with this new version, I failed because the 
setter COSDocument.setSignatureInterface() does not exist anymore and I found 
no way to set the signature interface without re-writing a ton of Java classes.

Now I may have a clean solution: make some attributes protected in PDDocument 
in order to extend the object and override some functions.

You may have a better idea.
Thank you.



> Unable re-write PDDocument.addSignature()
> -----------------------------------------
>
>                 Key: PDFBOX-3310
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3310
>             Project: PDFBox
>          Issue Type: Wish
>          Components: Signing
>    Affects Versions: 2.0.0
>            Reporter: Cyril Bremaud
>            Priority: Minor
>             Fix For: 2.0.1, 2.1.0
>
>
> First of all congratulation for the new version!
> With PDFBox 1.8.x I was able to re-write the addSignature() function in order 
> to sign in an existing empty visible signature field.
> When I wanted to redo the same with this new version, I failed because the 
> setter COSDocument.setSignatureInterface() does not exist anymore and I found 
> no way to set the signature interface without re-writing a ton of Java 
> classes.
> Now I may have a clean solution: make some attributes protected in PDDocument 
> in order to extend it and override some functions.
> You may have a better idea.
> Thank you.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to