| Modifier and Type | Field and Description |
|---|---|
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | addFontFromWidget(PDResources
AcroForm default resources, should not be null. acroFormResources, PDAnnotation annotation, should not be null. annotation)Add font resources from the widget to the AcroForm to make sure embedded fonts are being used and not added by ensureFontResources potentially using a fallback font. |
| private void | |
| private void | handleAnnotations(PDAcroForm acroForm, PDResources acroFormResources, List<PDField> fields, List<PDAnnotation> annotations, Map<String, PDField> nonTerminalFieldsMap)
|
| public void | |
| private void | |
| private PDField | resolveNonRootField(PDAcroForm acroForm, COSDictionary parent, Map<String, PDField> nonTerminalFieldsMap)
|
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| AcroFormOrphanWidgetsProcessor | back to summary |
|---|---|
| public AcroFormOrphanWidgetsProcessor(PDDocument document) | |
| addFontFromWidget | back to summary |
|---|---|
| private void addFontFromWidget(PDResources acroFormResources, PDAnnotation annotation) Add font resources from the widget to the AcroForm to make sure embedded fonts are being used and not added by ensureFontResources potentially using a fallback font.
| |
| ensureFontResources | back to summary |
|---|---|
| private void ensureFontResources(PDResources defaultResources, PDVariableText field) | |
| handleAnnotations | back to summary |
|---|---|
| private void handleAnnotations(PDAcroForm acroForm, PDResources acroFormResources, List<PDField> fields, List<PDAnnotation> annotations, Map<String, PDField> nonTerminalFieldsMap) | |
| process | back to summary |
|---|---|
| public void process() Implements org.
| |
| resolveFieldsFromWidgets | back to summary |
|---|---|
| private void resolveFieldsFromWidgets(PDAcroForm acroForm) | |
| resolveNonRootField | back to summary |
|---|---|
| private PDField resolveNonRootField(PDAcroForm acroForm, COSDictionary parent, Map<String, PDField> nonTerminalFieldsMap) | |