TrabajoInterfaces/Cherry.jrxml

210 lines
9.8 KiB
Plaintext
Raw Normal View History

2020-01-27 12:19:42 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.11.0.final using JasperReports Library version 6.11.0-0c4056ccaa4d25a5a8c45672d2f764ea3498bebb -->
<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="Cherry" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="13acf49e-4913-4d1b-bccc-113817ad15d1">
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="DataAdapter.xml"/>
<style name="Title" forecolor="#FFFFFF" fontName="Times New Roman" fontSize="50" isBold="false"/>
<style name="SubTitle" forecolor="#CCCCCC" fontName="Times New Roman" fontSize="18" isBold="false"/>
<style name="Column header" forecolor="#666666" fontName="Times New Roman" fontSize="14" isBold="true"/>
<style name="Detail" mode="Transparent" fontName="Times New Roman"/>
<style name="Row" mode="Transparent" fontName="Times New Roman" pdfFontName="Times-Roman">
<conditionalStyle>
<conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
<style mode="Opaque" backcolor="#F0EFEF"/>
</conditionalStyle>
</style>
<parameter name="Year" class="java.lang.String">
<defaultValueExpression><![CDATA[new String("")]]></defaultValueExpression>
</parameter>
<parameter name="Order" class="java.lang.String">
<defaultValueExpression><![CDATA[new String("")]]></defaultValueExpression>
</parameter>
<queryString language="SQL">
<![CDATA[select transacciones.descripcion, gestiones.descripcion, usuarios.usuario, transacciones.precio, transacciones.fecha
from transacciones
join gestiones on transacciones.idGestion = gestiones.id
join usuarios on usuarios.id = gestiones.idUsuario
where year(transacciones.fecha)=$P{Year}
order by $P!{Order}]]>
</queryString>
<field name="descripcion" class="java.lang.String">
<property name="com.jaspersoft.studio.field.label" value="descripcion"/>
<property name="com.jaspersoft.studio.field.tree.path" value="transacciones"/>
</field>
<field name="usuario" class="java.lang.String">
<property name="com.jaspersoft.studio.field.label" value="usuario"/>
<property name="com.jaspersoft.studio.field.tree.path" value="usuarios"/>
</field>
<field name="precio" class="java.lang.Float">
<property name="com.jaspersoft.studio.field.label" value="precio"/>
<property name="com.jaspersoft.studio.field.tree.path" value="transacciones"/>
</field>
<field name="fecha" class="java.sql.Date">
<property name="com.jaspersoft.studio.field.label" value="fecha"/>
<property name="com.jaspersoft.studio.field.tree.path" value="transacciones"/>
</field>
<variable name="Variable_1" class="java.lang.String">
<variableExpression><![CDATA[CONCATENATE(TEXT(SUM($V{COLUMN_COUNT},1),""),".",$F{usuario})]]></variableExpression>
</variable>
<group name="Group1">
<groupExpression><![CDATA[$F{usuario}]]></groupExpression>
<groupHeader>
<band height="37">
<frame>
<reportElement mode="Opaque" x="0" y="7" width="555" height="24" forecolor="#B89F7D" backcolor="#000000" uuid="0a5fc4ac-2e39-4b7a-8f96-59f8eb2df66d"/>
<textField textAdjust="StretchHeight">
<reportElement style="SubTitle" isPrintRepeatedValues="false" x="2" y="0" width="479" height="24" forecolor="#FFFFFF" uuid="4fbebfd3-a184-45af-b7d9-5c3faaf087b5"/>
<textElement>
<font isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[CONCATENATE(TEXT(SUM($V{COLUMN_COUNT},1),""),".",$F{usuario})]]></textFieldExpression>
</textField>
</frame>
</band>
</groupHeader>
<groupFooter>
<band height="6"/>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="132" splitType="Stretch">
<image>
<reportElement x="456" y="0" width="99" height="132" uuid="97705585-a0b5-4ec7-86f3-ae10c220e6af"/>
<imageExpression><![CDATA["invoice_logo.png"]]></imageExpression>
</image>
<frame>
<reportElement mode="Opaque" x="0" y="0" width="451" height="95" backcolor="#000000" uuid="6c6ca4e1-17cd-4913-93d6-5e670ea9ae8a"/>
<staticText>
<reportElement style="Title" x="0" y="0" width="370" height="66" uuid="a2a2cac8-5a7d-4487-8c54-dab235ce4e21"/>
<textElement>
<font size="40" isBold="false"/>
</textElement>
<text><![CDATA[Datos de los usuarios]]></text>
</staticText>
</frame>
<frame>
<reportElement mode="Opaque" x="0" y="100" width="451" height="32" forecolor="#000000" backcolor="#003366" uuid="e3c14156-5b51-4201-918b-97fdc012e5d4"/>
<textField pattern="EEEEE dd MMMMM yyyy">
<reportElement x="307" y="12" width="144" height="20" forecolor="#FFFFFF" uuid="5c3301e7-a737-4c59-8a2f-a6c79fd1adb8"/>
<textElement textAlignment="Right">
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
</frame>
</band>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="26" splitType="Stretch">
<staticText>
<reportElement style="Column header" x="0" y="7" width="185" height="18" forecolor="#000000" uuid="0a14b49a-1924-402b-8ef5-1b6a4602232e">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="04480cd9-c6b5-4c12-afd8-8519fe0dd49e"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[descripcion]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="185" y="7" width="185" height="18" forecolor="#000000" uuid="957b7838-46a3-4a90-b692-761135201b07">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="4ca07f53-30ea-477b-b7b4-84c03072358b"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[precio]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="370" y="7" width="185" height="18" forecolor="#000000" uuid="287945e4-8609-4d3e-bd62-4f794281d8c5">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="bf52e93f-dd0d-46d0-8b2c-612076262bb1"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[fecha]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="18" splitType="Stretch">
<frame>
<reportElement style="Row" mode="Opaque" x="0" y="0" width="555" height="18" uuid="b50221b5-8254-440b-8c6f-1f0b138c9259"/>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="0" y="0" width="185" height="18" uuid="3a3c3563-4cea-46de-b00b-a468eb4fb11c">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="04480cd9-c6b5-4c12-afd8-8519fe0dd49e"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{descripcion}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="185" y="0" width="185" height="18" uuid="bac435e7-f53e-4850-9743-c329334afa6e">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="4ca07f53-30ea-477b-b7b4-84c03072358b"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{precio}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="370" y="0" width="185" height="18" uuid="76ae6bde-8b83-4f03-aa68-133b0aa8afd1">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="bf52e93f-dd0d-46d0-8b2c-612076262bb1"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{fecha}]]></textFieldExpression>
</textField>
</frame>
</band>
</detail>
<columnFooter>
<band height="7" splitType="Stretch">
<line>
<reportElement positionType="FixRelativeToBottom" x="0" y="3" width="555" height="1" uuid="1133a906-5b71-476e-9f3e-bc97c97058c1"/>
<graphicElement>
<pen lineWidth="0.5" lineColor="#999999"/>
</graphicElement>
</line>
</band>
</columnFooter>
<pageFooter>
<band height="25" splitType="Stretch">
<frame>
<reportElement mode="Opaque" x="0" y="1" width="555" height="24" forecolor="#D0B48E" backcolor="#000000" uuid="729c3539-f946-4d0e-a0a7-bda2815ea1b0"/>
<textField evaluationTime="Report">
<reportElement style="Column header" x="513" y="0" width="40" height="20" forecolor="#FFFFFF" uuid="4834e99c-7f6c-485a-b098-50e5187f2ab4"/>
<textElement verticalAlignment="Middle">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="Column header" x="433" y="0" width="80" height="20" forecolor="#FFFFFF" uuid="9825b46e-76f1-469a-abb8-a1cc27aad685"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
</textField>
<textField pattern="EEEEE dd MMMMM yyyy">
<reportElement style="Column header" x="2" y="1" width="197" height="20" forecolor="#FFFFFF" uuid="137d38c7-1a83-4fc5-b156-9d5f1b1a0ddc"/>
<textElement verticalAlignment="Middle">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
</frame>
</band>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>