Salvatore La Manna 4 anni fa
parent
commit
d8d506987a
  1. 310
      liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/it/toscana/regione/arpa/al/util/ArpaUtils.java
  2. 136
      liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/it/toscana/regione/arpa/al/util/mapper/AttributeArpaUser.java
  3. 646
      liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/it/toscana/regione/arpa/al/version6_2/ArpaAutoLogin.java
  4. 38
      liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/it/toscana/regione/arpa/al/version6_2/action/LiferayLogUserAction.java
  5. 6
      liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/portal.properties
  6. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Language.properties
  7. 32
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  8. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerEstrazioneFirme.java
  9. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java
  10. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  11. 2
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/content/Language.properties
  12. 6
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp
  13. 61
      template/Modello Asseverazione.vm
  14. 551
      template/Modello_A.jrxml
  15. 583
      template/Modello_B.jrxml
  16. 683
      template/Modello_B2.jrxml
  17. 583
      template/Modello_C.jrxml
  18. 531
      template/Modello_CS.jrxml
  19. 629
      template/Modello_P.jrxml
  20. 573
      template/Modello_PS.jrxml
  21. 529
      template/Modello_S.jrxml
  22. 555
      template/Modello_VNS.jrxml
  23. 77
      template/Sorteggio.vm

310
liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/it/toscana/regione/arpa/al/util/ArpaUtils.java

@ -12,217 +12,219 @@ import com.liferay.portal.model.User;
import com.liferay.portal.service.UserLocalServiceUtil; import com.liferay.portal.service.UserLocalServiceUtil;
import com.liferay.portal.util.PortalUtil; import com.liferay.portal.util.PortalUtil;
public class ArpaUtils { public class ArpaUtils {
protected static Log _log = LogFactoryUtil.getLog(ArpaUtils.class); protected static Log _log = LogFactoryUtil.getLog(ArpaUtils.class);
public static ArpaUser getUser(ArpaSSOProxy proxy) {
ArpaUser user = proxy.getAuthenticatedUser();
if (user != null) {
_log.debug("Authenticated User is : " + user); public static ArpaUser getUser(ArpaSSOProxy proxy) {
} else { ArpaUser user = proxy.getAuthenticatedUser();
_log.warn("Authenticated User is null");
}
ArpaUser delegatingUser = proxy.getDelegatingUser(); if (user != null) {
if (delegatingUser != null) {
_log.debug("Delegating User is : " + delegatingUser); _log.debug("Authenticated User is : " + user);
user = delegatingUser; } else {
} else { _log.warn("Authenticated User is null");
_log.debug("Delegating User is null"); }
}
return user; ArpaUser delegatingUser = proxy.getDelegatingUser();
} if (delegatingUser != null) {
public static String getUserInfo(HttpServletRequest request) { _log.debug("Delegating User is : " + delegatingUser);
String result = null; user = delegatingUser;
try { } else {
User user = PortalUtil.getUser(request); _log.debug("Delegating User is null");
String userId = ""; }
String screename = "";
if (user != null) {
userId = String.valueOf(user.getUserId());
screename = user.getScreenName();
} else {
_log.debug("Liferay User is null");
}
result = userId + "," + screename; return user;
} catch (Exception e) { }
_log.error("Error getting Liferay User ", e);
}
public static String getUserInfo(HttpServletRequest request) {
_log.debug("Returning message result = " + result); String result = null;
try {
User user = PortalUtil.getUser(request);
String userId = "";
String screename = "";
if (user != null) {
userId = String.valueOf(user.getUserId());
screename = user.getScreenName();
} else {
_log.debug("Liferay User is null");
}
return result; result = userId + "," + screename;
} } catch (Exception e) {
_log.error("Error getting Liferay User ", e);
}
public static String getUserInfo(HttpSession session) { _log.debug("Returning message result = " + result);
Long userId = (Long) session.getAttribute("USER_ID"); return result;
String result = null; }
if (userId != null) {
try {
User user = UserLocalServiceUtil.fetchUserById(userId.longValue());
String screename = "";
if (user != null) {
screename = user.getScreenName();
} else {
_log.debug("Liferay User is null");
}
result = userId + "," + screename; public static String getUserInfo(HttpSession session) {
} catch (Exception e) {
_log.error("Error getting user with id " + userId, e);
}
}
return result;
}
public static boolean isArpaAuthenticated(HttpSession session) { Long userId = (Long) session.getAttribute("USER_ID");
String result = null;
if (userId != null) {
try {
User user = UserLocalServiceUtil.fetchUserById(userId.longValue());
String screename = "";
if (user != null) {
screename = user.getScreenName();
} else {
_log.debug("Liferay User is null");
}
boolean isArpaAuthenticated = false; result = userId + "," + screename;
if (session != null) { } catch (Exception e) {
_log.error("Error getting user with id " + userId, e);
}
}
return result;
}
_log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED"); public static boolean isArpaAuthenticated(HttpSession session) {
Object arpaAuthenticated = session.getAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED"); boolean isArpaAuthenticated = false;
if (session != null) {
_log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED and value = " + arpaAuthenticated); _log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED");
if (arpaAuthenticated != null) { Object arpaAuthenticated = session.getAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED");
if ((arpaAuthenticated instanceof Boolean)) {
isArpaAuthenticated = ((Boolean) arpaAuthenticated).booleanValue();
}
}
}
if (isArpaAuthenticated) { _log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED and value = "
_log.debug("User is authenticated width Arpa "); + arpaAuthenticated);
} else {
_log.debug("User is not authenticated width Arpa ");
}
return isArpaAuthenticated; if (arpaAuthenticated != null) {
} if ((arpaAuthenticated instanceof Boolean)) {
isArpaAuthenticated = ((Boolean) arpaAuthenticated).booleanValue();
}
}
}
public static boolean isArpaAuthenticated(HttpServletRequest request) { if (isArpaAuthenticated) {
_log.debug("User is authenticated width Arpa ");
} else {
_log.debug("User is not authenticated width Arpa ");
}
HttpSession session = request.getSession(); return isArpaAuthenticated;
return isArpaAuthenticated(session); }
}
public static void markAuthenticated(HttpSession session, ArpaUser realUser, ArpaUser arpaUser) { public static boolean isArpaAuthenticated(HttpServletRequest request) {
boolean authenticated = true; HttpSession session = request.getSession();
return isArpaAuthenticated(session);
}
if (arpaUser != null) { public static void markAuthenticated(HttpSession session, ArpaUser realUser, ArpaUser arpaUser) {
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL value = "
+ arpaUser.getEmailAddress());
session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL", arpaUser.getEmailAddress()); boolean authenticated = true;
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF value = " + arpaUser.getCf()); if (arpaUser != null) {
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL value = "
+ arpaUser.getEmailAddress());
session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF", arpaUser.getCf()); session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL", arpaUser.getEmailAddress());
}
if (realUser != null) { _log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF value = "
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF value = " + realUser.getCf()); + arpaUser.getCf());
session.setAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF", realUser.getCf()); session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF", arpaUser.getCf());
} }
if (arpaUser != null) {
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED value = " + authenticated);
}
session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated));
}
if (realUser != null) {
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF value = "
+ realUser.getCf());
public static String getArpaUserInfo(HttpSession session) { session.setAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF", realUser.getCf());
}
if (arpaUser != null) {
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED value = "
+ authenticated);
}
session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated));
}
boolean isArpaAuthenticated = isArpaAuthenticated(session); public static String getArpaUserInfo(HttpSession session) {
String result = null;
Object realCf = null;
Object cf = null;
if ((isArpaAuthenticated) && (session != null)) {
_log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF"); boolean isArpaAuthenticated = isArpaAuthenticated(session);
String result = null;
Object realCf = null;
Object cf = null;
if ((isArpaAuthenticated) && (session != null)) {
realCf = session.getAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF"); _log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF");
_log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF and value = " + realCf); realCf = session.getAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF");
}
_log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF"); _log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF and value = "
+ realCf);
}
cf = session.getAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF"); _log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF");
_log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF and value = " + cf); cf = session.getAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF");
_log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF and value = " + cf);
if (cf == null) { if (cf == null) {
cf = ""; cf = "";
} }
if (realCf == null) { if (realCf == null) {
realCf = ""; realCf = "";
} }
result = isArpaAuthenticated + "," + cf + "," + realCf; result = isArpaAuthenticated + "," + cf + "," + realCf;
_log.debug("Returning result message = " + result); _log.debug("Returning result message = " + result);
return result; return result;
} }
public static String getArpaUserInfo(HttpServletRequest request) { public static String getArpaUserInfo(HttpServletRequest request) {
return getArpaUserInfo(request.getSession()); return getArpaUserInfo(request.getSession());
} }
public static boolean isLogoutAlreadyCalled(HttpServletRequest request) { public static boolean isLogoutAlreadyCalled(HttpServletRequest request) {
boolean result = false; boolean result = false;
HttpSession session = request.getSession(false); HttpSession session = request.getSession(false);
result = isLogoutAlreadyCalled(session); result = isLogoutAlreadyCalled(session);
return result; return result;
} }
public static boolean isLogoutAlreadyCalled(HttpSession session) { public static boolean isLogoutAlreadyCalled(HttpSession session) {
boolean result = false; boolean result = false;
if (session != null) { if (session != null) {
_log.debug("Getting session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED"); _log.debug("Getting session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED");
Object value = session.getAttribute("_ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED"); Object value = session.getAttribute("_ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED");
if (_log.isDebugEnabled()) { if (_log.isDebugEnabled()) {
_log.debug("Session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = " + value); _log.debug("Session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = " + value);
} }
result = value != null; result = value != null;
} }
return result; return result;
} }
public static void markLogoutCalled(HttpSession session) { public static void markLogoutCalled(HttpSession session) {
_log.debug("Setting session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = true"); _log.debug("Setting session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = true");
if (session != null) { if (session != null) {
session.setAttribute("_ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED", Boolean.valueOf(true)); session.setAttribute("_ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED", Boolean.valueOf(true));
} else if (_log.isDebugEnabled()) _log.debug("Could not set session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = true because session is null"); } else if (_log.isDebugEnabled())
} _log.debug("Could not set session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = true because session is null");
}
public static void markLogoutCalled(HttpServletRequest request) { public static void markLogoutCalled(HttpServletRequest request) {
HttpSession session = request.getSession(false); HttpSession session = request.getSession(false);
markLogoutCalled(session); markLogoutCalled(session);
} }
} }

136
liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/it/toscana/regione/arpa/al/util/mapper/AttributeArpaUser.java

@ -7,78 +7,68 @@ import it.toscana.regione.arpa.common.ArpaUser;
import java.util.Collection; import java.util.Collection;
public class AttributeArpaUser implements ArpaUser { public class AttributeArpaUser implements ArpaUser {
private ArpaSSOProxy proxy; private ArpaSSOProxy proxy;
private ArpaUser target; private ArpaUser target;
public AttributeArpaUser(ArpaSSOProxy proxy, ArpaUser target) {
public AttributeArpaUser(ArpaSSOProxy proxy, ArpaUser target) { this.proxy = proxy;
this.proxy = proxy; this.target = target;
this.target = target; }
}
public String getBirthcc() {
public String getBirthcc() { return this.target == null ? null : this.target.getBirthcc();
return this.target == null ? null : this.target.getBirthcc(); }
}
public String getBirthday() {
public String getBirthday() { return this.target == null ? null : this.target.getBirthday();
return this.target == null ? null : this.target.getBirthday(); }
}
public String getCf() {
public String getCf() { return this.target == null ? null : this.target.getCf();
return this.target == null ? null : this.target.getCf(); }
}
public String getName() {
public String getName() { return this.target == null ? null : this.target.getName();
return this.target == null ? null : this.target.getName(); }
}
public String getSurname() {
public String getSurname() { return this.target == null ? null : this.target.getSurname();
return this.target == null ? null : this.target.getSurname(); }
}
public ArpaSSOProxy getProxy() {
public ArpaSSOProxy getProxy() { return this.proxy;
return this.proxy; }
}
public String getEmailAddress() {
public String getEmailAddress() { String email = this.target == null ? null : this.target.getEmailAddress();
String email = this.target == null ? null : this.target.getEmailAddress(); return email;
/* }
* if ((this.proxy != null) && Validator.isNull(email)) {
* log.debug("Try to getting email Address from Attributes"); try { email = public String getAttribute(String attributeName) {
* getMappedAttribute("emailAddress"); return getSingleAttribute(this.proxy.getWorkingAttributes(attributeName));
* }
* log.debug("Email Attribute is " + email); } catch (Exception e) {
* log.error("Error getting attribute emailAddress from user Attribute", e); } } private static String getSingleAttribute(ArpaAttribute arpaAttribute) {
*/ if (arpaAttribute != null) {
return email; Collection values = arpaAttribute.getValues();
} if ((values != null) && (values.size() > 0)) {
return values.iterator().next().toString();
public String getAttribute(String attributeName) { }
return getSingleAttribute(this.proxy.getWorkingAttributes(attributeName)); }
} return null;
}
private static String getSingleAttribute(ArpaAttribute arpaAttribute) { private static String getSingleAttribute(Collection attributeSet) {
if (arpaAttribute != null) { ArpaAttribute arpaAttribute = getArpaAttribute(attributeSet);
Collection values = arpaAttribute.getValues(); return getSingleAttribute(arpaAttribute);
if ((values != null) && (values.size() > 0)) { }
return values.iterator().next().toString();
} private static ArpaAttribute getArpaAttribute(Collection attributeSet) {
} if ((attributeSet != null) && (attributeSet.size() > 0)) {
return null; ArpaAttribute atrribute = (ArpaAttribute) attributeSet.iterator().next();
} return atrribute;
}
private static String getSingleAttribute(Collection attributeSet) { return null;
ArpaAttribute arpaAttribute = getArpaAttribute(attributeSet); }
return getSingleAttribute(arpaAttribute);
}
private static ArpaAttribute getArpaAttribute(Collection attributeSet) {
if ((attributeSet != null) && (attributeSet.size() > 0)) {
ArpaAttribute atrribute = (ArpaAttribute) attributeSet.iterator().next();
return atrribute;
}
return null;
}
} }

646
liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/it/toscana/regione/arpa/al/version6_2/ArpaAutoLogin.java

@ -30,348 +30,312 @@ import com.liferay.portal.service.ServiceContext;
import com.liferay.portal.service.UserLocalServiceUtil; import com.liferay.portal.service.UserLocalServiceUtil;
import com.liferay.portal.util.PortalUtil; import com.liferay.portal.util.PortalUtil;
public class ArpaAutoLogin implements AutoLogin { public class ArpaAutoLogin implements AutoLogin {
private static final Log _log = LogFactoryUtil.getLog(ArpaAutoLogin.class);
private static final Log _log = LogFactoryUtil.getLog(ArpaAutoLogin.class);
public final String[] login(HttpServletRequest request, HttpServletResponse response)
throws AutoLoginException {
public final String[] login(HttpServletRequest request, HttpServletResponse response) throws AutoLoginException {
String[] result = doLogin(request, response);
String[] result = doLogin(request, response); if ((result != null) && (result.length > 0)) {
if ((result != null) && (result.length > 0)) { long companyId = PortalUtil.getCompanyId(request);
long companyId = PortalUtil.getCompanyId(request); boolean enabled = true;
boolean enabled = true; try {
try { enabled = PrefsPropsUtil.getBoolean(companyId,
enabled = "arpa.authenticate.loginredirectandcontinue.enabled", Boolean.valueOf(true));
PrefsPropsUtil.getBoolean(companyId, "arpa.authenticate.loginredirectandcontinue.enabled", } catch (SystemException e) {
Boolean.valueOf(true)); _log.error(e, e);
} catch (SystemException e) { }
_log.error(e, e);
} if (enabled) {
String currentURL = PortalUtil.getCurrentURL(request);
if (enabled) { _log.trace("Cecking if currentURL " + currentURL + " contains /portal/login");
String currentURL = PortalUtil.getCurrentURL(request);
_log.trace("Cecking if currentURL " + currentURL + " contains /portal/login"); if (currentURL.contains("/portal/login")) {
String redirect = ParamUtil.getString(request, "redirect");
if (currentURL.contains("/portal/login")) {
String redirect = ParamUtil.getString(request, "redirect"); if (Validator.isNotNull(redirect)) {
_log.debug("Setting AUTO_LOGIN_REDIRECT_AND_CONTINUE parameter to " + redirect);
if (Validator.isNotNull(redirect)) { request.setAttribute("AUTO_LOGIN_REDIRECT_AND_CONTINUE", redirect);
_log.debug("Setting AUTO_LOGIN_REDIRECT_AND_CONTINUE parameter to " + redirect); }
request.setAttribute("AUTO_LOGIN_REDIRECT_AND_CONTINUE", redirect);
} }
} } else {
_log.trace("Function AUTO_LOGIN_REDIRECT_AND_CONTINUE is not enabled");
} else { }
_log.trace("Function AUTO_LOGIN_REDIRECT_AND_CONTINUE is not enabled"); }
}
} return result;
}
return result;
} protected String[] doLogin(HttpServletRequest request, HttpServletResponse response) {
protected String[] doLogin(HttpServletRequest request, HttpServletResponse response) { String[] result = null;
User user = null;
String[] result = null; long companyId = PortalUtil.getCompanyId(request);
User user = null;
long companyId = PortalUtil.getCompanyId(request); boolean arpaAuthEnabled = false;
try {
boolean arpaAuthEnabled = false; arpaAuthEnabled = PrefsPropsUtil.getBoolean(companyId, Constants._ARPA_AUTH_ENABLED_KEY,
try { Constants._ARPA_AUTH_ENABLED_VALUE);
arpaAuthEnabled = } catch (SystemException e) {
PrefsPropsUtil.getBoolean(companyId, Constants._ARPA_AUTH_ENABLED_KEY, Constants._ARPA_AUTH_ENABLED_VALUE); _log.error(e, e);
} catch (SystemException e) { }
_log.error(e, e);
} if (arpaAuthEnabled) {
_log.debug("3F: autenticazione arpa abilitata");
// _log.info("3F: spAgentSSOToken = " + request.getAttribute("spAgentSSOToken")); String agentCheckParameterName = StringPool.BLANK;
// try {
// _log.info("******3FC*******"); agentCheckParameterName = PrefsPropsUtil.getString(companyId, "arpa.agent.attribute.verify");
// Enumeration<String> parametersName = request.getParameterNames(); } catch (SystemException e) {
// while (parametersName.hasMoreElements()) { _log.error(e, e);
// }
// String paramName = parametersName.nextElement();
// boolean canContinue = true;
// String[] paramValues = request.getParameterValues(paramName); Object agentCheckValue = null;
// for (int i = 0; i < paramValues.length; i++) {
// _log.info("Parameter " + paramName + " = " + paramValues[i]); if ((agentCheckParameterName != null) && (agentCheckParameterName.trim().length() > 0)) {
// } _log.debug("3F: entro qui");
// _log.debug("Try to get agent Check attribute from request " + agentCheckParameterName);
// }
// canContinue = false;
// Enumeration<String> attributesName = request.getAttributeNames(); agentCheckValue = request.getAttribute(agentCheckParameterName);
// while (attributesName.hasMoreElements()) { if (agentCheckValue != null) {
// canContinue = true;
// String attributeName = attributesName.nextElement(); _log.debug("Value of AgentCheckParameter " + agentCheckValue);
// if ((agentCheckValue instanceof Boolean)) {
// String attributeValue = (String) request.getAttribute(attributeName); canContinue = ((Boolean) agentCheckValue).booleanValue();
// }
// _log.info("Attribute " + attributeName + " = " + attributeValue); } else
// _log.debug("Agent Check attribute is null");
// }
// _log.info("******3FC*******"); }
if (arpaAuthEnabled) { boolean authenticated = false;
_log.debug("3F: autenticazione arpa abilitata"); if (canContinue) {
String agentCheckParameterName = StringPool.BLANK; _log.debug("3F: sono abilitato ad autenticare");
try {
agentCheckParameterName = PrefsPropsUtil.getString(companyId, "arpa.agent.attribute.verify"); try {
} catch (SystemException e) { ArpaSSOProxy proxy = ArpaProxyFactoryLocator.getInstance(request);
_log.error(e, e); if (proxy != null) {
} _log.debug("3F: provo ad autenticare");
ArpaUser arpaUser = ArpaUtils.getUser(proxy);
boolean canContinue = true; if (arpaUser != null) {
Object agentCheckValue = null; request.setAttribute("arpa.agent.user.authenticating", arpaUser);
arpaUser = new AttributeArpaUser(proxy, arpaUser);
if ((agentCheckParameterName != null) && (agentCheckParameterName.trim().length() > 0)) { _log.debug("Try to login user " + arpaUser);
_log.debug("3F: entro qui");
_log.debug("Try to get agent Check attribute from request " + agentCheckParameterName); try {
canContinue = false; user = createUserIfnotExist(companyId, arpaUser);
agentCheckValue = request.getAttribute(agentCheckParameterName);
if (agentCheckValue != null) { } catch (Exception portalException) {
canContinue = true; _log.error("Error Getting or Adding User " + arpaUser.getCf(),
_log.debug("Value of AgentCheckParameter " + agentCheckValue); portalException);
if ((agentCheckValue instanceof Boolean)) { }
canContinue = ((Boolean) agentCheckValue).booleanValue();
} if (user != null) {
} else _log.debug("Agent Check attribute is null"); result = makeCredentials(user);
authenticated = true;
} try {
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL value = "
boolean authenticated = false; + arpaUser.getEmailAddress());
if (canContinue) {
_log.debug("3F: sono abilitato ad autenticare"); request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL",
arpaUser.getEmailAddress());
try {
ArpaSSOProxy proxy = ArpaProxyFactoryLocator.getInstance(request); request.getSession().setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL",
if (proxy != null) { arpaUser.getEmailAddress());
_log.debug("3F: provo ad autenticare");
ArpaUser arpaUser = ArpaUtils.getUser(proxy); _log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF value = "
if (arpaUser != null) { + arpaUser.getCf());
request.setAttribute("arpa.agent.user.authenticating", arpaUser);
arpaUser = new AttributeArpaUser(proxy, arpaUser); request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF", arpaUser.getCf());
_log.debug("Try to login user " + arpaUser);
request.getSession().setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF",
try { arpaUser.getCf());
user = createUserIfnotExist(companyId, arpaUser); ArpaUser realUser = proxy.getAuthenticatedUser();
} catch (Exception portalException) { _log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF value = "
_log.error("Error Getting or Adding User " + arpaUser.getCf(), portalException); + realUser.getCf());
}
request.setAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF",
if (user != null) { realUser.getCf());
result = makeCredentials(user);
authenticated = true; request.getSession().setAttribute(
try { "_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF", realUser.getCf());
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL value = " } catch (Exception e) {
+ arpaUser.getEmailAddress()); _log.error("Cannot Setting Parameter on request and session, caused by",
e);
}
request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL", arpaUser.getEmailAddress());
}
request.getSession().setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL", arpaUser.getEmailAddress());
} else {
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF value = " _log.warn("ArpaUser is null");
+ arpaUser.getCf()); }
}
request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF", arpaUser.getCf()); } catch (ArpaException e) {
_log.error("Error getting ArpaUser", e);
request.getSession().setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF", arpaUser.getCf()); }
} else {
ArpaUser realUser = proxy.getAuthenticatedUser(); _log.debug("Request is not processed because request parameter " + agentCheckParameterName
+ " is = " + agentCheckValue);
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF value = " }
+ realUser.getCf());
if ((result != null) && (result.length >= 3)) {
request.setAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF", realUser.getCf()); _log.debug("Credentials:[" + result[0] + "][" + result[1] + "][" + result[2] + "]");
} else {
request.getSession().setAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF", realUser.getCf()); _log.debug("No Authenticated User");
} catch (Exception e) { }
_log.error("Cannot Setting Parameter on request and session, caused by", e);
} _log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED value = "
+ authenticated);
}
request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated));
} else { request.getSession()
_log.warn("ArpaUser is null"); .setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated));
} }
} return result;
}
} catch (ArpaException e) {
_log.error("Error getting ArpaUser", e); protected User createUserIfnotExist(long companyId, ArpaUser arpaUser) throws PortalException,
} SystemException {
} else {
_log.debug("Request is not processed because request parameter " + agentCheckParameterName + " is = " User user = null;
+ agentCheckValue); if (arpaUser != null) {
} String screenName = arpaUser.getCf();
screenName = FriendlyURLNormalizerUtil.normalize(screenName);
user = UserLocalServiceUtil.fetchUserByScreenName(companyId, screenName);
if ((result != null) && (result.length >= 3)) { if (user == null) {
_log.debug("Credentials:[" + result[0] + "][" + result[1] + "][" + result[2] + "]"); _log.info("L'utente [" + arpaUser.getCf()
} else { + "] non e' censito. Tento Creazione Utente nel Sistema");
_log.debug("No Authenticated User"); boolean male = true;
} int birthdayMonth = 0;
int birthdayDay = 1;
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED value = " + authenticated); int birthdayYear = 1970;
String jobTitle = StringPool.BLANK;
request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated)); String openId = StringPool.BLANK;
request.getSession().setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated)); long[] groupIds = null;
} long[] organizationIds = null;
return result; long[] roleIds = null;
} long[] userGroupIds = null;
long facebookId = 0l;
protected User createUserIfnotExist(long companyId, ArpaUser arpaUser) throws PortalException, SystemException { boolean autoPassword = true;
String password1 = "replaceme";
User user = null; String password2 = "replaceme";
if (arpaUser != null) { boolean autoScreenName = false;
String screenName = arpaUser.getCf(); boolean sendEmailToUser = false;
screenName = FriendlyURLNormalizerUtil.normalize(screenName); Locale locale = Locale.ITALY;
user = UserLocalServiceUtil.fetchUserByScreenName(companyId, screenName); ServiceContext serviceContext = new ServiceContext();
if (user == null) { String userScreenName = arpaUser.getCf();
_log.info("L'utente [" + arpaUser.getCf() + "] non e' censito. Tento Creazione Utente nel Sistema"); long creatorUserId = UserLocalServiceUtil.getDefaultUserId(companyId);
boolean male = true;
int birthdayMonth = 0; String emailAddress = arpaUser.getEmailAddress();
int birthdayDay = 1; String firstName = arpaUser.getName();
int birthdayYear = 1970; if ((firstName == null) || (firstName.trim().length() <= 0)) {
String jobTitle = StringPool.BLANK; firstName = screenName;
String openId = StringPool.BLANK; }
long[] groupIds = null; String middleName = StringPool.BLANK;
long[] organizationIds = null; String lastName = arpaUser.getSurname();
long[] roleIds = null; if ((lastName == null) || (lastName.trim().length() <= 0)) {
long[] userGroupIds = null; lastName = screenName;
long facebookId = 0l; }
boolean autoPassword = true;
String password1 = "replaceme"; try {
String password2 = "replaceme"; user = UserLocalServiceUtil.addUser(creatorUserId, companyId, autoPassword, password1,
boolean autoScreenName = false; password2, autoScreenName, screenName, emailAddress, facebookId, openId, locale,
boolean sendEmailToUser = false; firstName, middleName, lastName, 0, 0, male, birthdayMonth, birthdayDay,
Locale locale = Locale.ITALY; birthdayYear, jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
ServiceContext serviceContext = new ServiceContext(); sendEmailToUser, serviceContext);
String userScreenName = arpaUser.getCf(); _log.info("Ho aggiunto il nuovo utente [" + userScreenName + "].");
long creatorUserId = UserLocalServiceUtil.getDefaultUserId(companyId); } catch (Exception e) {
throw new PortalException("Error Adding user on Liferay", e);
String emailAddress = arpaUser.getEmailAddress(); }
String firstName = arpaUser.getName();
if ((firstName == null) || (firstName.trim().length() <= 0)) { } else {
firstName = screenName; _log.warn("The User already Exist, Ignoring add user = " + user);
} }
String middleName = StringPool.BLANK; }
String lastName = arpaUser.getSurname(); return user;
if ((lastName == null) || (lastName.trim().length() <= 0)) { }
lastName = screenName;
} protected User loginUser(long companyId, ArpaUser arpaUser) throws PortalException, SystemException {
try { String userScreenName = arpaUser.getCf();
user = User user = null;
UserLocalServiceUtil.addUser(creatorUserId, companyId, autoPassword, password1, password2, if (arpaUser != null) {
autoScreenName, screenName, emailAddress, facebookId, openId, locale, firstName, middleName, try {
lastName, 0, 0, male, birthdayMonth, birthdayDay, birthdayYear, jobTitle, groupIds, organizationIds, user = UserLocalServiceUtil.getUserByScreenName(companyId, userScreenName);
roleIds, userGroupIds, sendEmailToUser, serviceContext);
/* _log.info("L'utente [" + userScreenName + "] e' gia' censito.");
* long userId = 0; if (user != null) { userId = user.getUserId();
* _log.debug("Updating Password Reset "); } catch (NoSuchUserException ex) {
* UserLocalServiceUtil.updatePasswordReset(userId, false); } if ((user != null) && boolean authenticateWithEmailAddress = PrefsPropsUtil.getBoolean(companyId,
* (!screenName.equals(user.getScreenName()))) { _log.debug("Updating ScreenName from " + "arpa.authenticate.emailaddress", Boolean.valueOf(false));
* user.getScreenName() + " to " + screenName);
* UserLocalServiceUtil.updateScreenName(userId, screenName); if (_log.isDebugEnabled()) { if (authenticateWithEmailAddress) {
* _log.debug("Updated ScreenName from " + user.getScreenName() + " to " + screenName); } String emailAddress = arpaUser.getEmailAddress();
* try { user = UserLocalServiceUtil.getUserById(userId); } catch (Exception e) { if ((emailAddress != null) && (emailAddress.trim().length() > 0)) {
* _log.warn("Error refreshing user after updating screename = " + user.getScreenName()); try {
* } } if ((user != null) && (updateAgreedToTermsOfUse) && _log.info("L'utente [" + userScreenName
* ((!viewAgreedToTermsOfUseNullEmail) || (!autogeneratedEmail))) { + "] non e' censito con lo screename, Provo con l'email address.");
* _log.debug("Updating AgreedToTermsOfUse for user " + user.getScreenName()); try {
* UserLocalServiceUtil.updateAgreedToTermsOfUse(user.getUserId(), true); } catch user = UserLocalServiceUtil.getUserByEmailAddress(companyId, emailAddress);
* (Exception e) { if (_log.isWarnEnabled()) {
* _log.warn("Errror updating AgreedToTermsOfUse for user Id = " + user, e); } } } _log.info("L'utente [" + userScreenName
*/ + "] e' gia' censito con l'indirizzo email " + emailAddress + ".");
_log.info("Ho aggiunto il nuovo utente [" + userScreenName + "].");
} catch (Exception e) { } catch (NoSuchUserException ex2) {
throw new PortalException("Error Adding user on Liferay", e); _log.info("L'utente [" + userScreenName
} + "] non e' censito con l'indirizzo email " + emailAddress + ". ");
} else { } catch (PortalException e) {
_log.warn("The User already Exist, Ignoring add user = " + user); _log.info("L'utente [" + userScreenName
} + "] non e' censito con l'indirizzo email " + emailAddress + ". ", e);
} } catch (SystemException e) {
return user; _log.info("L'utente [" + userScreenName
} + "] non e' censito con l'indirizzo email " + emailAddress + ". ", e);
}
protected User loginUser(long companyId, ArpaUser arpaUser) throws PortalException, SystemException {
}
String userScreenName = arpaUser.getCf();
User user = null; } else {
if (arpaUser != null) { _log.info("L'utente ["
try { + userScreenName
user = UserLocalServiceUtil.getUserByScreenName(companyId, userScreenName); + "] non e' censito con lo screename, non provo con l'email address perche' la funzione e' disabilitata.");
}
_log.info("L'utente [" + userScreenName + "] e' gia' censito.");
}
} catch (NoSuchUserException ex) {
boolean authenticateWithEmailAddress = }
PrefsPropsUtil.getBoolean(companyId, "arpa.authenticate.emailaddress", Boolean.valueOf(false));
return user;
if (authenticateWithEmailAddress) { }
String emailAddress = arpaUser.getEmailAddress();
if ((emailAddress != null) && (emailAddress.trim().length() > 0)) { protected String[] makeCredentials(User user) {
try {
_log.info("L'utente [" + userScreenName + "] non e' censito con lo screename, Provo con l'email address."); String[] retval = null;
if (user != null) {
user = UserLocalServiceUtil.getUserByEmailAddress(companyId, emailAddress); retval = new String[3];
retval[0] = String.valueOf(user.getUserId());
_log.info("L'utente [" + userScreenName + "] e' gia' censito con l'indirizzo email " + emailAddress + "."); retval[1] = user.getPassword();
retval[2] = Boolean.FALSE.toString();
} catch (NoSuchUserException ex2) { }
_log.info("L'utente [" + userScreenName + "] non e' censito con l'indirizzo email " + emailAddress + ". ");
return retval;
} catch (PortalException e) { }
_log.info(
"L'utente [" + userScreenName + "] non e' censito con l'indirizzo email " + emailAddress + ". ", e); @Override
} catch (SystemException e) { public String[] handleException(HttpServletRequest request, HttpServletResponse response, Exception e)
_log.info( throws AutoLoginException {
"L'utente [" + userScreenName + "] non e' censito con l'indirizzo email " + emailAddress + ". ", e);
} _log.error(e);
return null;
} }
} else {
_log.info("L'utente [" + userScreenName
+ "] non e' censito con lo screename, non provo con l'email address perche' la funzione e' disabilitata.");
}
}
}
return user;
}
protected String[] makeCredentials(User user) {
String[] retval = null;
if (user != null) {
retval = new String[3];
retval[0] = String.valueOf(user.getUserId());
retval[1] = user.getPassword();
retval[2] = Boolean.FALSE.toString();
}
return retval;
}
@Override
public String[] handleException(HttpServletRequest request, HttpServletResponse response, Exception e)
throws AutoLoginException {
_log.error(e);
return null;
}
} }

38
liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/it/toscana/regione/arpa/al/version6_2/action/LiferayLogUserAction.java

@ -13,32 +13,28 @@ import javax.servlet.http.HttpSession;
public abstract class LiferayLogUserAction extends Action { public abstract class LiferayLogUserAction extends Action {
protected static Log _log = LogFactoryUtil.getLog(LiferayLogUserAction.class); protected static Log _log = LogFactoryUtil.getLog(LiferayLogUserAction.class);
public abstract String getMessagePre(HttpServletRequest request); public abstract String getMessagePre(HttpServletRequest request);
public void run(HttpServletRequest request, HttpServletResponse response) throws ActionException {
try {
String remoteInfo = "Host = " + request.getRemoteHost() + ", Port= " + request.getRemotePort();
_log.debug("Running " + remoteInfo + ", User = " + request.getRemoteUser());
public void run(HttpServletRequest request, HttpServletResponse response) throws ActionException { HttpSession session = request.getSession();
try { if (session != null) {
String remoteInfo = "Host = " + request.getRemoteHost() + ", Port= " + request.getRemotePort(); String message = "[" + getMessagePre(request) + "," + ArpaUtils.getUserInfo(request) + ","
+ ArpaUtils.getArpaUserInfo(request) + "]";
_log.debug("Running " + remoteInfo + ", User = " + request.getRemoteUser()); _log.info(message);
HttpSession session = request.getSession(); _log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED");
if (session != null) { }
String message =
"[" + getMessagePre(request) + "," + ArpaUtils.getUserInfo(request) + ","
+ ArpaUtils.getArpaUserInfo(request) + "]";
} catch (Exception e) {
_log.info(message); _log.error("Error executing operations", e);
}
_log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED"); }
}
} catch (Exception e) {
_log.error("Error executing operations", e);
}
}
} }

6
liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/src/portal.properties

@ -2,11 +2,11 @@
#Wed Feb 26 17:06:52 CET 2014 #Wed Feb 26 17:06:52 CET 2014
company.settings.form.authentication=arpa company.settings.form.authentication=arpa
#login.form.navigation.pre=arpa #login.form.navigation.pre=arpa
# Se true vuol dire che il sistema ARPA <EFBFBD> attivo # Se true vuol dire che il sistema ARPA è attivo
arpa.auth.enabled = true arpa.auth.enabled = true
# paramerto da passare per il backurl # paramerto da passare per il backurl
arpa.redirect.url = backurl arpa.redirect.url = backurl
# se true significa che mander<EFBFBD> l'indirizzo di back codificato html # se true significa che manderò l'indirizzo di back codificato html
arpa.redirect.encoded = true arpa.redirect.encoded = true
######################################################################### #########################################################################
@ -20,7 +20,7 @@ arpa.redirect.encoded = true
#Indica se inviare la mail con password all'utente non registrato che accede con arpa #Indica se inviare la mail con password all'utente non registrato che accede con arpa
#arpa.createuser.emailsend=true #arpa.createuser.emailsend=true
#Permette al sistema la generazione automatica di un indirizzo email nel caso non fosse presente in Arpa oppure gi<EFBFBD> presente in liferay (default true) #Permette al sistema la generazione automatica di un indirizzo email nel caso non fosse presente in Arpa oppure già presente in liferay (default true)
#arpa.createuser.null.email.autogenerate=true #arpa.createuser.null.email.autogenerate=true
#Evita la visualizzazione del messaggio di accettazione delle policy #Evita la visualizzazione del messaggio di accettazione delle policy
#arpa.createuser.agreedToTerms.ignore=true #arpa.createuser.agreedToTerms.ignore=true

16
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Language.properties

@ -175,14 +175,14 @@ conf.geniocivile.avviso.template.id.integrazionerifiutata = Template Avviso Inte
conf.geniocivile.avviso.template.id.doc_annullamento = Template File Annullamento Fascicolo conf.geniocivile.avviso.template.id.doc_annullamento = Template File Annullamento Fascicolo
conf.geniocivile.avviso.template.id.doc_pagamento = Template File Allegato MDB conf.geniocivile.avviso.template.id.doc_pagamento = Template File Allegato MDB
conf.geniocivile.avviso.template.id.domanda_pdf = Template Domanda conf.geniocivile.avviso.template.id.domanda_pdf = Template Domanda
conf.geniocivile.avviso.template.id.deposito.A = Template Ricevuta Deposito mod. A conf.geniocivile.avviso.template.id.deposito.A = Template Ricevuta deposito mod. A
conf.geniocivile.avviso.template.id.deposito.B = Template Ricevuta Deposito mod. B conf.geniocivile.avviso.template.id.deposito.B = Template Ricevuta deposito mod. B
conf.geniocivile.avviso.template.id.deposito.B1 = Template Ricevuta Deposito mod. B1 conf.geniocivile.avviso.template.id.deposito.B1 = Template Ricevuta deposito mod. B1
conf.geniocivile.avviso.template.id.deposito.C = Template Ricevuta Deposito mod. C conf.geniocivile.avviso.template.id.deposito.C = Template Ricevuta deposito mod. C
conf.geniocivile.avviso.template.id.deposito.B2 = Template Ricevuta Deposito mod. B2 conf.geniocivile.avviso.template.id.deposito.B2 = Template Ricevuta deposito mod. B2
conf.geniocivile.avviso.template.id.deposito.VNS = Template Ricevuta Variante Non Sostanziale conf.geniocivile.avviso.template.id.deposito.VNS = Template Ricevuta variante non sostanziale
conf.geniocivile.avviso.template.id.deposito.PS = Template Avvisio Avvio di procedimento dopo Sorteggio conf.geniocivile.avviso.template.id.deposito.PS = Template Avvisio avvio di procedimento dopo sorteggio
conf.geniocivile.avviso.template.id.deposito.S = Template Avviso di Sorteggio conf.geniocivile.avviso.template.id.deposito.S = Template Avviso di sorteggio
#Configurazione Allegati #Configurazione Allegati
conf.geniocivile.attachment.folder.id = Folder Allegati conf.geniocivile.attachment.folder.id = Folder Allegati

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

@ -822,21 +822,20 @@ public class SismicaUtil {
String tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, String tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN,
"tipo-pratica-" + intPratica.getTipoPratica()); "tipo-pratica-" + intPratica.getTipoPratica());
esito.add("<b>intPraticaId=" + intPratica.getIntPraticaId() + ", numeroProgetto=" esito.add("* intPraticaId=" + intPratica.getIntPraticaId() + ", numeroProgetto="
+ intPratica.getNumeroProgetto() + ", procedura=" + intPratica.getTipoProcedura() + intPratica.getNumeroProgetto() + ", procedura=" + intPratica.getTipoProcedura()
+ ", stato=" + intPratica.getStatoPratica() + ", tipo=" + tipoPratica + ", data=" + ", stato=" + intPratica.getStatoPratica() + ", tipo=" + tipoPratica + ", data="
+ dfmt.format(intPratica.getCreateDate()) + ", modificata=" + dfmt.format(intPratica.getCreateDate()) + ", modificata="
+ dfmt.format(intPratica.getModifiedDate()) + "</b>"); + dfmt.format(intPratica.getModifiedDate()));
for (Avviso avviso : avvisi) { for (Avviso avviso : avvisi) {
String template = templateById.get(avviso.getFileEntryIdTemplate()); String template = templateById.get(avviso.getFileEntryIdTemplate());
if (template == null) if (template == null)
template = templateByKey.get(avviso.getTipoDocumento()); template = templateByKey.get(avviso.getTipoDocumento());
; ;
boolean inviato = avviso.getInviato().equalsIgnoreCase(AvvisoUtil.DOCUMENTO_INVIATO); boolean inviato = avviso.getInviato().equalsIgnoreCase(AvvisoUtil.DOCUMENTO_INVIATO);
esito.add(dfmt.format(avviso.getDtAvviso()) + " Avviso " + template + " <span style=\"color:" esito.add(dfmt.format(avviso.getDtAvviso()) + " Avviso " + template
+ (inviato ? "green" : "blue") + "\">"
+ (inviato ? "inviato " + dfmt.format(avviso.getDtInvio()) : "non inviato") + (inviato ? "inviato " + dfmt.format(avviso.getDtInvio()) : "non inviato")
+ "</span> - tipo avviso " + avviso.getTipoAvviso() + " - tipo documento " + " - tipo avviso " + avviso.getTipoAvviso() + " - tipo documento "
+ avviso.getTipoDocumento()); + avviso.getTipoDocumento());
} }
return esito; return esito;
@ -867,6 +866,8 @@ public class SismicaUtil {
boolean conforme = false; boolean conforme = false;
boolean collaudo = false; boolean collaudo = false;
boolean fineLavori = false; boolean fineLavori = false;
boolean primoAvviso = true;
boolean ultimo = false;
for (Avviso avviso : avvisi) { for (Avviso avviso : avvisi) {
if (!avviso.getAnnullato()) { if (!avviso.getAnnullato()) {
if (avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.VIDIMATA) if (avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.VIDIMATA)
@ -875,10 +876,13 @@ public class SismicaUtil {
.getClassPk()); .getClassPk());
if (dettPratica.getTipoIntegrazione().equals(TipoIntegrazioneUtil.VARIANTE) if (dettPratica.getTipoIntegrazione().equals(TipoIntegrazioneUtil.VARIANTE)
&& !dettPratica.getVarianteSostanziale()) { && !dettPratica.getVarianteSostanziale()) {
String title = DLAppLocalServiceUtil.getFileEntry(
avviso.getFileEntryIdTemplate()).getTitle();
if (primoAvviso && !title.equals(templateTitle)) {
ultimo = true;
}
if (!autorizzata && !conforme) { if (!autorizzata && !conforme) {
fileEntry = DLAppLocalServiceUtil.getFileEntry(avviso if (!title.equals(templateTitle)) {
.getFileEntryIdTemplate());
if (!fileEntry.getTitle().equals(templateTitle)) {
varianti.add(avviso); varianti.add(avviso);
} else { } else {
inviate++; inviate++;
@ -900,13 +904,13 @@ public class SismicaUtil {
fineLavori = true; fineLavori = true;
} }
} }
primoAvviso = false;
} }
if ((varianti.size() > 0) if (((varianti.size() > 0) && (varianti.size() != inviate) && !annullata && !collaudo
&& (varianti.size() != inviate) && !fineLavori && (pratica.getTipoPratica().equalsIgnoreCase(
&& !annullata Constants.TIPO_PRATICA_DEPOSITO) || autorizzata))
&& !collaudo || (ultimo && pratica.getStatoPratica().equalsIgnoreCase(
&& !fineLavori StatoPraticaConstants.AUTORIZZATA))) {
&& (pratica.getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_DEPOSITO) || autorizzata)) {
String tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, String tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN,
"tipo-pratica-" + pratica.getTipoPratica()); "tipo-pratica-" + pratica.getTipoPratica());
List<ControlloPratica> controlli = ControlloPraticaLocalServiceUtil List<ControlloPratica> controlli = ControlloPraticaLocalServiceUtil

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

@ -71,7 +71,6 @@ public class SchedulerEstrazioneFirme implements MessageListener {
for (DocPratica docPratica : docPratiche) { for (DocPratica docPratica : docPratiche) {
String urlPdfExtractor = (String) company.getExpandoBridge().getAttribute( String urlPdfExtractor = (String) company.getExpandoBridge().getAttribute(
"url_pdf_extractor", false); "url_pdf_extractor", false);
DLFileEntry fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(docPratica DLFileEntry fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(docPratica
.getDlFileEntryId()); .getDlFileEntryId());
User user = UserLocalServiceUtil.getRoleUsers( User user = UserLocalServiceUtil.getRoleUsers(
@ -124,10 +123,7 @@ public class SchedulerEstrazioneFirme implements MessageListener {
} }
} }
} catch (Exception e) { } catch (Exception e) {
if (_log.isDebugEnabled()) _log.info("Errore", e);
_log.debug("Errore", e);
else
_log.error("Errore " + e.getMessage());
} finally { } finally {
lock.unlock(); lock.unlock();
} }

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java

@ -128,7 +128,7 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
.getNome(); .getNome();
String cognome = Validator.isNull(soggetto.getCognome()) ? StringPool.BLANK : soggetto String cognome = Validator.isNull(soggetto.getCognome()) ? StringPool.BLANK : soggetto
.getCognome(); .getCognome();
_log.info(soggetto.getNome() + "|" + soggetto.getCognome() + "|" + soggetto.getLegaleRap());
return testoAsseverazione(tipo, nome, cognome, codiceFiscale, soggetto.getAmbitoProfessione(), return testoAsseverazione(tipo, nome, cognome, codiceFiscale, soggetto.getAmbitoProfessione(),
dettPratica, relazioni, false); dettPratica, relazioni, false);
} }

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=2384 build.number=2387
build.date=1594644517341 build.date=1595506971844
build.auto.upgrade=true build.auto.upgrade=true
## ##

2
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/content/Language.properties

@ -111,3 +111,5 @@ error.geniocivilefe.asseverazione.allegato.firma.valid=File non firmato dall'ass
error.geniocivilefe.pagamento.allegato.ext.valid=Tipo di file errato (solo pdf o p7m) error.geniocivilefe.pagamento.allegato.ext.valid=Tipo di file errato (solo pdf o p7m)
error.geniocivilefe.pagamento.allegato.length.valid=Nome del file troppo lungo (max 200 caratteri) error.geniocivilefe.pagamento.allegato.length.valid=Nome del file troppo lungo (max 200 caratteri)
error.geniocivilefe.pagamento.allegato.is.request=Nessun allegato inviato error.geniocivilefe.pagamento.allegato.is.request=Nessun allegato inviato
avviso-destinazione=Le classi III e IV non sono selezionabili per le pratiche di tipo B o C, le stesse devono essere presentate quali pratiche di Tipo A - Autorizzazione.

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

@ -478,6 +478,12 @@
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center">
<h3 class="mbottom20"><%= LanguageUtil.get(pageContext, "titolo-destinazione") %></h3> <h3 class="mbottom20"><%= LanguageUtil.get(pageContext, "titolo-destinazione") %></h3>
<c:if test="<%= !proceduraA %>">
<div class="col-xs-12" style="background-color:#ffebcd;padding:8px 4px;margin:0 0 20px 0">
<span style="color:red;font-weight:bold">ATTENZIONE</span>
<b><%= LanguageUtil.get(pageContext, "avviso-destinazione") %></b>
</div>
</c:if>
</div> </div>
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"> <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">

61
template/Modello Asseverazione.vm

@ -0,0 +1,61 @@
<html>
<head>
<style>
.versione {
font-size: 10px;
margin: 5px 0;
}
.logo {
border-collapse: collapse;
width: 100%;
}
.logo td {
border: 1px solid #000;
padding: 10px;
}
.logo img {
width: 200px;
}
.text-center {
text-align: center;
}
h1 {
font-size: 20px;
margin-bottom: 0;
}
li, p {
font-size: 14px;
margin: 0 0 4px 0;
}
.indent {
padding-left: 24px;
list-style-type: circle;
margin-bottom: 3px;
}
p.text-center {
margin-bottom: 9px;
}
</style>
</head>
<body>
<p class="versione">
Modello
$modello
</p>
<table class="logo">
<tr>
<td>
<p><img src="rs.jpg"/></p>
<p>Piattaforma Regionale Sismica Sicilia</p>
</td>
<td class="text-center">
<p>DIPARTIMENTO REGIONALE TECNICO</p>
<p>UFFICIO DEL GENIO CIVILE</p>
</td>
</tr>
</table>
<div>
$html
</div>
</body>
</html>

551
template/Modello_A.jrxml

@ -0,0 +1,551 @@
<?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 A" 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. A</b> – avviso di presa in carico - interventi rilevanti, rientranti tra quelli di cui al DDG 344/2020, Allegato A), lettera A)]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="108">
<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="61" 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>richiesta autorizzazione, ai sensi degli artt.65, 93 e 94 del D.P.R. 380/2001</b>, come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – artt. 17-18 L.64/74), con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, convertito in legge <b>55/2019, modificato dalla Legge 156/2019 - NTC di riferimento: DM 17 Gennaio 2018 - D.D.G. n. 344/2020 Allegato A) lett. A.</b>]]></text>
</staticText>
<staticText>
<reportElement x="0" y="75" 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[AVVISO DI PRESA IN CARICO]]></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="241">
<staticText>
<reportElement key="" x="266" y="56" width="115" 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"/>
</reportElement>
<textElement>
<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="381" y="56" width="168" 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"/>
</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="381" y="70" width="168" 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"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="70" width="115" 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"/>
</reportElement>
<textElement>
<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="98" 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 ed il progetto è stato acquisito dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="175" 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="215" 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="124" width="550" height="37" 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[L’inizio dei lavori rimane subordinato al successivo rilascio del provvedimento di autorizzazione, che sarà emesso dall’Ufficio ai sensi dell’art. 94 DPR 380/2001 (art. 18 L.64/74) e nel rispetto del DDG 344/2020 del Dirigente Generale del DRT.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="161" width="550" height="14" uuid="8ea32b64-43d2-4777-b495-abae51a7031c">
<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="e70930e1-b679-47f7-b396-82becd726e30">
<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>

583
template/Modello_B.jrxml

@ -0,0 +1,583 @@
<?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. B</b> Avviso di vidimazione <i>(interventi 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>deposito del progetto a seguito della denuncia dei lavori, 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[AVVISO DI PRESA IN CARICO]]></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="255">
<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 ed il progetto è stato acquisito dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="189" 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="229" 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="37" 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[Considerato che, secondo quanto dichiarato, l’intervento in oggetto rientra tra quelli di cui al DDG 344/2020, allegato A), lettera B), l’inizio dei lavori rimane subordinato al rilascio dell’attestazione di avvenuto deposito del progetto, che sarà successivamente emessa da questo Ufficio.]]></text>
</staticText>
<staticText>
<reportElement key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<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[e p.c. : Al Sindaco SUE/SUAP del Comune di]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<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>
<staticText>
<reportElement x="0" y="175" 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>

683
template/Modello_B2.jrxml

@ -0,0 +1,683 @@
<?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="Attestazione di deposito" 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. B2</b> Avviso di deposito <i>(interventi 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>deposito del progetto a seguito della denuncia dei lavori, 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[ATTESTAZIONE DI DEPOSITO DEL PROGETTO]]></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="507">
<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="14" 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="Center">
<font fontName="DejaVu Sans" isBold="true"/>
<paragraph firstLineIndent="0"/>
</textElement>
<text><![CDATA[QUESTO UFFICIO]]></text>
</staticText>
<staticText>
<reportElement x="0" y="177" width="550" height="14" 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="Center">
<font fontName="DejaVu Sans" isBold="true"/>
<paragraph firstLineIndent="0"/>
</textElement>
<text><![CDATA[ATTESTA]]></text>
</staticText>
<staticText>
<reportElement x="2" y="481" 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="126" width="550" height="37" 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[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 344 del 19/05/2020, Allegato A), lettera B) e/o ricadenti in zona sismica 3 e 4;]]></text>
</staticText>
<staticText>
<reportElement key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<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[e p.c. : Al Sindaco SUE/SUAP del Comune di]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<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>
<staticText>
<reportElement x="0" y="191" width="550" height="37" uuid="241a0d98-1fb3-4b70-9cbd-ee29abc7d5f8">
<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[l’avvenuto deposito del progetto, per la realizzazione delle opere di che trattasi, ai sensi degli artt. 65 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="0" y="441" width="550" height="26" uuid="69896251-fd30-488a-b230-8b16a94e7a1a">
<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="228" width="550" height="26" uuid="93b64aec-3d16-4dde-8355-60a086bcce23">
<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[Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati riportati nel presente provvedimento. ]]></text>
</staticText>
<staticText>
<reportElement x="0" y="254" width="550" height="61" uuid="48e24619-1187-42da-8ba3-1b0386a814bc">
<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[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>
<staticText>
<reportElement x="0" y="315" width="550" height="49" uuid="6996f22a-5990-44af-a9d2-01504d4d0acd">
<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 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. 344 del 19/05/2020.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="364" width="550" height="49" uuid="13e71610-58d4-4962-9616-3dca8d1206aa">
<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[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="0" y="413" width="550" height="14" uuid="4bee75e9-720b-4190-a987-c0632faef156">
<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[Rimane comunque facoltà di questo Ufficio eseguire controlli ai sensi dell’art. 103 del DPR 380/2001.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="427" width="550" height="14" uuid="12a90a4f-47d8-4ac7-ba8c-82f8cd5c7031">
<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="f549e05c-7851-4c5f-80f0-e9a7e880d078">
<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>

583
template/Modello_C.jrxml

@ -0,0 +1,583 @@
<?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. C</b> Interventi privi di rilevanza - acquisizione comunicazione- Allegato a) lettera C) del D.D.G. 344/2020]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="84">
<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="37" 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[D.P.R. 380/2001 e ss.mm.ii. art. 94-bis, comma 1 lettera c - NTC di riferimento D.M.17/01/2018 - D.D.G. n. 344 del 19/05/2020 del DRT Allegato A) lett. C (comunicazione per la realizzazione di opere prive di rilevanza nei riguardi della pubblica incolumità)]]></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[AVVISO DI PRESA IN CARICO]]></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="278">
<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="49" 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[Vista la comunicazione in oggetto, con la quale le opere di che trattasi, sono state ritenute tra quelle indicate alla lettera C (“Interventi privi di rilevanza”) di cui all’allegato A del D.D.G. 344/2020 si comunica che la stessa, unitamente alla documentazione allegata, è stata accolta ed acquisita dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="212" 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="252" 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="161" width="550" height="37" 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[I lavori saranno eseguiti sotto la responsabilità del Direttore dei Lavori, il quale - nel rispetto dell’art. 67 comma 8 bis, come introdotto dall’art. 3 del D.L.32/2019, convertito il L.55/2019 - dopo la fine dei lavori, è tenuto a redigere una dichiarazione di regolare esecuzione, da conservare agli atti e da esibire a richiesta.]]></text>
</staticText>
<staticText>
<reportElement key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<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[e p.c. : Al Sindaco SUE/SUAP del Comune di]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<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>
<staticText>
<reportElement x="0" y="198" 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>

531
template/Modello_CS.jrxml

@ -0,0 +1,531 @@
<?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="dataSorteggio" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="direttoreLavori" class="java.lang.String"/>
<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="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" 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. CS</b> Avviso di conformità a seguito di controllo <i>(interventi B in zona sismica 1, 2, 3 e 4 a seguito di sorteggio)</i>]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="108">
<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="0" y="75" 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>
<textField>
<reportElement x="53" y="0" width="497" height="61" uuid="00f3bd06-1245-4bea-a6c0-e28389e8a36b">
<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["Esito del controllo eseguito a seguito della 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>
</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="340">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<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="189" 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 key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<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 D.LL.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<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{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="175" 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>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="229" width="550" height="97" uuid="3abe16ab-da77-4fb0-9b0d-9635a3bfdaed">
<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:\n"+
"- 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;\n"+
"­ 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>
<staticText>
<reportElement x="0" y="112" width="550" height="26" uuid="6f353f2f-90c6-4cec-8f46-bb90e16d13d0">
<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[La pratica presentata dalla S.V. è stata sottoposta a controllo ai sensi dell’art. 94-bis, comma 5, secondo le modalità stabilite dal Decreto Dirigenziale del Dipartimento Regionale Tecnico n. 344 del 19/05/2020.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="138" width="550" height="37" uuid="82c31343-84c3-46f2-be07-ea4b7a24115f">
<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[Dai controlli documentali eseguiti e dalla visita in cantiere effettuata, il progetto, per quanto è stato possibile accertare, risulta essere redatto secondo quanto disposto dalla normativa sismica vigente e non sono emersi elementi sostanziali di contrasto con la suddetta normativa.]]></text>
</staticText>
</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>

629
template/Modello_P.jrxml

@ -0,0 +1,629 @@
<?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="collaudatore" 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="dataSorteggio" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="direttoreLavori" class="java.lang.String"/>
<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="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" 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. P</b> Avviso di avvio di procedimanto <i>(interventi A in zona sismica 1 e 2)</i>]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="73">
<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="26" 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[Zone Sismiche – D.P.R. n. 380 del 06/06/2001 e ss.mm. e ii. - Art. 94 – Autorizzazione per l’inizio dei lavori.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" 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 DI AVVIO DI PROCEDIMENTO]]></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="359">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<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="333" 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 key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<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 D.LL.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<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{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="319" 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>
<textField>
<reportElement x="2" y="126" width="550" height="37" uuid="264aa85b-9f31-41b8-8ee3-eb73ffa6854e">
<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>
<textFieldExpression><![CDATA["Ai sensi dell'art. 7 della L. 241/1990 e ss. mm. e ii. 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}))]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="293" width="550" height="26" uuid="39e33f99-0c70-4115-b812-9b67b47729da">
<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>
<textFieldExpression><![CDATA["Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="267" width="550" height="26" uuid="69111efb-2d98-4897-b8b6-66a1e81ff757">
<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[L'autorizzazione verrà rilasciata entro sessanta giorni dalla richiesta e verrà trasmessa allo Sportello Unico, subito dopo il rilascio, per i provvedimenti di sua competenza.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="241" width="550" height="26" uuid="a35f8bb8-f3e5-45e8-a776-6a69b69849c5">
<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[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.]]></text>
</staticText>
<staticText>
<reportElement key="" x="0" y="98" width="345" height="14" uuid="71b03e07-f9b9-490c-bd85-c0a0b23a9a8d">
<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 collaudatore]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="98" width="200" height="14" uuid="60822bd2-d340-41f7-b5ea-108a46458e38">
<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{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="163" width="550" height="26" uuid="db37bb34-a0d9-4e29-86a6-61440dc13993">
<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 verrà emesso provvedimento di competenza di questo Ufficio, che potrà essere scaricato, in formato pdf, dalla sezione “Avvisi”.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="189" width="550" height="26" uuid="fe2c2972-8bd6-48f5-be87-4912564117a2">
<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 provvedimento suddetto riporterà i dati ai quali si dovrà fare riferimento per tutte le successive comunicazioni al Genio Civile.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="215" width="550" height="26" uuid="b19b4e60-fa81-4524-a53e-063af48fc502">
<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[I lavori dovranno essere eseguiti in conformità al progetto a cui il provvedimento farà 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.]]></text>
</staticText>
</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="25e55ec2-6cba-4f3b-8fe7-c58e7abec22f">
<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>

573
template/Modello_PS.jrxml

@ -0,0 +1,573 @@
<?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="dataSorteggio" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="direttoreLavori" class="java.lang.String"/>
<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="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" 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. PS</b> Avviso di avvio di procedimanto <i>(interventi B in zona sismica 1, 2, 3 e 4 a seguito di sorteggio)</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[Zone Sismiche – D.P.R. n. 380 del 06/06/2001 e ss.mm. e ii.<br/>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 344 del 19/05/2020]]></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="429">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<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="278" 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 key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<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 D.LL.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<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{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="264" 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>
<textField>
<reportElement x="0" y="112" width="550" height="37" uuid="264aa85b-9f31-41b8-8ee3-eb73ffa6854e">
<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>
<textFieldExpression><![CDATA["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}))]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="149" width="550" height="26" uuid="45e719c2-1d1c-4754-a897-af1be3d380ff">
<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>
<textFieldExpression><![CDATA["Tale progetto è risultato sorteggiato nella procedura telematica di estrazione effettuata in data "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio}))]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="175" width="550" height="26" uuid="39e33f99-0c70-4115-b812-9b67b47729da">
<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>
<textFieldExpression><![CDATA["Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="201" width="550" height="26" uuid="69111efb-2d98-4897-b8b6-66a1e81ff757">
<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[L'esito della verifica del progetto verrà reso noto a mezzo apposita comunicazione entro il termine di sessanta giorni dalla data di presentazione della denuncia dei lavori.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="227" width="550" height="37" uuid="a35f8bb8-f3e5-45e8-a776-6a69b69849c5">
<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[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.]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="318" width="550" height="97" uuid="3abe16ab-da77-4fb0-9b0d-9635a3bfdaed">
<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>

529
template/Modello_S.jrxml

@ -0,0 +1,529 @@
<?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="dataSorteggio" class="java.util.Date"/>
<field name="direttoreLavori" 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="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. S</b> Avviso di sorteggio <i>(interventi 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="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>
<textField>
<reportElement x="53" y="1" width="497" height="49" uuid="d3ae6f4c-a8d5-467d-810b-b55c1ea2cba9">
<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>
</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="340">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<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="175" width="550" height="14" 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[Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale Sismica. ]]></text>
</staticText>
<staticText>
<reportElement x="0" y="189" 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[Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="138" width="550" height="37" 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[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.]]></text>
</staticText>
<staticText>
<reportElement key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<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 D.LL.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<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{direttoreLavori}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="112" width="550" height="26" uuid="6f41f679-2f73-45af-b625-5587591a39b2">
<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>
<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. 344 del 19/05/2020"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="229" width="550" height="97" uuid="ba355dad-8bef-460b-8c50-699392764109">
<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>

555
template/Modello_VNS.jrxml

@ -0,0 +1,555 @@
<?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. VNS</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" markup="html">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. ii. si comunica che per il presente procedimento amministrativo:<br/> - 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;<br/> - l'ingegnere Capo dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;<br/> - 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.<br/><br/>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>

77
template/Sorteggio.vm

@ -0,0 +1,77 @@
<html>
<head>
<style>
.versione {
font-size: 10px;
margin: 5px 0;
}
.logo {
border-collapse: collapse;
width: 100%;
}
.logo td {
border: 1px solid #000;
padding: 10px;
}
.logo img {
width: 200px;
}
.text-center {
text-align: center;
}
h1 {
font-size: 20px;
margin-bottom: 0;
}
h2 {
font-size:15px;
margin-bottom:0;
}
li, p {
font-size: 14px;
margin: 0 0 4px 0;
}
p.text-center {
margin-bottom: 9px;
}
</style>
</head>
<body>
<p class="versione">
<b>Mod. SR</b> Rapporto sorteggio pratiche
</p>
<table class="logo">
<tr>
<td>
<p><img src="rs.jpg"/></p>
<p>Piattaforma Regionale Sismica Sicilia</p>
</td>
<td class="text-center">
<p>DIPARTIMENTO REGIONALE TECNICO</p>
<p>UFFICIO DEL GENIO CIVILE</p>
</td>
</tr>
</table>
<div>
<br>Viene utilizzato il <a
href="https://it.wikipedia.org/wiki/Generatore_di_numeri_pseudocasuali_crittograficamente_sicuro"
target="_blank">generatore di numeri pseudocasuali crittograficamente sicuro</a> <a
href="https://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html" target="_blank">SecureRandom</a> per
assegnare a ciascuna pratica un numero intero casuale compreso tra -2147483647 e 2147483648.<br><br>Le pratiche alle
quali verranno assegnati i valori più bassi risulteranno sorteggiate.<br><br>Di seguito sono elencate le pratiche
sottoposte a sorteggio, divise per provincia e ordinate per valore di sorteggio.<br><br>
</div>
<div>
$html
</div>
<div>
<small>
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.<br><br>
Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio <a
href="mailto:mparlavecchio@regione.sicilia.it">mparlavecchio@regione.sicilia.it</a>
</small><br><br>
</div>
</body>
</html>
Caricamento…
Annulla
Salva