Skip to content

Commit 0fa6c97

Browse files
committed
Use non deprecated attribute
1 parent e21c5ee commit 0fa6c97

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

dynamicreports-core-for-grid-exporter/src/test/resources/software/xdev/dynamicreports/test/jasper/subreport/detailsubreport.jrxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parameter name="MASTER_REPORT_PARAMETERS" class="software.xdev.dynamicreports.report.definition.ReportParameters"/>
99
<title>
1010
<band height="16">
11-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
11+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
1212
<reportElement key="title.textField1" style="style_2_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
1313
<textElement/>
1414
<textFieldExpression class="java.lang.String"><![CDATA["Subreport" + $P{MASTER_REPORT_PARAMETERS}.getReportRowNumber()]]></textFieldExpression>
@@ -17,7 +17,7 @@
1717
</title>
1818
<detail>
1919
<band height="16">
20-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
20+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
2121
<reportElement key="detail.column_simpleExpression_0_1" style="style_2_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
2222
<textElement/>
2323
<textFieldExpression class="java.lang.String"><![CDATA[$P{MASTER_REPORT_PARAMETERS}.getReportRowNumber() + "_" + $V{REPORT_COUNT}]]></textFieldExpression>

dynamicreports-core-for-grid-exporter/src/test/resources/software/xdev/dynamicreports/test/jasper/subreport/subreport1.jrxml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<field name="column1" class="java.lang.String"/>
1010
<title>
1111
<band height="16">
12-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
12+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
1313
<reportElement key="title.textField1" style="style_22_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
1414
<textElement/>
1515
<textFieldExpression class="java.lang.String"><![CDATA["Subreport" + $P{MASTER_REPORT_PARAMETERS}.getReportRowNumber()]]></textFieldExpression>
@@ -18,7 +18,7 @@
1818
</title>
1919
<columnHeader>
2020
<band height="16">
21-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
21+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
2222
<reportElement key="columnHeader.column_column1.title1" style="style_22_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
2323
<textElement/>
2424
<textFieldExpression class="java.lang.String"><![CDATA["Column1"]]></textFieldExpression>
@@ -27,7 +27,7 @@
2727
</columnHeader>
2828
<detail>
2929
<band height="16">
30-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
30+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
3131
<reportElement key="detail.column_column11" style="style_22_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
3232
<textElement textAlignment="Left"/>
3333
<textFieldExpression class="java.lang.String"><![CDATA[$F{column1}]]></textFieldExpression>

dynamicreports-core-for-grid-exporter/src/test/resources/software/xdev/dynamicreports/test/jasper/subreport/subreport2.jrxml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<field name="column2" class="java.lang.String"/>
1111
<title>
1212
<band height="16">
13-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
13+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
1414
<reportElement key="title.textField1" style="style_27_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
1515
<textElement/>
1616
<textFieldExpression class="java.lang.String"><![CDATA["Subreport" + $P{MASTER_REPORT_PARAMETERS}.getReportRowNumber()]]></textFieldExpression>
@@ -21,12 +21,12 @@
2121
<band height="16">
2222
<frame>
2323
<reportElement key="columnHeader.list1" positionType="Float" x="0" y="0" width="575" height="16"/>
24-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
24+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
2525
<reportElement key="columnHeader.column_column1.title1" style="style_27_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="287" height="16"/>
2626
<textElement/>
2727
<textFieldExpression class="java.lang.String"><![CDATA["Column1"]]></textFieldExpression>
2828
</textField>
29-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
29+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
3030
<reportElement key="columnHeader.column_column2.title1" style="style_27_" positionType="Float" stretchType="RelativeToTallestObject" x="287" y="0" width="288" height="16"/>
3131
<textElement/>
3232
<textFieldExpression class="java.lang.String"><![CDATA["Column2"]]></textFieldExpression>
@@ -38,12 +38,12 @@
3838
<band height="16">
3939
<frame>
4040
<reportElement key="detail.list1" positionType="Float" x="0" y="0" width="575" height="16"/>
41-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
41+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
4242
<reportElement key="detail.column_column11" style="style_27_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="287" height="16"/>
4343
<textElement textAlignment="Left"/>
4444
<textFieldExpression class="java.lang.String"><![CDATA[$F{column1}]]></textFieldExpression>
4545
</textField>
46-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
46+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
4747
<reportElement key="detail.column_column21" style="style_27_" positionType="Float" stretchType="RelativeToTallestObject" x="287" y="0" width="288" height="16"/>
4848
<textElement textAlignment="Left"/>
4949
<textFieldExpression class="java.lang.String"><![CDATA[$F{column2}]]></textFieldExpression>

dynamicreports-core-for-grid-exporter/src/test/resources/software/xdev/dynamicreports/test/jasper/subreport/subreport3.jrxml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<field name="column3" class="java.lang.String"/>
1212
<title>
1313
<band height="16">
14-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
14+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
1515
<reportElement key="title.textField1" style="style_33_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
1616
<textElement/>
1717
<textFieldExpression class="java.lang.String"><![CDATA["Subreport" + $P{MASTER_REPORT_PARAMETERS}.getReportRowNumber()]]></textFieldExpression>
@@ -22,17 +22,17 @@
2222
<band height="16">
2323
<frame>
2424
<reportElement key="columnHeader.list1" positionType="Float" x="0" y="0" width="575" height="16"/>
25-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
25+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
2626
<reportElement key="columnHeader.column_column1.title1" style="style_33_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="191" height="16"/>
2727
<textElement/>
2828
<textFieldExpression class="java.lang.String"><![CDATA["Column1"]]></textFieldExpression>
2929
</textField>
30-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
30+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
3131
<reportElement key="columnHeader.column_column2.title1" style="style_33_" positionType="Float" stretchType="RelativeToTallestObject" x="191" y="0" width="192" height="16"/>
3232
<textElement/>
3333
<textFieldExpression class="java.lang.String"><![CDATA["Column2"]]></textFieldExpression>
3434
</textField>
35-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
35+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
3636
<reportElement key="columnHeader.column_column3.title1" style="style_33_" positionType="Float" stretchType="RelativeToTallestObject" x="383" y="0" width="192" height="16"/>
3737
<textElement/>
3838
<textFieldExpression class="java.lang.String"><![CDATA["Column3"]]></textFieldExpression>
@@ -44,17 +44,17 @@
4444
<band height="16">
4545
<frame>
4646
<reportElement key="detail.list1" positionType="Float" x="0" y="0" width="575" height="16"/>
47-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
47+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
4848
<reportElement key="detail.column_column11" style="style_33_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="191" height="16"/>
4949
<textElement textAlignment="Left"/>
5050
<textFieldExpression class="java.lang.String"><![CDATA[$F{column1}]]></textFieldExpression>
5151
</textField>
52-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
52+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
5353
<reportElement key="detail.column_column21" style="style_33_" positionType="Float" stretchType="RelativeToTallestObject" x="191" y="0" width="192" height="16"/>
5454
<textElement textAlignment="Left"/>
5555
<textFieldExpression class="java.lang.String"><![CDATA[$F{column2}]]></textFieldExpression>
5656
</textField>
57-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
57+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
5858
<reportElement key="detail.column_column31" style="style_33_" positionType="Float" stretchType="RelativeToTallestObject" x="383" y="0" width="192" height="16"/>
5959
<textElement textAlignment="Left"/>
6060
<textFieldExpression class="java.lang.String"><![CDATA[$F{column3}]]></textFieldExpression>

dynamicreports-core-for-grid-exporter/src/test/resources/software/xdev/dynamicreports/test/jasper/subreport/subreport4.jrxml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
<parameter name="parameter5" class="java.lang.String"/>
1111
<summary>
1212
<band height="48">
13-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
13+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
1414
<reportElement key="summary.textField1" style="style_22_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
1515
<textElement/>
1616
<textFieldExpression class="java.lang.String"><![CDATA[$P{parameter3}]]></textFieldExpression>
1717
</textField>
18-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
18+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
1919
<reportElement key="summary.textField2" style="style_22_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="16" width="575" height="16"/>
2020
<textElement/>
2121
<textFieldExpression class="java.lang.String"><![CDATA[$P{MASTER_REPORT_PARAMETERS}.getValue("parameter4")]]></textFieldExpression>
2222
</textField>
23-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
23+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
2424
<reportElement key="summary.textField3" style="style_22_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="32" width="575" height="16"/>
2525
<textElement/>
2626
<textFieldExpression class="java.lang.String"><![CDATA[$P{parameter5}]]></textFieldExpression>

dynamicreports-core-for-grid-exporter/src/test/resources/software/xdev/dynamicreports/test/jasper/subreport/titlesubreport.jrxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<field name="field1" class="java.lang.String"/>
1010
<columnHeader>
1111
<band height="16">
12-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
12+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
1313
<reportElement key="columnHeader.column_field1.title1" style="style_21_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
1414
<textElement/>
1515
<textFieldExpression class="java.lang.String"><![CDATA["Column1"]]></textFieldExpression>
@@ -18,7 +18,7 @@
1818
</columnHeader>
1919
<detail>
2020
<band height="16">
21-
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
21+
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
2222
<reportElement key="detail.column_field11" style="style_21_" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="16"/>
2323
<textElement textAlignment="Left"/>
2424
<textFieldExpression class="java.lang.String"><![CDATA[$F{field1}]]></textFieldExpression>

0 commit comments

Comments
 (0)