Ciao a tutti,
come potrei fare per indentare il testo di un campo in un file jrxml?
Il tool iReport, basato sulla tecnologia Jasper Report, non mi permette di indentare un campo dinamicamente, ossia quando nella jsp è solo l'utente che può indentare il testo.
Ma se volessi indentarlo a prescindere dal fatto che l'utente lo faccia o meno?
La parte del file jrxml che mi interessa è:
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net...sperreport.xsd" name="report name" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<field name="corpo" class="java.lang.String"/>
<detail>
<band height="524">
<textField isStretchWithOverflow="true" hyperlinkType="None">
<reportElement x="0" y="309" width="555" height="215" isPrintWhenDetailOverflows="true"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{corpo}]]></textFieldExpression>
</textField>
</band>
</detail>
<summary>
<band/>
</summary>
</jasperReport>
Ad esempio come potrei fare per indentare il campo "corpo" quando non è indentato nella jsp?
Grazie![]()

Rispondi quotando