最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Jasper report table centralized on detail band - Stack Overflow

programmeradmin1浏览0评论

Hello i need to create a invoice , in the the invoice there is table that i chose to put on the detail band, and there table footer where i chose to put all the other details like total , taxe . but i have two problem. first the detail table is centralized on the detail and seems to take all the available space left . two when there is a lot of detail i want the table footer to go to next page only if there is one table details data going with it but right only the footer will go and there is enough space left plus there is a background the owner gave that contain text that i dont want to overlap. here is my code jrxml :

<jasperReport name="facture" language="java" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="27f9ae54-af0b-435b-8485-2d0ed490444c">
    <style name="Table_TH" mode="Opaque" backcolor="#DCA45C">
        <box>
            <pen lineWidth="0.5" lineColor="#000000"/>
            <topPen lineWidth="0.5" lineColor="#000000"/>
            <leftPen lineWidth="0.5" lineColor="#000000"/>
            <bottomPen lineWidth="0.5" lineColor="#000000"/>
            <rightPen lineWidth="0.5" lineColor="#000000"/>
        </box>
    </style>
    <style name="Table_CH" mode="Opaque" backcolor="rgba(240, 178, 96, 0.29803923)">
        <box>
            <pen lineWidth="0.5" lineColor="#000000"/>
            <topPen lineWidth="0.5" lineColor="#000000"/>
            <leftPen lineWidth="0.5" lineColor="#000000"/>
            <bottomPen lineWidth="0.5" lineColor="#000000"/>
            <rightPen lineWidth="0.5" lineColor="#000000"/>
        </box>
    </style>
    <style name="Table_TD" mode="Opaque" backcolor="rgba(173, 171, 170, 0.2)">
        <box>
            <pen lineWidth="0.5" lineColor="#000000"/>
            <topPen lineWidth="0.5" lineColor="#000000"/>
            <leftPen lineWidth="0.5" lineColor="#000000"/>
            <bottomPen lineWidth="0.5" lineColor="#000000"/>
            <rightPen lineWidth="0.5" lineColor="#000000"/>
        </box>
    </style>
    <style name="Table 1_TH" mode="Opaque" backcolor="rgba(232, 223, 207, 0.29803923)">
        <box>
            <pen lineWidth="0.5" lineColor="#D58F00"/>
            <topPen lineWidth="0.5" lineColor="#D58F00"/>
            <leftPen lineWidth="0.5" lineColor="#D58F00"/>
            <bottomPen lineWidth="0.5" lineColor="#D58F00"/>
            <rightPen lineWidth="0.5" lineColor="#D58F00"/>
        </box>
    </style>
    <style name="Table 1_CH" mode="Opaque" backcolor="rgba(239, 229, 216, 0.2)">
        <box>
            <pen lineWidth="0.5" lineColor="#D58F00"/>
            <topPen lineWidth="0.5" lineColor="#D58F00"/>
            <leftPen lineWidth="0.5" lineColor="#D58F00"/>
            <bottomPen lineWidth="0.5" lineColor="#D58F00"/>
            <rightPen lineWidth="0.5" lineColor="#D58F00"/>
        </box>
    </style>
    <style name="Table 1_TD" mode="Opaque" backcolor="rgba(220, 219, 221, 0.2)">
        <box>
            <pen lineWidth="0.5" lineColor="#D58F00"/>
            <topPen lineWidth="0.5" lineColor="#D58F00"/>
            <leftPen lineWidth="0.5" lineColor="#D58F00"/>
            <bottomPen lineWidth="0.5" lineColor="#D58F00"/>
            <rightPen lineWidth="0.5" lineColor="#D58F00"/>
        </box>
    </style>
    <style name="Table 2_TH" mode="Opaque" backcolor="#F0F8FF">
        <box>
            <pen lineWidth="0.5" lineColor="#000000"/>
            <topPen lineWidth="0.5" lineColor="#000000"/>
            <leftPen lineWidth="0.5" lineColor="#000000"/>
            <bottomPen lineWidth="0.5" lineColor="#000000"/>
            <rightPen lineWidth="0.5" lineColor="#000000"/>
        </box>
    </style>
    <style name="Table 2_CH" mode="Opaque" backcolor="#BFE1FF">
        <box>
            <pen lineWidth="0.5" lineColor="#000000"/>
            <topPen lineWidth="0.5" lineColor="#000000"/>
            <leftPen lineWidth="0.5" lineColor="#000000"/>
            <bottomPen lineWidth="0.5" lineColor="#000000"/>
            <rightPen lineWidth="0.5" lineColor="#000000"/>
        </box>
    </style>
    <style name="Table 2_TD" mode="Opaque" backcolor="rgba(196, 192, 189, 0.39607844)">
        <box>
            <pen lineWidth="0.5" lineColor="#000000"/>
            <topPen lineWidth="0.5" lineColor="#000000"/>
            <leftPen lineWidth="0.5" lineColor="#000000"/>
            <bottomPen lineWidth="0.5" lineColor="#000000"/>
            <rightPen lineWidth="0.5" lineColor="#000000"/>
        </box>
        <conditionalStyle backcolor="rgba(244, 193, 122, 0.10980392)">
            <conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
        </conditionalStyle>
    </style>
    <dataset name="factureDetails" uuid="a6314246-874a-442a-828c-1532e575be2c">
        <parameter name="total" class="java.lang.String"/>
        <query language="sql"><![CDATA[]]></query>
        <field name="conteneur_numero" class="java.lang.String"/>
        <field name="type" class="java.lang.String"/>
        <field name="localite_nom" class="java.lang.String"/>
        <field name="prix" class="java.lang.Integer"/>
        <field name="montantTotal" class="java.lang.Integer"/>
        <variable name="totalDetail" calculation="Sum" class="java.lang.Integer">
            <expression><![CDATA[$F{montantTotal}]]></expression>
        </variable>
    </dataset>
    <dataset name="Dataset1" uuid="5165646d-17fa-4804-b3ec-454563e3a7d3">
        <query language="sql"><![CDATA[]]></query>
        <field name="title" class="java.lang.String"/>
        <field name="value" class="java.lang.Integer"/>
    </dataset>
    <parameter name="numeroFacture" class="java.lang.String"/>
    <parameter name="dateFacture" class="java.lang.String"/>
    <parameter name="clientNom" class="java.lang.String"/>
    <parameter name="clientAdresse" class="java.lang.String"/>
    <parameter name="clientTelephone" class="java.lang.String"/>
    <parameter name="clientType" class="java.lang.String"/>
    <parameter name="prestataireNom" class="java.lang.String"/>
    <parameter name="prestataireTelephone" class="java.lang.String"/>
    <parameter name="detailFacture" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/>
    <parameter name="backgroundImage" class="java.awt.Image"/>
    <parameter name="totalLettre" class="java.lang.String"/>
    <parameter name="detailMontant" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/>
    <parameter name="dateToday" class="java.lang.String"/>
    <parameter name="transitaireEntreprise" class="java.lang.String"/>
    <parameter name="refBL" class="java.lang.String"/>
    <parameter name="compagnieNom" class="java.lang.String"/>
    <parameter name="compagnieTel" class="java.lang.String"/>
    <query language="sql"><![CDATA[]]></query>
    <background height="802" splitType="Stretch">
        <element kind="image" uuid="8dcbaf2e-8822-405f-9c06-13ff42d551b4" stretchType="ContainerBottom" x="0" y="0" width="555" height="802">
            <expression><![CDATA[$P{backgroundImage}]]></expression>
        </element>
        <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
        <property name="com.jaspersoft.studio.unit.height" value="px"/>
    </background>
    <title height="244" splitType="Stretch">
        <element kind="line" uuid="e2ab8674-fb72-47ba-a923-b7aa4c166d18" x="0" y="243" width="555" height="1" forecolor="#808080">
            <property name="com.jaspersoft.studio.unit.height" value="px"/>
            <pen lineWidth="4.0"/>
        </element>
        <element kind="frame" uuid="a06cc658-14f8-4b00-932a-bd38708de1ae" x="10" y="96" width="545" height="20">
            <element kind="textField" uuid="28657892-2b56-4b33-bcf3-9991e1765013" x="-10" y="-4" width="554" height="20" fontName="Lato" fontSize="14.0" bold="true" hTextAlign="Center">
                <expression><![CDATA["FACTURE TRANSPORT "+$P{numeroFacture}]]></expression>
            </element>
            <element kind="textField" uuid="fd2a5129-09a0-4678-8cd5-b20726e8210e" x="360" y="-27" width="184" height="20" fontName="Lato" fontSize="14.0" bold="true" hTextAlign="Right">
                <paragraph rightIndent="10"/>
                <expression><![CDATA[" "+$P{dateFacture}]]></expression>
                <property name="com.jaspersoft.studio.unit.rightIndent" value="px"/>
            </element>
            <element kind="textField" uuid="27d91184-69be-41e7-8742-5b2a574080b4" x="110" y="121" width="175" height="20" fontName="Lato" fontSize="14.0" bold="true" hTextAlign="Right">
                <expression><![CDATA[""]]></expression>
            </element>
            <element kind="textField" uuid="8640b45c-c6ae-4440-8537-426fff7004dd" x="400" y="127" width="135" height="20" fontName="Lato" fontSize="12.0" bold="true" hTextAlign="Right" vTextAlign="Middle">
                <paragraph rightIndent="10"/>
                <expression><![CDATA["BL : "+$P{refBL}]]></expression>
            </element>
        </element>
        <element kind="staticText" uuid="957df3a5-95b7-4591-915b-b46152b37387" x="0" y="120" width="120" height="20" fontName="Lato" bold="true">
            <paragraph leftIndent="10"/>
            <text><![CDATA[Client :]]></text>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
        </element>
        <element kind="textField" uuid="e185e3a4-3800-4344-872d-fd296f3a55e1" x="0" y="143" width="300" height="20" fontName="Lato" italic="true">
            <paragraph leftIndent="10"/>
            <expression><![CDATA[$P{clientNom}]]></expression>
            <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
        </element>
        <element kind="textField" uuid="7841a319-cf65-4832-86b0-1f76735d27c3" x="0" y="163" width="300" height="20" fontName="Lato" italic="true">
            <paragraph leftIndent="10"/>
            <expression><![CDATA[$P{clientAdresse}]]></expression>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
        </element>
        <element kind="textField" uuid="0b691675-4645-4a6c-9e74-f04b81169b1f" x="0" y="183" width="300" height="20" fontName="Lato" italic="true">
            <paragraph leftIndent="10"/>
            <expression><![CDATA[$P{clientTelephone}]]></expression>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
        </element>
        <element kind="textField" uuid="554f44e2-06ed-48df-97c0-ef5bbfa17f57" x="0" y="203" width="300" height="20" fontName="Lato" italic="true">
            <paragraph leftIndent="10"/>
            <expression><![CDATA[$P{clientType}]]></expression>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
        </element>
        <element kind="staticText" uuid="ef934c32-639c-4d66-b2b0-0110dc1d7a18" x="300" y="122" width="255" height="14" fontName="Lato" bold="true" hTextAlign="Right">
            <paragraph leftIndent="3" rightIndent="10"/>
            <text><![CDATA[Transitaire :]]></text>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.rightIndent" value="px"/>
        </element>
        <element kind="textField" uuid="33042f9c-4c0d-4044-9064-5603bda73fb2" x="300" y="136" width="255" height="14" fontName="Lato" italic="true" hTextAlign="Right">
            <paragraph leftIndent="10" rightIndent="10"/>
            <expression><![CDATA[$P{prestataireNom}]]></expression>
            <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.rightIndent" value="px"/>
        </element>
        <element kind="line" uuid="046dc4ec-66a9-412e-93f1-8586680d6c6c" x="0" y="116" width="555" height="1" forecolor="#808080">
            <property name="com.jaspersoft.studio.unit.height" value="px"/>
            <pen lineWidth="4.0"/>
        </element>
        <element kind="textField" uuid="b9c35343-4e35-4a73-8a82-40a2abceed3b" x="300" y="150" width="255" height="14" fontName="Lato" italic="true" hTextAlign="Right">
            <paragraph leftIndent="10" rightIndent="10"/>
            <expression><![CDATA[$P{prestataireTelephone}]]></expression>
            <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.rightIndent" value="px"/>
        </element>
        <element kind="textField" uuid="d401c04d-cf92-445f-ba4d-cdc823d1c3da" x="300" y="165" width="255" height="14" fontName="Lato" italic="true" hTextAlign="Right">
            <paragraph leftIndent="10" rightIndent="10"/>
            <expression><![CDATA[$P{transitaireEntreprise}]]></expression>
            <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.rightIndent" value="px"/>
        </element>
        <element kind="staticText" uuid="cd3b781a-e474-4827-8c86-3ede53b3bef6" x="300" y="178" width="255" height="14" fontName="Lato" bold="true" hTextAlign="Right">
            <paragraph leftIndent="3" rightIndent="10"/>
            <text><![CDATA[Compagnie : ]]></text>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.rightIndent" value="px"/>
        </element>
        <element kind="textField" uuid="3c8a4af3-ab99-4ce0-8c2f-498e837cb3c0" x="300" y="192" width="255" height="14" fontName="Lato" italic="true" hTextAlign="Right">
            <paragraph leftIndent="10" rightIndent="10"/>
            <expression><![CDATA[$P{compagnieNom}]]></expression>
            <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.rightIndent" value="px"/>
        </element>
        <element kind="textField" uuid="842a65e6-0f97-44be-9e91-4d081c1b9b42" x="300" y="206" width="255" height="14" fontName="Lato" italic="true" hTextAlign="Right">
            <paragraph leftIndent="10" rightIndent="10"/>
            <expression><![CDATA[$P{compagnieTel}]]></expression>
            <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.rightIndent" value="px"/>
        </element>
    </title>
    <detail>
        <band height="200" splitType="Immediate">
            <element kind="frame" uuid="f3589abb-0804-49b0-a5c5-7407a39ad988" x="0" y="0" width="555" height="200">
                <element kind="component" uuid="943fd550-cbe9-4a5f-ab64-b3c5f2cb7419" stretchType="ContainerHeight" x="0" y="0" width="555" height="200" printWhenDetailOverflows="true">
                    <component kind="table">
                        <datasetRun uuid="68d80980-63b8-4b05-91bf-dac09f9b7fa1" subDataset="factureDetails">
                            <dataSourceExpression><![CDATA[$P{detailFacture}]]></dataSourceExpression>
                        </datasetRun>
                        <tableHeader/>
                        <column kind="single" uuid="b6347e09-15fc-427d-b904-caac0e9566ee" width="151">
                            <columnHeader height="20" rowSpan="1" style="Table 1_CH">
                                <element kind="staticText" uuid="8b71f407-1a41-459d-86ff-29110ed8fa4c" stretchType="NoStretch" x="0" y="0" width="151" height="20" fontName="Lato" bold="true" hTextAlign="Left" vTextAlign="Middle">
                                    <text><![CDATA[Conteneur]]></text>
                                </element>
                            </columnHeader>
                            <detailCell height="20" style="Table 1_TD">
                                <element kind="textField" uuid="02fa6ab7-5071-4448-af40-6f55ee50b62e" stretchType="NoStretch" x="0" y="0" width="151" height="20" fontName="Lato" fontSize="12.0" italic="true" hTextAlign="Left" vTextAlign="Middle">
                                    <expression><![CDATA[$F{conteneur_numero}]]></expression>
                                </element>
                            </detailCell>
                            <property name="com.jaspersoft.studioponents.table.model.column.name" value="Column1"/>
                        </column>
                        <column kind="single" uuid="637e2caf-3584-45a5-ad62-6ad6343e6959" width="57">
                            <columnHeader height="20" rowSpan="1" style="Table 1_CH">
                                <element kind="staticText" uuid="c2688e55-8307-4ec0-b139-af4c6c60ff27" stretchType="NoStretch" x="0" y="0" width="57" height="20" fontName="Lato" bold="true" hTextAlign="Left" vTextAlign="Middle">
                                    <text><![CDATA[Type]]></text>
                                </element>
                            </columnHeader>
                            <detailCell height="20" style="Table 1_TD">
                                <element kind="textField" uuid="81aa5adb-cd59-4053-a1cb-a7388f9052c5" stretchType="NoStretch" x="0" y="0" width="57" height="20" fontName="Lato" fontSize="12.0" italic="true" hTextAlign="Left" vTextAlign="Middle">
                                    <expression><![CDATA[$F{type}]]></expression>
                                </element>
                            </detailCell>
                            <property name="com.jaspersoft.studioponents.table.model.column.name" value="Column2"/>
                        </column>
                        <column kind="single" uuid="5ac3c709-2e30-418e-a73b-0ffb6d3c1ade" width="181">
                            <columnHeader height="20" rowSpan="1" style="Table 1_CH">
                                <element kind="staticText" uuid="7c16452b-e88f-4b8f-8096-4ecac5633686" stretchType="NoStretch" x="0" y="0" width="181" height="20" fontName="Lato" bold="true" hTextAlign="Left" vTextAlign="Middle">
                                    <text><![CDATA[Destination]]></text>
                                </element>
                            </columnHeader>
                            <detailCell height="20" style="Table 1_TD">
                                <element kind="textField" uuid="99dab829-d14f-470d-8255-ace1a3cf2e90" stretchType="NoStretch" x="0" y="0" width="181" height="20" fontName="Lato" fontSize="12.0" italic="true" hTextAlign="Left" vTextAlign="Middle">
                                    <expression><![CDATA[$F{localite_nom}]]></expression>
                                </element>
                            </detailCell>
                            <property name="com.jaspersoft.studioponents.table.model.column.name" value="Column3"/>
                        </column>
                        <column kind="single" uuid="fb47de61-238f-4181-86e8-6a0ddc11bf66" width="69">
                            <columnHeader height="20" rowSpan="1" style="Table 1_CH">
                                <element kind="staticText" uuid="e22f2e62-558b-4824-baa8-76c70c6c3889" stretchType="NoStretch" x="0" y="0" width="69" height="20" fontName="Lato" bold="true" hTextAlign="Left" vTextAlign="Middle">
                                    <text><![CDATA[Montant]]></text>
                                </element>
                            </columnHeader>
                            <detailCell height="20" style="Table 1_TD">
                                <element kind="textField" uuid="9fa76199-4645-4868-a93a-e8ad53df5703" stretchType="NoStretch" x="0" y="0" width="69" height="20" fontName="Lato" fontSize="12.0" italic="true" hTextAlign="Left" vTextAlign="Middle">
                                    <expression><![CDATA[$F{prix}]]></expression>
                                </element>
                            </detailCell>
                            <property name="com.jaspersoft.studioponents.table.model.column.name" value="Column4"/>
                        </column>
                        <column kind="single" uuid="7c5295cf-8120-4b91-8eaa-714468a9987e" width="97">
                            <columnHeader height="20" rowSpan="1" style="Table 1_CH">
                                <element kind="staticText" uuid="6ae5f247-a374-4744-821b-7f27ca408f7a" stretchType="NoStretch" x="0" y="0" width="97" height="20" fontName="Lato" bold="true" hTextAlign="Left" vTextAlign="Middle">
                                    <text><![CDATA[Peage]]></text>
                                </element>
                            </columnHeader>
                            <detailCell height="20" style="Table 1_TD">
                                <element kind="textField" uuid="3ac4ed9f-e5a9-45c0-98bf-ec7051947ab2" stretchType="NoStretch" x="0" y="0" width="97" height="20" fontName="Lato" fontSize="12.0" hTextAlign="Left" vTextAlign="Middle">
                                    <expression><![CDATA[$F{montantTotal} == 0 ? "--------" : $F{montantTotal}]]></expression>
                                </element>
                            </detailCell>
                            <property name="com.jaspersoft.studioponents.table.model.column.name" value="Column5"/>
                        </column>
                    </component>
                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/>
                    <property name="com.jaspersoft.studio.table.style.table_header" value="Table 1_TH"/>
                    <property name="com.jaspersoft.studio.table.style.column_header" value="Table 1_CH"/>
                    <property name="com.jaspersoft.studio.table.style.detail" value="Table 1_TD"/>
                    <property name="com.jaspersoft.studioponents.autoresize.proportional" value="true"/>
                </element>
            </element>
            <property name="com.jaspersoft.studio.unit.height" value="px"/>
            <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.grid.JSSGridBagLayout"/>
        </band>
    </detail>
    <lastPageFooter height="294">
        <element kind="textField" uuid="27cd1c40-baf6-43b4-ac96-f36f8f9ff22e" x="0" y="220" width="260" height="26">
            <paragraph lineSpacingSize="1.2" leftIndent="10"/>
            <expression><![CDATA[$P{dateToday}]]></expression>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.y" value="px"/>
        </element>
        <element kind="textField" uuid="880e6109-cc43-41a1-8d7c-0510edf00e49" x="0" y="0" width="555" height="175" fontName="Lato" fontSize="19.0" italic="true" hTextAlign="Right" vTextAlign="Bottom">
            <paragraph rightIndent="8"/>
            <expression><![CDATA[$P{totalLettre}]]></expression>
            <property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
            <property name="com.jaspersoft.studio.unit.spacingBefore" value="pixel"/>
            <property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
        </element>
        <element kind="component" uuid="a219dbfe-ec56-4009-bf74-ad953d82012f" x="266" y="0" width="289" height="21">
            <component kind="table">
                <datasetRun uuid="e853fbd8-7070-4e8a-912b-47391f7ac4e2" subDataset="Dataset1">
                    <dataSourceExpression><![CDATA[$P{detailMontant}]]></dataSourceExpression>
                </datasetRun>
                <column kind="single" uuid="92aad427-b911-42b1-80f9-d0058d85e036" width="192">
                    <detailCell height="20" style="Table 2_TD">
                        <element kind="textField" uuid="a6fbfa37-16ec-415b-ae77-aa4927d7bcea" positionType="FixRelativeToBottom" x="0" y="0" width="192" height="20" fontName="Lato" fontSize="14.0" bold="true" hTextAlign="Center" vTextAlign="Middle">
                            <expression><![CDATA[$F{title}]]></expression>
                        </element>
                    </detailCell>
                    <property name="com.jaspersoft.studioponents.table.model.column.name" value="Column1"/>
                </column>
                <column kind="single" uuid="ec3f26e0-195e-49e5-abe6-2c5348e75642" width="97">
                    <detailCell height="20" style="Table 2_TD">
                        <element kind="textField" uuid="8d23e0cc-8460-4947-8d64-299c07eb74f3" x="0" y="0" width="97" height="20" fontName="Lato" fontSize="13.0" italic="true" hTextAlign="Center" vTextAlign="Middle">
                            <expression><![CDATA[$F{value}]]></expression>
                        </element>
                    </detailCell>
                    <property name="com.jaspersoft.studioponents.table.model.column.name" value="Column2"/>
                </column>
            </component>
            <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/>
            <property name="com.jaspersoft.studio.table.style.table_header" value="Table 2_TH"/>
            <property name="com.jaspersoft.studio.table.style.column_header" value="Table 2_CH"/>
            <property name="com.jaspersoft.studio.table.style.detail" value="Table 2_TD"/>
        </element>
        <property name="com.jaspersoft.studio.layout"/>
    </lastPageFooter>
</jasperReport>

and here is the result im obtaining right now

and here is designed if you need for jasper studio

发布评论

评论列表(0)

  1. 暂无评论