Commit aa941eec8f3cd0824a711b443be0b62879a54100
1 parent
549f8246
Exists in
master
redmine #2359 Construcao da historia.
Showing
6 changed files
with
66 additions
and
36 deletions
Show diff stats
citgrp-patrimonio-web/src/main/resources/reports/templateCabecalho.jrxml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- Created with Jaspersoft Studio version 6.2.1.final using JasperReports Library version 6.2.1 --> | ||
3 | +<!-- 2016-05-10T08:45:49 --> | ||
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="templateCabecalho" language="groovy" pageWidth="595" pageHeight="126" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="0" bottomMargin="0" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> | 4 | <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="templateCabecalho" language="groovy" pageWidth="595" pageHeight="126" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="0" bottomMargin="0" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> |
3 | <property name="ireport.zoom" value="1.5"/> | 5 | <property name="ireport.zoom" value="1.5"/> |
4 | <property name="ireport.x" value="0"/> | 6 | <property name="ireport.x" value="0"/> |
@@ -25,7 +27,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -25,7 +27,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
25 | <detail> | 27 | <detail> |
26 | <band height="126" splitType="Prevent"> | 28 | <band height="126" splitType="Prevent"> |
27 | <textField isBlankWhenNull="true"> | 29 | <textField isBlankWhenNull="true"> |
28 | - <reportElement x="102" y="20" width="453" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/> | 30 | + <reportElement x="157" y="20" width="398" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/> |
29 | <box leftPadding="5"/> | 31 | <box leftPadding="5"/> |
30 | <textElement verticalAlignment="Middle"> | 32 | <textElement verticalAlignment="Middle"> |
31 | <font size="12"/> | 33 | <font size="12"/> |
@@ -33,19 +35,22 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -33,19 +35,22 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
33 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> | 35 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> |
34 | </textField> | 36 | </textField> |
35 | <textField isBlankWhenNull="true"> | 37 | <textField isBlankWhenNull="true"> |
36 | - <reportElement x="102" y="0" width="453" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/> | 38 | + <reportElement x="157" y="0" width="398" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/> |
37 | <box leftPadding="5"/> | 39 | <box leftPadding="5"/> |
38 | <textElement verticalAlignment="Middle"> | 40 | <textElement verticalAlignment="Middle"> |
39 | <font size="12"/> | 41 | <font size="12"/> |
40 | </textElement> | 42 | </textElement> |
41 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> | 43 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> |
42 | </textField> | 44 | </textField> |
43 | - <image isUsingCache="true" onErrorType="Icon"> | ||
44 | - <reportElement positionType="Float" x="17" y="0" width="85" height="60" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"/> | 45 | + <image hAlign="Center" isUsingCache="true" onErrorType="Icon"> |
46 | + <reportElement positionType="Float" x="17" y="0" width="140" height="75" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"> | ||
47 | + <property name="com.jaspersoft.studio.unit.width" value="pixel"/> | ||
48 | + <property name="com.jaspersoft.studio.unit.height" value="pixel"/> | ||
49 | + </reportElement> | ||
45 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> | 50 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> |
46 | </image> | 51 | </image> |
47 | <textField isBlankWhenNull="true"> | 52 | <textField isBlankWhenNull="true"> |
48 | - <reportElement x="102" y="40" width="453" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/> | 53 | + <reportElement x="157" y="40" width="398" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/> |
49 | <box leftPadding="5"/> | 54 | <box leftPadding="5"/> |
50 | <textElement verticalAlignment="Middle"> | 55 | <textElement verticalAlignment="Middle"> |
51 | <font size="12"/> | 56 | <font size="12"/> |
@@ -55,7 +60,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -55,7 +60,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
55 | <textField isBlankWhenNull="true"> | 60 | <textField isBlankWhenNull="true"> |
56 | <reportElement x="0" y="86" width="555" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/> | 61 | <reportElement x="0" y="86" width="555" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/> |
57 | <textElement textAlignment="Center" verticalAlignment="Middle"> | 62 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
58 | - <font fontName="SansSerif" size="14" isBold="true"/> | 63 | + <font fontName="SansSerif" size="15" isBold="true"/> |
59 | </textElement> | 64 | </textElement> |
60 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> | 65 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> |
61 | </textField> | 66 | </textField> |
citgrp-patrimonio-web/src/main/resources/reports/templateCabecalhoPaisagem.jrxml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- Created with Jaspersoft Studio version 6.2.1.final using JasperReports Library version 6.2.1 --> | ||
3 | +<!-- 2016-05-10T08:45:42 --> | ||
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="templateCabecalho" language="groovy" printOrder="Horizontal" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="AllSectionsNoDetail" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="0" bottomMargin="0" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> | 4 | <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="templateCabecalho" language="groovy" printOrder="Horizontal" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="AllSectionsNoDetail" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="0" bottomMargin="0" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> |
3 | <property name="ireport.zoom" value="1.0"/> | 5 | <property name="ireport.zoom" value="1.0"/> |
4 | <property name="ireport.x" value="0"/> | 6 | <property name="ireport.x" value="0"/> |
@@ -25,7 +27,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -25,7 +27,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
25 | <detail> | 27 | <detail> |
26 | <band height="126" splitType="Prevent"> | 28 | <band height="126" splitType="Prevent"> |
27 | <textField isBlankWhenNull="true"> | 29 | <textField isBlankWhenNull="true"> |
28 | - <reportElement x="102" y="20" width="700" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/> | 30 | + <reportElement x="157" y="20" width="644" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/> |
29 | <box leftPadding="5"/> | 31 | <box leftPadding="5"/> |
30 | <textElement verticalAlignment="Middle"> | 32 | <textElement verticalAlignment="Middle"> |
31 | <font size="12"/> | 33 | <font size="12"/> |
@@ -33,19 +35,22 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -33,19 +35,22 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
33 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> | 35 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> |
34 | </textField> | 36 | </textField> |
35 | <textField isBlankWhenNull="true"> | 37 | <textField isBlankWhenNull="true"> |
36 | - <reportElement x="102" y="0" width="700" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/> | 38 | + <reportElement x="157" y="0" width="644" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/> |
37 | <box leftPadding="5"/> | 39 | <box leftPadding="5"/> |
38 | <textElement verticalAlignment="Middle"> | 40 | <textElement verticalAlignment="Middle"> |
39 | <font size="12"/> | 41 | <font size="12"/> |
40 | </textElement> | 42 | </textElement> |
41 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> | 43 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> |
42 | </textField> | 44 | </textField> |
43 | - <image isUsingCache="true" onErrorType="Icon"> | ||
44 | - <reportElement positionType="Float" x="17" y="0" width="85" height="60" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"/> | 45 | + <image hAlign="Center" isUsingCache="true" onErrorType="Icon"> |
46 | + <reportElement positionType="Float" x="17" y="0" width="140" height="75" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"> | ||
47 | + <property name="com.jaspersoft.studio.unit.width" value="pixel"/> | ||
48 | + <property name="com.jaspersoft.studio.unit.height" value="pixel"/> | ||
49 | + </reportElement> | ||
45 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> | 50 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> |
46 | </image> | 51 | </image> |
47 | <textField isBlankWhenNull="true"> | 52 | <textField isBlankWhenNull="true"> |
48 | - <reportElement x="102" y="40" width="700" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/> | 53 | + <reportElement x="157" y="40" width="644" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/> |
49 | <box leftPadding="5"/> | 54 | <box leftPadding="5"/> |
50 | <textElement verticalAlignment="Middle"> | 55 | <textElement verticalAlignment="Middle"> |
51 | <font size="12"/> | 56 | <font size="12"/> |
@@ -55,7 +60,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -55,7 +60,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
55 | <textField isBlankWhenNull="true"> | 60 | <textField isBlankWhenNull="true"> |
56 | <reportElement x="0" y="86" width="802" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/> | 61 | <reportElement x="0" y="86" width="802" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/> |
57 | <textElement textAlignment="Center" verticalAlignment="Middle"> | 62 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
58 | - <font fontName="SansSerif" size="14" isBold="true"/> | 63 | + <font fontName="SansSerif" size="15" isBold="true"/> |
59 | </textElement> | 64 | </textElement> |
60 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> | 65 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> |
61 | </textField> | 66 | </textField> |
citgrp-patrimonio-web/src/main/resources/reports/templatePaisagem.jrxml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- Created with Jaspersoft Studio version 6.2.1.final using JasperReports Library version 6.2.1 --> | ||
3 | +<!-- 2016-05-10T08:45:30 --> | ||
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="templatePaisagem" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="AllSectionsNoDetail" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> | 4 | <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="templatePaisagem" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="AllSectionsNoDetail" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> |
3 | <property name="ireport.zoom" value="1.5"/> | 5 | <property name="ireport.zoom" value="1.5"/> |
4 | <property name="ireport.x" value="131"/> | 6 | <property name="ireport.x" value="131"/> |
@@ -26,12 +28,15 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -26,12 +28,15 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
26 | <field name="logo" class="java.lang.Object"/> | 28 | <field name="logo" class="java.lang.Object"/> |
27 | <title> | 29 | <title> |
28 | <band height="130" splitType="Stretch"> | 30 | <band height="130" splitType="Stretch"> |
29 | - <image> | ||
30 | - <reportElement positionType="Float" x="23" y="20" width="85" height="60" uuid="21d967cf-a639-41a7-a0af-62fc1f113936"/> | 31 | + <image hAlign="Center"> |
32 | + <reportElement positionType="Float" x="23" y="20" width="140" height="75" uuid="21d967cf-a639-41a7-a0af-62fc1f113936"> | ||
33 | + <property name="com.jaspersoft.studio.unit.width" value="pixel"/> | ||
34 | + <property name="com.jaspersoft.studio.unit.height" value="pixel"/> | ||
35 | + </reportElement> | ||
31 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> | 36 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> |
32 | </image> | 37 | </image> |
33 | <textField isBlankWhenNull="true"> | 38 | <textField isBlankWhenNull="true"> |
34 | - <reportElement x="108" y="20" width="677" height="20" uuid="4e1c4a55-25b5-42c3-a656-feaaab3ee44c"/> | 39 | + <reportElement x="163" y="20" width="622" height="20" uuid="4e1c4a55-25b5-42c3-a656-feaaab3ee44c"/> |
35 | <box leftPadding="5"/> | 40 | <box leftPadding="5"/> |
36 | <textElement verticalAlignment="Middle"> | 41 | <textElement verticalAlignment="Middle"> |
37 | <font size="12" isBold="true"/> | 42 | <font size="12" isBold="true"/> |
@@ -39,7 +44,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -39,7 +44,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
39 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> | 44 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> |
40 | </textField> | 45 | </textField> |
41 | <textField isBlankWhenNull="true"> | 46 | <textField isBlankWhenNull="true"> |
42 | - <reportElement x="108" y="40" width="677" height="20" uuid="7ce4c085-aea3-4ae6-83ae-0134ef022bd7"/> | 47 | + <reportElement x="163" y="40" width="622" height="20" uuid="7ce4c085-aea3-4ae6-83ae-0134ef022bd7"/> |
43 | <box leftPadding="5"/> | 48 | <box leftPadding="5"/> |
44 | <textElement verticalAlignment="Middle"> | 49 | <textElement verticalAlignment="Middle"> |
45 | <font size="12" isBold="true"/> | 50 | <font size="12" isBold="true"/> |
@@ -47,7 +52,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -47,7 +52,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
47 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> | 52 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> |
48 | </textField> | 53 | </textField> |
49 | <textField isBlankWhenNull="true"> | 54 | <textField isBlankWhenNull="true"> |
50 | - <reportElement x="108" y="60" width="677" height="20" uuid="edd46a21-e588-4e52-8438-c70f2ede5324"/> | 55 | + <reportElement x="163" y="60" width="622" height="20" uuid="edd46a21-e588-4e52-8438-c70f2ede5324"/> |
51 | <box leftPadding="5"/> | 56 | <box leftPadding="5"/> |
52 | <textElement verticalAlignment="Middle"> | 57 | <textElement verticalAlignment="Middle"> |
53 | <font size="12" isBold="true"/> | 58 | <font size="12" isBold="true"/> |
@@ -57,7 +62,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -57,7 +62,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
57 | <textField> | 62 | <textField> |
58 | <reportElement x="0" y="99" width="802" height="20" uuid="53427ba1-1676-40f7-8925-170941b8b23c"/> | 63 | <reportElement x="0" y="99" width="802" height="20" uuid="53427ba1-1676-40f7-8925-170941b8b23c"/> |
59 | <textElement textAlignment="Center" verticalAlignment="Middle"> | 64 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
60 | - <font fontName="SansSerif" size="14" isBold="true"/> | 65 | + <font fontName="SansSerif" size="15" isBold="true"/> |
61 | </textElement> | 66 | </textElement> |
62 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> | 67 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> |
63 | </textField> | 68 | </textField> |
citgrp-patrimonio-web/src/main/resources/reports/templatePaisagemRepeat.jrxml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- Created with Jaspersoft Studio version 6.2.1.final using JasperReports Library version 6.2.1 --> | ||
3 | +<!-- 2016-05-10T08:45:08 --> | ||
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="templatePaisagemRepeat" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> | 4 | <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="templatePaisagemRepeat" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> |
3 | <property name="ireport.zoom" value="1.0"/> | 5 | <property name="ireport.zoom" value="1.0"/> |
4 | <property name="ireport.x" value="0"/> | 6 | <property name="ireport.x" value="0"/> |
@@ -26,12 +28,15 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -26,12 +28,15 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
26 | <field name="logo" class="java.lang.Object"/> | 28 | <field name="logo" class="java.lang.Object"/> |
27 | <pageHeader> | 29 | <pageHeader> |
28 | <band height="99"> | 30 | <band height="99"> |
29 | - <image> | ||
30 | - <reportElement positionType="Float" x="23" y="0" width="85" height="60" uuid="21d967cf-a639-41a7-a0af-62fc1f113936"/> | 31 | + <image hAlign="Center"> |
32 | + <reportElement positionType="Float" x="23" y="0" width="140" height="75" uuid="21d967cf-a639-41a7-a0af-62fc1f113936"> | ||
33 | + <property name="com.jaspersoft.studio.unit.width" value="pixel"/> | ||
34 | + <property name="com.jaspersoft.studio.unit.height" value="pixel"/> | ||
35 | + </reportElement> | ||
31 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> | 36 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> |
32 | </image> | 37 | </image> |
33 | <textField isBlankWhenNull="true"> | 38 | <textField isBlankWhenNull="true"> |
34 | - <reportElement x="108" y="0" width="677" height="20" uuid="4e1c4a55-25b5-42c3-a656-feaaab3ee44c"/> | 39 | + <reportElement x="163" y="0" width="622" height="20" uuid="4e1c4a55-25b5-42c3-a656-feaaab3ee44c"/> |
35 | <box leftPadding="5"/> | 40 | <box leftPadding="5"/> |
36 | <textElement verticalAlignment="Middle"> | 41 | <textElement verticalAlignment="Middle"> |
37 | <font size="12" isBold="true"/> | 42 | <font size="12" isBold="true"/> |
@@ -39,7 +44,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -39,7 +44,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
39 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> | 44 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> |
40 | </textField> | 45 | </textField> |
41 | <textField isBlankWhenNull="true"> | 46 | <textField isBlankWhenNull="true"> |
42 | - <reportElement x="108" y="20" width="677" height="20" uuid="7ce4c085-aea3-4ae6-83ae-0134ef022bd7"/> | 47 | + <reportElement x="163" y="20" width="622" height="20" uuid="7ce4c085-aea3-4ae6-83ae-0134ef022bd7"/> |
43 | <box leftPadding="5"/> | 48 | <box leftPadding="5"/> |
44 | <textElement verticalAlignment="Middle"> | 49 | <textElement verticalAlignment="Middle"> |
45 | <font size="12" isBold="true"/> | 50 | <font size="12" isBold="true"/> |
@@ -47,7 +52,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -47,7 +52,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
47 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> | 52 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> |
48 | </textField> | 53 | </textField> |
49 | <textField isBlankWhenNull="true"> | 54 | <textField isBlankWhenNull="true"> |
50 | - <reportElement x="108" y="40" width="677" height="20" uuid="edd46a21-e588-4e52-8438-c70f2ede5324"/> | 55 | + <reportElement x="163" y="40" width="622" height="20" uuid="edd46a21-e588-4e52-8438-c70f2ede5324"/> |
51 | <box leftPadding="5"/> | 56 | <box leftPadding="5"/> |
52 | <textElement verticalAlignment="Middle"> | 57 | <textElement verticalAlignment="Middle"> |
53 | <font size="12" isBold="true"/> | 58 | <font size="12" isBold="true"/> |
@@ -57,7 +62,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -57,7 +62,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
57 | <textField> | 62 | <textField> |
58 | <reportElement x="0" y="79" width="802" height="20" uuid="53427ba1-1676-40f7-8925-170941b8b23c"/> | 63 | <reportElement x="0" y="79" width="802" height="20" uuid="53427ba1-1676-40f7-8925-170941b8b23c"/> |
59 | <textElement textAlignment="Center" verticalAlignment="Middle"> | 64 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
60 | - <font fontName="SansSerif" size="14" isBold="true"/> | 65 | + <font fontName="SansSerif" size="15" isBold="true"/> |
61 | </textElement> | 66 | </textElement> |
62 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> | 67 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> |
63 | </textField> | 68 | </textField> |
citgrp-patrimonio-web/src/main/resources/reports/templateRetrato.jrxml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- Created with Jaspersoft Studio version 6.2.1.final using JasperReports Library version 6.2.1 --> | ||
3 | +<!-- 2016-05-10T08:44:52 --> | ||
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="templateRetrato" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> | 4 | <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="templateRetrato" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> |
3 | <property name="ireport.zoom" value="2.0"/> | 5 | <property name="ireport.zoom" value="2.0"/> |
4 | <property name="ireport.x" value="25"/> | 6 | <property name="ireport.x" value="25"/> |
@@ -27,7 +29,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -27,7 +29,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
27 | <title> | 29 | <title> |
28 | <band height="134" splitType="Stretch"> | 30 | <band height="134" splitType="Stretch"> |
29 | <textField isBlankWhenNull="true"> | 31 | <textField isBlankWhenNull="true"> |
30 | - <reportElement x="102" y="37" width="453" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/> | 32 | + <reportElement x="157" y="37" width="398" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/> |
31 | <box leftPadding="5"/> | 33 | <box leftPadding="5"/> |
32 | <textElement verticalAlignment="Middle"> | 34 | <textElement verticalAlignment="Middle"> |
33 | <font size="12" isBold="true"/> | 35 | <font size="12" isBold="true"/> |
@@ -35,19 +37,22 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -35,19 +37,22 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
35 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> | 37 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> |
36 | </textField> | 38 | </textField> |
37 | <textField isBlankWhenNull="true"> | 39 | <textField isBlankWhenNull="true"> |
38 | - <reportElement x="102" y="17" width="453" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/> | 40 | + <reportElement x="157" y="17" width="398" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/> |
39 | <box leftPadding="5"/> | 41 | <box leftPadding="5"/> |
40 | <textElement verticalAlignment="Middle"> | 42 | <textElement verticalAlignment="Middle"> |
41 | <font size="12" isBold="true"/> | 43 | <font size="12" isBold="true"/> |
42 | </textElement> | 44 | </textElement> |
43 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> | 45 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> |
44 | </textField> | 46 | </textField> |
45 | - <image isUsingCache="true" onErrorType="Icon"> | ||
46 | - <reportElement positionType="Float" x="17" y="17" width="85" height="60" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"/> | 47 | + <image hAlign="Center" isUsingCache="true" onErrorType="Icon"> |
48 | + <reportElement positionType="Float" x="17" y="17" width="140" height="75" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"> | ||
49 | + <property name="com.jaspersoft.studio.unit.width" value="pixel"/> | ||
50 | + <property name="com.jaspersoft.studio.unit.height" value="pixel"/> | ||
51 | + </reportElement> | ||
47 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> | 52 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> |
48 | </image> | 53 | </image> |
49 | <textField isBlankWhenNull="true"> | 54 | <textField isBlankWhenNull="true"> |
50 | - <reportElement x="102" y="57" width="453" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/> | 55 | + <reportElement x="157" y="57" width="398" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/> |
51 | <box leftPadding="5"/> | 56 | <box leftPadding="5"/> |
52 | <textElement verticalAlignment="Middle"> | 57 | <textElement verticalAlignment="Middle"> |
53 | <font size="12" isBold="true"/> | 58 | <font size="12" isBold="true"/> |
@@ -57,7 +62,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -57,7 +62,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
57 | <textField> | 62 | <textField> |
58 | <reportElement x="0" y="103" width="555" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/> | 63 | <reportElement x="0" y="103" width="555" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/> |
59 | <textElement textAlignment="Center" verticalAlignment="Middle"> | 64 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
60 | - <font fontName="SansSerif" size="14" isBold="true"/> | 65 | + <font fontName="SansSerif" size="15" isBold="true"/> |
61 | </textElement> | 66 | </textElement> |
62 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> | 67 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> |
63 | </textField> | 68 | </textField> |
citgrp-patrimonio-web/src/main/resources/reports/templateRetratoRepeat.jrxml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- Created with Jaspersoft Studio version 6.2.1.final using JasperReports Library version 6.2.1 --> | ||
3 | +<!-- 2016-05-10T08:43:23 --> | ||
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="templateRetrato" language="groovy" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> | 4 | <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="templateRetrato" language="groovy" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f"> |
3 | <property name="ireport.zoom" value="1.5"/> | 5 | <property name="ireport.zoom" value="1.5"/> |
4 | <property name="ireport.x" value="0"/> | 6 | <property name="ireport.x" value="0"/> |
@@ -27,7 +29,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -27,7 +29,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
27 | <pageHeader> | 29 | <pageHeader> |
28 | <band height="106"> | 30 | <band height="106"> |
29 | <textField isBlankWhenNull="true"> | 31 | <textField isBlankWhenNull="true"> |
30 | - <reportElement x="102" y="20" width="453" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/> | 32 | + <reportElement x="157" y="20" width="398" height="20" uuid="8b7353fa-6d6b-4b7d-bd04-2564491beff4"/> |
31 | <box leftPadding="5"/> | 33 | <box leftPadding="5"/> |
32 | <textElement verticalAlignment="Middle"> | 34 | <textElement verticalAlignment="Middle"> |
33 | <font size="12" isBold="true"/> | 35 | <font size="12" isBold="true"/> |
@@ -35,19 +37,22 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -35,19 +37,22 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
35 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> | 37 | <textFieldExpression><![CDATA[$F{titulo2}]]></textFieldExpression> |
36 | </textField> | 38 | </textField> |
37 | <textField isBlankWhenNull="true"> | 39 | <textField isBlankWhenNull="true"> |
38 | - <reportElement x="102" y="0" width="453" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/> | 40 | + <reportElement x="157" y="0" width="398" height="20" uuid="0c63ef23-5e35-4c22-81ed-dbd9a2fac964"/> |
39 | <box leftPadding="5"/> | 41 | <box leftPadding="5"/> |
40 | <textElement verticalAlignment="Middle"> | 42 | <textElement verticalAlignment="Middle"> |
41 | <font size="12" isBold="true"/> | 43 | <font size="12" isBold="true"/> |
42 | </textElement> | 44 | </textElement> |
43 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> | 45 | <textFieldExpression><![CDATA[$F{titulo1}]]></textFieldExpression> |
44 | </textField> | 46 | </textField> |
45 | - <image isUsingCache="true" onErrorType="Icon"> | ||
46 | - <reportElement positionType="Float" x="17" y="0" width="85" height="60" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"/> | 47 | + <image scaleImage="RetainShape" hAlign="Center" isUsingCache="true" onErrorType="Icon"> |
48 | + <reportElement positionType="Float" mode="Transparent" x="17" y="0" width="140" height="75" backcolor="#FFFFFF" uuid="d161cd66-d9ef-43e9-b70a-3fb2c8b4eba4"> | ||
49 | + <property name="com.jaspersoft.studio.unit.width" value="pixel"/> | ||
50 | + <property name="com.jaspersoft.studio.unit.height" value="pixel"/> | ||
51 | + </reportElement> | ||
47 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> | 52 | <imageExpression><![CDATA[new ByteArrayInputStream((byte[])$F{logo})]]></imageExpression> |
48 | </image> | 53 | </image> |
49 | <textField isBlankWhenNull="true"> | 54 | <textField isBlankWhenNull="true"> |
50 | - <reportElement x="102" y="40" width="453" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/> | 55 | + <reportElement x="157" y="40" width="398" height="20" uuid="7fc824c8-633f-40d4-8310-4d81780f2834"/> |
51 | <box leftPadding="5"/> | 56 | <box leftPadding="5"/> |
52 | <textElement verticalAlignment="Middle"> | 57 | <textElement verticalAlignment="Middle"> |
53 | <font size="12" isBold="true"/> | 58 | <font size="12" isBold="true"/> |
@@ -57,7 +62,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | @@ -57,7 +62,7 @@ from anexoimagem aImagem right join configuracao conf on aImagem.configuracao_id | ||
57 | <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | 62 | <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
58 | <reportElement x="0" y="86" width="555" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/> | 63 | <reportElement x="0" y="86" width="555" height="20" uuid="3405a538-3907-4101-97dd-99920d6fc78d"/> |
59 | <textElement textAlignment="Center" verticalAlignment="Middle"> | 64 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
60 | - <font fontName="SansSerif" size="14" isBold="true"/> | 65 | + <font fontName="SansSerif" size="15" isBold="true"/> |
61 | </textElement> | 66 | </textElement> |
62 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> | 67 | <textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression> |
63 | </textField> | 68 | </textField> |