Global styling preference doesn't work?

Hello There 

I am using jasper reports library 6.17.0 to make nice dfp files wich is lovely)

After lates update I have faced with rectangle border issue - the border became visible (the border was here always but was invisible because overlaping).

 <band height="20" splitType="Prevent">
   <reportElement style="alternateRow" stretchType="RelativeToBandHeight" x="0" y="0" width="539" height="20"/>
  <textField isBlankWhenNull="true" pattern="d MMM yyyy">

pens still overlaped partyally but visible. Note that my 'alternateRow' styling is not a reason, it do not draw any pens, just overlap the rectabgle's ones.

I really want to make it invisible. I can do it easely for certain report like:

 <reportElement style="alternateRow" stretchType="RelativeToBandHeight" x="0" y="0" width="539" height="20"/>
 <graphicElement >
  <pen lineWidth="0.0"/>

but I need to do it globally since I have a lot of smulat templates. As I understood the :

property is exactly what i need (docs: but can not set it globally.

I have tried to put it into file - no luck (note that other jasper props from thatfile applies correctly)

I have tried to set it programmatically in java code like:

var exporter = new JRPdfExporter();
exporter.setExporterOutput(new SimpleOutputStreamExporterOutput(exportOutput));
SimplePdfExporterConfiguration conf = new SimplePdfExporterConfiguration();
exporter.getExporterContext().setValue(, "0.0");
exporter.getExporterContext().getJasperReportsContext().setProperty(, "0.0" );

No affect!

Eventyally I have put it into JRXML file directly:

<property name="" value="0.0"/>
Doesn't help.
Dear support, could you please let me know what I am doing wrong?

artyom's picture
Joined: Jul 1 2021 - 3:29am
Last seen: 7 months 2 hours ago

0 Answers:

No answers yet