Remove empty rows from table

0

Hello guys,

I am newbie at using JasperReports/iReport and i am facing a problem to inhibit empty lines in a table element.

I am currently using jasper with Java Beans and not in query style. My current version of iReport is 3.7.6.

My report fills up a questionary and for each question is possible to add an observation, but these are shown up only at the end of the report.

When the answer for the question does not have data in the observation field , i am making the number of the question present null data and i am defining the texts in the column with the options "Remove line when blank" and "Blank when null". I also have included in the table component the option to "Remove line when blank" but it does not make any difference.

The table where i am facing the problem is in detail band 3.

I don't know if the problem is related to the evaluation time to remove the row anything related.

Sorry about the poor english.

Hope I could make myself clear.

Thanks in advance,

Edmar

Code:
<?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 <a href="http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"" target="_blank">http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"</a> name="SupplierEvaluationReport" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="net.sf.jasperreports.print.keep.full.text" value="true"/>
	<style name="table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#D8D8D8">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<subDataset name="questionDataSet" whenResourceMissingType="Empty">
		<parameter name="GENERAL_OBSERVATIONS" class="java.lang.String"/>
		<queryString>
			<![CDATA[]]>
		</queryString>
		<field name="question.questionNumber" class="java.lang.Long"/>
		<field name="question.text" class="java.lang.String"/>
		<field name="observations" class="java.lang.String"/>
		<field name="value" class="java.lang.Double"/>
		<field name="notApplicable" class="java.lang.Boolean"/>
	</subDataset>
	<parameter name="REPORT_TITLE" class="java.lang.String">
		<defaultValueExpression><![CDATA["Formulário de Avaliação de Fornecedores"]]></defaultValueExpression>
	</parameter>
	<parameter name="IMG_LOGO_TOPO" class="java.awt.Image"/>
	<parameter name="CLIENT_NAME" class="java.lang.String"/>
	<parameter name="CLIENT_SITE_FULL_NAME" class="java.lang.String"/>
	<parameter name="SUPPLIER_NAME" class="java.lang.String"/>
	<parameter name="PROCESS_TYPE" class="java.lang.String"/>
	<parameter name="PROCESS_IDENTIFIER" class="java.lang.String"/>
	<parameter name="GENERAL_EVALUATION" class="java.lang.String"/>
	<parameter name="GENERAL_OBSERVATIONS" class="java.lang.String"/>
	<parameter name="ANSWERS_DATA_SOURCE" class="net.sf.jasperreports.engine.JRDataSource" isForPrompting="false"/>
	<parameter name="OBSERVATIONS_DATA_SOURCE" class="net.sf.jasperreports.engine.JRDataSource" isForPrompting="false"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<pageHeader>
		<band height="60" splitType="Stretch">
			<frame>
				<reportElement mode="Opaque" x="0" y="2" width="555" height="48" forecolor="#FFFFFF" backcolor="#D8D8D8"/>
				<textField>
					<reportElement x="0" y="14" width="453" height="20"/>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
						<font fontName="Arial" size="14" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$P{REPORT_TITLE}]]></textFieldExpression>
				</textField>
				<image hAlign="Center" vAlign="Middle" isUsingCache="true">
					<reportElement mode="Opaque" x="453" y="0" width="102" height="48" backcolor="#FFFFFF"/>
					<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"/>
					<graphicElement>
						<pen lineWidth="0.0"/>
					</graphicElement>
					<imageExpression class="java.awt.Image"><![CDATA[$P{IMG_LOGO_TOPO}]]></imageExpression>
				</image>
			</frame>
		</band>
	</pageHeader>
	<detail>
		<band height="145" splitType="Stretch">
			<componentElement>
				<reportElement key="table" style="table" x="0" y="85" width="555" height="50" isPrintWhenDetailOverflows="true"/>
				<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components <a href="http://jasperreports.sourceforge.net/xsd/components.xsd">" target="_blank">http://jasperreports.sourceforge.net/xsd/components.xsd"></a>
					<datasetRun subDataset="questionDataSet">
						<dataSourceExpression><![CDATA[$P{ANSWERS_DATA_SOURCE}]]></dataSourceExpression>
					</datasetRun>
					<jr:columnGroup width="430">
						<jr:columnHeader style="table_CH" height="25" rowSpan="1">
							<box>
								<topPen lineWidth="0.5"/>
								<leftPen lineWidth="0.5"/>
								<bottomPen lineWidth="0.5"/>
								<rightPen lineWidth="0.5"/>
							</box>
							<staticText>
								<reportElement x="0" y="0" width="430" height="25"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Arial" size="11" isBold="true"/>
								</textElement>
								<text><![CDATA[Critérios de Avaliação]]></text>
							</staticText>
						</jr:columnHeader>
						<jr:column width="70">
							<jr:detailCell style="table_TD" height="21" rowSpan="1">
								<textField>
									<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="70" height="20" isPrintWhenDetailOverflows="true"/>
									<textElement textAlignment="Center" verticalAlignment="Middle">
										<font fontName="Arial"/>
									</textElement>
									<textFieldExpression class="java.lang.Long"><![CDATA[$F{question.questionNumber}]]></textFieldExpression>
								</textField>
							</jr:detailCell>
						</jr:column>
						<jr:column width="360">
							<jr:detailCell style="table_TD" height="21" rowSpan="1">
								<textField isStretchWithOverflow="true" pattern="">
									<reportElement x="0" y="0" width="360" height="20" isPrintWhenDetailOverflows="true"/>
									<textElement verticalAlignment="Middle" markup="html">
										<font fontName="Arial"/>
									</textElement>
									<textFieldExpression class="java.lang.String"><![CDATA[$F{question.text}]]></textFieldExpression>
								</textField>
							</jr:detailCell>
						</jr:column>
					</jr:columnGroup>
					<jr:columnGroup width="120">
						<jr:columnHeader style="table_CH" height="25" rowSpan="1">
							<box>
								<topPen lineWidth="0.5"/>
								<leftPen lineWidth="0.5"/>
								<bottomPen lineWidth="0.5"/>
								<rightPen lineWidth="0.5"/>
							</box>
							<staticText>
								<reportElement x="0" y="0" width="120" height="25"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Arial" size="11" isBold="true"/>
								</textElement>
								<text><![CDATA[Avaliação]]></text>
							</staticText>
						</jr:columnHeader>
						<jr:column width="120">
							<jr:detailCell style="table_TD" height="21" rowSpan="1">
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.5"/>
									<bottomPen lineWidth="0.5"/>
									<rightPen lineWidth="0.5"/>
								</box>
								<textField>
									<reportElement mode="Transparent" x="1" y="1" width="21" height="18" isPrintWhenDetailOverflows="true" backcolor="#FFFFFF"/>
									<box>
										<topPen lineWidth="0.5"/>
										<leftPen lineWidth="0.5"/>
										<bottomPen lineWidth="0.5"/>
										<rightPen lineWidth="0.5"/>
									</box>
									<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
										<font fontName="Arial" size="10" isBold="true"/>
									</textElement>
									<textFieldExpression class="java.lang.String"><![CDATA[$F{value} != null && $F{value} == 1d && !$F{notApplicable} ? "X" : ""]]></textFieldExpression>
								</textField>
								<textField>
									<reportElement mode="Transparent" x="25" y="1" width="21" height="18" isPrintWhenDetailOverflows="true" backcolor="#FFFFFF"/>
									<box>
										<topPen lineWidth="0.5"/>
										<leftPen lineWidth="0.5"/>
										<bottomPen lineWidth="0.5"/>
										<rightPen lineWidth="0.5"/>
									</box>
									<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
										<font fontName="Arial" size="10" isBold="true"/>
									</textElement>
									<textFieldExpression class="java.lang.String"><![CDATA[$F{value} != null && $F{value} == 0.66d && !$F{notApplicable} ? "X" : ""]]></textFieldExpression>
								</textField>
								<textField>
									<reportElement mode="Transparent" x="49" y="1" width="21" height="18" isPrintWhenDetailOverflows="true" backcolor="#FFFFFF"/>
									<box>
										<topPen lineWidth="0.5"/>
										<leftPen lineWidth="0.5"/>
										<bottomPen lineWidth="0.5"/>
										<rightPen lineWidth="0.5"/>
									</box>
									<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
										<font fontName="Arial" size="10" isBold="true"/>
									</textElement>
									<textFieldExpression class="java.lang.String"><![CDATA[$F{value} != null && $F{value} == 0.33d && !$F{notApplicable} ? "X" : ""]]></textFieldExpression>
								</textField>
								<textField>
									<reportElement mode="Transparent" x="73" y="1" width="21" height="18" isPrintWhenDetailOverflows="true" backcolor="#FFFFFF"/>
									<box>
										<topPen lineWidth="0.5"/>
										<leftPen lineWidth="0.5"/>
										<bottomPen lineWidth="0.5"/>
										<rightPen lineWidth="0.5"/>
									</box>
									<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
										<font fontName="Arial" size="10" isBold="true"/>
									</textElement>
									<textFieldExpression class="java.lang.String"><![CDATA[$F{value} != null && $F{value} == 0.1d && !$F{notApplicable} ? "X" : ""]]></textFieldExpression>
								</textField>
								<textField>
									<reportElement mode="Transparent" x="97" y="1" width="21" height="18" isPrintWhenDetailOverflows="true" backcolor="#FFFFFF"/>
									<box>
										<topPen lineWidth="0.5"/>
										<leftPen lineWidth="0.5"/>
										<bottomPen lineWidth="0.5"/>
										<rightPen lineWidth="0.5"/>
									</box>
									<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
										<font fontName="Arial" size="10" isBold="true"/>
									</textElement>
									<textFieldExpression class="java.lang.String"><![CDATA[$F{notApplicable} ? "X" : ""]]></textFieldExpression>
								</textField>
							</jr:detailCell>
						</jr:column>
					</jr:columnGroup>
				</jr:table>
			</componentElement>
			<frame>
				<reportElement x="0" y="0" width="430" height="75"/>
				<box>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="60" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Cliente:]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="15" width="60" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Fornecedor:]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="30" width="60" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Local:]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="45" width="60" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Processo:]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="60" width="85" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Nº do Processo:]]></text>
				</staticText>
				<textField>
					<reportElement mode="Opaque" x="60" y="0" width="370" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$P{CLIENT_NAME}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="60" y="15" width="370" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$P{SUPPLIER_NAME}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="60" y="30" width="370" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$P{CLIENT_SITE_FULL_NAME}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="60" y="45" width="370" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$P{PROCESS_TYPE}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="85" y="60" width="246" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$P{PROCESS_IDENTIFIER}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="331" y="60" width="39" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Data:]]></text>
				</staticText>
				<textField>
					<reportElement mode="Opaque" x="370" y="60" width="60" height="15" backcolor="#D8D8D8"/>
					<box leftPadding="2" rightPadding="2">
						<topPen lineWidth="0.5"/>
						<leftPen lineWidth="0.5"/>
						<bottomPen lineWidth="0.5"/>
						<rightPen lineWidth="0.5"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format(System.currentTimeMillis())]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement x="431" y="0" width="119" height="75"/>
				<staticText>
					<reportElement mode="Opaque" x="1" y="0" width="21" height="73" backcolor="#D8D8D8"/>
					<box leftPadding="0" bottomPadding="2">
						<topPen lineWidth="0.5" lineStyle="Solid"/>
						<leftPen lineWidth="0.5" lineStyle="Solid"/>
						<bottomPen lineWidth="0.5" lineStyle="Solid"/>
						<rightPen lineWidth="0.5" lineStyle="Solid"/>
					</box>
					<textElement verticalAlignment="Middle" rotation="Left">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Ótimo]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="25" y="0" width="21" height="73" backcolor="#D8D8D8"/>
					<box leftPadding="0" bottomPadding="2">
						<topPen lineWidth="0.5" lineStyle="Solid"/>
						<leftPen lineWidth="0.5" lineStyle="Solid"/>
						<bottomPen lineWidth="0.5" lineStyle="Solid"/>
						<rightPen lineWidth="0.5" lineStyle="Solid"/>
					</box>
					<textElement verticalAlignment="Middle" rotation="Left">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Bom]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="49" y="0" width="21" height="73" backcolor="#D8D8D8"/>
					<box leftPadding="0" bottomPadding="2">
						<topPen lineWidth="0.5" lineStyle="Solid"/>
						<leftPen lineWidth="0.5" lineStyle="Solid"/>
						<bottomPen lineWidth="0.5" lineStyle="Solid"/>
						<rightPen lineWidth="0.5" lineStyle="Solid"/>
					</box>
					<textElement verticalAlignment="Middle" rotation="Left">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Ruim]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="73" y="0" width="21" height="73" backcolor="#D8D8D8"/>
					<box leftPadding="0" bottomPadding="2">
						<topPen lineWidth="0.5" lineStyle="Solid"/>
						<leftPen lineWidth="0.5" lineStyle="Solid"/>
						<bottomPen lineWidth="0.5" lineStyle="Solid"/>
						<rightPen lineWidth="0.5" lineStyle="Solid"/>
					</box>
					<textElement verticalAlignment="Middle" rotation="Left">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[Péssimo]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="97" y="0" width="21" height="73" backcolor="#D8D8D8"/>
					<box leftPadding="0" bottomPadding="2">
						<topPen lineWidth="0.5" lineStyle="Solid"/>
						<leftPen lineWidth="0.5" lineStyle="Solid"/>
						<bottomPen lineWidth="0.5" lineStyle="Solid"/>
						<rightPen lineWidth="0.5" lineStyle="Solid"/>
					</box>
					<textElement verticalAlignment="Middle" rotation="Left">
						<font fontName="Arial"/>
					</textElement>
					<text><![CDATA[N/A]]></text>
				</staticText>
			</frame>
		</band>
		<band height="30">
			<textField>
				<reportElement x="431" y="0" width="119" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Arial"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{GENERAL_EVALUATION}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="0" width="70" height="20"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Arial"/>
				</textElement>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="70" y="0" width="361" height="20"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Arial"/>
				</textElement>
				<text><![CDATA[AVALIAÇÃO GERAL]]></text>
			</staticText>
		</band>
		<band height="70" splitType="Stretch">
			<componentElement>
				<reportElement key="table 1" style="table" x="0" y="0" width="555" height="60" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
				<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components <a href="http://jasperreports.sourceforge.net/xsd/components.xsd">" target="_blank">http://jasperreports.sourceforge.net/xsd/components.xsd"></a>
					<datasetRun subDataset="questionDataSet">
						<datasetParameter name="GENERAL_OBSERVATIONS">
							<datasetParameterExpression><![CDATA[$P{GENERAL_OBSERVATIONS}]]></datasetParameterExpression>
						</datasetParameter>
						<dataSourceExpression><![CDATA[$P{OBSERVATIONS_DATA_SOURCE}]]></dataSourceExpression>
					</datasetRun>
					<jr:column width="70">
						<jr:tableFooter style="table_TD" height="20" rowSpan="1"/>
						<jr:columnHeader style="table_CH" height="20" rowSpan="1">
							<staticText>
								<reportElement x="0" y="0" width="70" height="20"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Arial"/>
								</textElement>
								<text><![CDATA[Item]]></text>
							</staticText>
						</jr:columnHeader>
						<jr:detailCell style="table_TD" height="20" rowSpan="1">
							<textField isBlankWhenNull="true">
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="70" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Arial"/>
								</textElement>
								<textFieldExpression class="java.lang.Long"><![CDATA[$F{observations} != null && $F{observations} != "" ? $F{question.questionNumber} : null]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="480">
						<jr:tableFooter style="table_TD" height="20" rowSpan="1">
							<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
								<reportElement x="0" y="0" width="480" height="20" isPrintWhenDetailOverflows="true"/>
								<textElement verticalAlignment="Middle">
									<font fontName="Arial"/>
								</textElement>
								<textFieldExpression class="java.lang.String"><![CDATA[$P{GENERAL_OBSERVATIONS} != null && $P{GENERAL_OBSERVATIONS} != "" ? $P{GENERAL_OBSERVATIONS} : null]]></textFieldExpression>
							</textField>
						</jr:tableFooter>
						<jr:columnHeader style="table_CH" height="20" rowSpan="1">
							<staticText>
								<reportElement x="0" y="0" width="480" height="20"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Arial"/>
								</textElement>
								<text><![CDATA[Observações / Recomendações]]></text>
							</staticText>
						</jr:columnHeader>
						<jr:detailCell style="table_TD" height="20" rowSpan="1">
							<textField isStretchWithOverflow="true" isBlankWhenNull="true">
								<reportElement x="0" y="0" width="480" height="20" isPrintWhenDetailOverflows="true"/>
								<textElement verticalAlignment="Middle">
									<font fontName="Arial"/>
								</textElement>
								<textFieldExpression class="java.lang.String"><![CDATA[$F{observations} != null && $F{observations} != "" ? $F{observations} : null]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
				</jr:table>
			</componentElement>
		</band>
	</detail>
	<pageFooter>
		<band height="15" splitType="Stretch">
			<textField>
				<reportElement x="414" y="0" width="80" height="14"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression class="java.lang.String"><![CDATA[" "+$V{PAGE_NUMBER}+" - "]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement x="494" y="0" width="61" height="14"/>
				<textElement/>
				<textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
</jasperReport>
</td></tr></tbody></table>
edmarmoreno's picture
Joined: Aug 24 2011 - 2:41pm
Last seen: 2 years 12 months ago

Answers:

No answers yet
Feedback
randomness