Sfoglia il codice sorgente

Modifiche DDG 334/2020

master 22.05
Salvatore La Manna 3 anni fa
parent
commit
c7898d02c7
  1. 234
      jasper/ATAP.jrxml
  2. 2
      jasper/Autorizzazione negata.jrxml
  3. 0
      jasper/Modello A.jrxml
  4. 2
      jasper/Modello A1.jrxml
  5. 0
      jasper/Modello B.jrxml
  6. 0
      jasper/Modello B2.jrxml
  7. 0
      jasper/Modello C.jrxml
  8. 0
      jasper/Modello P.jrxml
  9. 0
      jasper/Modello PS.jrxml
  10. 0
      jasper/Modello S.jrxml
  11. 0
      jasper/Modello VNS.jrxml
  12. 457
      jasper/Modello_B1.jrxml
  13. 242
      jasper/Modello_SS.jrxml
  14. 450
      jasper/Modello_Sorteggio.jrxml
  15. 559
      jasper/Modello_V2.jrxml
  16. 671
      jasper/Modello_deposito.jrxml
  17. 510
      jasper/Modello_deposito_collaudo.jrxml
  18. 510
      jasper/Modello_deposito_fine_lavori.jrxml
  19. 423
      jasper/Modello_vidimazione.jrxml
  20. 388
      jasper/accettata_integrazione.jrxml
  21. 15
      jasper/allegato_pagamento.vm
  22. 363
      jasper/annullamento.jrxml
  23. 14
      jasper/annullamento_istanza.vm
  24. 623
      jasper/autorizzazione.jrxml
  25. 283
      jasper/cambio_istruttore.jrxml
  26. 2
      jasper/richiesta_integrazione_portos2.jrxml
  27. 343
      jasper/vidimazione.jrxml
  28. 397
      jasper/vidimazione_fl.jrxml
  29. 416
      jasper/vidimazione_var_sog.jrxml
  30. 444
      jasper/visualizza_collaudo.jrxml
  31. 487
      jasper/visualizza_fine_lavori.jrxml
  32. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ConfigurazioneLocalService.java
  33. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ConfigurazioneLocalServiceClp.java
  34. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ConfigurazioneLocalServiceUtil.java
  35. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ConfigurazioneLocalServiceWrapper.java
  36. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AzioniPraticheUtil.java
  37. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java
  38. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/WorkflowUtil.java
  39. 38
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/ManutenzioneDatabase.java
  40. 35
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  41. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SorteggioPraticaUtil.java
  42. 251
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/ZoneSismicheUtil.java
  43. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerInvioDocumento.java
  44. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerPratiche.java
  45. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  46. 5
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

234
jasper/ATAP.jrxml

@ -1,234 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello B2" 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.5"/>
<property name="ireport.x" value="3"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataProtocolloValido" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="dataProtocolloAnnullato" class="java.util.Date"/>
<field name="numeroProtocolloValido" class="java.lang.String"/>
<field name="numeroProtocolloAnnullato" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tipoProcedura" class="java.lang.String"/>
<pageHeader>
<band height="121" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="24" width="550" height="96" uuid="0bd6c6a9-3d3d-4fd8-a40c-46086907581d">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="407562c5-4d1d-4ad7-9318-af3aac4a74bb">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="f2c4fa1f-8075-415d-966a-e8187ffacdda">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="91aa1907-55af-4b7e-84c5-c4a601c2e18d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="3ee4e487-6318-4336-b9bd-8adaf52a23bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="80" width="100" height="12" uuid="5f2898c1-fdc8-4cce-a055-cb1f41e760de">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="fdd7282f-aeba-440b-9c1e-e8cfd2b27e33">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="24" uuid="a3e7a11b-5bc5-4145-9d6f-2e2911aaee2c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement markup="html">
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[<b>Mod. ATAP</b> – Annullamento d'ufficio]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="223">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="1" y="19" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField>
<reportElement key="" x="57" y="19" width="492" height="37" uuid="d0b4d944-c3c7-4489-b56a-8981d11a9110">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Annullamento ai sensi dell’art. 21-nonies, comma 1, della L. n. 241/90 - Avviso di Conformità/Comunicazione di controllo generato in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataProtocolloAnnullato})]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="1" y="70" width="548" height="49" uuid="c6db0ff7-13ee-451d-bc95-28517cb2dc11">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["A seguito di un errore tecnico dovuto ad un malfunzionamento della Piattaforma l’avviso di Conformità/Comunicazione di controllo prot. n. "+
$F{numeroProtocolloAnnullato}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataProtocolloAnnullato})+
" è nullo ai sensi dell’art. 21-nonies, comma 1, della L. n. 241/90."]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="133" width="548" height="14" isRemoveLineWhenBlank="true" uuid="f6c0a366-5dae-400e-874d-a971e32901b0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{tipoProcedura}.equalsIgnoreCase("B") || $F{tipoProcedura}.equalsIgnoreCase("B1")]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Trattandosi di intervento di minor rilevanza si procederà al successivo invio di Avviso di Conformità."]]></textFieldExpression>
</textField>
<textField>
<reportElement key="" x="1" y="147" width="548" height="26" isRemoveLineWhenBlank="true" uuid="2607c082-d2a1-4e35-9263-743ecf964aad">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{tipoProcedura}.equalsIgnoreCase("C")]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Trattandosi di intervento di Tipo C ai sensi del DDG 344/2020 ai fini dell’attestazione della presentazione rimane valido l’avviso di vidimazione prot. n. "+$F{numeroProtocolloValido} +" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataProtocolloValido})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="1" y="186" width="548" height="37" uuid="11cbe97e-bfa1-465a-9002-e219f1829887">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Firmato
Dott. Mario Parlavecchio
Responsabile della piattaforma Sismica Sicilia
]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="151" splitType="Stretch">
<staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="4e8fab2e-91ec-48f5-bfd6-b52f2f2b2a14">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
</band>
</pageFooter>
</jasperReport>

2
jasper/Autorizzazione negata.jrxml

@ -369,7 +369,7 @@
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[visto il DDG 189/2019 del Dipartimento Regionale Tecnico ed il sorteggio effettuato tra gli interventi rientranti tra quelli sottoposti a verifica a campione]]></text> <text><![CDATA[visto il DDG 334/2020 del Dipartimento Regionale Tecnico ed il sorteggio effettuato tra gli interventi rientranti tra quelli sottoposti a verifica a campione]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="190" width="37" height="20" uuid="f2067f84-7e7a-4ae9-b31f-24b5929b106e"> <reportElement x="1" y="190" width="37" height="20" uuid="f2067f84-7e7a-4ae9-b31f-24b5929b106e">

0
jasper/Modello_A.jrxml → jasper/Modello A.jrxml

2
jasper/Modello_A1.jrxml → jasper/Modello A1.jrxml

@ -357,7 +357,7 @@ Con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, conve
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[visto il DDG 189/2019 del Dipartimento Regionale Tecnico ed il sorteggio effettuato tra gli interventi rientranti tra quelli sottoposti a verifica a campione]]></text> <text><![CDATA[visto il DDG 334/2020 del Dipartimento Regionale Tecnico ed il sorteggio effettuato tra gli interventi rientranti tra quelli sottoposti a verifica a campione]]></text>
</staticText> </staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="43" y="190" width="504" height="56" uuid="cf5b220e-625b-4ed0-ba6f-852a1d391332"> <reportElement x="43" y="190" width="504" height="56" uuid="cf5b220e-625b-4ed0-ba6f-852a1d391332">

0
jasper/Modello_B.jrxml → jasper/Modello B.jrxml

0
jasper/Modello_B2.jrxml → jasper/Modello B2.jrxml

0
jasper/Modello_C.jrxml → jasper/Modello C.jrxml

0
jasper/Modello_P.jrxml → jasper/Modello P.jrxml

0
jasper/Modello_PS.jrxml → jasper/Modello PS.jrxml

0
jasper/Modello_S.jrxml → jasper/Modello S.jrxml

0
jasper/Modello_VNS.jrxml → jasper/Modello VNS.jrxml

457
jasper/Modello_B1.jrxml

@ -1,457 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello_B1" 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.3636363636363653"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="1180"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="0ab19b8c-2437-4432-8871-14ae0aa2aae5">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dirigente" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<group name="Dettaglio2"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="119" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="12" width="550" height="107" uuid="2ba1d618-2fc5-4462-a206-946fe6a1ed8e">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="32c7b82c-7e0f-4bb8-b3c2-6e48152da99f">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="6f1212d1-f7ca-4244-a312-ad62be259176">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="782963fb-8f7d-44f8-b9da-1897bf3f28ff">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="67ec1c12-068c-49ef-bb62-af5127b37797">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="84" width="53" height="12" uuid="93dd308d-0c8e-4541-9da1-ecad22367093">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
<textField>
<reportElement x="60" y="84" width="100" height="12" uuid="751376ea-f584-428a-9666-c344ca87247e">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="12" uuid="bbb26edd-cbaa-48b2-a87e-88218031ddef">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[Mod. B1 – Avviso di presa in carico - interventi di "minor rilevanza" DDG 189/2019, All. A), lett. B) - zone 1 e 2 e abitati da consolidare]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="243">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="1" y="12" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="9" y="82" width="82" height="14" uuid="1475b832-260b-41ac-8d78-16ea429dc32a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<staticText>
<reportElement x="9" y="110" width="82" height="14" uuid="d89e57d5-254d-4c8a-adfd-2ad26336a66b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="435" y="173" width="115" height="14" uuid="76345dc3-d457-41cd-b72d-d26059883003">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="9" y="96" width="82" height="14" uuid="b8b13fd5-8c23-4baf-b236-4e5d6468eaa8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="138" width="458" height="14" uuid="f3947e1c-706e-4445-bf3e-b8e9707b8b28">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="110" width="458" height="14" uuid="81865073-a9c6-4850-b090-930d6afd2846">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="82" width="458" height="14" uuid="b4415a3f-2764-411d-9fa8-e97e8dfd7e2e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="96" width="458" height="14" uuid="7d36ccf7-fd5b-4e38-993f-b3ff86672d60">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="138" width="82" height="14" uuid="e31bb23e-55b0-4098-96a9-6ae30c3d5623">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="152" width="458" height="14" uuid="810ef857-47d5-46d9-8d66-5594a07eedfe">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="152" width="82" height="14" uuid="61a3bf9c-13ed-4d5f-8e79-e16b50818504">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<staticText>
<reportElement key="" x="435" y="187" width="115" height="14" uuid="4f607d8d-2377-4807-81f8-d5e7ca013e57">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<staticText>
<reportElement x="9" y="124" width="82" height="14" uuid="f79b0de0-ff27-4e71-bc97-f77b7ba0cc5f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="124" width="458" height="14" uuid="76b10fd2-33f4-4ccb-95c0-7757285f0665">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField>
<reportElement x="57" y="12" width="491" height="32" uuid="3111a1a4-7a50-46f3-ae96-9c9559dab1ff">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Istanza relativa a:" + $F{lavoriDi}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" positionType="Float" x="183" y="58" width="170" height="14" uuid="6ed414c7-9a11-4bd0-99e3-54e19d66a1ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true" isUnderline="true"/>
</textElement>
<text><![CDATA[AVVISO DI PRESA IN CARICO]]></text>
</staticText>
<staticText>
<reportElement key="" x="340" y="215" width="210" height="14" uuid="c49a1d62-011c-4374-903b-e882d6b1728d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[e p.c. Al Sindaco del Comune di:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="321" y="229" width="229" height="14" uuid="4741a8ee-64bc-4214-939d-070b45dfcb8e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
</band>
<band height="223">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="0" y="13" width="550" height="167" uuid="be3d8c82-cd22-4c8a-968c-143900eec3ef">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph lineSpacing="1_1_2" firstLineIndent="0"/>
</textElement>
<text><![CDATA[ In relazione all’istanza in oggetto, premesso che:
• L’intervento in oggetto rientra tra quelli di cui al DDG 189/2019, allegato A), lettera B) (zone sismiche 1-2) o tra quelli ricadenti in abitati da consolidare, ai sensi dell’art. 61 D.P.R. 380/01;
• Per tali interventi viene rilasciata l’autorizzazione, per effetto del sorteggio o della facoltà di selezione del Dirigente dell’Ufficio, in applicazione alla lettera D Allegato A del D.D.G. 189/2019.
Ciò premesso, si comunica che l’istanza è stata accolta ed il progetto è stato acquisito dal sistema informatico “Sismica” della Regione Siciliana.
L’inizio dei lavori rimane subordinato al successivo rilascio del provvedimento di deposito o di autorizzazione, che sarà emesso da questo Ufficio, in relazione agli esiti del sorteggio ed alla facoltà di selezione del Dirigente dell’Ufficio.]]></text>
</staticText>
<staticText>
<reportElement key="" positionType="Float" x="245" y="189" width="300" height="14" uuid="97f1a5e8-1c85-470a-bcb7-2ebcf8a87fb6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Il Dirigente del Servizio o Suo Delegato]]></text>
</staticText>
<textField>
<reportElement x="249" y="203" width="300" height="14" uuid="543d4eb0-5adf-49d4-a73a-834df961588b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{dirigente}]]></textFieldExpression>
</textField>
</band>
<band height="64">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="0" y="34" width="550" height="30" uuid="035f298a-1eea-4c33-8094-777fd13643ae">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value=""/>
</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="db8a8814-de44-4ed9-8dee-c0be51f283d1">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="550">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="e50a02de-0abd-496d-a74a-6dd4973ccf75">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="bf8ed30d-b812-406a-9ef4-3e8e4bb8ee2c">
<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="14" width="519" height="14" uuid="0c89809c-2470-489b-818e-49f9fc4e1048">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement x="0" y="0" width="550" height="24" uuid="3b148a63-eea0-4c80-a536-5802c7eb83c1">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="0" y="102" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

242
jasper/Modello_SS.jrxml

@ -1,242 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello B2" 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.5"/>
<property name="ireport.x" value="3"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="dataProtocolloAnnullato" class="java.util.Date"/>
<field name="dataProtocolloValido" class="java.util.Date"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocolloAnnullato" class="java.lang.String"/>
<field name="numeroProtocolloValido" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tipoAnnullato" class="java.lang.String"/>
<field name="tipoValido" class="java.lang.String"/>
<pageHeader>
<band height="121" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="24" width="550" height="96" uuid="0bd6c6a9-3d3d-4fd8-a40c-46086907581d">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="407562c5-4d1d-4ad7-9318-af3aac4a74bb">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="f2c4fa1f-8075-415d-966a-e8187ffacdda">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="91aa1907-55af-4b7e-84c5-c4a601c2e18d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="3ee4e487-6318-4336-b9bd-8adaf52a23bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="80" width="100" height="12" uuid="5f2898c1-fdc8-4cce-a055-cb1f41e760de">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="fdd7282f-aeba-440b-9c1e-e8cfd2b27e33">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="24" uuid="a3e7a11b-5bc5-4145-9d6f-2e2911aaee2c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement markup="html">
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[<b>Mod. S</b> – Attestato pratiche sorteggiate, interventi di minor rilevanza (solo zone sismiche 1-2) e abitati da consolidare]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="524">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="1" y="19" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField>
<reportElement key="" x="57" y="19" width="492" height="96" uuid="d0b4d944-c3c7-4489-b56a-8981d11a9110">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["<b>"+($F{tipoValido}.equals("SP") ? "Avviso di sorteggio relativo" : "Conferma di conformità relativa")+" al Deposito/denuncia del progetto n. "+$F{numeroProgetto}+" del "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica}))+" ai sensi degli artt. 65 comma 1 e 93 del D.P.R.380/2001,</b> come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, convertito in legge <b>55/2019 - NTC di riferimento: DM 17/Gennaio /2018.\n"+
"Annullamento d'ufficio ai sensi dell'art. 1, comma 136, della Legge Finanziaria 2005 (legge 30.12.2004, n. 311) e della legge 11.2.2005 n. 15 (recante modifiche e integrazioni alla legge 7 agosto 1990, n. 241).</b>"]]></textFieldExpression>
</textField>
<textField>
<reportElement key="" x="1" y="211" width="548" height="309" uuid="54663451-34c7-4029-835e-57fc286f262d">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["<b>Verificata:</b><br>" +
"&gt; la giuridica esistenza di un provvedimento amministrativo denominato Attestato di deposito pratiche non sorteggiate in zona 1-2 o di un avviso di sorteggio errato ;<br>" +
"&gt; la ricorrenza di uno di vizi di legittimità del provvedimento (violazione di legge, eccesso di potere, incompetenza) che nel caso in specie è generato da errore tecnico della piattaforma Sismica Sicilia, rispetto al dettato del Decreto Dirigenziale DRT 189/2019 che prevede:”….D) INTERVENTI SOTTOPOSTI A VERIFICHE A CAMPIONE.<br>" +
"Gli Uffici del Genio Civile dell’Isola adotteranno controlli a campione sui progetti da realizzare nelle zone sismiche 1 e 2 (alta sismicità), sottoponendoli a procedura autorizzativa preventiva (anche a mezzo di checklist delle verifiche minime), procedendo alla contestuale verifica dei luoghi, per una percentuale del 20%(eventualmente arrotondata all’unità superiore) delle pratiche depositate ai sensi degli artt. 65 comma 1 e93 del DPR 380/2000, come recepito dalla L.R.16/2016 (art. 4 L.,1086/71 e art. 17 L.64/74).I progetti da verificare saranno selezionati dagli Uffici del Genio Civile, a mezzo di sorteggio che avverrà con procedura informatica tramite algoritmo certificato, con cadenza settimanale, alle ore 24,00 del mercoledì. I risultati del sorteggio verranno resi immediatamente pubblici sul portale informatico...”<br><br>"+
"<b>Considerato:</b><br>"+
"&gt; che sono stati emesso automaticamente i provvedimenti sopra citati.<br>"+
"&gt; che tale provvedimento è nullo in considerazione della validità del primo sorteggio validato in data 05/03/2020 ore 11:10.<br><br>"+
"<b>Verificata</b><br>"+
"&gt; la sussistenza di ragioni di interesse pubblico per l'annullamento d'ufficio<br><br>"+
"<b>Annulla</b><br>"+
"&gt; I provvedimenti succitati generati erroneamente dalla piattaforma Sismica."
]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="129" width="548" height="71" uuid="c7e5dad2-982a-4301-a6a4-300d3982551b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Il provvedimento generato per errore tecnico prot. n. "+$F{numeroProtocolloAnnullato}+ " del "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataProtocolloAnnullato}))+" è annullato. Di conseguenza "+($F{tipoValido}.equals("SP") ? "l’inizio dei lavori rimane subordinato all’autorizzazione che verrà rilasciata dal competente Ufficio del Genio Civile nei termini stabiliti dalla legge.": "rimane valido il provvedimento di conformità generato prot. n " + $F{numeroProtocolloValido}+" del "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataProtocolloValido})))+"."]]></textFieldExpression>
</textField>
</band>
<band height="80">
<textField>
<reportElement x="5" y="40" width="548" height="40" uuid="31d1c659-0478-42cb-9c6e-cd8c27a7fd2d">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Firmato\n"+
"Il Responsabile della Piattaforma Sismica Siciliana\n"+
"(Dott. Mario Parlavecchio)"]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="FixRelativeToBottom" x="3" y="0" width="548" height="26" uuid="9940eff7-65ad-47ae-95f3-10537c589e31">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Copia del presente provvedimento sarà disponibile nella sezione “Cronologia” del portale Sismica.]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="156" splitType="Stretch">
<staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="4e8fab2e-91ec-48f5-bfd6-b52f2f2b2a14">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
</band>
</pageFooter>
</jasperReport>

450
jasper/Modello_Sorteggio.jrxml

@ -1,450 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello B2" 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.5"/>
<property name="ireport.x" value="3"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="allegati" class="java.util.List">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="dataSorteggio" class="java.util.Date"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tecnico" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tipo" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="ubicazione" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<pageHeader>
<band height="121" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="15" width="550" height="96" uuid="0bd6c6a9-3d3d-4fd8-a40c-46086907581d">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="407562c5-4d1d-4ad7-9318-af3aac4a74bb">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="f2c4fa1f-8075-415d-966a-e8187ffacdda">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="91aa1907-55af-4b7e-84c5-c4a601c2e18d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="3ee4e487-6318-4336-b9bd-8adaf52a23bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="80" width="100" height="12" uuid="5f2898c1-fdc8-4cce-a055-cb1f41e760de">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="fdd7282f-aeba-440b-9c1e-e8cfd2b27e33">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="14" uuid="a3e7a11b-5bc5-4145-9d6f-2e2911aaee2c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement markup="html">
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[AVVISO DI SORTEGGIO (interventi B in zona sismica 1 e 2 ) ]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="418">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="5" y="0" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField>
<reportElement key="" x="61" y="0" width="492" height="61" uuid="d0b4d944-c3c7-4489-b56a-8981d11a9110">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Avviso di sorteggio relativo al Deposito/denuncia dei lavori del progetto n. "+$F{numeroProgetto}+ " del "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica}))+" ai sensi degli artt. 65 e 93 del D.P.R.380/2001 e ss.mm.ii., come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, convertito in legge 55/2019 - NTC di riferimento: DM 17/Gennaio /2018."]]></textFieldExpression>
</textField>
<textField>
<reportElement key="" x="1" y="320" width="552" height="40" uuid="54663451-34c7-4029-835e-57fc286f262d">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Successivamente verrà comunicato il nominativo del dirigente/funzionario incaricato di eseguire i controlli previsti dall’art. 94-bis, comma 5, i cui esiti saranno resi noti attraverso avviso disponibile nell’apposita sezione della piattaforma informatica Sismica della Regione Siciliana."]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="280" width="553" height="40" uuid="c7e5dad2-982a-4301-a6a4-300d3982551b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["La pratica presentata dalla S.V. risulta estratta nel sorteggio effettuato in data "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio}))+"ai sensi del Decreto Dirigenziale del DRT n. 334 del 19/05/2020\n"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="1" y="360" width="548" height="20" uuid="d9bab9dc-8d94-4a76-aed9-90816523269b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<text><![CDATA[Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale Sismica.]]></text>
</staticText>
<staticText>
<reportElement x="10" y="100" width="82" height="14" uuid="f9d44cd1-122b-40c5-a4c0-20b83eab441f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<staticText>
<reportElement x="10" y="128" width="82" height="14" uuid="834c907e-b393-4c72-b335-a712862a04f1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="270" y="190" width="115" height="14" uuid="7a3abff4-7b5d-4227-b408-520a3db97148">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="10" y="114" width="82" height="14" uuid="b50e18cc-ccd2-4802-88cb-33f505f59a74">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="92" y="156" width="458" height="14" uuid="33b0d5a2-f9ee-4127-bb7d-781e9451ca55">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="92" y="128" width="458" height="14" uuid="9b82e2c4-1251-4d7e-a850-2fbbd2a08821">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="92" y="100" width="458" height="14" uuid="9b853065-6ae0-407b-99d3-0ed2a1a0a49f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="92" y="114" width="458" height="14" uuid="669c5f29-fc27-49af-a9bd-2b7b52e6a79a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="156" width="82" height="14" uuid="fea4913f-ac9c-4a72-9056-dde0c9c0314a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="92" y="170" width="458" height="14" uuid="59b03c9f-3eab-4ce5-b697-0e7d7dbad095">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="170" width="82" height="14" uuid="efd0321a-2237-4756-bddf-514d55ca48cf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<staticText>
<reportElement key="" x="270" y="204" width="115" height="14" uuid="0e64c4c7-935f-4feb-99da-8831681991d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<staticText>
<reportElement x="10" y="142" width="82" height="14" uuid="2be0c0a8-1956-40c2-ae3f-9ac2b005d0b6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="92" y="142" width="458" height="14" uuid="a1d6d1ec-1b14-49c6-a446-0f2dff637d53">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" positionType="Float" x="0" y="70" width="552" height="19" uuid="b6c1412f-171f-4892-8863-c1325eb1856e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans Bold" isBold="true" isUnderline="true"/>
</textElement>
<text><![CDATA[COMUNICAZIONE]]></text>
</staticText>
<staticText>
<reportElement key="" x="337" y="218" width="48" height="14" uuid="40ef30ee-06b5-45d7-b49a-c6ed32ff70d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[AI D.LL.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="390" y="190" width="162" height="14" uuid="d69bf79c-526e-4e40-9f5c-80df771e1ef8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="390" y="204" width="162" height="14" uuid="847f069e-f571-45de-91e2-39222eafab06">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="391" y="218" width="160" height="14" uuid="060183f5-0a5c-4f08-9c5f-a12bf5808313">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="1" y="380" width="548" height="20" uuid="8db8cc8c-6c11-43d8-a3f3-14ce234a88eb">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<text><![CDATA[Il presente documento viene generato automaticamente dal sistema informatico
SISMICA della Regione Siciliana.]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="156" splitType="Stretch">
<staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="4e8fab2e-91ec-48f5-bfd6-b52f2f2b2a14">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField>
<reportElement x="3" y="20" width="548" height="25" uuid="8eaa510b-9f79-4947-b538-0a6e67ba73a2">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile di "+$F{sedeGenioCivile}+"\n"+
"Il Dirigente del Servizio"]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

559
jasper/Modello_V2.jrxml

@ -1,559 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Presa in carico B" 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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="dataAvviso" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="dataPratica" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="122" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="12" width="550" height="96" uuid="d783c1dd-6e94-480d-add7-a7870e6305e5">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="a734e88f-f3f5-48b7-bc72-c9f1fc71bdc4">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="11ba33d2-6085-4682-af10-0565e4343ae9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="024b8d99-fab6-430a-a36a-9e1044bdebfd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="2d6bc04f-7216-4f80-a572-267bd1cc69f5">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="80" width="100" height="12" uuid="edaaf892-abf8-4c99-8315-2f0c896541a6">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="5ae412fc-4a5c-4591-9a49-d4ec8fa91c66">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="12" uuid="b8776206-ac57-4373-b1c9-204087b65a57">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement markup="html">
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[<b>Mod. V2</b> Avviso di vidimazione varianti non sostanziali <i>(interventi A e B in zona sismica 1, 2, 3 e 4)</i>]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="96">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="0" y="0" width="53" height="14" uuid="fb872576-43df-4483-8b75-8fd76aa193bb">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="53" y="0" width="497" height="49" uuid="8f16791f-44c9-4c4c-bf08-5fa67078ea61">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[<b>variante non sostanziale a seguito di denuncia dei lavori prodotta ai sensi degli artt. 65 e 93 del D.P.R. 380/2001 e ss.mm.ii.</b>, come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94-bis, come introdotto dal DL 32/2019, convertito in legge 55/2019 - NTC di riferimento: DM 17 gennaio 2018.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="63" width="550" height="19" uuid="ff0b6599-21ce-45ae-b768-f8847e9977d5">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" size="14" isBold="true"/>
</textElement>
<text><![CDATA[COMUNICAZIONE]]></text>
</staticText>
</band>
<band height="28">
<staticText>
<reportElement positionType="Float" x="0" y="0" width="82" height="14" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="14" width="82" height="14" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="0" width="468" height="14" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="82" y="14" width="468" height="14" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
</band>
<band height="14">
<staticText>
<reportElement x="0" y="0" width="82" height="14" uuid="73851677-5e12-47f6-87f8-4116846db634">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="82" y="0" width="468" height="14" uuid="1f7c4107-bd69-4ad4-8244-0aedd8e7c564">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
</band>
<band height="279">
<staticText>
<reportElement key="" x="0" y="56" width="345" height="14" uuid="34c76220-8ce3-4108-bece-7462800dfb81">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="14" width="468" height="14" uuid="9a11f165-1666-4c5a-8320-a2d079b5eead">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="14" width="82" height="14" uuid="9ebd5820-10fe-4e69-a741-a8558ddea45d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="56" width="200" height="14" uuid="42df5c98-8327-4567-bd5b-bc111faa08f0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="82" y="42" width="468" height="14" uuid="1a5b0e92-e43a-4bdc-aa90-20c3c8dab2aa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="42" width="82" height="14" uuid="09f9a400-4f37-4a5e-8c23-ee6017aa1139">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="28" width="82" height="14" isRemoveLineWhenBlank="true" uuid="e464dddc-3f0a-46f1-b47a-cb7354695a0f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="28" width="468" height="14" isRemoveLineWhenBlank="true" uuid="f2e50719-bb44-4349-9ded-fd2aba53c8bf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="350" y="70" width="200" height="14" uuid="bf466b70-b9cd-40f2-abfc-ed28de769266">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="0" y="70" width="345" height="14" uuid="fe5091eb-741e-4e5f-8a0e-497f01583675">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<staticText>
<reportElement x="0" y="0" width="82" height="14" uuid="0a75889c-c9ef-48e1-b20c-9ee133e8948a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="0" width="468" height="14" uuid="6ea64372-68a4-4519-b8ba-7c0b744ca304">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="112" width="550" height="26" uuid="eecbbc14-b274-45bc-9213-2213102d2011">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[In relazione all’istanza in oggetto, si comunica che la stessa è stata accolta e la documentazione è stato acquisita dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="213" width="550" height="26" uuid="e767e3ae-b512-4d8c-abfe-21a063dc21b6">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="253" width="550" height="26" uuid="e8da9273-f3b2-49e4-aa35-884b0b7e04fc">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="138" width="550" height="61" uuid="249a7f05-6755-4fe5-8c78-37275a654178">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[Sulla base di quanto dichiarato, con riferimento alle indicazioni contenute nelle linee guida approvate dal Ministero delle Infrastrutture e dei Trasporti con decreto del 30.04.2020 e nel Decreto del Dirigente Generale del Dipartimento Regionale Tecnico n. 344 del 19.05.2020, le variazioni previste, aventi carattere non sostanziale, sono esonerate dal preavviso scritto previsto dall’art. 93, comma 1, del DPR 380/2001 e ss.mm. e ii. .]]></text>
</staticText>
<staticText>
<reportElement x="0" y="199" width="550" height="14" uuid="a7de5411-b0e4-469e-b5f0-0d7b98a427f9">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale Sismica. ]]></text>
</staticText>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="55fefa3b-cabb-48e7-9db4-22251af05daf">
<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="14" width="519" height="14" uuid="ff5ded57-1002-4409-a269-035990359b7b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
</band>
<band height="125">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="14" width="550" height="97" uuid="f19d5e84-1828-430b-9c26-88e84d292a29">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:"+
"- Le unità Operative che si occupano di Sismica in ogni ufficio del Genio civile, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"­ l'ingegnere Capo dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il Dirigente Generale del Dipartimento Regionale Tecnico, nella persona dell'Arch. Salvatore Lizzio;\n\n"+
"Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio mparlavecchio@regione.sicilia.it"]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="151" splitType="Stretch">
<staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="b789abed-475b-4046-a3fa-581afcbb6de3">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="125" width="555" height="1" uuid="cb7ee3b9-b7ed-4cec-887e-c18052190bc4"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="0e732148-8462-4199-a338-2080bfe271c3"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="b6456d66-8f1d-4fcc-84d6-e7e10632b157">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<staticText>
<reportElement x="300" y="2" width="250" height="26" isRemoveLineWhenBlank="true" uuid="4bf817b5-b2ae-41d2-b905-5efd6fd7462c">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile
Il Dirigente del Servizio o suo Delegato]]></text>
</staticText>
</band>
</pageFooter>
</jasperReport>

671
jasper/Modello_deposito.jrxml

@ -1,671 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello B2" 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.5"/>
<property name="ireport.x" value="3"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="allegati" class="java.util.List">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tecnico" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tipo" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="192" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="12" width="550" height="96" uuid="0bd6c6a9-3d3d-4fd8-a40c-46086907581d">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="407562c5-4d1d-4ad7-9318-af3aac4a74bb">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="f2c4fa1f-8075-415d-966a-e8187ffacdda">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="91aa1907-55af-4b7e-84c5-c4a601c2e18d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="3ee4e487-6318-4336-b9bd-8adaf52a23bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="80" width="100" height="12" uuid="5f2898c1-fdc8-4cce-a055-cb1f41e760de">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="fdd7282f-aeba-440b-9c1e-e8cfd2b27e33">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="10" uuid="a3e7a11b-5bc5-4145-9d6f-2e2911aaee2c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement markup="html">
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[AVVISO DI DEPOSITO (interventi B in zona sismica 1 e 2 e interventi A e B in zona sismica 3 e 4) ]]></text>
</staticText>
<staticText>
<reportElement x="1" y="121" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="57" y="121" width="492" height="68" uuid="7d2af6ab-977a-46b1-940b-817e6113d45b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[<b>Deposito del progetto a seguito della denuncia dei lavori, ai sensi degli artt. 65 comma 1 e 93 del D.P.R. 380/2001 e ss.mm.ii.,</b> come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 - art. 17 della L.64/74), come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94-bis, come introdotto dal DL 32/2019, convertito in legge 55/2019 - NTC di riferimento: DM 17/Gennaio/2018. ]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="105">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="3" y="0" width="548" height="14" uuid="564dde5b-a570-46aa-a051-da5ab36efaa2">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true" isUnderline="true"/>
</textElement>
<text><![CDATA[ATTESTAZIONE DI DEPOSITO DEL PROGETTO ]]></text>
</staticText>
<staticText>
<reportElement x="3" y="20" width="120" height="14" uuid="e1ced47d-520c-470c-9615-b41d83286e59">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<staticText>
<reportElement x="3" y="34" width="120" height="14" uuid="3eaa8c73-6198-4a43-b7b0-7f93315f1b79">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="20" width="429" height="14" uuid="52db2b1a-87f3-47af-ab5d-8baf1390b91a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="122" y="34" width="429" height="14" uuid="467ad1ff-8cfa-44b2-b87c-c6df7cbb1729">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
</band>
<band height="14">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="122" y="-57" width="429" height="14" uuid="70151a31-09fa-485a-8a65-8c3d6ca4fffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="-57" width="120" height="14" uuid="bb6b350d-4465-46c5-a636-7426d7955f49">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
</band>
<band height="448">
<staticText>
<reportElement x="3" y="90" width="548" height="14" uuid="8c64dd00-c019-4f08-b9d9-a3740a78df7e">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[QUESTO UFFICIO]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="13" width="429" height="14" uuid="97acf74f-c385-48d3-b26e-4f64e5b3ddaf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{dataPratica}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="-57" width="120" height="14" uuid="026ee306-958f-41e2-a32e-e864224f7d7f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="-57" width="429" height="14" uuid="c31a499e-1a3f-4d60-8fde-13163fd5b6a1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="316" width="548" height="50" uuid="a6efc1c0-97d9-459c-8bae-82ff661b68bb">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Il progetto potrà essere sottoposto ai controlli previsti dall’art. 94-bis, comma 5, DPR 380/2001 e ss.mm. e ii., secondo le modalità, estrazione a sorte con pubblicazione settimanale nella sezione “sorteggio pratiche” e apposito avviso ai soggetti interessati, stabilite dall’allegato A, lettera E, del Decreto del Dirigente Generale del Dipartimento Regionale Tecnico n. 334 del 19/05/2020.]]></text>
</staticText>
<staticText>
<reportElement x="3" y="-15" width="120" height="14" uuid="7fb8e318-07f1-4d54-a7b0-8d6b471f6bbc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="-43" width="429" height="14" uuid="2f915ce1-95ca-433f-a2ad-673e78825567">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="256" width="548" height="60" uuid="71724ff7-4890-4257-bc55-47b3f8eb1545">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[I lavori dovranno essere eseguiti in conformità al progetto a cui il presente
provvedimento fa riferimento e nel rispetto delle norme di cui al D.P.R. 380/2001, come recepito dalla L.R.16/2016, e delle Norme Tecniche per le Costruzioni di cui al D.M. 17.01.2018, la cui osservanza viene demandata esclusivamente al progettista, al calcolista, al direttore dei lavori, al collaudatore statico ed al costruttore, secondo rispettive responsabilità e obblighi derivanti dalle norme vigenti. ]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="-29" width="429" height="14" uuid="84d8a16e-db93-4100-bff0-1bb7f5e64ed6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="240" width="548" height="14" uuid="b48bb822-ef66-4ff4-84fb-9980a57c9363">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati riportati nel presente provvedimento.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="-1" width="429" height="14" uuid="3b613f6d-9ee2-4e04-8897-6f83c797fda9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="251" y="32" width="300" height="14" uuid="498c071f-8a65-4522-b663-8267e1c1c38d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="3" y="-29" width="120" height="14" uuid="f0ad8d19-b4e9-4929-a3c5-3258277a5214">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Collaudatore:]]></text>
</staticText>
<staticText>
<reportElement x="3" y="180" width="548" height="14" uuid="95c03ffa-3522-4491-8e78-5ce16b02738c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[ATTESTA]]></text>
</staticText>
<staticText>
<reportElement x="3" y="13" width="120" height="14" uuid="2f547dd3-d21d-45cd-b805-9fe74dc1ed7f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Data istanza:]]></text>
</staticText>
<staticText>
<reportElement x="3" y="110" width="548" height="60" uuid="75e65695-da9b-4885-9490-4ea822068d94">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="none">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Vista l’istanza indicata in oggetto e gli allegati, trasmessi con sistema informatico
“Sismica”;
Considerato che la pratica in oggetto risulta, secondo quanto dichiarato, tra quelle di cui
al DDG 334 del 19/05/2020, Allegato A), lettera B) e/o ricadenti in abitati da consolidare, ai
sensi dell’art. 61 D.P.R. 380/01 o in zona sismica 3 e 4 ; ]]></text>
</staticText>
<staticText>
<reportElement x="3" y="200" width="548" height="37" uuid="50891660-b2d9-4de3-8335-2e8e53961f4f">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[l’avvenuto deposito del progetto, per la realizzazione delle opere di che trattasi, ai sensi degli art. 65 comma 1 D.P.R. e 93 del DPR 380/2001, come recepito dalla L.R. 16/2016 e dell’art. 94 bis del medesimo D.P.R. 380/01, come introdotto dal D.L. 32/2019 convertito in L. 55/2019. ]]></text>
</staticText>
<staticText>
<reportElement x="3" y="-43" width="120" height="14" uuid="bc5a0e43-a548-4083-971b-d0da3bb15d2f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Direttore dei Lavori:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="-15" width="429" height="14" uuid="912ef481-1991-436e-b0f5-020c411d9808">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="-1" width="120" height="14" uuid="f36a2b1e-bc85-4a8d-aaf8-dd2c8e349a42">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField>
<reportElement x="59" y="46" width="492" height="14" uuid="06a29ae3-3e30-41bb-898a-e674dac9853f">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["c/o il suo delegato "+$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="3" y="60" width="548" height="14" uuid="57562498-1de8-4a86-b0a6-4eee48a32781">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["e, p.c.: Al SUE/SUAP del Comune di "+ $F{comune}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="366" width="548" height="63" uuid="d7ee707d-5321-491f-aa00-9bd02befa662">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[L’esecuzione di eventuali varianti sostanziali, che si rendessero necessarie nel corso dei
lavori, rimane subordinata al rilascio da parte di quest’Ufficio di un ulteriore provvedimento, a
seguito di nuova istanza, mentre nel caso di varianti non sostanziali la relativa documentazione
tecnica potrà essere prodotta anche successivamente, purché prima della trasmissione della
relazione finale del direttore dei lavori. ]]></text>
</staticText>
<staticText>
<reportElement x="3" y="429" width="548" height="19" uuid="3ca2db83-dff4-4a9f-b98f-1a001c2ebda7">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Rimane comunque facoltà di questo Ufficio eseguire controlli ai sensi dell’art. 103 del DPR 380/2001.]]></text>
</staticText>
</band>
<band height="84">
<staticText>
<reportElement x="3" y="0" width="548" height="23" uuid="896f6838-b4bf-4e91-8a46-b70ff3ed2f94">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Il presente documento viene generato automatiamente dal sistema informatico SISMICA della Regione Siciliana. ]]></text>
</staticText>
<textField>
<reportElement x="3" y="50" width="548" height="25" uuid="3ea8a1e5-9a6f-4962-b94e-fdc1bc2bfc2d">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile di "+$F{sedeGenioCivile}+"\n"+
"Il Dirigente del Servizio"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="14" width="548" height="28" uuid="2067e2cb-8834-4d8e-b2c0-8ccf7a6185da">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
</band>
<band height="48">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="5" y="10" width="548" height="30" uuid="b16480e8-29a2-4ea0-8ff8-27d47d23cd77">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</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="eba2b13d-ad89-47f1-9c6e-c6f4daff7039">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="548">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="6d1407d5-3a0e-4bbd-8341-334b26050f7e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="503ecd24-e6f2-41e4-9c8a-3b4020f2809f">
<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="14" width="519" height="14" uuid="5a63584f-b21f-4a3a-a4a9-fe80839be61d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
</band>
</detail>
<pageFooter>
<band height="151" splitType="Stretch">
<staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="300" y="128" width="248" height="14" uuid="a44ec935-de26-4c84-bd38-59de207c8ca1">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[* in mancanza di SUE, al Sindaco del Comune competente per territorio]]></text>
</staticText>
<componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="4e8fab2e-91ec-48f5-bfd6-b52f2f2b2a14">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
</band>
</pageFooter>
</jasperReport>

510
jasper/Modello_deposito_collaudo.jrxml

@ -1,510 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello B2" 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.5"/>
<property name="ireport.x" value="3"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="allegati" class="java.util.List">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tecnico" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tipo" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="171" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="12" width="550" height="96" uuid="0bd6c6a9-3d3d-4fd8-a40c-46086907581d">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="407562c5-4d1d-4ad7-9318-af3aac4a74bb">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="f2c4fa1f-8075-415d-966a-e8187ffacdda">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="91aa1907-55af-4b7e-84c5-c4a601c2e18d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="3ee4e487-6318-4336-b9bd-8adaf52a23bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="80" width="100" height="12" uuid="5f2898c1-fdc8-4cce-a055-cb1f41e760de">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="fdd7282f-aeba-440b-9c1e-e8cfd2b27e33">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="10" uuid="a3e7a11b-5bc5-4145-9d6f-2e2911aaee2c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement markup="html">
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[AVVISO DI VIDIMAZIONE COLLAUDO STATICO]]></text>
</staticText>
<staticText>
<reportElement x="1" y="121" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="57" y="121" width="492" height="38" uuid="7d2af6ab-977a-46b1-940b-817e6113d45b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Zone Sismiche – D.P.R. n° 380/2001 e ss. mm. ii.
- Collaudo statico, art. 67, comma 7.
- Collaudo statico delle strutture, capitolo 9 del D.M. 17.01.2018.
]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="112">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="3" y="0" width="548" height="14" uuid="564dde5b-a570-46aa-a051-da5ab36efaa2">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true" isUnderline="true"/>
</textElement>
<text><![CDATA[ATTESTAZIONE DEPOSITO COLLAUDO STATICO
]]></text>
</staticText>
<staticText>
<reportElement x="3" y="20" width="120" height="14" uuid="e1ced47d-520c-470c-9615-b41d83286e59">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<staticText>
<reportElement x="3" y="34" width="120" height="14" uuid="3eaa8c73-6198-4a43-b7b0-7f93315f1b79">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="20" width="429" height="14" uuid="52db2b1a-87f3-47af-ab5d-8baf1390b91a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="122" y="34" width="429" height="14" uuid="467ad1ff-8cfa-44b2-b87c-c6df7cbb1729">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="62" width="120" height="14" uuid="026ee306-958f-41e2-a32e-e864224f7d7f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="62" width="429" height="14" uuid="c31a499e-1a3f-4d60-8fde-13163fd5b6a1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="122" y="76" width="429" height="14" uuid="912ef481-1991-436e-b0f5-020c411d9808">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="76" width="120" height="14" uuid="7fb8e318-07f1-4d54-a7b0-8d6b471f6bbc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<staticText>
<reportElement x="3" y="90" width="120" height="14" uuid="f36a2b1e-bc85-4a8d-aaf8-dd2c8e349a42">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="90" width="429" height="14" uuid="3b613f6d-9ee2-4e04-8897-6f83c797fda9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="122" y="48" width="429" height="14" uuid="70151a31-09fa-485a-8a65-8c3d6ca4fffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="48" width="120" height="14" uuid="bb6b350d-4465-46c5-a636-7426d7955f49">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
</band>
<band height="197">
<staticText>
<reportElement key="" x="251" y="10" width="300" height="14" uuid="498c071f-8a65-4522-b663-8267e1c1c38d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="3" y="140" width="548" height="50" uuid="50891660-b2d9-4de3-8335-2e8e53961f4f">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Lo stesso è da intendersi depositato ai sensi dell’art. 67 del DPR 380/2001 e ss.mm.ii.
per le opere disciplinate dal “Capo II - Disciplina delle opere di conglomerato cementizio
armato, normale e precompresso ed a struttura metallica” e, ai fini dell’agibilità delle
costruzioni mediante segnalazione certificata, anche per le altre tipologie strutturali.]]></text>
</staticText>
<textField>
<reportElement x="59" y="24" width="492" height="14" uuid="06a29ae3-3e30-41bb-898a-e674dac9853f">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["c/o il suo delegato "+$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="3" y="52" width="548" height="14" uuid="57562498-1de8-4a86-b0a6-4eee48a32781">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["e, p.c.: Al sindaco SUE/SUAP del Comune di "+ $F{comune}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="59" y="38" width="492" height="14" uuid="7a603e02-fd32-437b-848d-2cdf9be47a34">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Al collaudatore "+$F{alCollaudatore}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="3" y="80" width="548" height="50" uuid="2b8b0081-7fc4-4de4-9f0d-c6a5d972bb0c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la richiesta di deposito del collaudo statico delle strutture, trasmessa in data "+$F{dataPratica}+" relativa al progetto ................., si comunica che è stata vidimata e acquisita dal sistema regionale Sismica-Sicilia, con n° protocollo "+$F{numeroProtocollo}]]></textFieldExpression>
</textField>
</band>
<band height="46">
<staticText>
<reportElement x="3" y="10" width="548" height="19" uuid="896f6838-b4bf-4e91-8a46-b70ff3ed2f94">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Il presente documento viene generato automatiamente dal sistema informatico SISMICA della Regione Siciliana. ]]></text>
</staticText>
<staticText>
<reportElement x="3" y="30" width="548" height="16" uuid="2067e2cb-8834-4d8e-b2c0-8ccf7a6185da">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati al’istanza:]]></text>
</staticText>
</band>
<band height="48">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="5" y="10" width="548" height="30" uuid="b16480e8-29a2-4ea0-8ff8-27d47d23cd77">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</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="eba2b13d-ad89-47f1-9c6e-c6f4daff7039">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="548">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="6d1407d5-3a0e-4bbd-8341-334b26050f7e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="503ecd24-e6f2-41e4-9c8a-3b4020f2809f">
<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="14" width="519" height="14" uuid="5a63584f-b21f-4a3a-a4a9-fe80839be61d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
</band>
</detail>
<pageFooter>
<band height="151" splitType="Stretch">
<staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="300" y="128" width="248" height="14" uuid="a44ec935-de26-4c84-bd38-59de207c8ca1">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[* in mancanza di SUE, al Sindaco del Comune competente per territorio]]></text>
</staticText>
<componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="4e8fab2e-91ec-48f5-bfd6-b52f2f2b2a14">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
</band>
</pageFooter>
</jasperReport>

510
jasper/Modello_deposito_fine_lavori.jrxml

@ -1,510 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello B2" 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.5"/>
<property name="ireport.x" value="3"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="allegati" class="java.util.List">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tecnico" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="tipo" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="171" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="12" width="550" height="96" uuid="0bd6c6a9-3d3d-4fd8-a40c-46086907581d">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="407562c5-4d1d-4ad7-9318-af3aac4a74bb">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="f2c4fa1f-8075-415d-966a-e8187ffacdda">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="91aa1907-55af-4b7e-84c5-c4a601c2e18d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="3ee4e487-6318-4336-b9bd-8adaf52a23bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="80" width="100" height="12" uuid="5f2898c1-fdc8-4cce-a055-cb1f41e760de">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="fdd7282f-aeba-440b-9c1e-e8cfd2b27e33">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="10" uuid="a3e7a11b-5bc5-4145-9d6f-2e2911aaee2c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement markup="html">
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[AVVISO DI VIDIMAZIONE COLLAUDO STATICO]]></text>
</staticText>
<staticText>
<reportElement x="1" y="121" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="57" y="121" width="492" height="38" uuid="7d2af6ab-977a-46b1-940b-817e6113d45b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Zone Sismiche – D.P.R. n° 380/2001 e ss. mm. ii.
- Relazione a strutture ultimate, art. 65 D.P.R. n. 380/2001
- Dichiarazione di regolare esecuzione, art. 67, commi 8-bis e 8-ter
]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="112">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="3" y="0" width="548" height="14" uuid="564dde5b-a570-46aa-a051-da5ab36efaa2">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true" isUnderline="true"/>
</textElement>
<text><![CDATA[ATTESTAZIONE DEPOSITO FINE LAVORI
]]></text>
</staticText>
<staticText>
<reportElement x="3" y="20" width="120" height="14" uuid="e1ced47d-520c-470c-9615-b41d83286e59">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<staticText>
<reportElement x="3" y="34" width="120" height="14" uuid="3eaa8c73-6198-4a43-b7b0-7f93315f1b79">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="20" width="429" height="14" uuid="52db2b1a-87f3-47af-ab5d-8baf1390b91a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="122" y="34" width="429" height="14" uuid="467ad1ff-8cfa-44b2-b87c-c6df7cbb1729">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="62" width="120" height="14" uuid="026ee306-958f-41e2-a32e-e864224f7d7f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="62" width="429" height="14" uuid="c31a499e-1a3f-4d60-8fde-13163fd5b6a1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="122" y="76" width="429" height="14" uuid="912ef481-1991-436e-b0f5-020c411d9808">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="76" width="120" height="14" uuid="7fb8e318-07f1-4d54-a7b0-8d6b471f6bbc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<staticText>
<reportElement x="3" y="90" width="120" height="14" uuid="f36a2b1e-bc85-4a8d-aaf8-dd2c8e349a42">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="122" y="90" width="429" height="14" uuid="3b613f6d-9ee2-4e04-8897-6f83c797fda9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="122" y="48" width="429" height="14" uuid="70151a31-09fa-485a-8a65-8c3d6ca4fffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="48" width="120" height="14" uuid="bb6b350d-4465-46c5-a636-7426d7955f49">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
</band>
<band height="197">
<staticText>
<reportElement key="" x="251" y="10" width="300" height="14" uuid="498c071f-8a65-4522-b663-8267e1c1c38d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="3" y="140" width="548" height="50" uuid="50891660-b2d9-4de3-8335-2e8e53961f4f">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[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 o per le rimanenti tipologie strutturali.]]></text>
</staticText>
<textField>
<reportElement x="59" y="24" width="492" height="14" uuid="06a29ae3-3e30-41bb-898a-e674dac9853f">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["c/o il suo delegato "+$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="59" y="38" width="492" height="14" uuid="7a603e02-fd32-437b-848d-2cdf9be47a34">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Al D.LL. "+$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="3" y="80" width="548" height="50" uuid="2b8b0081-7fc4-4de4-9f0d-c6a5d972bb0c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la richiesta di deposito della relazione a strutture ultimate/dichiarazione di regolare esecuzione, trasmessa in data "+$F{dataPratica}+" relativa al progetto ................., si comunica che è stata vidimata e acquisita dal sistema regionale Sismica-Sicilia, con n° protocollo "+$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="59" y="52" width="492" height="14" uuid="93e1c249-12a0-4e16-9a45-ef8b8c4c1ae1">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Al collaudatore "+$F{alCollaudatore}]]></textFieldExpression>
</textField>
</band>
<band height="46">
<staticText>
<reportElement x="3" y="10" width="548" height="19" uuid="896f6838-b4bf-4e91-8a46-b70ff3ed2f94">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Il presente documento viene generato automatiamente dal sistema informatico SISMICA della Regione Siciliana. ]]></text>
</staticText>
<staticText>
<reportElement x="3" y="30" width="548" height="16" uuid="2067e2cb-8834-4d8e-b2c0-8ccf7a6185da">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati al’istanza:]]></text>
</staticText>
</band>
<band height="48">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="5" y="10" width="548" height="30" uuid="b16480e8-29a2-4ea0-8ff8-27d47d23cd77">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</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="eba2b13d-ad89-47f1-9c6e-c6f4daff7039">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="548">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="6d1407d5-3a0e-4bbd-8341-334b26050f7e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="503ecd24-e6f2-41e4-9c8a-3b4020f2809f">
<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="14" width="519" height="14" uuid="5a63584f-b21f-4a3a-a4a9-fe80839be61d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
</band>
</detail>
<pageFooter>
<band height="151" splitType="Stretch">
<staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="300" y="128" width="248" height="14" uuid="a44ec935-de26-4c84-bd38-59de207c8ca1">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[* in mancanza di SUE, al Sindaco del Comune competente per territorio]]></text>
</staticText>
<componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="4e8fab2e-91ec-48f5-bfd6-b52f2f2b2a14">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
</band>
</pageFooter>
</jasperReport>

423
jasper/Modello_vidimazione.jrxml

@ -1,423 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello_B1" 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.3636363636363653"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="1180"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="0ab19b8c-2437-4432-8871-14ae0aa2aae5">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dirigente" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<group name="Dettaglio2"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="119" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="12" width="550" height="107" uuid="2ba1d618-2fc5-4462-a206-946fe6a1ed8e">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.0"/>
</box>
<image>
<reportElement x="5" y="5" width="224" height="68" uuid="32c7b82c-7e0f-4bb8-b3c2-6e48152da99f">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="6f1212d1-f7ca-4244-a312-ad62be259176">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="782963fb-8f7d-44f8-b9da-1897bf3f28ff">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="275" y="55" width="270" height="25" uuid="67ec1c12-068c-49ef-bb62-af5127b37797">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="5" y="84" width="53" height="12" uuid="93dd308d-0c8e-4541-9da1-ecad22367093">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
<textField>
<reportElement x="60" y="84" width="100" height="12" uuid="751376ea-f584-428a-9666-c344ca87247e">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
</frame>
<staticText>
<reportElement x="0" y="0" width="550" height="12" uuid="bbb26edd-cbaa-48b2-a87e-88218031ddef">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[AVVISO DI VIDIMAZIONE (interventi B in zona sismica 1 e 2 e interventi A e B in zona sismica 3 e 4) ]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="210">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="1" y="12" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="9" y="82" width="82" height="14" uuid="1475b832-260b-41ac-8d78-16ea429dc32a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<staticText>
<reportElement x="9" y="110" width="82" height="14" uuid="d89e57d5-254d-4c8a-adfd-2ad26336a66b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="435" y="173" width="115" height="14" uuid="76345dc3-d457-41cd-b72d-d26059883003">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="9" y="96" width="82" height="14" uuid="b8b13fd5-8c23-4baf-b236-4e5d6468eaa8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="138" width="458" height="14" uuid="f3947e1c-706e-4445-bf3e-b8e9707b8b28">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="110" width="458" height="14" uuid="81865073-a9c6-4850-b090-930d6afd2846">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="82" width="458" height="14" uuid="b4415a3f-2764-411d-9fa8-e97e8dfd7e2e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="96" width="458" height="14" uuid="7d36ccf7-fd5b-4e38-993f-b3ff86672d60">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="138" width="82" height="14" uuid="e31bb23e-55b0-4098-96a9-6ae30c3d5623">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="152" width="458" height="14" uuid="810ef857-47d5-46d9-8d66-5594a07eedfe">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="152" width="82" height="14" uuid="61a3bf9c-13ed-4d5f-8e79-e16b50818504">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<staticText>
<reportElement key="" x="435" y="187" width="115" height="14" uuid="4f607d8d-2377-4807-81f8-d5e7ca013e57">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<staticText>
<reportElement x="9" y="124" width="82" height="14" uuid="f79b0de0-ff27-4e71-bc97-f77b7ba0cc5f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="124" width="458" height="14" uuid="76b10fd2-33f4-4ccb-95c0-7757285f0665">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField>
<reportElement x="57" y="12" width="491" height="32" uuid="3111a1a4-7a50-46f3-ae96-9c9559dab1ff">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Istanza relativa a:" + $F{lavoriDi}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" positionType="Float" x="183" y="58" width="170" height="14" uuid="6ed414c7-9a11-4bd0-99e3-54e19d66a1ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true" isUnderline="true"/>
</textElement>
<text><![CDATA[AVVISO DI PRESA IN CARICO]]></text>
</staticText>
</band>
<band height="247">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="0" y="13" width="550" height="127" uuid="be3d8c82-cd22-4c8a-968c-143900eec3ef">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph lineSpacing="1_1_2" firstLineIndent="0"/>
</textElement>
<text><![CDATA[ In relazione all’istanza in oggetto, si comunica che la stessa è stata accolta ed il progetto è stato acquisito dal sistema informatico “Sismica” della Regione Siciliana.
Considerato che, secondo quanto dichiarato, l’intervento in oggetto rientra tra quelli di cui al DDG 334/2020, allegato A), lettera B) o tra quelli ricadenti in abitati da consolidare, ai sensi dell’art. 61 D.P.R. 380/01, l’inizio dei lavori rimane subordinato al rilascio dell’attestazione di avvenuto deposito del progetto, che sarà successivamente emessa da questo Ufficio.
Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana.]]></text>
</staticText>
<textField>
<reportElement x="3" y="150" width="548" height="25" uuid="8c8ae138-aa5b-4dcf-bd95-134c633c6f48">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile di "+$F{sedeGenioCivile}+"\n"+
"Il Dirigente del Servizio"]]></textFieldExpression>
</textField>
<componentElement>
<reportElement x="2" y="217" width="550" height="30" uuid="035f298a-1eea-4c33-8094-777fd13643ae">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value=""/>
</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="db8a8814-de44-4ed9-8dee-c0be51f283d1">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="550">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="e50a02de-0abd-496d-a74a-6dd4973ccf75">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="bf8ed30d-b812-406a-9ef4-3e8e4bb8ee2c">
<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="14" width="519" height="14" uuid="0c89809c-2470-489b-818e-49f9fc4e1048">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement x="2" y="183" width="550" height="24" uuid="3b148a63-eea0-4c80-a536-5802c7eb83c1">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
</band>
<band height="68">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="0" y="102" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

388
jasper/accettata_integrazione.jrxml

@ -0,0 +1,388 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="codiceTipoIntegrazione" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataIntegrazione" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="numeroIntegrazione" class="java.lang.Long"/>
<field name="tipoIntegrazione" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="cec213bc-9243-4588-b2a0-e5f593d31875">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="ab0d9a6a-5113-4b40-b98a-351b5eb10a5c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="e78a6da4-de1d-46f9-9503-f70e22447819">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="244">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="209" width="548" height="25" uuid="a3fb9ec1-7464-4363-bd12-5934db7f26ed"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la comunicazione/presentazione di "+($F{codiceTipoIntegrazione}.equals("05") ? "richiesta di integrazione n. "+$F{numeroIntegrazione} : ""+$F{tipoIntegrazione})+" del progetto n. "+$F{numeroProgetto}+" , con la presente si comunica che le integrazioni trasmesse sono pervenute nei nostri sistemi in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataIntegrazione})+".\n"+
"Alla documentazione di integrazione è stato attribuito il n° protocollo "+$F{numeroProtocollo}+"."]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="8" y="0" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="56" y="0" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<textField>
<reportElement x="56" y="19" width="492" height="13" uuid="63afdf81-a4b8-4c77-b20d-1fc1f3144fe3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipoIntegrazione}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="38" width="82" height="14" uuid="f99ce274-d2cd-42be-b72b-4203fe160e4a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="171" width="168" height="14" uuid="bff3fb40-62ce-4090-a054-16c0dfbb8e1c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="66" width="82" height="14" uuid="ac7e819b-6003-451b-ae84-ebe1641e025e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="143" width="115" height="14" uuid="17064559-2b55-4ebc-9687-3ee30add351a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="171" width="115" height="14" uuid="d3bffadd-5e05-417b-a5a0-4c9559a15077">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="52" width="82" height="14" uuid="808fa24c-9eb9-49c1-b75b-0f19454e860e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="94" width="458" height="14" uuid="ba060915-7e09-43cf-b13c-68f518dbfd04">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="66" width="458" height="14" uuid="02a118da-6552-4be3-bbb5-493289733fae">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="38" width="458" height="14" uuid="3529e395-1393-4db0-943f-acbc291f60bd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="52" width="458" height="14" uuid="59e07f4a-d208-4cb0-8787-79751cbb6be4">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="94" width="82" height="14" uuid="456505b4-cb96-4627-8bb5-2df964383b03">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="143" width="168" height="14" uuid="47763828-a100-4142-b4df-27e9e51e0900">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="108" width="458" height="14" uuid="96d60df3-ff6e-475d-aa62-ed93cf00ba92">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="108" width="82" height="14" uuid="8d392ab3-301d-47ca-aaf0-57c3c11cc6d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="122" width="82" height="14" uuid="172293f9-6f39-4b26-9053-655d3c44b351">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="122" width="458" height="14" uuid="6a2a4a28-7b8b-447b-bc61-a85c6884e543">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="381" y="157" width="168" height="14" uuid="68bcc7dc-acdb-4597-ba8e-c8e58a40f7c2">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="157" width="115" height="14" uuid="7b970076-40dc-4a19-9a5c-6bf91a101de1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="185" width="168" height="14" isRemoveLineWhenBlank="true" uuid="43e2349c-e134-4b94-b385-cb6c9287c1d8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="185" width="115" height="14" isRemoveLineWhenBlank="true" uuid="1064b535-5934-4ef1-aa26-f2cd7b240a68">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="80" width="82" height="14" uuid="af1bb679-17d8-4bd0-96b4-3ed5d0bcecb3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="80" width="458" height="14" uuid="9b80045f-57d8-4db4-9f26-fb003971e77a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
</band>
<band height="30">
<componentElement>
<reportElement x="0" y="0" width="548" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="548">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="eadb3cea-7359-4ca2-8171-7ed19919ecd9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="ded5adae-64a5-4390-bbfd-408166ad909b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="b5238240-1ae9-4a63-ae6c-97d5f1f300c6">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</ellipse>
</jr:listContents>
</jr:list>
</componentElement>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

15
jasper/allegato_pagamento.vm

@ -0,0 +1,15 @@
<html>
<style>
.text-center{text-align: center}
</style>
<head></head>
<body>
<h1 class="text-center">
Regione Siciliana
</h1>
<div>
$html
</div>
</body>
</html>

363
jasper/annullamento.jrxml

@ -0,0 +1,363 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="dataSorteggio" class="java.util.Date"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="1dedc2c2-5f8c-45ea-9474-6880b3cf36d3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="639e188a-fd2c-4920-8646-190e75776ada">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="ce1d442d-a1e8-4ae8-b7e2-1f727b9e04b3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="247">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" 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="19" width="492" height="14" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[RICHIESTA ANNULLAMENTO]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="201" width="548" height="44" uuid="a3fb9ec1-7464-4363-bd12-5934db7f26ed"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la richiesta di annullamento del progetto n. "+$F{numeroProgetto}+" trasmessa e pervenuta nel nostro sistema in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})+" con la presente si comunica che è stata accolta e registrata nei nostri archivi."]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="8" y="0" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="56" y="0" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="45" width="82" height="14" uuid="492caafe-ae9a-4ce4-807c-a9e8fae63bf8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="165" width="168" height="14" uuid="ff73e832-f88e-4cf7-8658-011aeaf77ccc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="73" width="82" height="14" uuid="4c284afd-e2cc-4660-9813-451fbf70300d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="137" width="115" height="14" uuid="17fd4606-441c-4387-bd80-4cc6132a5ed5">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="165" width="115" height="14" uuid="3b5565fa-cc1f-4ebf-8967-22d25ae16d38">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="59" width="82" height="14" uuid="220d0a77-fad9-43f0-be7d-01653f302e8d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="101" width="458" height="14" uuid="b00e3d20-2ce7-48ee-9f03-c08186840b4e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="73" width="458" height="14" uuid="44e9360d-ed76-479e-be3a-05ff88891ab2">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="45" width="458" height="14" uuid="d6951694-2f51-4b7a-b7f7-a6753c3451ed">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="59" width="458" height="14" uuid="9094dd7a-5e01-4824-90fe-a99cf62e94ed">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="101" width="82" height="14" uuid="6ef2e998-3eff-4652-83d9-14dcb6fa3e46">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="137" width="168" height="14" uuid="541060f2-7f48-4cfc-8183-817912e79a17">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="115" width="458" height="14" uuid="a83b581e-32ed-4fa5-921f-2e357ba77e7c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="115" width="82" height="14" uuid="6c674092-8670-492b-afb5-273ee86eb6d8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="151" width="168" height="14" uuid="c35c6d0b-75f3-4bc3-b184-36dbc9dd4493">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="151" width="115" height="14" uuid="7c249f58-9ea8-45e6-a78b-edf1cc521711">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="179" width="168" height="14" isRemoveLineWhenBlank="true" uuid="91d31e3d-db58-4d6d-8294-933a095568b5">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="179" width="115" height="14" isRemoveLineWhenBlank="true" uuid="805bf9ad-6b03-430c-a082-26bc5f70e8dc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="87" width="82" height="14" uuid="c21e13de-bffc-48e6-b7ac-ea88b1650169">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="87" width="458" height="14" uuid="c65f6358-9235-407f-a0be-cb788ae5372d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="3" y="0" width="548" height="30" uuid="caafc596-a4ac-41b6-81c4-b3a1a9c7ea1e">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="f03dcbf9-453e-4c41-a7d6-b3ca62bf47dd">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="548">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="c1f0c97e-e0fa-4a96-9aa2-89fd6468942d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="6fc239d4-b60a-4b9b-bae1-f078b1680489">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="4fa9345e-1fc8-4e75-ab7d-551d4e457a3b">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</ellipse>
</jr:listContents>
</jr:list>
</componentElement>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

14
jasper/annullamento_istanza.vm

@ -0,0 +1,14 @@
<html>
<style>
.text-center{text-align: center}
</style>
<head></head>
<body>
<h1 class="text-center">
Regione Siciliana
</h1>
<div>
$html
</div>
</body>
</html>

623
jasper/autorizzazione.jrxml

@ -1,623 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="autorizzazione" 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.3636363636363653"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="1180"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="motivazioni" class="java.lang.String"/>
<parameter name="testo_del_documento" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="20c7205b-54c5-4c83-a819-e70e5ca44340">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="ef37b55e-261a-448a-8f0d-c4efa31331fd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Genio Civile]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="1b3df7ad-e020-4547-8985-5ba4fbdd9464">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="251">
<line>
<reportElement x="0" y="22" width="555" height="1" uuid="9a12dff4-3c78-4e66-b1b6-13836bb2182b"/>
</line>
<staticText>
<reportElement x="1" y="34" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField>
<reportElement x="59" y="4" width="100" height="12" uuid="db3d08ab-28c7-4bb7-9758-f17e9a87c303"/>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="4" width="48" height="12" uuid="91b20a71-bc61-45b2-b546-829b214db055"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<staticText>
<reportElement x="57" y="34" width="491" height="32" uuid="f84fe41e-04c9-465d-af05-28b6cd156833"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Art. 94 del D.P.R. n. 380 06/06/2001.
Autorizzazione per l’inizio dei lavori nelle zone sismiche.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="72" width="82" height="14" uuid="1475b832-260b-41ac-8d78-16ea429dc32a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="205" width="168" height="14" uuid="6c685bd7-2153-4a2e-b269-28666068ba35">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="100" width="82" height="14" uuid="d89e57d5-254d-4c8a-adfd-2ad26336a66b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="177" width="115" height="14" uuid="76345dc3-d457-41cd-b72d-d26059883003">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="205" width="115" height="14" uuid="a812d29e-7d00-4bee-8ea0-3c09a465a564">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="86" width="82" height="14" uuid="b8b13fd5-8c23-4baf-b236-4e5d6468eaa8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="128" width="458" height="14" uuid="f3947e1c-706e-4445-bf3e-b8e9707b8b28">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="100" width="458" height="14" uuid="81865073-a9c6-4850-b090-930d6afd2846">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="72" width="458" height="14" uuid="b4415a3f-2764-411d-9fa8-e97e8dfd7e2e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="86" width="458" height="14" uuid="7d36ccf7-fd5b-4e38-993f-b3ff86672d60">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="128" width="82" height="14" uuid="e31bb23e-55b0-4098-96a9-6ae30c3d5623">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="177" width="168" height="14" uuid="128cce14-4eed-43c9-b11b-666528a368de">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="142" width="458" height="14" uuid="810ef857-47d5-46d9-8d66-5594a07eedfe">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="142" width="82" height="14" uuid="61a3bf9c-13ed-4d5f-8e79-e16b50818504">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="156" width="82" height="14" uuid="528be9bd-3776-45b2-8a61-f6be35b6b06d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="156" width="458" height="14" uuid="7cade07b-994f-49e0-8dca-29dde5e5edad">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="381" y="191" width="168" height="14" uuid="ad30c1eb-c461-4af9-a8ca-2c2130e5020b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="191" width="115" height="14" uuid="4f607d8d-2377-4807-81f8-d5e7ca013e57">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="219" width="168" height="14" isRemoveLineWhenBlank="true" uuid="5e0faeee-eeca-474b-b926-e872f062e051">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="219" width="115" height="14" isRemoveLineWhenBlank="true" uuid="6bd3263d-a074-475e-add3-85aa4cd0531f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="114" width="82" height="14" uuid="f79b0de0-ff27-4e71-bc97-f77b7ba0cc5f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="114" width="458" height="14" uuid="76b10fd2-33f4-4ccb-95c0-7757285f0665">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="233" width="115" height="14" isRemoveLineWhenBlank="true" uuid="b85f0243-7765-4154-885b-35b00003edb9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Comune/S.U.E.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="233" width="168" height="14" isRemoveLineWhenBlank="true" uuid="2d220d95-18c6-40ac-b4cf-e261f337402c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
</band>
<band height="476">
<staticText>
<reportElement x="84" y="224" width="465" height="34" uuid="6e24445d-d025-401c-9340-a2732c4cde6f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[dell’asseverazione del progettista conformemente a quanto previsto dal comma c) dell’art. 167 della L.R. 65/2014;]]></text>
</staticText>
<staticText>
<reportElement x="-1" y="224" width="78" height="20" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[PRESO ATTO ]]></text>
</staticText>
<staticText>
<reportElement x="43" y="264" width="454" height="20" uuid="451031c1-4ff8-48f1-9cc5-a7524e5da31b"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[le risultanze dell’istruttoria relativa al progetto in oggetto;]]></text>
</staticText>
<staticText>
<reportElement x="0" y="264" width="37" height="20" uuid="11c8b4ef-969b-4478-ac2f-99394761a181"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTE]]></text>
</staticText>
<staticText>
<reportElement x="92" y="298" width="454" height="42" uuid="0907fd84-3a5a-419e-890d-b3fe8ca628fd"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[che il progetto risulta essere redatto secondo i disposti della normativa sismica vigente e che dall’esame effettuato da questo Settore non sono emersi elementi sostanziali di contrasto con la suddetta normativa per le costruzioni in zona ad alta sismicità;]]></text>
</staticText>
<staticText>
<reportElement x="0" y="298" width="86" height="20" uuid="76c5b9f3-0dc8-4ba2-9aef-ba880883d481"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[CONSIDERATO]]></text>
</staticText>
<staticText>
<reportElement x="0" y="15" width="36" height="20" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
<staticText>
<reportElement x="0" y="128" width="37" height="20" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
<staticText>
<reportElement x="-1" y="77" width="37" height="20" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
<staticText>
<reportElement x="1" y="40" width="35" height="18" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTA]]></text>
</staticText>
<staticText>
<reportElement x="1" y="157" width="37" height="20" uuid="c47fb295-5bb0-4c8e-a535-627ab60975a8"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTA]]></text>
</staticText>
<staticText>
<reportElement x="42" y="15" width="508" height="20" uuid="6e24445d-d025-401c-9340-a2732c4cde6f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[l'art. 94 del D.P.R. 06/06/2001 n. 380 “Testo Unico dell’Edilizia”;]]></text>
</staticText>
<staticText>
<reportElement x="42" y="77" width="507" height="42" uuid="6e24445d-d025-401c-9340-a2732c4cde6f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[il Regolamento 36/R del 17/07/2009 di attuazione dell’art.117 comma 1 e 2 della L.R. 01/2005, vigente ai sensi del comma f) dell’art. 242 della L.R. 65/2014, riguardo alla modalità di presentazione dei progetti;]]></text>
</staticText>
<staticText>
<reportElement x="42" y="40" width="507" height="30" uuid="6e24445d-d025-401c-9340-a2732c4cde6f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[la L.R.65/2014, nonché la Deliberazione G.R.T. n. 878/2012 relativa alla classificazione sismica del territorio regionale, aggiornata con Deliberazione G.R.T. n. 421/2014;]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="42" y="128" width="504" height="20" uuid="2d98ed4f-2af5-4b02-88b6-0b5012de2c9a"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["l’art. 168 della L.R. 65/2014 riguardo ai previsti criteri di controllo da parte del Settore Sismica;"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="43" y="157" width="504" height="56" uuid="a0e6dd64-91c3-43b1-91f7-580bb450c8be"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["l’istanza inoltrata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+" assunta al protocollo di questo Settore con il n. "+$F{numeroProgetto}+" con la quale il Committente chiede di essere autorizzato ad iniziare i lavori in oggetto ai sensi dell’art. 94 del D.P.R. 380/2001 e dell’art. 167 della L.R. n. 65/2014;"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="224" y="363" width="99" height="13" uuid="baa0d2db-d00c-4d74-9d9b-5dacdca333a7"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[A U T O R I Z Z A]]></text>
</staticText>
<staticText>
<reportElement x="6" y="393" width="543" height="79" uuid="086b48ab-2093-4cef-bbd1-f22ab2514fb0"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[il Committente, ai sensi dell'art. 94 del D.P.R. 380/2001 e dell’art. 167 della L.R. 65/2014 all’inizio dei lavori, secondo il progetto allegato alla richiesta di autorizzazione pervenuta a questo Ufficio descritta in premessa, fermo restando l’obbligo all’osservanza delle prescrizioni delle Leggi Urbanistiche vigenti, e pertanto non escludendo il proprietario, il costruttore, il progettista ed il direttore dei lavori dalle proprie responsabilità e fatti salvi i diritti dei terzi.]]></text>
</staticText>
</band>
<band height="289">
<printWhenExpression><![CDATA[$P{testo_del_documento} == null || $P{testo_del_documento}.length() == 0]]></printWhenExpression>
<staticText>
<reportElement x="7" y="30" width="543" height="110" isPrintWhenDetailOverflows="true" uuid="95fa5f6c-a7d7-4be2-b13a-8d9f52b333f4"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[1)i lavori dovranno essere eseguiti sotto la direzione tecnica del Direttore dei Lavori;
2)non dovrà essere apportata alcuna variazione al progetto autorizzato, senza aver inviato telematicamente il progetto di variante e senza la relativa preventiva autorizzazione di questo Settore;
3)dovrà essere depositata la Relazione di fine lavori, nei termini e contenuti di legge;
4)dovrà essere depositato il Certificato di Collaudo Statico nei casi previsti dalle normative vigenti.
]]></text>
</staticText>
<staticText>
<reportElement x="191" y="10" width="164" height="13" isPrintWhenDetailOverflows="true" uuid="4be6013c-1c54-47e8-bb17-b8e2c0038787"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[con le seguenti prescrizioni]]></text>
</staticText>
<staticText>
<reportElement positionType="Float" x="386" y="224" width="148" height="15" isRemoveLineWhenBlank="true" uuid="701ad803-9ae6-4a6c-ab88-3ccd05fd05f7">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Il Dirigente Responsabile]]></text>
</staticText>
<staticText>
<reportElement x="358" y="246" width="204" height="15" isRemoveLineWhenBlank="true" uuid="ad89db74-d006-4d80-b1cc-066a4bc2d9c7">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Dott. Ing. Capo del Genio Civile]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
<summary>
<band height="802">
<printWhenExpression><![CDATA[$P{testo_del_documento}.length() > 0]]></printWhenExpression>
<staticText>
<reportElement x="4" y="779" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="776" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="703" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="753" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="380" y="620" width="148" height="15" isRemoveLineWhenBlank="true" uuid="eaee654a-f053-4128-ac44-46e217297eb0"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Il Dirigente Responsabile]]></text>
</staticText>
<staticText>
<reportElement x="366" y="635" width="176" height="15" isRemoveLineWhenBlank="true" uuid="1edd16b8-6fd8-4e96-9cc3-eba10ec26bc1"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Dott. Ing. Capo del Genio Civile]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement x="7" y="242" width="542" height="361" uuid="ca600221-3b1d-42e7-9f55-60e9a1663746"/>
<textFieldExpression><![CDATA["5) "+ $P{testo_del_documento}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="8" y="133" width="543" height="109" uuid="e410e5da-1e29-4391-85ba-606daf52ed77"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[1)i lavori dovranno essere eseguiti sotto la direzione tecnica del Direttore dei Lavori;
2)non dovrà essere apportata alcuna variazione al progetto autorizzato, senza aver inviato telematicamente il progetto di variante e senza la relativa preventiva autorizzazione di questo Settore;
3)dovrà essere depositata la Relazione di fine lavori, nei termini e contenuti di legge;
4)dovrà essere depositato il Certificato di Collaudo Statico nei casi previsti dalle normative vigenti.
]]></text>
</staticText>
<staticText>
<reportElement x="195" y="99" width="164" height="13" uuid="baa0d2db-d00c-4d74-9d9b-5dacdca333a7"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[con le seguenti prescrizioni]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="8f3c1865-8c4f-4c75-b53b-aee061e8451a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Genio Civile]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="88964324-d3d4-4fa6-b16a-df2a7d211e7c"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="d63e3b74-ef33-4409-bcb5-e65e23dc0f16">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="da532072-f8ab-4508-870e-28237a3c4690">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
</band>
</summary>
</jasperReport>

283
jasper/Avvio procedimento.jrxml → jasper/cambio_istruttore.jrxml

@ -25,6 +25,7 @@
<field name="allegati" class="java.util.List"/> <field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/> <field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/> <field name="sedeGenioCivile" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="po" class="java.lang.String"/> <field name="po" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/> <field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/> <field name="tecnicoEmail" class="java.lang.String"/>
@ -67,7 +68,7 @@
</band> </band>
</pageHeader> </pageHeader>
<detail> <detail>
<band height="100"> <band height="403">
<line> <line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/> <reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line> </line>
@ -96,115 +97,157 @@
</textElement> </textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="56" y="19" width="492" height="31" uuid="1d0eab29-aac5-453d-a7a2-9143bc4c9d29"/> <reportElement positionType="Float" x="0" y="268" width="549" height="26" uuid="0af63f5d-3c61-4dea-9c94-90037dbad3cc"/>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans" isBold="false" isItalic="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ? <textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Zone Sismiche - D.P.R. n. 380 del 06/06/2001 e ss.mm. ed ii.\n" "Ai sensi dell'art. 7 della L. 241/1990 e ss. mm. si comunica l'avvio del procedimento amministrativo relativo al rilascio dell'autorizzazione del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Ai sensi dell'art. 94 D.P.R. 380/01, comma 2, l'autorizzazione è rilasciata entro sessanta giorni dalla richiesta e viene trasmessa allo Sportello Unico, subito dopo il rilascio, per i provvedimenti di sua competenza.\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"
: :
($F{tipo}.equals("CO") ? ($F{tipo}.equals("CO") ?
"Zone Sismiche - D.P.R. n. 380 del 06/06/2001 e ss.mm. ed ii.\n"+ "Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. si comunica l'avvio del procedimento amministrativo relativo al controllo obbligatorio del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Progetto sottoposto a controllo obbligatorio" "Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"+
"l’esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione.\n"
: :
($F{tipo}.equals("SO") ? ($F{tipo}.equals("SO") ?
"Zone Sismiche – D.P.R. n. 380 del 06/06/2001 e ### \n"+ "Ai sensi dell'art. 7 della L. n. 241/1990 si comunica l'avvio del procedimento amministrativo relativo al controllo a campione del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Progetto sottoposto a controllo per sorteggio ai sensi dell’art. ###" "Tale progetto è risultato sorteggiato nella procedura telematica di estrazione effettuata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio})+".\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"+
"l'esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione.\n"
: :
""))]]></textFieldExpression> ""))]]></textFieldExpression>
</textField> </textField>
<staticText> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="9" y="72" width="82" height="14" uuid="f6c79378-20af-43cb-a587-d3ec3a18c011"> <reportElement positionType="Float" x="1" y="296" width="548" height="25" uuid="39a17951-059d-4c3c-b39e-dda7074be109"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <textElement textAlignment="Justified">
</reportElement> <font fontName="DejaVu Sans" isBold="true" isItalic="false" isUnderline="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Si ricorda che i lavori NON potranno essere iniziati prima del rilascio dell'autorizzazione.\n"
:
""]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="322" width="548" height="77" uuid="14661ad2-1c28-4ddd-8f98-b40cfdad5c49"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:"+
"- il Genio Civile rappresenta l'unità organizzativa responsabile dell'istruttoria, di ogni atto procedimentale e dell'adozione del provvedimeto finale nonché la struttura ove prendere visione degli atti\n"+
"­ il Dott. Ing. "+$F{po}+", Responsabile dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è il responsabile del procedimento;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, ai sensi dell’art 11 bis della l.r. 40/2009, è l'ingegnere capo del Genio Civile"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="56" y="19" width="492" height="31" uuid="1d0eab29-aac5-453d-a7a2-9143bc4c9d29"/>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Comune:]]></text> <textFieldExpression><![CDATA["Riassegnazione Pratica"]]></textFieldExpression>
</staticText> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="238" width="549" height="30" uuid="a1d8f916-22a1-4ce9-9820-f59608002edc"/>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA["Si comunica che è variato il tecnico istruttore incaricato del controllo della pratica. Il nuovo tecnico istruttore è: "+$F{tecnico}+" che può essere contattato con email: "+$F{tecnicoEmail}+". <br> Si comunica inoltre che i termini del procedimento non subiscono variazioni."]]></textFieldExpression>
</textField>
<staticText> <staticText>
<reportElement x="9" y="86" width="82" height="14" uuid="bc9134ca-ce12-4d09-8a24-517ddcf8cdb0"> <reportElement x="9" y="72" width="82" height="14" uuid="40bed289-5bb3-41cd-bf4f-a7b6db15184d">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Committente:]]></text> <text><![CDATA[Comune:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="72" width="458" height="14" uuid="ac9a0714-8c20-410f-95ff-b2a33be8f5cc"> <reportElement x="381" y="205" width="168" height="14" uuid="3f7a28c8-e281-48e8-9a92-92a7d048beca">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="91" y="86" width="458" height="14" uuid="011256bb-ed62-42ca-925c-8c9f2dff204f"> <reportElement x="9" y="100" width="82" height="14" uuid="0dd65e67-b472-4b7e-aa76-b46f2883d417">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression> <text><![CDATA[Lavori di:]]></text>
</textField> </staticText>
<staticText> <staticText>
<reportElement x="56" y="54" width="120" height="13" uuid="d1507994-a73d-47d1-ac79-f4c061d885e9"/> <reportElement key="" x="266" y="177" width="115" height="14" uuid="450c0354-114a-4bd1-a135-45ed184e4639">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Avvio Procedimento]]></text> <text><![CDATA[Al Committente]]></text>
</staticText> </staticText>
</band>
<band height="14">
<staticText> <staticText>
<reportElement x="9" y="0" width="82" height="14" uuid="90941af6-3de1-40b0-81bb-bd432efcecd4"> <reportElement x="266" y="205" width="115" height="14" uuid="4707b16d-d65c-434f-9907-8e923bedb5de">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Lavori di:]]></text> <text><![CDATA[Al D.L.]]></text>
</staticText> </staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <staticText>
<reportElement x="91" y="0" width="458" height="14" uuid="c6a0f075-53a4-445f-b109-49198a76d118"> <reportElement x="9" y="86" width="82" height="14" uuid="30197f9c-24ec-45f9-9f99-78b935f47cab">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="128" width="458" height="14" uuid="0f780daa-c44c-4465-954c-75b695f5b47e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="100" width="458" height="14" uuid="98a9d287-24b2-4670-a8b9-8931a65cde39">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField> </textField>
</band> <textField isBlankWhenNull="true">
<band height="280"> <reportElement x="91" y="72" width="458" height="14" uuid="9bba22ce-64f7-4725-806d-f23fc6c4326c">
<staticText>
<reportElement x="9" y="0" width="82" height="14" uuid="d346477a-9ac4-4c9b-a792-3195bbc902fb">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[Ubicazione:]]></text> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</staticText> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="0" width="458" height="14" uuid="59cc2772-def2-40bd-8ba4-13f755bf2279"> <reportElement x="91" y="86" width="458" height="14" uuid="6109cc7c-6300-4f47-9632-3a5b9d948ee5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="9" y="14" width="82" height="14" uuid="89c32ed3-8e43-4339-9aa3-16a874983272"> <reportElement x="9" y="128" width="82" height="14" uuid="c748078c-89b9-4db3-a538-883734b1f790">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -212,9 +255,17 @@
<text><![CDATA[Progetto n.]]></text> <text><![CDATA[Progetto n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="28" width="458" height="14" uuid="97c4cad7-bba5-4d10-951e-ff86a3070d28"> <reportElement x="381" y="177" width="168" height="14" uuid="5e17af32-d0f2-42fa-92af-b30a9ffaa8b7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="142" width="458" height="14" uuid="3be8fccc-e982-4ff1-957f-69908af69c23">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
@ -222,9 +273,8 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="9" y="28" width="82" height="14" uuid="46af93d6-4945-431f-a224-33a4cea433a3"> <reportElement x="9" y="142" width="82" height="14" uuid="2edebab2-e3b6-49d3-808f-59478f090908">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -232,39 +282,28 @@
<text><![CDATA[Protocollo n.]]></text> <text><![CDATA[Protocollo n.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement key="" x="266" y="52" width="115" height="14" uuid="562c5020-d3f4-407e-af2f-650c0e84f7ac"> <reportElement x="9" y="156" width="82" height="14" uuid="0d0992b0-e356-4898-b5f8-9ea789bd7fd4">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Al Committente]]></text> <text><![CDATA[Variante n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="381" y="52" width="168" height="14" uuid="cd225e69-24ae-49d5-bd40-ffd73904cbd9"> <reportElement x="91" y="156" width="458" height="14" uuid="98f698e9-8a42-4043-8684-f8619ccd6b91">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField> </textField>
<staticText>
<reportElement key="" x="266" y="66" width="115" height="14" uuid="bdc83d22-2536-4906-92bd-9779b72dd25d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="381" y="66" width="168" height="14" uuid="e5b16cae-b594-46e0-a039-f5cbbd99ed95"> <reportElement x="381" y="191" width="168" height="14" uuid="24196966-5738-4ae1-8fd0-01c8f0fe47ef">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
@ -272,29 +311,27 @@
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="266" y="80" width="115" height="14" uuid="97aa9737-08d8-44d9-9b86-72c803a7ede8"> <reportElement key="" x="266" y="191" width="115" height="14" uuid="bb5008f3-c741-4815-a9a4-139afa4edf2f">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Al D.L.]]></text> <text><![CDATA[c/o il suo delegato]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="381" y="80" width="168" height="14" uuid="1a62e567-6347-4dd7-abbb-b742b954005b"> <reportElement x="381" y="219" width="168" height="14" isRemoveLineWhenBlank="true" uuid="d9ec6d88-d89f-43d9-8409-4cf9fb008063">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="266" y="94" width="115" height="14" isRemoveLineWhenBlank="true" uuid="4fde8a91-0428-47a7-80c4-fb69aad7f4ae"> <reportElement x="266" y="219" width="115" height="14" isRemoveLineWhenBlank="true" uuid="3bb989dd-c222-47e7-a5b1-5d75e88e3ab9">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression> <printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
@ -302,87 +339,23 @@
</textElement> </textElement>
<text><![CDATA[Al Collaudatore]]></text> <text><![CDATA[Al Collaudatore]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="381" y="94" width="168" height="14" isRemoveLineWhenBlank="true" uuid="b171b3d3-e842-4ee0-b916-516e62a336d7"> <reportElement x="9" y="114" width="82" height="14" uuid="96238b4d-4d56-4f2f-934d-c230f419ce01">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression> <text><![CDATA[Ubicazione:]]></text>
</textField> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="14" width="458" height="14" uuid="b438cd2b-b734-4a6a-9e17-a7cd9748e8a1"> <reportElement x="91" y="114" width="458" height="14" uuid="7b94f57f-20d8-47d6-92fc-891e21e0d746">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="-1" y="112" width="548" height="26" uuid="9b7cb532-c40f-48cf-9aee-b068c7616d9f">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Ai sensi dell'art. 7 della L. 241/1990 e ss. mm. si comunica l'avvio del procedimento amministrativo relativo al progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"In relazione all'istanza in oggetto, si comunica che verrà emesso provvedimento di competenza di questo Ufficio, che potrà essere scaricato, in formato pdf, dalla sezione \"Documentazione aggiuntiva\".\n"+
"Il provvedimento suddetto riporterà i dati ai quali si dovrà fare riferimento per tutte le successive comunicazioni al Genio Civile.\n"+
"I lavori dovranno essere eseguiti in conformità al progetto a cui il provvedimento fa riferimento e nel rispetto delle norme di cui al D.P.R. 380/2001, come recepito dalla L.R.16/2016 ed al D.M. 17.01.2018.\n"+
"L'esecuzione di eventuali varianti, che si rendessero necessarie nel corso dei lavori, rimane subordinata al rilascio da parte di quest'Ufficio di un ulteriore provvedimento, a seguito di nuova istanza.\n"+
"In relazione al tipo di intervento, in applicazione al DDG 189/2019 del DRT, il provvedimento consisterà in un'autorizzazione (interventi di tipo A di cui all'allegato A del DDG 189/2019) o in un attestato di deposito (interventi di tipo B di cui all'allegato A del DDG 189/2019)\n"+
"Ove ricorrano i presupposti di cui all'art. 94 D.P.R. 380/01, comma 2, l'autorizzazione è rilasciata entro sessanta giorni dalla richiesta e viene trasmessa allo Sportello Unico, subito dopo il rilascio, per i provvedimenti di sua competenza.\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"
:
($F{tipo}.equals("CO") ?
"Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. ed ii. si comunica l'avvio del procedimento amministrativo relativo al controllo obbligatorio ai sensi del D.D.G. /D.R.T. n.8/2020. al fine di sottoporre a verifica “preventiva, i progetti non sorteggiati ma ritenuti, dal Dirigente dell’Ufficio del Genio Civile competente per territorio, di particolare complessità dal punto di vista geomorfologico, geologico e/o strutturale”;\n\n"+
"Si rammenta che rimane in ogni caso ferma la facoltà degli Uffici del Genio Civile di eseguire, ai sensi dell’art. 103 del DPR 380/2001, come recepito dalla L.R. 16/2016 (art. 29 L.64/74), ulteriori controlli sul territorio provinciale, al fine di attuare la “Vigilanza per l'osservanza delle norme tecniche”, indipendentemente dalla tipologia dell’intervento eseguito.\n\n"+
"Il Tecnico istruttore incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n\n"+
"Ai sensi dello stesso D.D.G./D.R.T. 8/2020. l’esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione."
:
($F{tipo}.equals("SO") ?
"Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. si comunica l'avvio del procedimento amministrativo relativo al controllo a campione ai sensi dell'art. ### del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Tale progetto è risultato sorteggiato nella procedura telematica di estrazione effettuata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio})+".\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"+
"Ai sensi dell'art. ### l'esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione.\n"
:
""))]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="1" y="140" width="548" height="25" isRemoveLineWhenBlank="true" uuid="2fbaebb6-4f3d-44c1-b27d-c084bda21a06">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true" isItalic="false" isUnderline="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
".\n"
:
""]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="-1" y="166" width="548" height="114" uuid="49b34d87-c6a0-4695-a634-efe36b69d2ca">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:"+
"- Le unità Operative che si occupano di Sismica in ogni ufficio del Genio civile, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"­ l'ingegnere Capo dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il Dirigente Generale del Dipartimento Regionale Tecnico, nella persona dell'Arch. Salvatore Lizzio;\n\n"+
"Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio mparlavecchio@regione.sicilia.it"]]></textFieldExpression>
</textField> </textField>
</band> </band>
</detail> </detail>
@ -400,9 +373,7 @@ https://sismica.lavoripubblici.sicilia.it]]></text>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> <reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line> </line>
<componentElement> <componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"> <reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom"> <jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression> <jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417> </jr:PDF417>

2
jasper/richiesta_integrazione_portos2.jrxml

@ -82,7 +82,7 @@
"D.P.R. n. 380 06/06/2001.\n"+ "D.P.R. n. 380 06/06/2001.\n"+
"Progetto soggetto ad autorizzazione ai sensi delli'art. 94 D.P.R. 380/2001 in relazione"+ "Progetto soggetto ad autorizzazione ai sensi delli'art. 94 D.P.R. 380/2001 in relazione"+
"ai controlli a campione effettuati ai sensi dall'art. 94-bis, comma 5, secondo le"+ "ai controlli a campione effettuati ai sensi dall'art. 94-bis, comma 5, secondo le"+
"indicazioni di cui al D.D.G. 189/2019.\n"+ "indicazioni di cui al D.D.G. 334/2020.\n"+
"\n"+ "\n"+
"Richiesta di documentazione integrativa o sostitutiva.\n" "Richiesta di documentazione integrativa o sostitutiva.\n"
: :

343
jasper/Avvio procedimento 2.jrxml → jasper/vidimazione.jrxml

@ -21,65 +21,53 @@
<field name="codiceUnivoco" class="java.lang.String"/> <field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/> <field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/> <field name="numeroProtocollo" class="java.lang.String"/>
<field name="dataSorteggio" class="java.util.Date"/>
<field name="allegati" class="java.util.List"/> <field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/> <field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/> <field name="sedeGenioCivile" class="java.lang.String"/>
<field name="po" class="java.lang.String"/> <field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/> <field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/> <field name="tecnicoEmail" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/> <field name="ubicazione" class="java.lang.String"/>
<pageHeader> <pageHeader>
<band height="92" splitType="Stretch"> <band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image> <image>
<reportElement x="0" y="12" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/> <reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> <imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image> </image>
<staticText> <textField>
<reportElement x="285" y="12" width="270" height="25" uuid="f21ad032-3fdd-4533-9e02-dbee11327673"> <reportElement x="285" y="50" width="269" height="25" uuid="a329da1c-ce69-4c4e-8461-34eb44195739">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle"> <textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/> <font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text> <textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</staticText> </textField>
<staticText> <staticText>
<reportElement x="285" y="37" width="269" height="25" uuid="6042c100-13a1-4f2d-ae83-22fe0621c1ea"> <reportElement x="285" y="0" width="270" height="25" uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle"> <textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/> <font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Genio Civile]]></text> <text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText> </staticText>
<textField> <staticText>
<reportElement x="285" y="62" width="269" height="25" uuid="e7c978eb-2575-4026-b292-489ca7721f8c"> <reportElement x="285" y="25" width="269" height="25" uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle"> <textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/> <font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression> <text><![CDATA[Genio Civile]]></text>
</textField>
<staticText>
<reportElement x="0" y="0" width="550" height="12" uuid="482bee38-9b66-4040-8ff8-c2b22385e1bd">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<text><![CDATA[AVVISO DI AVVIO DI PROCEDIMENTO (interventi B in zona sismica 1 e 2 a seguito di sorteggio o segnalato) ]]></text>
</staticText> </staticText>
</band> </band>
</pageHeader> </pageHeader>
<detail> <detail>
<band height="100"> <band height="274">
<line> <line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/> <reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line> </line>
@ -90,6 +78,34 @@
</textElement> </textElement>
<text><![CDATA[Oggetto:]]></text> <text><![CDATA[Oggetto:]]></text>
</staticText> </staticText>
<staticText>
<reportElement x="56" y="19" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Istanza relativa a: ]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="0" y="236" width="548" height="33" uuid="a3fb9ec1-7464-4363-bd12-5934db7f26ed"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals( "CO" )?"In relazione all’istanza in oggetto, si comunica che in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+" la stessa è stata accolta ed il progetto è stato acquisito dal sistema informatico Sismica della Regione Siciliana.\n"+
"L'inizio dei lavori rimane subordinato al successivo rilascio del provvedimento di deposito o di autorizzazione, che sarà emesso dall'Ufficio in relazione alla tipologia dell'intervento, con particolare riferimento al DDG n. 189 del 23/04/2019 del Dirigente Generale del DRT.\n"+
"Per accedere in visualizzazione a tutta la documentazione depositata è necessario inserire in:\n"+
"https://sismica.lavoripubblici.sicilia.it/web/portos/ricerca_pratiche il numero di progetto e il codice sotto riportato.\n"+
"Viene di seguito riportato l’elenco dei documenti allegati all’istanza:":""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="56" y="46" width="272" height="14" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{tipo}.equals( "CO" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText> <staticText>
<reportElement x="8" y="0" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0"> <reportElement x="8" y="0" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
@ -100,7 +116,7 @@
<text><![CDATA[Data Avviso]]></text> <text><![CDATA[Data Avviso]]></text>
</staticText> </staticText>
<textField> <textField>
<reportElement x="62" y="0" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646"> <reportElement x="61" y="0" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
@ -108,25 +124,8 @@
</textElement> </textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true">
<reportElement x="56" y="19" width="492" height="31" uuid="1d0eab29-aac5-453d-a7a2-9143bc4c9d29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Zone Sismiche - D.P.R. n. 380 del 06/06/2001 e ss.mm. ed ii.\n"
:
($F{tipo}.equals("CO") ?
"Zone Sismiche - D.P.R. n. 380 del 06/06/2001 e ss.mm. ed ii.\n"+
"Progetto sottoposto a controllo obbligatorio"
:
($F{tipo}.equals("SO") ?
"Zone Sismiche – D.P.R. n. 380 del 06/06/2001 e ss.mm. e ii. \n"+
"Progetto sottoposto a controllo per sorteggio ai sensi dell’art. 94-bis, comma 5 del D.P.R. n. 380 del 06/06/2001, secondo le modalità previste dall’allegato A) lettera E del DDG 334 del 19/05/2020"
: ""))]]></textFieldExpression>
</textField>
<staticText> <staticText>
<reportElement x="9" y="72" width="82" height="14" uuid="f6c79378-20af-43cb-a587-d3ec3a18c011"> <reportElement x="9" y="72" width="82" height="14" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
@ -134,88 +133,90 @@
</textElement> </textElement>
<text><![CDATA[Comune:]]></text> <text><![CDATA[Comune:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="205" width="168" height="14" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText> <staticText>
<reportElement x="9" y="86" width="82" height="14" uuid="bc9134ca-ce12-4d09-8a24-517ddcf8cdb0"> <reportElement x="9" y="100" width="82" height="14" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Committente:]]></text> <text><![CDATA[Lavori di:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="91" y="72" width="458" height="14" uuid="ac9a0714-8c20-410f-95ff-b2a33be8f5cc"> <reportElement key="" x="266" y="177" width="115" height="14" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> <text><![CDATA[Al Committente]]></text>
</textField> </staticText>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="91" y="86" width="458" height="14" uuid="011256bb-ed62-42ca-925c-8c9f2dff204f"> <reportElement x="266" y="205" width="115" height="14" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="1" y="54" width="554" height="13" uuid="d1507994-a73d-47d1-ac79-f4c061d885e9"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement> </textElement>
<text><![CDATA[COMUNICAZIONE]]></text> <text><![CDATA[Al D.L.]]></text>
</staticText> </staticText>
</band>
<band height="14">
<staticText> <staticText>
<reportElement x="9" y="0" width="82" height="14" uuid="90941af6-3de1-40b0-81bb-bd432efcecd4"> <reportElement x="9" y="86" width="82" height="14" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Lavori di:]]></text> <text><![CDATA[Committente:]]></text>
</staticText> </staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="0" width="458" height="14" uuid="c6a0f075-53a4-445f-b109-49198a76d118"> <reportElement x="91" y="128" width="458" height="14" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="100" width="458" height="14" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField> </textField>
</band> <textField isBlankWhenNull="true">
<band height="285"> <reportElement x="91" y="72" width="458" height="14" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<staticText>
<reportElement x="9" y="0" width="82" height="14" uuid="d346477a-9ac4-4c9b-a792-3195bbc902fb">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[Ubicazione:]]></text> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</staticText> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="0" width="458" height="14" uuid="59cc2772-def2-40bd-8ba4-13f755bf2279"> <reportElement x="91" y="86" width="458" height="14" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="9" y="14" width="82" height="14" uuid="89c32ed3-8e43-4339-9aa3-16a874983272"> <reportElement x="9" y="128" width="82" height="14" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -223,9 +224,17 @@
<text><![CDATA[Progetto n.]]></text> <text><![CDATA[Progetto n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="28" width="458" height="14" uuid="97c4cad7-bba5-4d10-951e-ff86a3070d28"> <reportElement x="381" y="177" width="168" height="14" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="142" width="458" height="14" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
@ -233,9 +242,8 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="9" y="28" width="82" height="14" uuid="46af93d6-4945-431f-a224-33a4cea433a3"> <reportElement x="9" y="142" width="82" height="14" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -243,39 +251,28 @@
<text><![CDATA[Protocollo n.]]></text> <text><![CDATA[Protocollo n.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement key="" x="266" y="52" width="115" height="14" uuid="562c5020-d3f4-407e-af2f-650c0e84f7ac"> <reportElement x="9" y="156" width="82" height="14" uuid="a62776a5-6e70-4853-a283-d9b8f912ed8b">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Al Committente]]></text> <text><![CDATA[Variante n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="381" y="52" width="168" height="14" uuid="cd225e69-24ae-49d5-bd40-ffd73904cbd9"> <reportElement x="91" y="156" width="458" height="14" uuid="d2a43582-4191-4a7f-82e5-f4568d80816d">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField> </textField>
<staticText>
<reportElement key="" x="266" y="66" width="115" height="14" uuid="bdc83d22-2536-4906-92bd-9779b72dd25d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="381" y="66" width="168" height="14" uuid="e5b16cae-b594-46e0-a039-f5cbbd99ed95"> <reportElement x="381" y="191" width="168" height="14" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
@ -283,29 +280,27 @@
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="266" y="80" width="115" height="14" uuid="97aa9737-08d8-44d9-9b86-72c803a7ede8"> <reportElement key="" x="266" y="191" width="115" height="14" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Al D.L.]]></text> <text><![CDATA[c/o il suo delegato]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="381" y="80" width="168" height="14" uuid="1a62e567-6347-4dd7-abbb-b742b954005b"> <reportElement x="381" y="219" width="168" height="14" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="266" y="94" width="115" height="14" isRemoveLineWhenBlank="true" uuid="4fde8a91-0428-47a7-80c4-fb69aad7f4ae"> <reportElement x="266" y="219" width="115" height="14" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression> <printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
@ -313,96 +308,66 @@
</textElement> </textElement>
<text><![CDATA[Al Collaudatore]]></text> <text><![CDATA[Al Collaudatore]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="381" y="94" width="168" height="14" isRemoveLineWhenBlank="true" uuid="b171b3d3-e842-4ee0-b916-516e62a336d7"> <reportElement x="9" y="114" width="82" height="14" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression> <text><![CDATA[Ubicazione:]]></text>
</textField> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="14" width="458" height="14" uuid="b438cd2b-b734-4a6a-9e17-a7cd9748e8a1"> <reportElement x="91" y="114" width="458" height="14" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> </band>
<reportElement x="-1" y="112" width="548" height="26" uuid="9b7cb532-c40f-48cf-9aee-b068c7616d9f"> <band height="30">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <componentElement>
<reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified"> <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">
<font fontName="DejaVu Sans" isBold="false" isItalic="false"/> <datasetRun subDataset="dataset1" uuid="43c05040-f066-43a1-a5ab-e94cf7b21165">
</textElement> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ? </datasetRun>
"Ai sensi dell'art. 7 della L. 241/1990 e ss. mm. si comunica l'avvio del procedimento amministrativo relativo al progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+ <jr:listContents height="30" width="539">
"In relazione all'istanza in oggetto, si comunica che verrà emesso provvedimento di competenza di questo Ufficio, che potrà essere scaricato, in formato pdf, dalla sezione \"Documentazione aggiuntiva\".\n"+
"Il provvedimento suddetto riporterà i dati ai quali si dovrà fare riferimento per tutte le successive comunicazioni al Genio Civile.\n"+
"I lavori dovranno essere eseguiti in conformità al progetto a cui il provvedimento fa riferimento e nel rispetto delle norme di cui al D.P.R. 380/2001, come recepito dalla L.R.16/2016 ed al D.M. 17.01.2018.\n"+
"L'esecuzione di eventuali varianti, che si rendessero necessarie nel corso dei lavori, rimane subordinata al rilascio da parte di quest'Ufficio di un ulteriore provvedimento, a seguito di nuova istanza.\n"+
"In relazione al tipo di intervento, in applicazione al DDG 189/2019 del DRT, il provvedimento consisterà in un'autorizzazione (interventi di tipo A di cui all'allegato A del DDG 189/2019) o in un attestato di deposito (interventi di tipo B di cui all'allegato A del DDG 189/2019)\n"+
"Ove ricorrano i presupposti di cui all'art. 94 D.P.R. 380/01, comma 2, l'autorizzazione è rilasciata entro sessanta giorni dalla richiesta e viene trasmessa allo Sportello Unico, subito dopo il rilascio, per i provvedimenti di sua competenza.\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"
:
($F{tipo}.equals("CO") ?
"Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. ed ii. si comunica l'avvio del procedimento amministrativo relativo al controllo obbligatorio ai sensi del D.D.G. /D.R.T. n.8/2020. al fine di sottoporre a verifica “preventiva, i progetti non sorteggiati ma ritenuti, dal Dirigente dell’Ufficio del Genio Civile competente per territorio, di particolare complessità dal punto di vista geomorfologico, geologico e/o strutturale”;\n\n"+
"Si rammenta che rimane in ogni caso ferma la facoltà degli Uffici del Genio Civile di eseguire, ai sensi dell’art. 103 del DPR 380/2001, come recepito dalla L.R. 16/2016 (art. 29 L.64/74), ulteriori controlli sul territorio provinciale, al fine di attuare la “Vigilanza per l'osservanza delle norme tecniche”, indipendentemente dalla tipologia dell’intervento eseguito.\n\n"+
"Il Tecnico istruttore incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n\n"+
"Ai sensi dello stesso D.D.G./D.R.T. 8/2020. l’esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione."
:
($F{tipo}.equals("SO") ?
"Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. si comunica l'avvio del procedimento amministrativo relativo al controllo a campione ai sensi dell'art. 94-bis, comma 5, del D.P.R. 380/2001 del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Tale progetto è risultato sorteggiato nella procedura telematica di estrazione effettuata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio})+".\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"+
"L'esito della verifica del progetto è reso noto a mezzo apposita comunicazione entro il termine di sessanta giorni dalla data di presentazione della denuncia dei lavori.\n"+
"Rimane facoltà di questo Ufficio eseguire controlli ai sensi dell’art. 103 del DPR 380/2001 e, pertanto, si invita il committente o il suo delegato a prendere contatti con il suddetto tecnico al fine di concordare l’eventuale ispezione del cantiere.\n"
:
""))]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="1" y="140" width="548" height="25" isRemoveLineWhenBlank="true" uuid="2fbaebb6-4f3d-44c1-b27d-c084bda21a06"> <reportElement x="20" y="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified"> <textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" isBold="true" isItalic="false" isUnderline="true"/> <font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ? <textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
".\n"
:
""]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <ellipse>
<reportElement positionType="Float" x="-1" y="220" width="548" height="60" uuid="49b34d87-c6a0-4695-a634-efe36b69d2ca"> <reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="55fefa3b-cabb-48e7-9db4-22251af05daf">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified"> </ellipse>
<font fontName="DejaVu Sans" size="9" isItalic="true"/> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
</textElement> <reportElement x="20" y="14" width="519" height="14" uuid="ff5ded57-1002-4409-a269-035990359b7b">
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo le unità Operative che si occupano di Sismica in ogni ufficio del Genio Civile, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio mparlavecchio@regione.sicilia.it"]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="180" width="458" height="30" uuid="a184d7a7-1812-478e-9dfb-3065ffc55307">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile di "+$F{comune}+"\n"+ <textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
"Il Dirigente del Servizio o Suo Delegato"]]></textFieldExpression>
</textField> </textField>
</jr:listContents>
</jr:list>
</componentElement>
</band> </band>
</detail> </detail>
<pageFooter> <pageFooter>
@ -413,15 +378,13 @@
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/> <font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[www.regione.sicilia.it <text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text> https://sismica.lavoripubblici.it]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> <reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line> </line>
<componentElement> <componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"> <reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom"> <jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression> <jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417> </jr:PDF417>

397
jasper/vidimazione_fl.jrxml

@ -0,0 +1,397 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="parziale" class="java.lang.Boolean"/>
<field name="parzialeNumero" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="a329da1c-ce69-4c4e-8461-34eb44195739">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Genio Civile]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="398">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" 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="19" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[RELAZIONE DI ULTIMAZIONE DEI LAVORI, Art. 93 D.P.R. n. 380/2001]]></text>
</staticText>
<staticText>
<reportElement x="56" y="47" width="272" height="14" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[ATTESTAZIONE DEPOSITO FINE LAVORI]]></text>
</staticText>
<staticText>
<reportElement x="8" y="0" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="61" y="0" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="121" width="82" height="14" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="254" width="168" height="14" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="149" width="82" height="14" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="226" width="115" height="14" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="254" width="115" height="14" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="135" width="82" height="14" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="177" width="458" height="14" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="149" width="458" height="14" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="121" width="458" height="14" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="135" width="458" height="14" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="177" width="82" height="14" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="226" width="168" height="14" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="191" width="458" height="14" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="191" width="82" height="14" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="240" width="168" height="14" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="240" width="115" height="14" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="268" width="168" height="14" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="268" width="115" height="14" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="163" width="82" height="14" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="163" width="458" height="14" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField>
<reportElement x="56" y="62" width="272" height="14" uuid="3deb06c4-0dad-4222-bd6a-eaf9a62d8af0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{parziale}]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="false"/>
</textElement>
<textFieldExpression><![CDATA["[parziale n°" + $F{parzialeNumero} + "]"]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="0" y="285" width="548" height="65" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la richiesta di deposito della relazione di Fine Lavori e Certifcato di Rispondenza "+($F{parziale} == true ? "[parziale n° "+$F{parzialeNumero}+"]": "") +" ,\n"+
"trasmessa in data "+new SimpleDateFormat("dd/MM/yyy").format($F{dataPratica})+" relativa alla pratica "+$F{numeroProgetto}+", si comunica che è stata vidimata e acquisita dal sistema regionale\n"+
"Sismica-Sicilia, con n° protocollo " + $F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="3" y="360" width="548" height="30" uuid="d2f2dc73-ea35-4995-9f1c-a767e34a93a3"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati alla Relazione
depositata:]]></text>
</staticText>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="55fefa3b-cabb-48e7-9db4-22251af05daf">
<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="14" width="519" height="14" uuid="ff5ded57-1002-4409-a269-035990359b7b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

416
jasper/vidimazione_var_sog.jrxml

@ -0,0 +1,416 @@
<?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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="360"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="denominazione" class="java.lang.String"/>
<field name="tipoSoggetto" class="java.lang.String"/>
<field name="tipoOperazione" class="java.lang.String"/>
</subDataset>
<subDataset name="dataset2" uuid="2818565f-a801-4466-af81-a68a9789a9bd">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="tipoPratica" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="soggetti" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement uuid="69ba1fba-114d-4d87-afcf-2a121decda52" x="0" y="0" width="224" height="68"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement uuid="a329da1c-ce69-4c4e-8461-34eb44195739" x="285" y="50" width="269" height="25">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f" x="285" y="0" width="270" height="25">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60" x="285" y="25" width="269" height="25">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="265">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<line>
<reportElement uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb" x="0" y="13" width="555" height="1"/>
</line>
<staticText>
<reportElement uuid="2bb6962b-397c-4592-ab9b-f49f30c26032" x="0" y="19" width="56" height="13"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29" x="56" y="19" width="492" height="26"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[COMUNICAZIONE VARIAZIONE SOGGETTI]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="a3fb9ec1-7464-4363-bd12-5934db7f26ed" stretchType="RelativeToTallestObject" x="0" y="212" width="548" height="36"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["In relazione alla pratica di " + ($F{tipoPratica}.equals("01") ? "Deposito" : ( $F{tipoPratica}.equals("02") ? "Autorizzazione" : "Sanatoria") ) + " n° "+ $F{numeroProgetto} +", e all’istanza di VARIAZIONE del/i nuovo/i SOGGETTI/i, "+
"si comunica che tale istanza è stata vidimata e acquisita dal sistema informatico Sismica della Regione Siciliana, in data "+new SimpleDateFormat("dd/MM/yyy").format($F{dataPratica})+" con n° protocollo " + $F{numeroProtocollo} +"."+
"Viene di seguito riportato l'elenco dei soggetti interessati dalla variazione:"]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="cf3a9429-2047-45c9-980a-7ac93d430de0" x="8" y="0" width="48" height="10">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement uuid="e8e8a449-23ae-48da-aa8d-84423c088646" x="61" y="0" width="100" height="10">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="db348311-9894-42af-ae4e-727d96f8aa08" x="9" y="46" width="82" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement uuid="d880d447-9438-4750-be22-4b0b5bef3e63" x="381" y="164" width="168" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925" x="9" y="74" width="82" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1" key="" x="266" y="136" width="115" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a" x="266" y="164" width="115" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd" x="9" y="60" width="82" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement uuid="59326b1c-3092-45ab-ba73-d188ee32f184" x="91" y="102" width="458" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="64e8a0c4-3120-4359-9419-0c31feb752ba" x="91" y="74" width="458" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1" x="91" y="46" width="458" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856" x="91" y="60" width="458" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="7a2a67be-5d54-4aa9-b690-799f437cb642" x="9" y="102" width="82" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement uuid="f9c28d14-b419-47e8-8c47-a936d86fee32" x="381" y="136" width="168" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d" x="91" y="116" width="458" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa" x="9" y="116" width="82" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c" x="381" y="150" width="168" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba" key="" x="266" y="150" width="115" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3" x="381" y="178" width="168" height="14" isRemoveLineWhenBlank="true">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6" x="266" y="178" width="115" height="14" isRemoveLineWhenBlank="true">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6" x="9" y="88" width="82" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9" x="91" y="88" width="458" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b" x="0" y="-1" width="539" height="30">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{soggetti})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="24769fb4-b6ff-45f4-95a5-486608298a59" x="20" y="0" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipoSoggetto}+" "+$F{tipoOperazione}+": "+$F{denominazione}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement uuid="55fefa3b-cabb-48e7-9db4-22251af05daf" x="11" y="5" width="4" height="4" backcolor="#000000">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</ellipse>
</jr:listContents>
</jr:list>
</componentElement>
</band>
<band height="58">
<componentElement>
<reportElement uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b" x="0" y="27" width="539" height="30">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="dataset2" uuid="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="24769fb4-b6ff-45f4-95a5-486608298a59" x="20" y="0" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement uuid="55fefa3b-cabb-48e7-9db4-22251af05daf" x="11" y="5" width="4" height="4" backcolor="#000000">
<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 uuid="ff5ded57-1002-4409-a269-035990359b7b" x="20" y="14" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6" x="0" y="4" width="115" height="14" isRemoveLineWhenBlank="true">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Allegati Obbligatori:]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement uuid="89e43c7c-c4e3-456f-8eba-d21332502699" x="4" y="102" width="377" height="23"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b" x="0" y="99" width="555" height="1"/>
</line>
<componentElement>
<reportElement uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888" x="183" y="26" width="188" height="50"/>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a" x="8" y="76" width="538" height="20"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

444
jasper/visualizza_collaudo.jrxml

@ -0,0 +1,444 @@
<?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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="134"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<parameter name="PROVA_LISTA" class="java.lang.String"/>
<field name="label" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="TITOLO_PRATICA" class="java.lang.String"/>
<parameter name="SEDE_GENIO_CIVILE" class="java.lang.String"/>
<parameter name="VALUES_PRATICA_PRINCIPALE" class="java.util.List"/>
<parameter name="VALUES_PRATICA_INDIRIZZO" class="java.util.List"/>
<parameter name="VALORE_SISMICO_1" class="java.lang.String"/>
<parameter name="VALORE_SISMICO_2" class="java.lang.String"/>
<parameter name="TIPOLOGIA_INTERVENTO" class="java.lang.String"/>
<parameter name="TIPOLOGIA_COSTRUTTIVA" class="java.lang.String"/>
<parameter name="ANAGRAFICA_SOGGETTI" class="java.util.List"/>
<parameter name="ALLEGATI_GEOLOGICI" class="java.util.List"/>
<parameter name="ALLEGATI_DOMANDA" class="java.util.List"/>
<parameter name="DESCRIZIONE_INTERVENTO" class="java.lang.String"/>
<parameter name="PAGAMENTI" class="java.util.List"/>
<parameter name="TIPO_FINE_LAVORI" class="java.lang.String"/>
<parameter name="DATA_FINE_LAVORI" class="java.lang.String"/>
<parameter name="PROVINCIA" class="java.lang.String"/>
<parameter name="ZONA_SISMICA" class="java.lang.String"/>
<parameter name="RANGE_AG" class="java.lang.String"/>
<parameter name="COMUNE" class="java.lang.String"/>
<parameter name="FASCIA_PERICOLOSITA" class="java.lang.String"/>
<parameter name="DIRETTORE_LAVORI" class="java.lang.String"/>
<parameter name="COMMITTENTE" class="java.lang.String"/>
<parameter name="INTEGRAZIONI_VARIANTI" class="java.util.List"/>
<parameter name="TIPO_PRATICA" class="java.lang.String"/>
<parameter name="DATA_EFFETTUAZIONE_COLLAUDO" class="java.lang.String"/>
<parameter name="PROTOCOLLO" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="titoloPratica" class="java.lang.String"/>
<field name="checkSummury" class="java.util.List"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement uuid="69ba1fba-114d-4d87-afcf-2a121decda52" x="0" y="0" width="224" height="68"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f" x="285" y="0" width="270" height="25">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60" x="285" y="25" width="269" height="25">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement uuid="74cd3774-8081-4a10-abab-e5b411e53503" x="285" y="50" width="269" height="25"/>
<textElement textAlignment="Center">
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Sede di " + $P{SEDE_GENIO_CIVILE}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="602">
<property name="com.jaspersoft.studio.layout"/>
<line>
<reportElement uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb" x="0" y="46" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField>
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" x="0" y="25" width="370" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TITOLO_PRATICA}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="3f8049e1-7956-480f-b2ee-5e128f520745" x="0" y="58" width="80" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Collaudo]]></text>
</staticText>
<textField>
<reportElement uuid="bb84b063-648b-4beb-bf89-d0703df73c5c" x="100" y="58" width="135" height="20"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPO_FINE_LAVORI}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="1574832d-6e09-4621-bf6c-c1e7457ba38d" x="269" y="58" width="141" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Data Invio Collaudo]]></text>
</staticText>
<textField>
<reportElement uuid="3d516193-9f28-43bf-bb1d-d928c5fee279" x="434" y="58" width="120" height="20"/>
<textElement textAlignment="Center">
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINE_LAVORI}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="bb5342d3-1687-4803-b114-66fab6c7e6c8" x="0" y="102" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="4926a9a7-111e-459f-a4c5-1705be818b5e" x="0" y="117" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Provincia]]></text>
</staticText>
<staticText>
<reportElement uuid="7d8eb444-3126-4c6d-b657-b2c44b94ee83" x="0" y="147" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Zona Sismica]]></text>
</staticText>
<staticText>
<reportElement uuid="b0ad576d-d724-4ac9-9140-28432b2daffa" x="0" y="177" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Range Ag]]></text>
</staticText>
<staticText>
<reportElement uuid="1f527cb1-6bb6-47e8-9796-4258b43270fd" x="280" y="117" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Comune]]></text>
</staticText>
<staticText>
<reportElement uuid="2e6e3eb2-b47c-487e-86db-afe30c54e830" x="280" y="147" width="100" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Fascia Pericolosità]]></text>
</staticText>
<textField>
<reportElement uuid="47b97d2e-d631-42ab-9bf1-7f1574066ab5" x="100" y="117" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROVINCIA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="d3ffffb1-f42f-4932-8516-59356b4da725" x="100" y="147" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{ZONA_SISMICA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="79264337-1aac-4933-9c52-fc8b45cff1c7" x="100" y="177" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{RANGE_AG}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="2a762a72-f74b-487f-85dc-2dbd3e0cf0d4" x="410" y="117" width="144" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{COMUNE}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b0d032b0-3528-4e9b-96bc-2740019d72a9" x="410" y="147" width="144" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FASCIA_PERICOLOSITA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="dfe314b5-a6fa-4b01-8857-50488b188bd6" x="0" y="322" width="555" height="1" forecolor="#FF0400"/>
</line>
<line>
<reportElement uuid="cdc7e57e-2bfc-45c0-aeb7-5954c74cef61" x="0" y="382" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="7a3ec534-ed29-48ec-af13-8164ac0f5ebe" x="0" y="492" width="540" height="34"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Durante il corso dei lavori sono state presentate le seguenti varianti e/o integrazioni al progetto e/o fine lavori parziali/totali e/o collaudi parziali presentate: ]]></text>
</staticText>
<textField>
<reportElement uuid="5d6c025c-39c5-4de4-8f68-2d2a62b8304c" x="130" y="332" width="405" height="40"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$P{DESCRIZIONE_INTERVENTO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="b3e8acef-ea35-4f87-a55c-e8322691bded" x="0" y="392" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Committente/i]]></text>
</staticText>
<staticText>
<reportElement uuid="3e2b7313-a0a8-42d3-8c39-22088f2760f8" x="0" y="422" width="100" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Collaudatore]]></text>
</staticText>
<textField>
<reportElement uuid="e1d2edb3-c1ff-459f-8bc7-3a1c9f5b0e51" x="109" y="392" width="435" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{COMMITTENTE}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="137c8adf-e882-40a2-a4ab-44b83ef82d2c" x="109" y="422" width="434" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{DIRETTORE_LAVORI}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="9cbd431b-1e28-4b9c-b3d1-4c25f6dc845c" x="0" y="482" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="bf454530-8eda-4c87-b568-2f1908170bc1" x="0" y="332" width="120" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Descrizione Intervento]]></text>
</staticText>
<staticText>
<reportElement uuid="581b1ff3-289b-4b6c-a679-f64539bf7fe2" x="0" y="452" width="90" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Tipo di domanda]]></text>
</staticText>
<textField>
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" x="109" y="452" width="170" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPO_PRATICA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="066a1a12-045d-43a6-babe-2879a6f776c4" x="0" y="212" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="b59e6455-b164-45f1-b715-ef23c5134218" x="0" y="222" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Ubicazione]]></text>
</staticText>
<componentElement>
<reportElement uuid="0ae3e2fa-ddda-43c5-beb8-db2c373f9a61" x="0" y="242" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="1c45c39d-739b-4225-8dcc-85f8df78b7d6">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{VALUES_PRATICA_INDIRIZZO})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="10ddd0b8-3949-4134-abb0-7d5fc3f66bb4" x="20" y="1" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<componentElement>
<reportElement uuid="752afe71-e412-48c5-bfe2-b7d40324de38" x="0" y="526" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="3ce40b92-d389-4b50-a531-0e2f6e55f80b">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{INTEGRAZIONI_VARIANTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="039c4420-61d0-477b-b7dc-ec5f93259919" x="20" y="0" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="1574832d-6e09-4621-bf6c-c1e7457ba38d" x="269" y="80" width="165" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Data Effettuazione Collaudo]]></text>
</staticText>
<textField>
<reportElement uuid="3d516193-9f28-43bf-bb1d-d928c5fee279" x="434" y="81" width="120" height="20"/>
<textElement textAlignment="Center">
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_EFFETTUAZIONE_COLLAUDO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="3f8049e1-7956-480f-b2ee-5e128f520745" x="0" y="3" width="552" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Riepilogo Dati Inoltro Collaudo]]></text>
</staticText>
</band>
<band height="250">
<componentElement>
<reportElement uuid="1749b71d-c3b9-4e19-be6e-9ae1e8085c3b" x="0" y="50" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="8da7092d-5a88-4cd3-a857-9284db853fee">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{ALLEGATI_DOMANDA})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="ef7b917c-16b3-409f-b386-6b41b3d9eea8" x="20" y="0" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="17c6d1be-1765-46b1-b3c5-42101c072b09" x="0" y="30" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Allegati]]></text>
</staticText>
<line>
<reportElement uuid="f45fc237-97f9-4824-835a-bf661ab8af8e" x="0" y="18" width="555" height="1" forecolor="#FF0400"/>
</line>
<line>
<reportElement uuid="6b4f748f-979a-4714-9c3b-395e3fb73b67" x="0" y="140" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="420aa6cd-6f02-4973-930d-5e5749827606" x="0" y="150" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Pagamenti]]></text>
</staticText>
<componentElement>
<reportElement uuid="10ee27ab-f13f-4866-9523-41d1db5ff40c" x="0" y="170" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="8422911d-15c7-4ba3-977e-4a5a5654e3e1">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{PAGAMENTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="8760a6bf-2e00-4db5-8199-e5a89c550e1e" x="20" y="0" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement uuid="89e43c7c-c4e3-456f-8eba-d21332502699" x="4" y="102" width="377" height="23"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b" x="0" y="99" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField isStretchWithOverflow="true">
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" stretchType="RelativeToBandHeight" x="251" y="109" width="301" height="14"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROTOCOLLO}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

487
jasper/visualizza_fine_lavori.jrxml

@ -0,0 +1,487 @@
<?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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="1242"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<parameter name="PROVA_LISTA" class="java.lang.String"/>
<field name="label" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="TITOLO_PRATICA" class="java.lang.String"/>
<parameter name="SEDE_GENIO_CIVILE" class="java.lang.String"/>
<parameter name="VALUES_PRATICA_PRINCIPALE" class="java.util.List"/>
<parameter name="VALUES_PRATICA_INDIRIZZO" class="java.util.List"/>
<parameter name="VALORE_SISMICO_1" class="java.lang.String"/>
<parameter name="VALORE_SISMICO_2" class="java.lang.String"/>
<parameter name="TIPOLOGIA_INTERVENTO" class="java.lang.String"/>
<parameter name="TIPOLOGIA_COSTRUTTIVA" class="java.lang.String"/>
<parameter name="ANAGRAFICA_SOGGETTI" class="java.util.List"/>
<parameter name="ALLEGATI_GEOLOGICI" class="java.util.List"/>
<parameter name="ALLEGATI_DOMANDA" class="java.util.List"/>
<parameter name="DESCRIZIONE_INTERVENTO" class="java.lang.String"/>
<parameter name="PAGAMENTI" class="java.util.List"/>
<parameter name="TIPO_FINE_LAVORI" class="java.lang.String"/>
<parameter name="DATA_FINE_LAVORI" class="java.lang.String"/>
<parameter name="PROVINCIA" class="java.lang.String"/>
<parameter name="ZONA_SISMICA" class="java.lang.String"/>
<parameter name="RANGE_AG" class="java.lang.String"/>
<parameter name="COMUNE" class="java.lang.String"/>
<parameter name="FASCIA_PERICOLOSITA" class="java.lang.String"/>
<parameter name="DIRETTORE_LAVORI" class="java.lang.String"/>
<parameter name="COMMITTENTE" class="java.lang.String"/>
<parameter name="INTEGRAZIONI_VARIANTI" class="java.util.List"/>
<parameter name="TIPO_PRATICA" class="java.lang.String"/>
<parameter name="PROTOCOLLO" class="java.lang.String"/>
<parameter name="DICHIARAZIONE_DL" class="java.lang.String"/>
<parameter name="DATA_INVIO_FINE_LAVORI" class="java.lang.String"/>
<parameter name="DICHIARAZIONE_FL_DL" class="java.lang.String"/>
<parameter name="FIRMA_DIRETTORE" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="titoloPratica" class="java.lang.String"/>
<field name="checkSummury" class="java.util.List"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement uuid="69ba1fba-114d-4d87-afcf-2a121decda52" x="0" y="0" width="224" height="68"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f" x="285" y="0" width="270" height="25">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
<staticText>
<reportElement uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60" x="285" y="25" width="269" height="25">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Genio Civile]]></text>
</staticText>
<textField>
<reportElement uuid="74cd3774-8081-4a10-abab-e5b411e53503" x="285" y="50" width="269" height="25"/>
<textElement textAlignment="Center">
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Sede di " + $P{SEDE_GENIO_CIVILE}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="602">
<property name="com.jaspersoft.studio.layout"/>
<line>
<reportElement uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb" x="-1" y="56" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField>
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" x="0" y="34" width="370" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TITOLO_PRATICA}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="3f8049e1-7956-480f-b2ee-5e128f520745" x="0" y="66" width="80" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Fine Lavori]]></text>
</staticText>
<textField>
<reportElement uuid="bb84b063-648b-4beb-bf89-d0703df73c5c" x="87" y="66" width="104" height="20"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPO_FINE_LAVORI}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="1574832d-6e09-4621-bf6c-c1e7457ba38d" x="245" y="66" width="174" height="20"/>
<textElement verticalAlignment="Top">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Data Invio Fine Lavori]]></text>
</staticText>
<textField>
<reportElement uuid="3d516193-9f28-43bf-bb1d-d928c5fee279" x="432" y="66" width="121" height="20"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_INVIO_FINE_LAVORI}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="bb5342d3-1687-4803-b114-66fab6c7e6c8" x="0" y="112" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="4926a9a7-111e-459f-a4c5-1705be818b5e" x="0" y="119" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Provincia]]></text>
</staticText>
<staticText>
<reportElement uuid="7d8eb444-3126-4c6d-b657-b2c44b94ee83" x="0" y="149" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Zona Sismica]]></text>
</staticText>
<staticText>
<reportElement uuid="b0ad576d-d724-4ac9-9140-28432b2daffa" x="0" y="179" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Range Ag]]></text>
</staticText>
<staticText>
<reportElement uuid="1f527cb1-6bb6-47e8-9796-4258b43270fd" x="280" y="119" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Comune]]></text>
</staticText>
<staticText>
<reportElement uuid="2e6e3eb2-b47c-487e-86db-afe30c54e830" x="280" y="149" width="100" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Fascia Pericolosità]]></text>
</staticText>
<textField>
<reportElement uuid="47b97d2e-d631-42ab-9bf1-7f1574066ab5" x="100" y="119" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROVINCIA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="d3ffffb1-f42f-4932-8516-59356b4da725" x="100" y="149" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{ZONA_SISMICA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="79264337-1aac-4933-9c52-fc8b45cff1c7" x="100" y="179" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{RANGE_AG}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="2a762a72-f74b-487f-85dc-2dbd3e0cf0d4" x="410" y="119" width="144" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{COMUNE}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b0d032b0-3528-4e9b-96bc-2740019d72a9" x="410" y="149" width="144" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FASCIA_PERICOLOSITA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="dfe314b5-a6fa-4b01-8857-50488b188bd6" x="0" y="302" width="555" height="1" forecolor="#FF0400"/>
</line>
<line>
<reportElement uuid="cdc7e57e-2bfc-45c0-aeb7-5954c74cef61" x="0" y="362" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="7a3ec534-ed29-48ec-af13-8164ac0f5ebe" x="0" y="472" width="540" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Durante il corso dei lavori sono state presentate le seguenti varianti e/o integrazioni al progetto:]]></text>
</staticText>
<textField>
<reportElement uuid="5d6c025c-39c5-4de4-8f68-2d2a62b8304c" x="130" y="312" width="405" height="40"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$P{DESCRIZIONE_INTERVENTO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="b3e8acef-ea35-4f87-a55c-e8322691bded" x="0" y="372" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Committente/i]]></text>
</staticText>
<staticText>
<reportElement uuid="3e2b7313-a0a8-42d3-8c39-22088f2760f8" x="0" y="402" width="100" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Direttore Lavori]]></text>
</staticText>
<textField>
<reportElement uuid="e1d2edb3-c1ff-459f-8bc7-3a1c9f5b0e51" x="109" y="372" width="435" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{COMMITTENTE}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="137c8adf-e882-40a2-a4ab-44b83ef82d2c" x="109" y="402" width="434" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{DIRETTORE_LAVORI}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="9cbd431b-1e28-4b9c-b3d1-4c25f6dc845c" x="0" y="462" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="bf454530-8eda-4c87-b568-2f1908170bc1" x="0" y="312" width="120" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Descrizione Intervento]]></text>
</staticText>
<staticText>
<reportElement uuid="581b1ff3-289b-4b6c-a679-f64539bf7fe2" x="0" y="432" width="90" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Tipo di domanda]]></text>
</staticText>
<textField>
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" x="109" y="432" width="170" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPO_PRATICA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="066a1a12-045d-43a6-babe-2879a6f776c4" x="0" y="205" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="b59e6455-b164-45f1-b715-ef23c5134218" x="0" y="210" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Ubicazione]]></text>
</staticText>
<componentElement>
<reportElement uuid="0ae3e2fa-ddda-43c5-beb8-db2c373f9a61" x="0" y="231" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="1c45c39d-739b-4225-8dcc-85f8df78b7d6">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{VALUES_PRATICA_INDIRIZZO})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="10ddd0b8-3949-4134-abb0-7d5fc3f66bb4" x="20" y="0" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<componentElement>
<reportElement uuid="752afe71-e412-48c5-bfe2-b7d40324de38" x="0" y="492" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="3ce40b92-d389-4b50-a531-0e2f6e55f80b">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{INTEGRAZIONI_VARIANTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="039c4420-61d0-477b-b7dc-ec5f93259919" x="20" y="1" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="3f8049e1-7956-480f-b2ee-5e128f520745" x="1" y="4" width="554" height="27"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Relazione di Fine Lavori e Certificato di Rispondenza, ai sensi dellart. 93 del D.P.R. 380/2001]]></text>
</staticText>
<textField>
<reportElement uuid="3d516193-9f28-43bf-bb1d-d928c5fee279" x="432" y="88" width="120" height="20"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINE_LAVORI}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="1574832d-6e09-4621-bf6c-c1e7457ba38d" x="243" y="88" width="176" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Data Effettuazione Fine Lavori]]></text>
</staticText>
</band>
<band height="391">
<componentElement>
<reportElement uuid="1749b71d-c3b9-4e19-be6e-9ae1e8085c3b" x="0" y="85" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="8da7092d-5a88-4cd3-a857-9284db853fee">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{ALLEGATI_DOMANDA})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="ef7b917c-16b3-409f-b386-6b41b3d9eea8" x="20" y="0" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="17c6d1be-1765-46b1-b3c5-42101c072b09" x="0" y="65" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Allegati]]></text>
</staticText>
<line>
<reportElement uuid="f45fc237-97f9-4824-835a-bf661ab8af8e" x="0" y="18" width="555" height="1" forecolor="#FF0400"/>
</line>
<line>
<reportElement uuid="6b4f748f-979a-4714-9c3b-395e3fb73b67" positionType="Float" x="0" y="154" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="420aa6cd-6f02-4973-930d-5e5749827606" positionType="Float" x="0" y="164" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Pagamenti Digitali]]></text>
</staticText>
<componentElement>
<reportElement uuid="10ee27ab-f13f-4866-9523-41d1db5ff40c" positionType="Float" x="0" y="184" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="8422911d-15c7-4ba3-977e-4a5a5654e3e1">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{PAGAMENTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="8760a6bf-2e00-4db5-8199-e5a89c550e1e" positionType="Float" x="20" y="1" width="519" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<textField isStretchWithOverflow="true">
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" positionType="Float" x="20" y="291" width="534" height="20"/>
<textElement markup="html">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{DICHIARAZIONE_FL_DL}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="420aa6cd-6f02-4973-930d-5e5749827606" positionType="Float" x="1" y="261" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Dichiarazione Direttore dei lavori]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" positionType="Float" x="20" y="343" width="536" height="20"/>
<textElement markup="html">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{DICHIARAZIONE_DL}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" x="1" y="25" width="555" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FIRMA_DIRETTORE}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="6b4f748f-979a-4714-9c3b-395e3fb73b67" positionType="Float" x="-1" y="249" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="420aa6cd-6f02-4973-930d-5e5749827606" positionType="Float" x="1" y="322" width="540" height="20">
<printWhenExpression><![CDATA[!($P{DICHIARAZIONE_DL}.isEmpty())]]></printWhenExpression>
</reportElement>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Il Direttore dei lavori comunica inoltre:]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement uuid="89e43c7c-c4e3-456f-8eba-d21332502699" x="4" y="102" width="377" height="23"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b" x="0" y="99" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField isStretchWithOverflow="true">
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" stretchType="RelativeToBandHeight" x="254" y="110" width="301" height="14"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROTOCOLLO}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ConfigurazioneLocalService.java

@ -331,8 +331,7 @@ public interface ConfigurazioneLocalService extends BaseLocalService,
com.liferay.portal.kernel.exception.SystemException; com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public boolean isDeveloper(com.liferay.portal.model.User user) public boolean isDeveloper(com.liferay.portal.model.User user);
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public boolean isProduction(); public boolean isProduction();

7
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ConfigurazioneLocalServiceClp.java

@ -1010,8 +1010,7 @@ public class ConfigurazioneLocalServiceClp implements ConfigurazioneLocalService
} }
@Override @Override
public boolean isDeveloper(com.liferay.portal.model.User user) public boolean isDeveloper(com.liferay.portal.model.User user) {
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null; Object returnObj = null;
try { try {
@ -1022,10 +1021,6 @@ public class ConfigurazioneLocalServiceClp implements ConfigurazioneLocalService
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) { if (t instanceof RuntimeException) {
throw (RuntimeException)t; throw (RuntimeException)t;
} }

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ConfigurazioneLocalServiceUtil.java

@ -365,8 +365,7 @@ public class ConfigurazioneLocalServiceUtil {
return getService().isDeveloper(userId); return getService().isDeveloper(userId);
} }
public static boolean isDeveloper(com.liferay.portal.model.User user) public static boolean isDeveloper(com.liferay.portal.model.User user) {
throws com.liferay.portal.kernel.exception.SystemException {
return getService().isDeveloper(user); return getService().isDeveloper(user);
} }

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ConfigurazioneLocalServiceWrapper.java

@ -391,8 +391,7 @@ public class ConfigurazioneLocalServiceWrapper
} }
@Override @Override
public boolean isDeveloper(com.liferay.portal.model.User user) public boolean isDeveloper(com.liferay.portal.model.User user) {
throws com.liferay.portal.kernel.exception.SystemException {
return _configurazioneLocalService.isDeveloper(user); return _configurazioneLocalService.isDeveloper(user);
} }

5
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AzioniPraticheUtil.java

@ -127,10 +127,7 @@ public class AzioniPraticheUtil {
status = STATE_COLLAUDO_PARZIALE; status = STATE_COLLAUDO_PARZIALE;
} }
List<String> actionList = STATE_ACTIONS_MAP.get(status); List<String> actionList = STATE_ACTIONS_MAP.get(status);
if (actionList == null) { if (actionList == null || !actionList.contains(action)) {
actionList = new ArrayList<>();
}
if (!actionList.contains(action)) {
return false; return false;
} }
if (!action.equalsIgnoreCase(ACTION_INTEGRAZIONE) && intPratica.getCollaudoTotale()) { if (!action.equalsIgnoreCase(ACTION_INTEGRAZIONE) && intPratica.getCollaudoTotale()) {

7
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java

@ -7,7 +7,6 @@ import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.FineLavori; import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Soggetto; import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil; import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.CollaudoServiceUtil; import it.tref.liferay.portos.bo.service.CollaudoServiceUtil;
import it.tref.liferay.portos.bo.service.DelegaLocalServiceUtil; import it.tref.liferay.portos.bo.service.DelegaLocalServiceUtil;
@ -19,7 +18,6 @@ import it.tref.liferay.portos.bo.service.FineLavoriServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaServiceUtil; import it.tref.liferay.portos.bo.service.IntPraticaServiceUtil;
import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil; import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.bean.FirmeBean; import it.tref.liferay.portos.bo.shared.bean.FirmeBean;
import it.tref.liferay.portos.bo.shared.util.Constants; import it.tref.liferay.portos.bo.shared.util.Constants;
import it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil; import it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil;
@ -424,9 +422,8 @@ public class ValidazionePraticaUtil {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
List<String> notCompleted = new ArrayList<>(); List<String> notCompleted = new ArrayList<>();
IntPratica intPratica = IntPraticaServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); IntPratica intPratica = IntPraticaServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); if (Validator.isNull(dettPratica.getAg())
if (!territorio.getZona().equals(Constants.ZONA_2) && !territorio.getZona().equals(Constants.ZONA_4) && (dettPratica.isTcAdeguamentoSismico() || dettPratica.isTcMiglioramentoSismico())) {
&& Validator.isNull(dettPratica.getAg())) {
notCompleted.add("ag"); notCompleted.add("ag");
} }
boolean aiSensi = AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId()) boolean aiSensi = AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/WorkflowUtil.java

@ -7,6 +7,7 @@ import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.Constants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants; import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil; import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.kaleo.model.FormLog; import it.tref.liferay.portos.kaleo.model.FormLog;
@ -71,7 +72,8 @@ public class WorkflowUtil {
return null; return null;
} }
public static WorkflowTask getLastApprovazioneTask(long companyId, long groupId, Long userId, ControlloPratica bean) public static WorkflowTask
getLastApprovazioneTask(long companyId, long groupId, Long userId, ControlloPratica bean)
throws PortalException, SystemException { throws PortalException, SystemException {
WorkflowInstanceLink workflowInstanceLink = WorkflowInstanceLinkLocalServiceUtil.getWorkflowInstanceLink( WorkflowInstanceLink workflowInstanceLink = WorkflowInstanceLinkLocalServiceUtil.getWorkflowInstanceLink(
@ -148,6 +150,12 @@ public class WorkflowUtil {
return false; return false;
} }
return true; return true;
} else if ((Constants.ZONA_1.equals(territorio.getZona()) || (Constants.ZONA_2.equals(territorio.getZona()) && (dettPratica
.getAg().replace(',', '.').compareTo("0.2") >= 0)))
&& (dettPratica.isTcAdeguamentoSismico() || dettPratica.isTcMiglioramentoSismico())) {
intPratica.setTipoPratica(Constants.TIPO_PRATICA_AUTORIZZAZIONE);
IntPraticaLocalServiceUtil.updateIntPratica(intPratica);
return true;
} else if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) { } else if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
return false; return false;
} else { } else {

38
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/ManutenzioneDatabase.java

@ -1,7 +1,5 @@
/** /**
*
* @author Salvatore La Manna, Manifattura Web Group per Regione Siciliana * @author Salvatore La Manna, Manifattura Web Group per Regione Siciliana
*
*/ */
package it.mwg.sismica.bo.util; package it.mwg.sismica.bo.util;
@ -160,11 +158,15 @@ public class ManutenzioneDatabase {
List<String> esito = new ArrayList<>(); List<String> esito = new ArrayList<>();
long companyId = serviceContext.getCompanyId(); long companyId = serviceContext.getCompanyId();
if (mode.contains("!Workflow=")) { if (mode.contains("!Workflow=")) {
esito.addAll(SismicaUtil.riparaWorkflow(mode.replaceAll(".*?!Workflow=([^!]*)!", "$1"))); esitoLog(esito, SismicaUtil.riparaWorkflow(mode.replaceAll(".*?!Workflow=([^!]*)!", "$1")));
}
if (mode.contains("!AggiornaZone!")) {
ZoneSismicheUtil zone = new ZoneSismicheUtil(serviceContext);
esitoLog(esito, zone.aggiornaComuni(companyId));
} }
if (mode.contains("!Pulisci!")) { if (mode.contains("!Pulisci!")) {
if (mode.contains("!DocumentLibrary!")) { if (mode.contains("!DocumentLibrary!")) {
esito.addAll(puliziaDocumentLibrary(companyId)); esitoLog(esito, puliziaDocumentLibrary(companyId));
esitoLog( esitoLog(
esito, esito,
puliziaAllegati(companyId, ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, puliziaAllegati(companyId, ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId,
@ -180,7 +182,7 @@ public class ManutenzioneDatabase {
if (mode.contains("!User!")) { if (mode.contains("!User!")) {
esitoLog(esito, svuotaUser(companyId)); esitoLog(esito, svuotaUser(companyId));
} }
esito.addAll(svuotaDatabase(companyId)); esitoLog(esito, svuotaDatabase(companyId));
if (mode.contains("!Reset!")) { if (mode.contains("!Reset!")) {
ConfigurazioneLocalServiceUtil.storeConfig(Constants.NUMERO_PROGETTO_KEY_DB, "1", serviceContext); ConfigurazioneLocalServiceUtil.storeConfig(Constants.NUMERO_PROGETTO_KEY_DB, "1", serviceContext);
} }
@ -199,8 +201,7 @@ public class ManutenzioneDatabase {
MultiVMPoolUtil.clear(); MultiVMPoolUtil.clear();
CacheRegistryUtil.clear(); CacheRegistryUtil.clear();
DirectServletRegistryUtil.clearServlets(); DirectServletRegistryUtil.clearServlets();
} catch (IllegalStateException e) { } catch (IllegalStateException e) {}
}
} }
private static List<String> svuotaDatabase(long companyId) throws SystemException, PortalException { private static List<String> svuotaDatabase(long companyId) throws SystemException, PortalException {
@ -287,8 +288,7 @@ public class ManutenzioneDatabase {
long emailId = 0; long emailId = 0;
try { try {
emailId = Long.parseLong(folder.getName()); emailId = Long.parseLong(folder.getName());
} catch (NumberFormatException e) { } catch (NumberFormatException e) {}
}
if (Validator.isNotNull(emailId) && String.valueOf(emailId).equals(folder.getName()) if (Validator.isNotNull(emailId) && String.valueOf(emailId).equals(folder.getName())
&& !esiste(EMAIL_CLASS_NAME, emailId)) { && !esiste(EMAIL_CLASS_NAME, emailId)) {
_log.info("Cancello la cartella " + folder.getName()); _log.info("Cancello la cartella " + folder.getName());
@ -689,8 +689,7 @@ public class ManutenzioneDatabase {
Statement s = connection.createStatement(); Statement s = connection.createStatement();
i = s.executeUpdate("DELETE FROM portos_bo_intpratica"); i = s.executeUpdate("DELETE FROM portos_bo_intpratica");
d = s.executeUpdate("DELETE FROM portos_bo_dettpratica"); d = s.executeUpdate("DELETE FROM portos_bo_dettpratica");
} catch (SQLException e) { } catch (SQLException e) {}
}
clearCache(); clearCache();
return "Cancellati " + i + " IntPratica, " + d + " DettPratica"; return "Cancellati " + i + " IntPratica, " + d + " DettPratica";
} }
@ -890,8 +889,7 @@ public class ManutenzioneDatabase {
if (!String.valueOf(classPK).equals(resourcePermission.getPrimKey())) { if (!String.valueOf(classPK).equals(resourcePermission.getPrimKey())) {
classPK = 0; classPK = 0;
} }
} catch (NumberFormatException e) { } catch (NumberFormatException e) {}
}
if (Validator.isNotNull(classPK)) { if (Validator.isNotNull(classPK)) {
switch (resourcePermission.getScope()) { switch (resourcePermission.getScope()) {
case ResourceConstants.SCOPE_INDIVIDUAL: case ResourceConstants.SCOPE_INDIVIDUAL:
@ -927,8 +925,7 @@ public class ManutenzioneDatabase {
deleteFileEntry(docPratica.getDlFileEntryId()); deleteFileEntry(docPratica.getDlFileEntryId());
DocPraticaLocalServiceUtil.deleteDocPratica(docPratica); DocPraticaLocalServiceUtil.deleteDocPratica(docPratica);
docPraticaCancellati++; docPraticaCancellati++;
} catch (PortalException e) { } catch (PortalException e) {}
}
} }
SoggettoLocalServiceUtil.deleteSoggetto(soggetto); SoggettoLocalServiceUtil.deleteSoggetto(soggetto);
cancellati++; cancellati++;
@ -1079,8 +1076,7 @@ public class ManutenzioneDatabase {
try { try {
instance = WorkflowInstanceManagerUtil.getWorkflowInstance(link.getCompanyId(), instance = WorkflowInstanceManagerUtil.getWorkflowInstance(link.getCompanyId(),
link.getWorkflowInstanceId()); link.getWorkflowInstanceId());
} catch (PortalException e) { } catch (PortalException e) {}
}
if (Validator.isNull(instance)) { if (Validator.isNull(instance)) {
WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(link); WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(link);
} else { } else {
@ -1222,7 +1218,13 @@ public class ManutenzioneDatabase {
private static void deleteFileEntry(long fileEntryId) throws SystemException { private static void deleteFileEntry(long fileEntryId) throws SystemException {
try { try {
DLAppLocalServiceUtil.deleteFileEntry(fileEntryId); DLAppLocalServiceUtil.deleteFileEntry(fileEntryId);
} catch (PortalException e) { } catch (PortalException e) {}
}
private static void esitoLog(List<String> esito, List<String> msgs) {
for (String msg : msgs) {
esitoLog(esito, msg);
} }
} }

35
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java

@ -118,7 +118,7 @@ import com.liferay.portlet.documentlibrary.model.DLFolder;
import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil; import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil;
public class SismicaUtil { public class SismicaUtil {
private final static Log _log = LogFactoryUtil.getLog(SismicaUtil.class); private static final Log _log = LogFactoryUtil.getLog(SismicaUtil.class);
private static final SimpleDateFormat dfmt = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss"); private static final SimpleDateFormat dfmt = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss");
private static final SimpleDateFormat sdfGiornoDB = new SimpleDateFormat("yyyy-MM-dd"); private static final SimpleDateFormat sdfGiornoDB = new SimpleDateFormat("yyyy-MM-dd");
@ -336,7 +336,7 @@ public class SismicaUtil {
List<ControlloPratica> controlli = ControlloPraticaLocalServiceUtil.findByIntPraticaId_Status(intPraticaId, List<ControlloPratica> controlli = ControlloPraticaLocalServiceUtil.findByIntPraticaId_Status(intPraticaId,
WorkflowConstants.STATUS_PENDING); WorkflowConstants.STATUS_PENDING);
if (0 == controlli.size()) { if (0 == controlli.size()) {
esitoLog(esito, "Aggiungo controllo pratica"); esitoLog(esito, "Aggiungo controllo pratica numero " + numeroProgetto);
ServiceContext serviceContext = new ServiceContext(); ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(companyId); serviceContext.setCompanyId(companyId);
serviceContext.setScopeGroupId(dettPraticaId); serviceContext.setScopeGroupId(dettPraticaId);
@ -709,6 +709,7 @@ public class SismicaUtil {
controllo = controlli.get(controlli.size() - 1); controllo = controlli.get(controlli.size() - 1);
} catch (Exception e1) { } catch (Exception e1) {
try { try {
esitoLog(esito, "Aggiungo controllo pratica numero " + pratica.getNumeroProgetto());
controllo = ControlloPraticaLocalServiceUtil.addControlloPratica( controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(
dettPratica.getGroupId(), dettPratica.getUserId(), pratica.getIntPraticaId(), dettPratica.getGroupId(), dettPratica.getUserId(), pratica.getIntPraticaId(),
dettPratica.getDettPraticaId(), false, serviceContext); dettPratica.getDettPraticaId(), false, serviceContext);
@ -792,6 +793,7 @@ public class SismicaUtil {
serviceContext.setUserId(dettPratica.getUserId()); serviceContext.setUserId(dettPratica.getUserId());
ControlloPratica controllo; ControlloPratica controllo;
try { try {
esitoLog(esito, "Aggiungo controllo pratica numero " + pratica.getNumeroProgetto());
controllo = ControlloPraticaLocalServiceUtil.addControlloPratica( controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(
dettPratica.getGroupId(), dettPratica.getUserId(), dettPratica.getGroupId(), dettPratica.getUserId(),
pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false, pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false,
@ -923,6 +925,7 @@ public class SismicaUtil {
} catch (SystemException e) {} } catch (SystemException e) {}
int start = 0; int start = 0;
List<IntPratica> pratiche = null; List<IntPratica> pratiche = null;
String className = ControlloPratica.class.getName();
do { do {
try { try {
pratiche = IntPraticaLocalServiceUtil.getIntPraticas(start, start + SLICE); pratiche = IntPraticaLocalServiceUtil.getIntPraticas(start, start + SLICE);
@ -955,9 +958,11 @@ public class SismicaUtil {
Map<String, Serializable> workflowContext = new HashMap<String, Serializable>(); Map<String, Serializable> workflowContext = new HashMap<String, Serializable>();
esitoLog(esito, "id: " + pratica.getIntPraticaId() + ", numero: " + pratica.getNumeroProgetto()); esitoLog(esito, "id: " + pratica.getIntPraticaId() + ", numero: " + pratica.getNumeroProgetto());
try { try {
WorkflowHandlerRegistryUtil.startWorkflowInstance(last.getCompanyId(), last.getGroupId(), long groupId = last.getGroupId();
last.getUserId(), ControlloPratica.class.getName(), last.getPrimaryKey(), last, long classPK = last.getPrimaryKey();
serviceContext, workflowContext); cancellaWorkflow(companyId, groupId, className, classPK);
WorkflowHandlerRegistryUtil.startWorkflowInstance(companyId, groupId, last.getUserId(),
className, classPK, last, serviceContext, workflowContext);
} catch (PortalException | SystemException e) { } catch (PortalException | SystemException e) {
esitoLog(esito, "Errore " + e.getMessage()); esitoLog(esito, "Errore " + e.getMessage());
} }
@ -969,6 +974,25 @@ public class SismicaUtil {
return esito; return esito;
} }
private static void cancellaWorkflow(long companyId, long groupId, String className, long classPK)
throws PortalException, SystemException {
WorkflowInstanceLink workflowInstanceLink = WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink(
companyId, groupId, className, classPK);
if (workflowInstanceLink != null) {
WorkflowInstance workflowInstance;
try {
workflowInstance = WorkflowInstanceManagerUtil.getWorkflowInstance(companyId,
workflowInstanceLink.getWorkflowInstanceId());
} catch (Exception e) {
workflowInstance = null;
}
if (Validator.isNull(workflowInstance) || !workflowInstance.isComplete()) {
WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(companyId, groupId, className, classPK);
}
}
}
private static Map<String, String> templateByKey; private static Map<String, String> templateByKey;
private static Map<Long, String> templateById; private static Map<Long, String> templateById;
private static Map<String, Long> templateIdByKey; private static Map<String, Long> templateIdByKey;
@ -1121,6 +1145,7 @@ public class SismicaUtil {
serviceContext.setCompanyId(dettPratica.getCompanyId()); serviceContext.setCompanyId(dettPratica.getCompanyId());
serviceContext.setScopeGroupId(dettPratica.getGroupId()); serviceContext.setScopeGroupId(dettPratica.getGroupId());
serviceContext.setUserId(dettPratica.getUserId()); serviceContext.setUserId(dettPratica.getUserId());
_log.info("Aggiungo controllo pratica numero " + intPratica.getNumeroProgetto());
ControlloPratica controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(intPratica.getGroupId(), ControlloPratica controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(intPratica.getGroupId(),
intPratica.getUserId(), intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false, intPratica.getUserId(), intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false,
serviceContext); serviceContext);

5
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SorteggioPraticaUtil.java

@ -98,7 +98,7 @@ public class SorteggioPraticaUtil {
Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(companyId, codiceProvincia); Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(companyId, codiceProvincia);
long numeroSorteggiate = (long) Math.ceil(0.1 * elenco.size()); long numeroSorteggiate = (long) Math.ceil(0.1 * elenco.size());
String testoSorteggio; String testoSorteggio;
if (numeroSorteggiate > 1) { if (numeroSorteggiate != 1) {
testoSorteggio = "saranno estratte " + numeroSorteggiate + " pratiche"; testoSorteggio = "saranno estratte " + numeroSorteggiate + " pratiche";
} else { } else {
testoSorteggio = "sarà estratta 1 pratica"; testoSorteggio = "sarà estratta 1 pratica";
@ -202,7 +202,7 @@ public class SorteggioPraticaUtil {
private static String reportFileName(long companyId, String anno, int settimana) { private static String reportFileName(long companyId, String anno, int settimana) {
return "Sorteggio_" + settimana + StringPool.UNDERLINE + anno + StringPool.UNDERLINE + companyId; return "Sorteggio_" + settimana + '_' + anno + '_' + companyId;
} }
/** /**
@ -250,6 +250,7 @@ public class SorteggioPraticaUtil {
mese, sett, dtSorteggio, StringPool.BLANK, APERTO, StringPool.BLANK, progressivoEstrazione++, mese, sett, dtSorteggio, StringPool.BLANK, APERTO, StringPool.BLANK, progressivoEstrazione++,
pratica.getNumeroProgetto(), committente, comune.getDenominazione(), provincia.getProvincia(), pratica.getNumeroProgetto(), committente, comune.getDenominazione(), provincia.getProvincia(),
false, pratica.getIntPraticaId(), false, sc); false, pratica.getIntPraticaId(), false, sc);
_log.info("Aggiungo controllo pratica numero " + pratica.getNumeroProgetto());
ControlloPratica controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(pratica.getGroupId(), ControlloPratica controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(pratica.getGroupId(),
pratica.getUserId(), pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), true, sc); pratica.getUserId(), pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), true, sc);
long idTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(sc.getCompanyId(), long idTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(sc.getCompanyId(),

251
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/ZoneSismicheUtil.java

@ -0,0 +1,251 @@
package it.mwg.sismica.bo.util;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import com.liferay.counter.service.CounterLocalServiceUtil;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.service.ServiceContext;
public class ZoneSismicheUtil {
private Date oggi;
private ServiceContext serviceContext;
private static final Log _log = LogFactoryUtil.getLog(ZoneSismicheUtil.class);
public ZoneSismicheUtil(ServiceContext serviceContext) {
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.HOUR_OF_DAY, 0);
calendar.set(Calendar.MINUTE, 0);
calendar.set(Calendar.SECOND, 0);
calendar.set(Calendar.MILLISECOND, 0);
oggi = calendar.getTime();
this.serviceContext = serviceContext;
}
public List<String> aggiornaComuni(long companyId) throws PortalException, SystemException {
List<String> ret = new ArrayList<>();
ret.add(aggiungiComune(companyId, "Misiliscemi", "081", "025", "081025", "M432", false, "", "", serviceContext));
ret.add(impostaZona(companyId, "MENFI", 1, "0,1659"));
ret.add(impostaZona(companyId, "MONTEVAGO", 1, "0,1629"));
ret.add(impostaZona(companyId, "SANTA MARGHERITA DI BELICE", 1, "0,1686"));
ret.add(impostaZona(companyId, "LICODIA EUBEA", 1, "0,2672"));
ret.add(impostaZona(companyId, "MILITELLO IN VAL DI CATANIA", 1, "0,2614"));
ret.add(impostaZona(companyId, "SCORDIA", 1, "0,2605"));
ret.add(impostaZona(companyId, "VIZZINI", 1, "0,2761"));
ret.add(impostaZona(companyId, "ALÌ", 1, "0,244"));
ret.add(impostaZona(companyId, "ALÌ TERME", 1, "0,2512"));
ret.add(impostaZona(companyId, "FIUMEDINISI", 1, "0,2357"));
ret.add(impostaZona(companyId, "FURCI SICULO", 1, "0,2362"));
ret.add(impostaZona(companyId, "ITALA", 1, "0,2448"));
ret.add(impostaZona(companyId, "MANDANICI", 1, "0,2222"));
ret.add(impostaZona(companyId, "MESSINA", 1, "0,2559"));
ret.add(impostaZona(companyId, "NIZZA DI SICILIA", 1, "0,247"));
ret.add(impostaZona(companyId, "PAGLIARA", 1, "0,2435"));
ret.add(impostaZona(companyId, "ROCCALUMERA", 1, "0,2398"));
ret.add(impostaZona(companyId, "ROMETTA", 1, "0,2232"));
ret.add(impostaZona(companyId, "SANTA TERESA DI RIVA", 1, "0,241"));
ret.add(impostaZona(companyId, "SANT'ALESSIO SICULO", 1, "0,2359"));
ret.add(impostaZona(companyId, "SAPONARA", 1, "0,2231"));
ret.add(impostaZona(companyId, "SAVOCA", 1, "0,2349"));
ret.add(impostaZona(companyId, "SCALETTA ZANCLEA", 1, "0,2522"));
ret.add(impostaZona(companyId, "VILLAFRANCA TIRRENA", 1, "0,2062"));
ret.add(impostaZona(companyId, "CONTESSA ENTELLINA", 1, "0,1695"));
ret.add(impostaZona(companyId, "CHIARAMONTE GULFI", 1, "0,2586"));
ret.add(impostaZona(companyId, "GIARRATANA", 1, "0,2726"));
ret.add(impostaZona(companyId, "MODICA", 1, "0,2641"));
ret.add(impostaZona(companyId, "MONTEROSSO ALMO", 1, "0,2699"));
ret.add(impostaZona(companyId, "RAGUSA", 1, "0,259"));
ret.add(impostaZona(companyId, "AUGUSTA", 1, "0,2671"));
ret.add(impostaZona(companyId, "BUCCHERI", 1, "0,2798"));
ret.add(impostaZona(companyId, "BUSCEMI", 1, "0,2785"));
ret.add(impostaZona(companyId, "CANICATTINI BAGNI", 1, "0,265"));
ret.add(impostaZona(companyId, "CARLENTINI", 1, "0,2804"));
ret.add(impostaZona(companyId, "CASSARO", 1, "0,279"));
ret.add(impostaZona(companyId, "FERLA", 1, "0,2803"));
ret.add(impostaZona(companyId, "FLORIDIA", 1, "0,2678"));
ret.add(impostaZona(companyId, "FRANCOFONTE", 1, "0,2791"));
ret.add(impostaZona(companyId, "LENTINI", 1, "0,2722"));
ret.add(impostaZona(companyId, "MELILLI", 1, "0,2787"));
ret.add(impostaZona(companyId, "NOTO", 1, "0,2702"));
ret.add(impostaZona(companyId, "PALAZZOLO ACREIDE", 1, "0,2766"));
ret.add(impostaZona(companyId, "PRIOLO GARGALLO", 1, "0,2631"));
ret.add(impostaZona(companyId, "SIRACUSA", 1, "0,2614"));
ret.add(impostaZona(companyId, "SOLARINO", 1, "0,2699"));
ret.add(impostaZona(companyId, "SORTINO", 1, "0,2803"));
ret.add(impostaZona(companyId, "GIBELLINA", 1, "0,1581"));
ret.add(impostaZona(companyId, "PARTANNA", 1, "0,1558"));
ret.add(impostaZona(companyId, "FAVIGNANA", 2, "0,0417"));
ret.add(impostaZona(companyId, "MARSALA", 2, "0,0711"));
ret.add(impostaZona(companyId, "MAZARA DEL VALLO", 2, "0,0833"));
ret.add(impostaZona(companyId, "MISILISCEMI", 2, "0,0578"));
ret.add(impostaZona(companyId, "PACECO", 2, "0,061"));
ret.add(impostaZona(companyId, "PETROSINO", 2, "0,0594"));
ret.add(impostaZona(companyId, "SAN VITO LO CAPO", 2, "0,0712"));
ret.add(impostaZona(companyId, "TRAPANI", 2, "0,0813"));
ret.add(impostaZona(companyId, "VALDERICE", 2, "0,0601"));
ret.add(impostaZona(companyId, "VITA", 2, "0,0971"));
ret.add(impostaZona(companyId, "CAMASTRA", 3, "0,0571"));
ret.add(impostaZona(companyId, "CAMPOBELLO DI LICATA", 3, "0,0618"));
ret.add(impostaZona(companyId, "CANICATTÌ", 3, "0,0635"));
ret.add(impostaZona(companyId, "CASTROFILIPPO", 3, "0,0596"));
ret.add(impostaZona(companyId, "COMITINI", 3, "0,0620"));
ret.add(impostaZona(companyId, "FAVARA", 3, "0,0598"));
ret.add(impostaZona(companyId, "GROTTE", 3, "0,0631"));
ret.add(impostaZona(companyId, "LICATA", 3, "0,0644"));
ret.add(impostaZona(companyId, "NARO", 3, "0,0644"));
ret.add(impostaZona(companyId, "PALMA DI MONTECHIARO", 3, "0,0559"));
ret.add(impostaZona(companyId, "RACALMUTO", 3, "0,0631"));
ret.add(impostaZona(companyId, "RAVANUSA", 3, "0,0631"));
ret.add(impostaZona(companyId, "ACQUAVIVA PLATANI", 3, "0,0707"));
ret.add(impostaZona(companyId, "BOMPENSIERE", 3, "0,0661"));
ret.add(impostaZona(companyId, "BUTERA", 3, "0,1016"));
ret.add(impostaZona(companyId, "CALTANISSETTA", 3, "0,0796"));
ret.add(impostaZona(companyId, "CAMPOFRANCO", 3, "0,0679"));
ret.add(impostaZona(companyId, "DELIA", 3, "0,0629"));
ret.add(impostaZona(companyId, "MARIANOPOLI", 3, "0,0780"));
ret.add(impostaZona(companyId, "MAZZARINO", 3, "0,1249"));
ret.add(impostaZona(companyId, "MILENA", 3, "0,0647"));
ret.add(impostaZona(companyId, "MONTEDORO", 3, "0,0656"));
ret.add(impostaZona(companyId, "MUSSOMELI", 3, "0,0766"));
ret.add(impostaZona(companyId, "RIESI", 3, "0,0723"));
ret.add(impostaZona(companyId, "SAN CATALDO", 3, "0,0723"));
ret.add(impostaZona(companyId, "SERRADIFALCO", 3, "0,0676"));
ret.add(impostaZona(companyId, "SOMMATINO", 3, "0,0668"));
ret.add(impostaZona(companyId, "SUTERA", 3, "0,0694"));
ret.add(impostaZona(companyId, "VALLELUNGA PRATAMENO", 3, "0,0922"));
ret.add(impostaZona(companyId, "VILLALBA", 3, "0,0847"));
ret.add(impostaZona(companyId, "BARRAFRANCA", 3, "0,0789"));
ret.add(impostaZona(companyId, "PIETRAPERZIA", 3, "0,0766"));
return ret;
}
private String aggiungiComune(long companyId, String denominazione, String codiceProvincia, String codiceComune,
String codiceIstat, String codiceBelfiore, boolean provincia, String mailSuap, String mailSue,
ServiceContext serviceContext) throws PortalException, SystemException {
Comune comune = ComuneLocalServiceUtil.fetchByC_CB(companyId, codiceBelfiore);
if (Validator.isNull(comune)) {
ComuneLocalServiceUtil.addComune(serviceContext.getUserId(), codiceProvincia, codiceComune, codiceIstat,
codiceBelfiore, denominazione, provincia, mailSuap, mailSue, serviceContext);
return "Aggiunto il comune \"" + denominazione + "\"";
}
return "Comune \"" + denominazione + "\" già presente";
}
private String impostaZona(long companyId, String nomeComune, long valoreZona, String ag) {
List<Comune> comuni = null;
try {
comuni = ComuneLocalServiceUtil.findByCompanyDenominazione(companyId, nomeComune);
} catch (SystemException e) {
return "Errore " + nomeComune + ": " + e.getMessage();
}
if (Validator.isNull(comuni) || comuni.size() != 1) {
return "Errore " + nomeComune + ": la ricerca del comune ha prodotto " + comuni.size() + " risultati";
} else {
Comune comune = comuni.get(0);
List<Territorio> territori = null;
try {
territori = TerritorioLocalServiceUtil.getActiveTerritoriByComune(comune.getComuneId());
} catch (SystemException e) {}
String zona = String.valueOf(valoreZona);
if ((territori.size() == 0) || !territori.get(0).getZona().equals(zona)) {
Territorio vecchioTerritorio = (territori.size() == 0 ? null : territori.get(0));
Territorio nuovoTerritorio;
try {
nuovoTerritorio = TerritorioLocalServiceUtil.createTerritorio(CounterLocalServiceUtil
.increment(Territorio.class.getName()));
} catch (SystemException e) {
return "Errore " + nomeComune + ": impossibile creare il territorio (" + e.getMessage() + ')';
}
if (Validator.isNull(vecchioTerritorio)) {
long groupId = getGroupId(comune.getCodiceProvincia());
if (groupId == 0) {
return "Errore " + nomeComune + ": impossibile trovare groupId";
}
nuovoTerritorio.setGroupId(groupId);
} else {
nuovoTerritorio.setArticolo61(vecchioTerritorio.getArticolo61());
nuovoTerritorio.setGroupId(vecchioTerritorio.getGroupId());
}
Date now = new Date();
nuovoTerritorio.setAgMax(ag);
nuovoTerritorio.setAgMin(ag);
nuovoTerritorio.setCodiceProvincia(comune.getCodiceProvincia());
nuovoTerritorio.setCompanyId(companyId);
nuovoTerritorio.setComuneId(comune.getComuneId());
nuovoTerritorio.setCreateDate(now);
nuovoTerritorio.setDtIni(oggi);
nuovoTerritorio.setModifiedDate(now);
nuovoTerritorio.setUserId(serviceContext.getUserId());
nuovoTerritorio.setZona(zona);
try {
TerritorioLocalServiceUtil.updateTerritorio(nuovoTerritorio);
} catch (SystemException e) {
return "Errore " + nomeComune + ": impossibile salvare il territorio (" + e.getMessage() + ')';
}
for (Territorio territorio : territori) {
territorio.setDtFin(oggi);
try {
TerritorioLocalServiceUtil.updateTerritorio(territorio);
} catch (SystemException e) {
return "Errore " + nomeComune + ": impossibile disattivare il territorio (" + e.getMessage()
+ ')';
}
}
return nomeComune + ": creato 1 territorio, disattivati " + territori.size();
} else {
int aggiornati = 0;
for (Territorio territorio : territori) {
if (!(ag.equals(territorio.getAgMin()) && ag.equals(territorio.getAgMax()))) {
territorio.setAgMin(ag);
territorio.setAgMax(ag);
try {
TerritorioLocalServiceUtil.updateTerritorio(territorio);
} catch (SystemException e) {
return "Errore " + nomeComune + ": impossibile aggiornare il territorio (" + e.getMessage()
+ ')';
}
aggiornati++;
}
}
if (aggiornati > 0) {
return nomeComune + ": aggiornati " + aggiornati + " territori";
}
}
return nomeComune + ": già aggiornato";
}
}
@SuppressWarnings("unchecked")
private long getGroupId(String codiceProvincia) {
DynamicQuery dq = TerritorioLocalServiceUtil.dynamicQuery();
dq.add(PropertyFactoryUtil.forName("codiceProvincia").eq(codiceProvincia));
List<Territorio> territori = null;
try {
territori = TerritorioLocalServiceUtil.dynamicQuery(dq, 0, 1);
} catch (SystemException e) {}
return Validator.isNull(territori) || territori.isEmpty() ? 0 : territori.get(0).getGroupId();
}
}

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

@ -195,6 +195,9 @@ public class SchedulerInvioDocumento implements MessageListener {
serviceContext.setCompanyId(integrazione.getCompanyId()); serviceContext.setCompanyId(integrazione.getCompanyId());
serviceContext.setScopeGroupId(integrazione.getGroupId()); serviceContext.setScopeGroupId(integrazione.getGroupId());
serviceContext.setUserId(integrazione.getUserId()); serviceContext.setUserId(integrazione.getUserId());
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(integrazione
.getIntPraticaId());
_log.info("Aggiungo controllo pratica numero " + intPratica.getNumeroProgetto());
controlloPratica = ControlloPraticaLocalServiceUtil.addControlloPratica( controlloPratica = ControlloPraticaLocalServiceUtil.addControlloPratica(
integrazione.getGroupId(), integrazione.getUserId(), integrazione.getGroupId(), integrazione.getUserId(),
integrazione.getIntPraticaId(), integrazione.getDettPraticaId(), false, integrazione.getIntPraticaId(), integrazione.getDettPraticaId(), false,
@ -519,8 +522,7 @@ public class SchedulerInvioDocumento implements MessageListener {
} }
} }
private void sendToTecnico(Avviso avviso) throws SystemException, PortalException { private void sendToTecnico(Avviso avviso) throws SystemException, PortalException {}
}
private ServiceContext getServiceContext(ControlloPratica controlloPratica) { private ServiceContext getServiceContext(ControlloPratica controlloPratica) {

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

@ -380,6 +380,7 @@ public class SchedulerPratiche implements MessageListener {
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
if (WorkflowUtil.needToStartWorkflow(dettPratica)) { if (WorkflowUtil.needToStartWorkflow(dettPratica)) {
boolean updateFlagControlloObbligatorio = true; boolean updateFlagControlloObbligatorio = true;
_log.info("Aggiungo controllo pratica numero " + intPratica.getNumeroProgetto());
ControlloPratica cp = ControlloPraticaLocalServiceUtil.addControlloPratica(territorio.getGroupId(), ControlloPratica cp = ControlloPraticaLocalServiceUtil.addControlloPratica(territorio.getGroupId(),
userId, intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), userId, intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(),
updateFlagControlloObbligatorio, serviceContext); updateFlagControlloObbligatorio, serviceContext);

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.namespace=portos_bo
build.number=2799 build.number=2808
build.date=1649693475997 build.date=1652797311299
build.auto.upgrade=true build.auto.upgrade=true
## ##

5
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

@ -56,8 +56,7 @@ boolean isDisabled = disabledInput && !enabledByIntegrazione;
String displayStyle = proceduraC ? "display:none" : StringPool.BLANK; String displayStyle = proceduraC ? "display:none" : StringPool.BLANK;
String urlIframeMappe = dettPratica.getUrlMappeFe(request, comune, disabledInput || isGeoEditable); String urlIframeMappe = dettPratica.getUrlMappeFe(request, comune, disabledInput || isGeoEditable);
String originMappe = ConfigurazioneLocalServiceUtil.isProduction() ? String originMappe = PortalUtil.getPortalURL(request);
PortalUtil.getPortalURL(request) : "https://sismica.sicilia.it";
%> %>
<liferay-util:include page="/html/fascicolofe/navigator/header.jsp" servletContext="<%= application %>"> <liferay-util:include page="/html/fascicolofe/navigator/header.jsp" servletContext="<%= application %>">
@ -924,7 +923,7 @@ $('#destinazioneinazione input').on('change', function(){
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
var agMin = parseFloat("<%= territorio.getAgMin() %>"), var agMin = parseFloat("<%= territorio.getAgMin() %>"),
agMax = parseFloat("<%=territorio.getAgMax()%>"); agMax = 0.5;
$('#<portlet:namespace/>ag').keypress(function (e) { $('#<portlet:namespace/>ag').keypress(function (e) {
console.log(e.which); console.log(e.which);

Caricamento…
Annulla
Salva