Open die573 opened 1 month ago
Hi,
I am not familiar with the net.sf.jasperreports.export.pdf.bounding.box
configuration property. Where did you find it documented?
The official configuration reference is here: https://jasperreports.sourceforge.net/config.reference.html
Can you upload some JRXML and maybe some PDF that shows the problems you describe?
Thank you, Teodor
As said, here is a ZIP folder with a simple example I made to clarify the problems with images and tables. In addition, the resulting PDF and the screenshots of PAC result. In order for the image to be tagged properly, both, figure tag and alternative tag should be wrapped inside a paragraph. Also the table's border is another tagging related problem, since it isn't recognize nor as a character of certain language nor as a decorative image.
Thanks in advance
Example esempio_jasper_github.zip Pdf simpleEx.pdf
Structure
Table headers issue
Table path not tagged issue
Image bounding box not found issue
I have noticed that the exported PDF have structural problems related to accessibility with images and tables when reviewed with PAC or VeraPDF. In particular:
Figure element on a single page with no bounding box
I have tried wrapping the image into a frame element and setting the following property
<property name="net.sf.jasperreports.export.pdf.bounding.box" value="true"/>
but it doesn't consider it at all in the resulting structure.Table headers has no associated subcells
I have used the table element and the accessibilty tags related to it but still the TD rows doesn't result to be associated with their TH.
Also, could those issues be solved using the PDF Producer plugin based on iText7 (https://github.com/Jaspersoft/jasperreports-pdf-lib7) instead of iText2?