phnxck Posted May 8, 2012 Share Posted May 8, 2012 Hi All,I have to prepare some reports that are compliant with PDF/A1a level. I need to create custom tags. In general the difference between PDF/A1b and PDF/A1a is that the second one is 'tagged'. There are some standard tags like Paragraphs or Lists but there should also be a possibility to write own, custom tags. And here is the question, how can I achieve this using JasperReports or iReport?The farest I made is to set some extra parameters for the exporter: exporter.setParameter(JRPdfExporterParameter.PDFA_CONFORMANCE, JRPdfExporterParameter.PDFA_CONFORMANCE_1A);exporter.setParameter(JRPdfExporterParameter.IS_TAGGED, Boolean.TRUE);exporter.setParameter(JRPdfExporterParameter.PDFA_ICC_PROFILE_PATH, ICC_PROFILE); I have completely no idea how to mark some fileds in the report with my custom tags. Please help.Post Edited by phnxck at 05/08/2012 13:00 Link to comment Share on other sites More sharing options...
maartenvd84 Posted August 17, 2012 Share Posted August 17, 2012 I have the exact same question. I know you can add tags such as "h1" by defining a property "net.sf.jasperreports.export.pdf.tag.h1" as "null" ... but I'd like to add custom properties as well.Anyone?Kind regards,Maarten Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now