Sfoglia il codice sorgente

- fix template

- added logs to SchedulerGeneraDocumento and ReportEngine
feature/pannello-pratiche
marcoalderighi 2 anni fa
parent
commit
81639163cc
  1. 62
      jasper/reports-2023/FL1_avviso_inizio_lavori.jrxml
  2. 10
      jasper/reports-2023/FL2_avviso_fine_lavori.jrxml
  3. 172
      jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml
  4. 18
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraDocumento.java
  5. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  6. 7
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/jasper/core/ReportEngine.java

62
jasper/reports-2023/FL1_avviso_inizio_lavori.jrxml

@ -1,8 +1,8 @@
<?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="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.zoom" value="3.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="529"/>
<property name="ireport.y" value="207"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
@ -87,16 +87,16 @@
</band>
</pageHeader>
<detail>
<band height="480">
<band height="471">
<staticText>
<reportElement x="0" y="32" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<reportElement x="0" y="10" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="56" y="32" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<reportElement x="56" y="10" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
@ -121,7 +121,7 @@
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="101" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<reportElement x="9" y="65" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -130,7 +130,7 @@
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="233" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<reportElement positionType="Float" x="381" y="192" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -139,7 +139,7 @@
<textFieldExpression><![CDATA[$F{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="131" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<reportElement x="9" y="95" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -148,7 +148,7 @@
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" positionType="Float" x="266" y="202" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<reportElement key="" positionType="Float" x="266" y="161" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -157,7 +157,7 @@
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement positionType="Float" x="266" y="233" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<reportElement positionType="Float" x="266" y="192" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -166,7 +166,7 @@
<text><![CDATA[Al D.LL.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="116" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<reportElement x="9" y="80" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -175,7 +175,7 @@
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="91" y="161" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<reportElement positionType="Float" x="91" y="125" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -184,7 +184,7 @@
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="91" y="131" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<reportElement x="91" y="95" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -193,7 +193,7 @@
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="101" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<reportElement x="91" y="65" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -202,7 +202,7 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="116" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<reportElement x="91" y="80" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -211,7 +211,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="9" y="161" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<reportElement positionType="Float" x="9" y="125" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -220,7 +220,7 @@
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="202" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<reportElement positionType="Float" x="381" y="161" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -229,7 +229,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="91" y="176" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<reportElement positionType="Float" x="91" y="140" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{numeroProtocollo} ) && $F{numeroProtocollo}!=null]]></printWhenExpression>
</reportElement>
@ -239,7 +239,7 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="9" y="176" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<reportElement positionType="Float" x="9" y="140" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{numeroProtocollo} ) && $F{numeroProtocollo}!=null]]></printWhenExpression>
</reportElement>
@ -249,7 +249,7 @@
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="217" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<reportElement positionType="Float" x="381" y="176" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -258,7 +258,7 @@
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" positionType="Float" x="266" y="217" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<reportElement key="" positionType="Float" x="266" y="176" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -267,7 +267,7 @@
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="248" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<reportElement positionType="Float" x="381" y="207" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -277,7 +277,7 @@
<textFieldExpression><![CDATA[$F{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="266" y="248" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<reportElement positionType="Float" x="266" y="207" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -287,7 +287,7 @@
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="146" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<reportElement positionType="Float" x="9" y="110" width="94" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -296,7 +296,7 @@
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="146" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<reportElement positionType="Float" x="91" y="110" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -305,7 +305,7 @@
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="170" y="73" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<reportElement x="170" y="41" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
@ -314,7 +314,7 @@
<text><![CDATA[AVVISO DI INIZIO LAVORI]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="263" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<reportElement positionType="Float" x="381" y="222" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -323,7 +323,7 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="298" width="548" height="107" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<reportElement positionType="Float" x="1" y="243" width="548" height="107" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
@ -336,7 +336,7 @@
"SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="72" y="263" width="302" height="15" uuid="18d75014-a1fb-4732-be27-6ecffbd4e749">
<reportElement positionType="Float" x="72" y="222" width="302" height="15" uuid="18d75014-a1fb-4732-be27-6ecffbd4e749">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
@ -345,7 +345,7 @@
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField>
<reportElement positionType="Float" x="277" y="423" width="269" height="20" uuid="18642a9d-131c-452d-af39-2b04fe676cf6">
<reportElement positionType="Float" x="277" y="352" width="269" height="20" uuid="18642a9d-131c-452d-af39-2b04fe676cf6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$V{PAGE}.equals($V{PAGE_NUMBER})]]></printWhenExpression>
</reportElement>
@ -355,7 +355,7 @@
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="Float" x="277" y="442" width="269" height="20" uuid="75e0a0cc-48e5-4df7-83f0-94be0b2cfa85">
<reportElement positionType="Float" x="277" y="371" width="269" height="20" uuid="75e0a0cc-48e5-4df7-83f0-94be0b2cfa85">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$V{PAGE}.equals($V{PAGE_NUMBER})]]></printWhenExpression>
</reportElement>

10
jasper/reports-2023/FL2_avviso_fine_lavori.jrxml

@ -2,7 +2,7 @@
<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="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="288"/>
<property name="ireport.y" value="624"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
@ -102,7 +102,7 @@
</band>
</pageHeader>
<detail>
<band height="490">
<band height="496">
<staticText>
<reportElement x="0" y="32" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
@ -339,7 +339,7 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="293" width="548" height="91" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<reportElement positionType="Float" x="1" y="282" width="548" height="91" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
@ -361,7 +361,7 @@
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField>
<reportElement positionType="Float" x="125" y="419" width="425" height="20" uuid="8822d5f2-6675-4305-b713-405fad7a2cb7">
<reportElement positionType="Float" x="123" y="384" width="425" height="20" uuid="8822d5f2-6675-4305-b713-405fad7a2cb7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
@ -370,7 +370,7 @@
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="Float" x="125" y="439" width="425" height="20" uuid="ba47e88b-9538-4cb8-91b8-d5ff2178fdcf">
<reportElement positionType="Float" x="123" y="404" width="425" height="20" uuid="ba47e88b-9538-4cb8-91b8-d5ff2178fdcf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">

172
jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml

@ -1,8 +1,8 @@
<?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="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.zoom" value="1.6105100000000048"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="240"/>
<property name="ireport.y" value="351"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
@ -110,23 +110,41 @@
</band>
</pageHeader>
<detail>
<band height="533">
<band height="593">
<staticText>
<reportElement x="0" y="9" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<reportElement x="0" y="12" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="56" y="9" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<reportElement x="56" y="12" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Zone Sismiche - D.P.R. n. 380/2001 e ss. mm. ii.]]></text>
</staticText>
<textField evaluationTime="Auto">
<reportElement x="20" y="495" width="519" height="20" isRemoveLineWhenBlank="true" uuid="ff20aaeb-9dbf-4e7c-b7a9-6052c15f462e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Il Dirigente del Servizio o suo Delegato"]]></textFieldExpression>
</textField>
<textField evaluationTime="Auto">
<reportElement x="20" y="475" width="519" height="20" isRemoveLineWhenBlank="true" uuid="379bb94e-138a-4bb7-b5ec-d92f554cfc6c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="56" y="22" width="272" height="14" isRemoveLineWhenBlank="true" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<reportElement x="56" y="25" width="272" height="14" isRemoveLineWhenBlank="true" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -136,7 +154,7 @@
<text><![CDATA[- Relazione fine lavori strutturali]]></text>
</staticText>
<staticText>
<reportElement x="9" y="96" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<reportElement x="9" y="99" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -145,7 +163,7 @@
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="220" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<reportElement x="381" y="289" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -154,7 +172,7 @@
<textFieldExpression><![CDATA[$F{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="127" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<reportElement x="9" y="130" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -163,7 +181,7 @@
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" positionType="Float" x="266" y="190" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<reportElement key="" x="266" y="259" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -172,7 +190,7 @@
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement positionType="Float" x="266" y="220" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<reportElement x="266" y="289" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -181,7 +199,7 @@
<text><![CDATA[Al D.LL.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="112" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<reportElement x="9" y="115" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -190,7 +208,7 @@
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="91" y="157" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<reportElement x="91" y="226" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -199,7 +217,7 @@
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="91" y="127" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<reportElement x="91" y="130" width="458" height="81" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -208,7 +226,7 @@
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="96" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<reportElement x="91" y="99" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -217,7 +235,7 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="112" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<reportElement x="91" y="115" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -226,7 +244,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="9" y="157" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<reportElement x="9" y="226" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -235,7 +253,7 @@
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="190" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<reportElement x="381" y="259" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -244,7 +262,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="91" y="172" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<reportElement x="91" y="241" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{numeroProtocollo} ) && $F{numeroProtocollo}!=null]]></printWhenExpression>
</reportElement>
@ -254,7 +272,7 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="9" y="172" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<reportElement x="9" y="241" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{numeroProtocollo} ) && $F{numeroProtocollo}!=null]]></printWhenExpression>
</reportElement>
@ -264,7 +282,7 @@
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="205" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<reportElement x="381" y="274" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -273,7 +291,7 @@
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" positionType="Float" x="266" y="205" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<reportElement key="" x="266" y="274" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -282,7 +300,7 @@
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="235" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<reportElement x="381" y="304" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -292,7 +310,7 @@
<textFieldExpression><![CDATA[$F{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="266" y="235" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<reportElement x="266" y="304" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -302,7 +320,7 @@
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement positionType="Float" x="9" y="142" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<reportElement x="9" y="211" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -311,7 +329,7 @@
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="91" y="142" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<reportElement x="91" y="211" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -320,7 +338,7 @@
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="280" width="554" height="148" isRemoveLineWhenBlank="true" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623">
<reportElement x="3" y="346" width="546" height="129" isRemoveLineWhenBlank="true" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623">
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
@ -331,7 +349,7 @@
" Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="170" y="65" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<reportElement x="170" y="68" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -341,7 +359,7 @@
<text><![CDATA[AVVISO DI VIDIMAZIONE]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="381" y="250" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<reportElement x="381" y="319" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -350,7 +368,7 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="56" y="22" width="483" height="14" isRemoveLineWhenBlank="true" uuid="b1c49ef5-3654-4353-9e9d-082658d95da4">
<reportElement x="56" y="25" width="483" height="14" isRemoveLineWhenBlank="true" uuid="b1c49ef5-3654-4353-9e9d-082658d95da4">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -360,7 +378,7 @@
<text><![CDATA[- Relazione a strutture ultimate, art. 65 D.P.R. n. 380/2001]]></text>
</staticText>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="56" y="36" width="483" height="16" isRemoveLineWhenBlank="true" uuid="c7e2eb73-9e47-44b2-aa3a-92f1fa99acb7">
<reportElement x="56" y="39" width="483" height="16" isRemoveLineWhenBlank="true" uuid="c7e2eb73-9e47-44b2-aa3a-92f1fa99acb7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -370,7 +388,7 @@
<text><![CDATA[- Dichiarazione di regolare esecuzione, art. 67, commi 8-bis e 8-ter]]></text>
</staticText>
<staticText>
<reportElement x="150" y="65" width="287" height="16" isRemoveLineWhenBlank="true" uuid="e07da770-e27a-4d5e-a3be-e8631aaea1c2">
<reportElement x="150" y="68" width="287" height="16" isRemoveLineWhenBlank="true" uuid="e07da770-e27a-4d5e-a3be-e8631aaea1c2">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -379,19 +397,46 @@
</textElement>
<text><![CDATA[ATTESTAZIONE DI DEPOSITO FINE LAVORI]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="0" y="346" width="548" height="129" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559">
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[" Vista la richiesta di deposito, trasmessa in data " + $F{dataPraticaString} + ", relativa al progetto di che " +
"trattasi, si comunica che la relazione a strutture ultimate/dichiarazione di regolare esecuzione è " +
"stata acquisita dal sistema informatico “Sismica” della Regione Siciliana. \n" +
" La stessa è da intendersi depositata ai sensi dell’art. 65 del DPR 380/2001 e ss.mm. e ii. " +
"per le opere disciplinate dal “Capo II - Disciplina delle opere di conglomerato cementizio " +
"armato, normale e precompresso ed a struttura metallica” e ai sensi dell’art. 67, commi 8-bis e " +
"8-ter, nel caso di dichiarazione di regolare esecuzione. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana. "]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="51" y="319" width="325" height="15" uuid="2b364a08-ef1e-44b2-8250-713b1c22f9c3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<componentElement>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" x="1" y="452" width="539" height="30" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="1433a1bd-a6fa-450e-9f93-c9eac4a9abb0">
<reportElement positionType="Float" x="0" y="551" width="554" height="34" uuid="e4cd61dc-051b-4207-acb8-8aaf86f47d86">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</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="dataset1" uuid="e26d24e0-cd56-499e-89bf-5e962461ddad">
<datasetRun subDataset="dataset1" uuid="30575842-b142-4675-9258-3ea446f13838">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="539">
<jr:listContents height="34" width="554">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="2" width="519" height="14" uuid="37ebe140-796a-4b56-8891-c0bfbe124731">
<reportElement positionType="Float" x="20" y="4" width="519" height="14" uuid="e34780ba-179e-45a9-817f-5248908207ce">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
@ -401,13 +446,13 @@
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="75cfc6de-9d49-4b20-ab57-303c730b67c3">
<reportElement positionType="Float" x="11" y="6" width="4" height="4" backcolor="#000000" uuid="c139f256-eaf2-4a55-ae46-a8adc4ca4240">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</ellipse>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="12" width="519" height="14" uuid="7fef2560-fa53-4b28-8150-81256faa1884">
<reportElement positionType="Float" x="20" y="19" width="519" height="14" uuid="1c100ea1-6ffe-42e8-be6f-4c9d7aacde28">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
@ -419,63 +464,16 @@
</jr:listContents>
</jr:list>
</componentElement>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="280" width="548" height="148" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559">
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[" Vista la richiesta di deposito, trasmessa in data " + $F{dataPraticaString} + ", relativa al progetto di che " +
"trattasi, si comunica che la relazione a strutture ultimate/dichiarazione di regolare esecuzione è " +
"stata acquisita dal sistema informatico “Sismica” della Regione Siciliana. \n" +
" La stessa è da intendersi depositata ai sensi dell’art. 65 del DPR 380/2001 e ss.mm. e ii. " +
"per le opere disciplinate dal “Capo II - Disciplina delle opere di conglomerato cementizio " +
"armato, normale e precompresso ed a struttura metallica” e ai sensi dell’art. 67, commi 8-bis e " +
"8-ter, nel caso di dichiarazione di regolare esecuzione. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana. "]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="428" width="548" height="23" isRemoveLineWhenBlank="true" uuid="4f7d7917-70d6-434c-a6a8-7df9277a6d19">
<reportElement x="6" y="521" width="548" height="16" isRemoveLineWhenBlank="true" uuid="4f7d7917-70d6-434c-a6a8-7df9277a6d19">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph spacingBefore="10"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all'istanza:]]></text>
</staticText>
<staticText>
<reportElement key="" positionType="Float" x="51" y="250" width="325" height="15" uuid="2b364a08-ef1e-44b2-8250-713b1c22f9c3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField evaluationTime="Auto">
<reportElement positionType="Float" x="20" y="486" width="519" height="20" isRemoveLineWhenBlank="true" uuid="379bb94e-138a-4bb7-b5ec-d92f554cfc6c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField evaluationTime="Auto">
<reportElement positionType="Float" x="20" y="506" width="519" height="20" isRemoveLineWhenBlank="true" uuid="ff20aaeb-9dbf-4e7c-b7a9-6052c15f462e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Il Dirigente del Servizio o suo Delegato"]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>

18
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraDocumento.java

@ -52,7 +52,9 @@ public class SchedulerGeneraDocumento implements MessageListener {
@Override
public void receive(Message message) throws MessageListenerException {
if(_log.isDebugEnabled()){
_log.debug("SchedulerGeneraDocumento is running");
}
if (lock.tryLock()) {
try {
// campo abilitazione scheduler
@ -66,12 +68,14 @@ public class SchedulerGeneraDocumento implements MessageListener {
List<Avviso> avvisi = AvvisoLocalServiceUtil.getAvvisiGenerazioneDocumento(cursor,
cursor + SIZE);
for (Avviso avviso : avvisi) {
_log.info("SchedulerGeneraDocumento - avviso "+avviso.getAvvisoId());
try {
FileEntry fileEntryTemplate = null;
try {
fileEntryTemplate = DLAppLocalServiceUtil.getFileEntry(avviso
.getFileEntryIdTemplate());
} catch (PortalException e) {
_log.error(e,e);
// bloccato, non esiste file di template
AvvisoLocalServiceUtil.updateAvvisoErrore(avviso.getAvvisoId(), true);
}
@ -86,7 +90,9 @@ public class SchedulerGeneraDocumento implements MessageListener {
}
}
}
if(_log.isDebugEnabled()){
_log.debug("SchedulerGeneraDocumento - fine");
}
} catch (SystemException e) {
_log.error("Error", e);
} finally {
@ -96,7 +102,9 @@ public class SchedulerGeneraDocumento implements MessageListener {
}
private Long generaDocumento(Avviso avviso, long fileEntryIdTemplate) throws SystemException {
if(_log.isDebugEnabled()){
_log.debug("SchedulerGeneraDocumento - json avviso " + JSONFactoryUtil.looseSerialize(avviso));
}
Long idFileEntry = null;
try {
long companyId = avviso.getCompanyId();
@ -139,7 +147,13 @@ public class SchedulerGeneraDocumento implements MessageListener {
reportDto.setParameters(parameters);
reportDto.setShowNumberOfPage(true);
reportDto.setType(ReportConstants.ReportType.JRXML_TO_PDF.toString());
if(_log.isDebugEnabled()){
_log.debug("SchedulerGeneraDocumento - json reportDto" + JSONFactoryUtil.looseSerialize(reportDto));
}
ReportResultDto result = ReportUtil.generateReport(companyId, userId, reportDto, bean);
if(_log.isDebugEnabled()){
_log.debug("SchedulerGeneraDocumento - json reportDto" + JSONFactoryUtil.looseSerialize(result));
}
idFileEntry = result.getFileEntryIds()[0];
if (Validator.isNotNull(idFileEntry)) {
if (avviso.getTipoAvviso().equalsIgnoreCase(AvvisoUtil.TIPO_AVVISO_DIRETTO)) {

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=2872
build.date=1679060232132
build.number=2873
build.date=1680090881093
build.auto.upgrade=true
##

7
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/jasper/core/ReportEngine.java

@ -1,6 +1,7 @@
package it.tref.liferay.portos.report.jasper.core;
import it.tref.liferay.portos.report.jasper.core.report.ReportInterface;
import it.tref.liferay.portos.report.shared.util.ReportUtil;
import java.io.File;
import java.io.FileInputStream;
@ -29,6 +30,8 @@ import net.sf.jasperreports.engine.export.JRXlsExporterParameter;
import net.sf.jasperreports.engine.export.ooxml.JRDocxExporter;
import net.sf.jasperreports.engine.xml.JRXmlLoader;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.util.HttpUtil;
public class ReportEngine {
@ -431,6 +434,9 @@ public class ReportEngine {
jp = JasperFillManager.fillReport(jr, parameters, new JREmptyDataSource());
} catch (JRException e) {
if(_log.isDebugEnabled()){
_log.debug(e,e);
}
throw e;
}
return jp;
@ -472,4 +478,5 @@ public class ReportEngine {
return profile;
}
private static final Log _log = LogFactoryUtil.getLog(ReportEngine.class);
}

Caricamento…
Annulla
Salva