trytond-sale_document_composed/title.jrxml

181 lines
6.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report_name" language="groovy" pageWidth="595" pageHeight="842" columnWidth="536" leftMargin="39" rightMargin="20" topMargin="20" bottomMargin="20" uuid="182c9ea0-a855-42bf-a96e-ae08f6cf39e6">
<property name="ireport.zoom" value="1.610510000000001"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<style name="defecto" isDefault="true" forecolor="#000000" backcolor="#FFFFFF" fill="Solid" vAlign="Middle" markup="none" pattern="" isBlankWhenNull="true" fontName="DejaVu Sans" fontSize="10"/>
<style name="textoscabecera" style="defecto" forecolor="#000000" backcolor="#CCFFCC" radius="10" isBold="true" pdfFontName="Helvetica-Bold">
<pen lineWidth="1.0" lineColor="#FF0066"/>
</style>
<style name="letramuy pequeña" style="defecto" forecolor="#000000" backcolor="#CCFFCC" radius="10" fontSize="8" isBold="false">
<pen lineWidth="1.0" lineColor="#FF0066"/>
</style>
<style name="totals" style="defecto" isBold="true" pdfFontName="Helvetica-Bold">
<box leftPadding="5" rightPadding="5">
<topPen lineWidth="0.5"/>
<leftPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
<rightPen lineWidth="0.5"/>
</box>
</style>
<style name="table">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_TH" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_CH" mode="Opaque" backcolor="#FFFFFF">
<box leftPadding="0" rightPadding="0">
<pen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="1.0"/>
</box>
</style>
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
<box leftPadding="0" rightPadding="0">
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
</style>
<style name="address_rectangle">
<pen lineWidth="0.5" lineColor="#666666"/>
</style>
<style name="table_header" style="defecto" isBold="false" pdfFontName="Helvetica">
<box leftPadding="5" rightPadding="5"/>
</style>
<style name="table_detail" style="defecto" vAlign="Top">
<box leftPadding="5" rightPadding="5"/>
</style>
<style name="table 1">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 1_TH" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 1_CH" mode="Opaque" backcolor="#FEFEFE">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 2">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 2_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 2_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 2_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
</parameter>
<parameter name="STEPS_DS" class="java.lang.Object"/>
<parameter name="LINES_DS" class="java.lang.Object"/>
<parameter name="OPERATIONS_DS" class="java.lang.Object"/>
<queryString language="xPath">
<![CDATA[/data/record]]>
</queryString>
<field name="sale_name" class="java.lang.String">
<fieldDescription><![CDATA[rec_name]]></fieldDescription>
</field>
<field name="party" class="java.lang.String">
<fieldDescription><![CDATA[party/rec_name]]></fieldDescription>
</field>
<field name="sale_date" class="java.lang.String">
<fieldDescription><![CDATA[sale_date]]></fieldDescription>
</field>
<variable name="L" class="java.util.Locale">
<variableExpression><![CDATA[$P{REPORT_LOCALE}]]></variableExpression>
<initialValueExpression><![CDATA[$P{REPORT_LOCALE}]]></initialValueExpression>
</variable>
<variable name="L_code" class="java.lang.String">
<variableExpression><![CDATA[$V{L}.toString()]]></variableExpression>
<initialValueExpression><![CDATA[$V{L}.toString()]]></initialValueExpression>
</variable>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="55" splitType="Stretch"/>
</pageHeader>
<detail>
<band height="101" splitType="Stretch">
<textField>
<reportElement uuid="f8a75e5d-215b-4636-9e53-ba7124453148" x="11" y="13" width="77" height="16"/>
<textElement textAlignment="Left">
<font size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[tr($V{L},"Sale") + ": "]]></textFieldExpression>
</textField>
<textField pattern="dd-MM-yy">
<reportElement uuid="bf028bda-a51e-4d00-822f-14a05c9758d0" x="88" y="13" width="214" height="16"/>
<textElement textAlignment="Left">
<font size="10" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{sale_name}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="39b188d4-43f7-4218-b36f-4ef49e75d8fb" x="11" y="29" width="77" height="16"/>
<textElement textAlignment="Left">
<font size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[tr($V{L},"Customer") + ": "]]></textFieldExpression>
</textField>
<textField pattern="dd-MM-yy">
<reportElement uuid="7e62905a-11ae-44ea-8d28-98b451d21125" x="88" y="29" width="214" height="16"/>
<textElement textAlignment="Left">
<font size="10" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{party}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="7b626923-5b82-4a5d-b157-dba4a233c84d" x="302" y="13" width="108" height="16"/>
<textElement textAlignment="Left">
<font size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[tr($V{L},"Sale Date") + ": "]]></textFieldExpression>
</textField>
<textField pattern="dd-MM-yy">
<reportElement uuid="f13699e7-b1f4-440d-a0ba-013001177268" x="410" y="13" width="114" height="16"/>
<textElement textAlignment="Left">
<font size="10" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{sale_date}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>