Jump to content
Changes to the Jaspersoft community edition download ×

Inherited Dynamic Field Indent


H27790

Recommended Posts

alignment.png.88a86694695b1e9a872c82840e606b34.png

I want the indent of the noteText field to align with the description field.

<?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.0.1.final using JasperReports Library version 6.0.0  --><!-- 2020-06-26T14:09:18 --><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/xsd/jasperreport.xsd" name="simplified-quote-2" pageWidth="612" pageHeight="792" columnWidth="540" leftMargin="36" rightMargin="36" topMargin="20" bottomMargin="20" isSummaryWithPageHeaderAndFooter="true" uuid="a462f62b-4b56-439d-af83-1d7ca4824b0e">    <property name="ireport.zoom" value="1.0"/>    <property name="ireport.x" value="0"/>    <property name="ireport.y" value="0"/>    <property name="com.jaspersoft.studio.unit." value="pixel"/>    <property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>    <property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>    <property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>    <property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>    <property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>    <property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>    <property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>    <property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>    <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>    <style name="subtotal_style" fontSize="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false">        <conditionalStyle>            <conditionExpression><![CDATA["true".equals($F{bold})]]></conditionExpression>            <style markup="styled" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>        </conditionalStyle>    </style>    <subDataset name="subtotals" uuid="df35fafd-9c86-4f93-b19a-7960f92f98ae">        <queryString language="xpath2">            <![CDATA[/report/subTotalRecord]]>        </queryString>        <field name="subTotalCaption" class="java.lang.String">            <fieldDescription><![CDATA[subTotalCaption]]></fieldDescription>        </field>        <field name="subTotalAmount" class="java.lang.String">            <fieldDescription><![CDATA[subTotalAmount]]></fieldDescription>        </field>        <field name="bold" class="java.lang.String">            <fieldDescription><![CDATA[bold]]></fieldDescription>        </field>    </subDataset>    <parameter name="XML_PRODUCER_BEAN_ID" class="java.lang.String" isForPrompting="false">        <defaultValueExpression><![CDATA["data-producer-financial-document"]]></defaultValueExpression>    </parameter>    <parameter name="PROJECT_ELEMENT_ID" class="java.lang.String" isForPrompting="false"/>    <parameter name="DOCUMENT_VIEW_ID" class="java.lang.String" isForPrompting="false"/>    <queryString language="xpath2">        <![CDATA[/report/record]]>    </queryString>    <field name="elementName" class="java.lang.String">        <fieldDescription><![CDATA[/report/elementName]]></fieldDescription>    </field>    <field name="elementNameCaption" class="java.lang.String">        <fieldDescription><![CDATA[/report/elementNameCaption]]></fieldDescription>    </field>    <field name="elementDefinitionName" class="java.lang.String">        <fieldDescription><![CDATA[/report/elementDefinitionName]]></fieldDescription>    </field>    <field name="lineItemGroup" class="java.lang.String">        <fieldDescription><![CDATA[lineItemGroup]]></fieldDescription>    </field>    <field name="lineItemGroupFooter" class="java.lang.String">        <fieldDescription><![CDATA[lineItemGroupFooter]]></fieldDescription>    </field>    <field name="quantity" class="java.lang.String">        <fieldDescription><![CDATA[quantity]]></fieldDescription>    </field>    <field name="description" class="java.lang.String">        <fieldDescription><![CDATA[description]]></fieldDescription>    </field>    <field name="dateCreated" class="java.lang.String">        <fieldDescription><![CDATA[/report/dateCreated]]></fieldDescription>    </field>    <field name="numberCaption" class="java.lang.String">        <fieldDescription><![CDATA[/report/numberCaption]]></fieldDescription>    </field>    <field name="number" class="java.lang.String">        <fieldDescription><![CDATA[/report/number]]></fieldDescription>    </field>    <field name="loadInDate" class="java.lang.String">        <fieldDescription><![CDATA[/report/loadInDate]]></fieldDescription>    </field>    <field name="startDate" class="java.lang.String">        <fieldDescription><![CDATA[/report/startDate]]></fieldDescription>    </field>    <field name="endDate" class="java.lang.String">        <fieldDescription><![CDATA[/report/endDate]]></fieldDescription>    </field>    <field name="startDateCaption" class="java.lang.String">        <fieldDescription><![CDATA[/report/startDateCaption]]></fieldDescription>    </field>    <field name="endDateCaption" class="java.lang.String">        <fieldDescription><![CDATA[/report/endDateCaption]]></fieldDescription>    </field>    <field name="logoImage" class="java.lang.String">        <fieldDescription><![CDATA[/report/logoImage]]></fieldDescription>    </field>    <field name="addressString" class="java.lang.String">        <fieldDescription><![CDATA[/report/addressString]]></fieldDescription>    </field>    <field name="phoneNumber" class="java.lang.String">        <fieldDescription><![CDATA[/report/phoneNumber]]></fieldDescription>    </field>    <field name="faxNumber" class="java.lang.String">        <fieldDescription><![CDATA[/report/faxNumber]]></fieldDescription>    </field>    <field name="deposit" class="java.lang.String">        <fieldDescription><![CDATA[/report/deposit]]></fieldDescription>    </field>    <field name="depositDueDate" class="java.lang.String">        <fieldDescription><![CDATA[/report/depositDueDate]]></fieldDescription>    </field>    <field name="timeQty" class="java.lang.String">        <fieldDescription><![CDATA[timeQty]]></fieldDescription>    </field>    <field name="priceModel" class="java.lang.String">        <fieldDescription><![CDATA[priceModel]]></fieldDescription>    </field>    <field name="amountEach" class="java.lang.String">        <fieldDescription><![CDATA[amountEach]]></fieldDescription>    </field>    <field name="amountExtended" class="java.lang.String">        <fieldDescription><![CDATA[amountExtended]]></fieldDescription>    </field>    <field name="generateDate" class="java.lang.String">        <fieldDescription><![CDATA[/report/generateDate]]></fieldDescription>    </field>    <field name="notes" class="java.lang.String">        <fieldDescription><![CDATA[/report/notes]]></fieldDescription>    </field>    <field name="groupDiscountPct" class="java.lang.String">        <fieldDescription><![CDATA[groupDiscountPct]]></fieldDescription>    </field>    <field name="isGroupDiscount" class="java.lang.String">        <fieldDescription><![CDATA[isGroupDiscount]]></fieldDescription>    </field>    <field name="groupDiscount" class="java.lang.String">        <fieldDescription><![CDATA[groupDiscount]]></fieldDescription>    </field>    <field name="groupTotalBeforeDiscount" class="java.lang.String">        <fieldDescription><![CDATA[groupTotalBeforeDiscount]]></fieldDescription>    </field>    <field name="groupTotal" class="java.lang.String">        <fieldDescription><![CDATA[groupTotal]]></fieldDescription>    </field>    <field name="showStartDate" class="java.lang.String">        <fieldDescription><![CDATA[/report/showStartDate]]></fieldDescription>    </field>    <field name="showEndDate" class="java.lang.String">        <fieldDescription><![CDATA[/report/showEndDate]]></fieldDescription>    </field>    <field name="customerPO" class="java.lang.String">        <fieldDescription><![CDATA[/report/customerPO]]></fieldDescription>    </field>    <field name="terms" class="java.lang.String">        <fieldDescription><![CDATA[/report/terms]]></fieldDescription>    </field>    <field name="leftAddressCaption" class="java.lang.String">        <fieldDescription><![CDATA[/report/leftAddressCaption]]></fieldDescription>    </field>    <field name="leftAddressBlock" class="java.lang.String">        <fieldDescription><![CDATA[/report/leftAddressBlock]]></fieldDescription>    </field>    <field name="customFieldOneCaption" class="java.lang.String">        <fieldDescription><![CDATA[/report/customFieldOneCaption]]></fieldDescription>    </field>    <field name="customFieldOneValue" class="java.lang.String">        <fieldDescription><![CDATA[/report/customFieldOneValue]]></fieldDescription>    </field>    <field name="noteText" class="java.lang.String">        <fieldDescription><![CDATA[noteText]]></fieldDescription>    </field>    <field name="centerAddressCaption" class="java.lang.String">        <fieldDescription><![CDATA[/report/centerAddressCaption]]></fieldDescription>    </field>    <field name="centerAddressBlock" class="java.lang.String">        <fieldDescription><![CDATA[/report/centerAddressBlock]]></fieldDescription>    </field>    <field name="rightAddressCaption" class="java.lang.String">        <fieldDescription><![CDATA[/report/rightAddressCaption]]></fieldDescription>    </field>    <field name="rightAddressBlock" class="java.lang.String">        <fieldDescription><![CDATA[/report/rightAddressBlock]]></fieldDescription>    </field>    <field name="shippingMethod" class="java.lang.String">        <fieldDescription><![CDATA[/report/shippingMethod]]></fieldDescription>    </field>    <group name="Line" keepTogether="true">        <groupExpression><![CDATA[$F{lineItemGroup}]]></groupExpression>        <groupHeader>            <band height="16" splitType="Stretch">                <textField>                    <reportElement x="0" y="0" width="262" height="16" isRemoveLineWhenBlank="true" uuid="c26ab80f-9610-4b4c-b85c-6bfe77f7cd5e">                        <printWhenExpression><![CDATA[$F{lineItemGroup} != null && !"".equals($F{lineItemGroup})]]></printWhenExpression>                    </reportElement>                    <textElement>                        <font isBold="true"/>                    </textElement>                    <textFieldExpression><![CDATA[$F{lineItemGroup}]]></textFieldExpression>                </textField>            </band>        </groupHeader>        <groupFooter>            <band height="21">                <textField isBlankWhenNull="true">                    <reportElement x="217" y="3" width="263" height="14" isRemoveLineWhenBlank="true" uuid="618a940c-9ef4-4dbb-acf6-8a1686191079">                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                        <printWhenExpression><![CDATA[$F{lineItemGroup} != null && !"".equals($F{lineItemGroup})&& $F{groupTotal} != null && !"".equals($F{groupTotal})]]></printWhenExpression>                    </reportElement>                    <box leftPadding="0" rightPadding="0">                        <topPen lineWidth="0.0"/>                        <leftPen lineWidth="0.0"/>                        <bottomPen lineWidth="0.0"/>                    </box>                    <textElement textAlignment="Right" verticalAlignment="Middle">                        <font size="10" isBold="true"/>                    </textElement>                    <textFieldExpression><![CDATA[$F{lineItemGroupFooter} + ":"]]></textFieldExpression>                </textField>                <textField isBlankWhenNull="true">                    <reportElement x="480" y="3" width="60" height="14" isRemoveLineWhenBlank="true" uuid="14694082-f359-44ca-8fb7-886a45367128">                        <printWhenExpression><![CDATA[$F{lineItemGroup} != null && !"".equals($F{lineItemGroup})&& $F{groupTotal} != null && !"".equals($F{groupTotal})]]></printWhenExpression>                    </reportElement>                    <box rightPadding="0">                        <leftPen lineWidth="0.0"/>                        <rightPen lineWidth="0.0"/>                    </box>                    <textElement textAlignment="Right" verticalAlignment="Middle">                        <font size="10" isBold="true"/>                    </textElement>                    <textFieldExpression><![CDATA[$F{groupTotal}]]></textFieldExpression>                </textField>            </band>        </groupFooter>    </group>    <background>        <band splitType="Stretch"/>    </background>    <title>        <band height="155" splitType="Stretch">            <textField isBlankWhenNull="true">                <reportElement x="30" y="126" width="217" height="14" uuid="5b87e0fb-8b26-4a6b-898a-d49b39d86c5e">                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                    <property name="local_mesure_unitwidth" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.width" value="px"/>                </reportElement>                <textElement>                    <font size="10"/>                </textElement>                <textFieldExpression><![CDATA[$F{elementName}]]></textFieldExpression>            </textField>            <textField>                <reportElement x="452" y="10" width="119" height="31" uuid="a32fc309-5c36-4f68-922c-5a857ebe19c3"/>                <box rightPadding="20"/>                <textElement textAlignment="Center">                    <font size="24"/>                </textElement>                <textFieldExpression><![CDATA[$F{elementDefinitionName}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement x="67" y="140" width="92" height="14" uuid="0175f5ee-5480-4691-bc5e-4c22c71cb9fb"/>                <textElement>                    <font size="10"/>                </textElement>                <textFieldExpression><![CDATA[$F{customerPO}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement positionType="Float" x="344" y="141" width="60" height="14" uuid="9e6476a9-59fa-47f2-aed3-6c79c701e577">                    <property name="local_mesure_unitwidth" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.width" value="px"/>                </reportElement>                <textElement>                    <font size="10"/>                </textElement>                <textFieldExpression><![CDATA[$F{dateCreated}]]></textFieldExpression>            </textField>            <staticText>                <reportElement x="234" y="141" width="105" height="14" uuid="26dbe45b-6819-42cf-803d-3bc835124400"/>                <box rightPadding="3"/>                <textElement textAlignment="Right">                    <font size="10" isBold="true"/>                </textElement>                <text><![CDATA[Date Created:]]></text>            </staticText>            <textField>                <reportElement x="389" y="127" width="85" height="14" uuid="ce36fbe9-d62f-4e57-aee1-3a7dc1eb86de">                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>                </reportElement>                <box rightPadding="3"/>                <textElement textAlignment="Right">                    <font size="10" isBold="true"/>                </textElement>                <textFieldExpression><![CDATA["Rental Start:"]]></textFieldExpression>            </textField>            <textField>                <reportElement x="389" y="141" width="85" height="14" uuid="bc8f9b67-bdfc-4b95-abc3-49ac5bcfd404"/>                <box rightPadding="3"/>                <textElement textAlignment="Right">                    <font size="10" isBold="true"/>                </textElement>                <textFieldExpression><![CDATA["Rental End:"]]></textFieldExpression>            </textField>            <textField pattern="MM/dd/yyyy" isBlankWhenNull="true">                <reportElement x="479" y="127" width="60" height="14" uuid="0e430e42-71dd-4f07-b1b5-9a1d2f06b84b">                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                </reportElement>                <textElement>                    <font size="10"/>                </textElement>                <textFieldExpression><![CDATA[$F{showStartDate}]]></textFieldExpression>            </textField>            <textField pattern="MM/dd/yyyy" isBlankWhenNull="true">                <reportElement x="479" y="141" width="60" height="14" uuid="235bd758-04ac-4dce-8458-51b3260cd616">                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                </reportElement>                <textElement>                    <font size="10"/>                </textElement>                <textFieldExpression><![CDATA[$F{showEndDate}]]></textFieldExpression>            </textField>            <image hAlign="Left" vAlign="Top" onErrorType="Icon">                <reportElement x="0" y="10" width="140" height="63" uuid="377b6f29-d4bc-41b8-8959-3be521d1bc8f">                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                    <property name="local_mesure_unity" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.y" value="px"/>                </reportElement>                <imageExpression><![CDATA[$F{logoImage} != null ? new URL($F{logoImage}) : null]]></imageExpression>            </image>            <textField>                <reportElement positionType="FixRelativeToBottom" x="0" y="73" width="140" height="49" uuid="ba5a7084-5f3c-4fb9-9705-f61489723101">                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>                </reportElement>                <textElement textAlignment="Left" verticalAlignment="Bottom">                    <font size="10"/>                </textElement>                <textFieldExpression><![CDATA[($F{addressString} != null && !$F{addressString}.trim().equals("") ? $F{addressString} : "") +($F{phoneNumber} != null && !$F{phoneNumber}.trim().equals("") ? "Phone  " + $F{phoneNumber} + "n" : "") +($F{faxNumber} != null && !$F{faxNumber}.trim().equals("") ? "Fax  " + $F{faxNumber} : "")]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement x="452" y="40" width="98" height="14" uuid="3831c67c-a110-41e6-8a1b-87cd563e5dba"/>                <textElement textAlignment="Center">                    <font size="10" isBold="true"/>                </textElement>                <textFieldExpression><![CDATA[$F{number}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement x="344" y="127" width="60" height="14" uuid="f7d5166c-d621-486e-8f53-32823c260f2d">                    <property name="local_mesure_unitwidth" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.width" value="px"/>                </reportElement>                <textElement>                    <font size="10"/>                </textElement>                <textFieldExpression><![CDATA[$F{shippingMethod}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement key="textField" positionType="Float" x="146" y="47" width="156" height="75" uuid="c9dbceeb-919b-4f1a-bff3-b6b6f23587de">                    <property name="com.jaspersoft.studio.unit.width" value="px"/>                    <property name="local_mesure_unitwidth" value="pixel"/>                </reportElement>                <box topPadding="3" leftPadding="3" bottomPadding="3" rightPadding="3">                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement textAlignment="Left">                    <font size="9"/>                    <paragraph leftIndent="1"/>                </textElement>                <textFieldExpression><![CDATA[$F{centerAddressBlock}]]></textFieldExpression>            </textField>            <staticText>                <reportElement x="0" y="10" width="540" height="14" forecolor="#9C9C9C" uuid="a4cdbaca-43a4-4dc1-a7c4-4917af61c673">                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>                </reportElement>                <textElement textAlignment="Center">                    <font fontName="SansSerif"/>                </textElement>                <text><![CDATA[Madison, WI  •  Philadelphia, PA  •  Washington D.C.]]></text>            </staticText>            <staticText>                <reportElement x="234" y="127" width="105" height="14" uuid="fb1bd320-626a-4277-bc20-bd792d57cb90"/>                <box rightPadding="3"/>                <textElement textAlignment="Right">                    <font size="10" isBold="true"/>                </textElement>                <text><![CDATA[shipping Method:]]></text>            </staticText>            <staticText>                <reportElement x="-43" y="140" width="105" height="14" uuid="05b16f72-e324-4291-86c3-a3bdec446499"/>                <box rightPadding="3"/>                <textElement textAlignment="Right">                    <font size="10" isBold="true"/>                </textElement>                <text><![CDATA[PO Number:]]></text>            </staticText>            <staticText>                <reportElement x="-80" y="126" width="105" height="14" uuid="9d80c2b2-bf4b-4059-bc0c-aebe50d3aace"/>                <box rightPadding="3"/>                <textElement textAlignment="Right">                    <font size="10" isBold="true"/>                </textElement>                <text><![CDATA[Job:]]></text>            </staticText>            <textField isBlankWhenNull="true">                <reportElement key="textField" positionType="Float" x="302" y="47" width="156" height="75" uuid="7c4975f9-a8b8-474a-8fa8-1ad64af79c55">                    <property name="com.jaspersoft.studio.unit.width" value="px"/>                    <property name="local_mesure_unitwidth" value="pixel"/>                </reportElement>                <box topPadding="3" leftPadding="3" bottomPadding="3" rightPadding="3">                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement textAlignment="Left">                    <font size="9"/>                    <paragraph lineSpacing="Single" leftIndent="1"/>                </textElement>                <textFieldExpression><![CDATA[$F{rightAddressBlock}]]></textFieldExpression>            </textField>            <staticText>                <reportElement key="" x="146" y="32" width="156" height="15" uuid="b1a71fff-4b73-4356-87f6-6e83a4428360">                    <property name="local_mesure_unity" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.y" value="px"/>                    <property name="local_mesure_unitheight" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.height" value="px"/>                </reportElement>                <box>                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement>                    <font isBold="true"/>                    <paragraph spacingBefore="2"/>                </textElement>                <text><![CDATA[ BILL TO]]></text>            </staticText>            <staticText>                <reportElement key="" x="302" y="32" width="156" height="15" uuid="7fa1cfca-b5ab-43db-bf87-4e5cc0e10156">                    <property name="local_mesure_unity" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.y" value="px"/>                    <property name="local_mesure_unitheight" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.height" value="px"/>                </reportElement>                <box>                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement>                    <font isBold="true"/>                    <paragraph spacingBefore="2"/>                </textElement>                <text><![CDATA[ SHIP TO]]></text>            </staticText>            <staticText>                <reportElement x="96" y="141" width="105" height="14" uuid="0dec9f14-bb4c-45cd-9d8a-3c7befc37337"/>                <box rightPadding="3"/>                <textElement textAlignment="Right">                    <font size="10" isBold="true"/>                </textElement>                <text><![CDATA[Terms:]]></text>            </staticText>            <textField isBlankWhenNull="true">                <reportElement x="206" y="141" width="60" height="14" uuid="e5295cc0-6061-44e3-99a8-d49bd0198ef8">                    <property name="local_mesure_unitwidth" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.width" value="px"/>                </reportElement>                <textElement>                    <font size="10"/>                </textElement>                <textFieldExpression><![CDATA[$F{terms}]]></textFieldExpression>            </textField>        </band>    </title>    <pageHeader>        <band splitType="Stretch"/>    </pageHeader>    <columnHeader>        <band height="25" splitType="Stretch">            <staticText>                <reportElement x="0" y="1" width="20" height="16" uuid="a281d27f-fb32-494e-ac8d-c55ef94ef4e3"/>                <box>                    <bottomPen lineWidth="1.0"/>                </box>                <textElement textAlignment="Center">                    <font isBold="true"/>                </textElement>                <text><![CDATA[Qty]]></text>            </staticText>            <staticText>                <reportElement x="25" y="1" width="314" height="16" uuid="89cbe86d-c29a-46db-a267-2549a9ba4328">                    <property name="local_mesure_unitwidth" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.width" value="px"/>                </reportElement>                <box leftPadding="3">                    <bottomPen lineWidth="1.0"/>                </box>                <textElement>                    <font isBold="true"/>                </textElement>                <text><![CDATA[item Description]]></text>            </staticText>            <staticText>                <reportElement x="345" y="1" width="50" height="16" uuid="16d645fc-ed2f-44f2-ae93-a27f30b2bb88"/>                <box leftPadding="3">                    <bottomPen lineWidth="1.0"/>                </box>                <textElement>                    <font isBold="true"/>                </textElement>                <text><![CDATA[Rate]]></text>            </staticText>            <staticText>                <reportElement x="435" y="1" width="45" height="16" uuid="9f218192-4494-453d-90dd-74702cd93b2a"/>                <box leftPadding="0" rightPadding="3">                    <bottomPen lineWidth="1.0"/>                </box>                <textElement textAlignment="Right">                    <font isBold="true"/>                </textElement>                <text><![CDATA[Price]]></text>            </staticText>            <staticText>                <reportElement x="485" y="1" width="55" height="16" uuid="df4f70a0-2c1b-4b84-8fd6-5811781880c2">                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                </reportElement>                <box leftPadding="0" rightPadding="3">                    <bottomPen lineWidth="1.0"/>                </box>                <textElement textAlignment="Right">                    <font isBold="true"/>                </textElement>                <text><![CDATA[Ext. Price]]></text>            </staticText>            <staticText>                <reportElement x="400" y="1" width="30" height="16" uuid="144555bc-f86c-4ac4-884d-957571337668">                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                </reportElement>                <box leftPadding="0">                    <bottomPen lineWidth="1.0"/>                </box>                <textElement textAlignment="Center">                    <font isBold="true"/>                </textElement>                <text><![CDATA[Time]]></text>            </staticText>        </band>    </columnHeader>    <detail>        <band height="16" splitType="Stretch">            <property name="local_mesure_unitheight" value="pixel"/>            <staticText>                <reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="539" height="16" uuid="bd4982a9-fa78-470b-8045-2eb08c3b83b5"/>                <box bottomPadding="0">                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#8F8C8C"/>                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement>                    <paragraph spacingAfter="0"/>                </textElement>            </staticText>            <textField isBlankWhenNull="true">                <reportElement x="0" y="0" width="20" height="16" uuid="e95f5518-968b-4430-99a6-cad4624dd399">                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                </reportElement>                <box>                    <pen lineColor="#8F8C8C"/>                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement textAlignment="Center" verticalAlignment="Middle">                    <font size="9"/>                </textElement>                <textFieldExpression><![CDATA[$F{quantity}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement x="25" y="0" width="314" height="16" uuid="53ec5083-3949-4561-85e0-ab44144d1fd1">                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                </reportElement>                <box>                    <pen lineColor="#8F8C8C"/>                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement verticalAlignment="Middle">                    <font size="9"/>                </textElement>                <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement x="400" y="0" width="30" height="16" uuid="3e6ee61a-70ad-4050-8011-0b6452306bc5">                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                </reportElement>                <box>                    <pen lineColor="#8F8C8C"/>                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement textAlignment="Center" verticalAlignment="Middle">                    <font size="9"/>                </textElement>                <textFieldExpression><![CDATA[$F{timeQty}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement x="345" y="0" width="50" height="16" uuid="ffd47306-2a6e-4860-9853-28529a9b0d56">                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                </reportElement>                <box>                    <pen lineColor="#8F8C8C"/>                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement verticalAlignment="Middle">                    <font size="9"/>                </textElement>                <textFieldExpression><![CDATA[$F{priceModel}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement x="435" y="0" width="44" height="16" uuid="90d99576-9e24-4ca9-8dca-d126b6d76ffb">                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                </reportElement>                <box>                    <pen lineColor="#8F8C8C"/>                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement textAlignment="Right" verticalAlignment="Middle">                    <font size="9"/>                </textElement>                <textFieldExpression><![CDATA[$F{amountEach}]]></textFieldExpression>            </textField>            <textField isBlankWhenNull="true">                <reportElement x="485" y="0" width="54" height="16" uuid="b5aed777-2423-40cc-98b4-6c608cb4d5af">                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                </reportElement>                <box>                    <pen lineColor="#8F8C8C"/>                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement textAlignment="Right" verticalAlignment="Middle">                    <font size="9"/>                </textElement>                <textFieldExpression><![CDATA[$F{amountExtended}]]></textFieldExpression>            </textField>            <textField isStretchWithOverflow="true" isBlankWhenNull="true">                <reportElement key="" isPrintRepeatedValues="false" x="25" y="0" width="314" height="16" uuid="fecea2a6-eb9b-4047-a93f-de884bf10617">                    <property name="local_mesure_unitheight" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.height" value="px"/>                </reportElement>                <box>                    <pen lineColor="#8F8C8C"/>                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>                </box>                <textElement textAlignment="Left" verticalAlignment="Middle">                    <font size="9"/>                    <paragraph lineSpacing="Single" lineSpacingSize="1.0" leftIndent="0" spacingBefore="15" spacingAfter="0" tabStopWidth="0"/>                </textElement>                <textFieldExpression><![CDATA[$F{noteText}]]></textFieldExpression>            </textField>        </band>    </detail>    <columnFooter>        <band splitType="Stretch"/>    </columnFooter>    <pageFooter>        <band height="34" splitType="Stretch">            <textField>                <reportElement x="341" y="0" width="199" height="20" uuid="bbb340f0-4a36-43d7-a9e4-b029bbc52136"/>                <textElement textAlignment="Right" verticalAlignment="Middle"/>                <textFieldExpression><![CDATA[$F{generateDate}]]></textFieldExpression>            </textField>            <textField evaluationTime="Report">                <reportElement x="284" y="0" width="40" height="20" uuid="39031117-9195-427b-bc42-e0ec9f018fd1"/>                <textElement verticalAlignment="Middle"/>                <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>            </textField>            <textField>                <reportElement x="204" y="0" width="80" height="20" uuid="05fc350c-316e-48eb-ae4d-4eceff1a3581"/>                <textElement textAlignment="Right" verticalAlignment="Middle"/>                <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>            </textField>            <staticText>                <reportElement x="0" y="20" width="540" height="14" forecolor="#9C9C9C" uuid="312c2e6a-1f5e-4211-b030-d8e2466474df"/>                <textElement textAlignment="Center"/>                <text><![CDATA[Remit To: Red Star Pictures, 4487 Robertson Road, Madison, WI 53714]]></text>            </staticText>        </band>    </pageFooter>    <summary>        <band height="32" splitType="Stretch">            <property name="com.jaspersoft.studio.unit.height" value="pixel"/>            <componentElement>                <reportElement x="262" y="15" width="278" height="16" uuid="0e10b455-ff75-40ec-ac43-46dac6bfc7e2">                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>                </reportElement>                <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">                    <datasetRun subDataset="subtotals" uuid="5fff15fa-8a8a-4d22-9c6f-bd060a829c3c">                        <datasetParameter name="XML_DATA_DOCUMENT">                            <datasetParameterExpression><![CDATA[$P{XML_DATA_DOCUMENT}]]></datasetParameterExpression>                        </datasetParameter>                        <dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).dataSource("/report/subTotalRecord")]]></dataSourceExpression>                    </datasetRun>                    <jr:listContents height="16" width="278">                        <textField>                            <reportElement style="subtotal_style" x="35" y="0" width="183" height="16" uuid="b190129a-d1c4-4b00-aa07-890b8d0b3ffa">                                <property name="com.jaspersoft.studio.unit.x" value="pixel"/>                            </reportElement>                            <textElement textAlignment="Right">                                <font size="10" isBold="true"/>                            </textElement>                            <textFieldExpression><![CDATA[$F{subTotalCaption} + ":"]]></textFieldExpression>                        </textField>                        <textField>                            <reportElement style="subtotal_style" x="218" y="0" width="60" height="16" uuid="38138c40-17bf-4492-972d-d2aaff77088d">                                <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                            </reportElement>                            <textElement textAlignment="Right">                                <font size="10"/>                            </textElement>                            <textFieldExpression><![CDATA[$F{subTotalAmount}]]></textFieldExpression>                        </textField>                    </jr:listContents>                </jr:list>            </componentElement>            <staticText>                <reportElement x="0" y="-1" width="40" height="16" isRemoveLineWhenBlank="true" uuid="d3b66001-7b60-4b76-aedb-4829da0039b0">                    <printWhenExpression><![CDATA[$F{notes} != null && !$F{notes}.equals("")]]></printWhenExpression>                </reportElement>                <textElement>                    <font isBold="true"/>                </textElement>                <text><![CDATA[Notes:]]></text>            </staticText>            <textField isStretchWithOverflow="true" isBlankWhenNull="true">                <reportElement x="0" y="15" width="262" height="16" isRemoveLineWhenBlank="true" uuid="e9f326a5-8b07-4347-94a6-2965439df262">                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>                    <property name="local_mesure_unitheight" value="pixel"/>                    <property name="com.jaspersoft.studio.unit.height" value="px"/>                    <printWhenExpression><![CDATA[$F{notes} != null && !$F{notes}.equals("")]]></printWhenExpression>                </reportElement>                <textElement verticalAlignment="Top"/>                <textFieldExpression><![CDATA[$F{notes}]]></textFieldExpression>            </textField>        </band>    </summary></jasperReport>[/code]

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...