public final class PdfUA2FormChecker extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PdfUA2FormChecker.PdfUA2FormTagHandler
Handler for checking form field elements in the tag tree.
|
| Constructor and Description |
|---|
PdfUA2FormChecker(PdfUAValidationContext validationContext)
Creates a new
PdfUA2FormChecker instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFormFields(PdfDictionary form)
Verifies the conformity of the document Acroform dictionary.
|
void |
checkFormStructElement(IStructureNode elem)
Checks "Form" structure element.
|
void |
checkWidgetAnnotations(PdfDocument document)
Verifies the conformity of the widget annotation present in the document.
|
public PdfUA2FormChecker(PdfUAValidationContext validationContext)
PdfUA2FormChecker instance.validationContext - the validation contextpublic void checkWidgetAnnotations(PdfDocument document)
Checks that each widget annotation is either Form structure element or an Artifact; if label for a widget annotation is not present or an additional action (AA) entry is present, Contents entry is provided.
document - the PdfDocument to check widgets frompublic void checkFormFields(PdfDictionary form)
Checks that each widget annotation is either Form structure element or an Artifact; if label for a widget
annotation is not present or an additional action (AA) entry is present, Contents entry is provided;
text field RV and V values are textually equal.
form - the form PdfDictionary to be checkedpublic void checkFormStructElement(IStructureNode elem)
elem - structure element to checkPdfUAConformanceException - if document has incorrect tag structure for Form tagCopyright © 1998–2025 Apryse Group NV. All rights reserved.