|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for PDF corretors.
Often PDF documents generated by various document to PDF converters have an invalid structure that upsets PDF-AS. The correction mechanism allows these documents to be corrected before being signed.
A PDF corrector takes an incorrect PDF document and transforms it into a correct one.
Note that correcting a document destroys all signatures in that document, so never correct an already signed document.
| Method Summary | |
PdfDataSource |
correctDocument(PdfDataSource document)
Corrects the given PDF document to a form that PDF-AS can use. |
| Method Detail |
public PdfDataSource correctDocument(PdfDataSource document)
throws CorrectorException
document - The (incorrect) PDF document.
CorrectorException - Exception thrown if the document couldn't be corrected.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||