I am using JasperReport to generate tagged PDFs.
I create JRXML templates and fill in the dynamic values programmatically and generate PDFs.
The images in the PDF are tagged as Image which is not a standard tag.
I want to change the Image tag to Figure tag.
The tool we use to present the PDF to user requires Figure tag to be compatible with screen reader. It does not support role mapping.
Is there any library like Apache PDFBox, iText, OpenPDF that can be used to change the tag?