Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 4 Aktuelle »

globe with meridians Language: Deutsch · English

open book Tips and tricks

Practical JasperReports recipes – SVG background, removing UUIDs and links to more tips.

REFERENZ APPLICATION DEVELOPER UPDATED: JUL 2026 APPLIES TO NUCLOS 4.2026.X

On this page

Small, field-tested recipes around JasperReports in Nuclos. More tips: Formatting, Styles, QR code and DataMatrix.

SVG as background

An SVG (as a Nuclos String (Large Object)) can be rendered as a background image. Pure SVG/XML only – no embedded raster graphics!

<background>
  <band height="845">
    <image>
      <reportElement mode="Transparent" x="1" y="0" width="530" height="845"/>
      <imageExpression class="net.sf.jasperreports.engine.JRRenderable">net.sf.jasperreports.renderers.BatikRenderer.getInstance($F{teststring}.getBytes())</imageExpression>
    </image>
  </band>
</background>

Transparency

For transparency replace in SQL: replace(text, "opacity:", "fill-opacity:").

Remove UUIDs from the JRXML

The JasperReports API 3.5.2 used in Nuclos does not accept UUIDs. If a JRXML contains UUIDs (e.g. from the wrong iReport version), search and remove them with a regular expression:

uuid="[^"]*"

Cause

Also occurs in iReport 5.6.0 compatibility mode; iReport 4.8.0 does not create UUID tags in compatibility mode.

Related pages

clipboard Formatting


Formatting.

Open →

printer Styles


Styles.

Open →

open book QR code


Barcodes.

Open →

  • Keine Stichwörter