Commit 3695cd5738e9c611f5a2642e423b08cca533681a
1 parent
0bcb60a6
Exists in
master
Inclusão de relatório exemplo em jasper
Showing
1 changed file
with
59 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,59 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<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="empregado" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="6525ccf4-d2ac-4fad-a579-12cb4c715330"> | |
3 | + <property name="ireport.zoom" value="1.0"/> | |
4 | + <property name="ireport.x" value="0"/> | |
5 | + <property name="ireport.y" value="0"/> | |
6 | + <field name="id" class="java.lang.Long"/> | |
7 | + <field name="nome" class="java.lang.String"/> | |
8 | + <field name="matricula" class="java.lang.String"/> | |
9 | + <background> | |
10 | + <band splitType="Stretch"/> | |
11 | + </background> | |
12 | + <title> | |
13 | + <band height="79" splitType="Stretch"/> | |
14 | + </title> | |
15 | + <pageHeader> | |
16 | + <band height="35" splitType="Stretch"/> | |
17 | + </pageHeader> | |
18 | + <columnHeader> | |
19 | + <band height="27" splitType="Stretch"> | |
20 | + <staticText> | |
21 | + <reportElement x="0" y="0" width="185" height="20" uuid="c48d969b-0389-4d09-9200-06c4170b9f8e"/> | |
22 | + <text><![CDATA[id]]></text> | |
23 | + </staticText> | |
24 | + <staticText> | |
25 | + <reportElement x="185" y="0" width="185" height="20" uuid="ebd455e7-e461-480c-8112-23333ac99413"/> | |
26 | + <text><![CDATA[nome]]></text> | |
27 | + </staticText> | |
28 | + <staticText> | |
29 | + <reportElement x="370" y="0" width="185" height="20" uuid="75d8796f-1a6b-4509-a0f2-68d0478928ad"/> | |
30 | + <text><![CDATA[matricula]]></text> | |
31 | + </staticText> | |
32 | + </band> | |
33 | + </columnHeader> | |
34 | + <detail> | |
35 | + <band height="31" splitType="Stretch"> | |
36 | + <textField> | |
37 | + <reportElement x="0" y="0" width="185" height="20" uuid="10b5dbca-ff9b-4f10-bb95-45709fe220eb"/> | |
38 | + <textFieldExpression><![CDATA[$F{id}]]></textFieldExpression> | |
39 | + </textField> | |
40 | + <textField> | |
41 | + <reportElement x="185" y="0" width="185" height="20" uuid="45f3d992-9c27-4064-8ac6-91db2d938ca0"/> | |
42 | + <textFieldExpression><![CDATA[$F{nome}]]></textFieldExpression> | |
43 | + </textField> | |
44 | + <textField> | |
45 | + <reportElement x="370" y="0" width="185" height="20" uuid="7fbb5eb2-bf1f-4d4d-81c2-f9b33278064a"/> | |
46 | + <textFieldExpression><![CDATA[$F{matricula}]]></textFieldExpression> | |
47 | + </textField> | |
48 | + </band> | |
49 | + </detail> | |
50 | + <columnFooter> | |
51 | + <band height="45" splitType="Stretch"/> | |
52 | + </columnFooter> | |
53 | + <pageFooter> | |
54 | + <band height="54" splitType="Stretch"/> | |
55 | + </pageFooter> | |
56 | + <summary> | |
57 | + <band height="42" splitType="Stretch"/> | |
58 | + </summary> | |
59 | +</jasperReport> | ... | ... |