PDF/A-1a
PDF/A-1a
Note: for PDF-A it is mandatory to work with styles
net.sf.jasperreports.export.pdfa.conformance
<property name="net.sf.jasperreports.export.pdfa.conformance" value="pdfa1a"/>
net.sf.jasperreports.export.pdfa.icc.profile.path
so that it also works locally in Jaspersoft Studio, the path is set via an expression
<propertyExpression name="net.sf.jasperreports.export.pdfa.icc.profile.path" evaluationTime="Report">
<![CDATA[
$P{USER_ID} == 0 ?
"/Public/Sources/PDFA_ICC/AdobeRGB1998.icc" :
"http://localhost/AdobeRGB1998.icc"
]]>
</propertyExpression>
Local Jaspersoft: /Public/Sources/PDFA_ICC/AdobeRGB1998.icc
the file must be stored in the local workspaceServer: http://localhost/AdobeRGB1998.icc
the file is already stored on our Jasper servers, so a reference is sufficient here