portal-sincoar/reports-jsf/armas/reports/pruebaAndres.jrxml

261 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 5.6.1.final using JasperReports Library version 5.6.1 -->
<!-- 2014-10-06T14:49:57 -->
<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="monedas" pageWidth="650" pageHeight="842" columnWidth="610" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="80331279-9be4-4003-ad3d-d3b8bfdf2084">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="oracle"/>
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<template><![CDATA[$P{pathstyle}]]></template>
<parameter name="pathimage" class="java.lang.String" isForPrompting="false">
<parameterDescription><![CDATA[]]></parameterDescription>
<defaultValueExpression><![CDATA["repo:/maia/1/image/logo"]]></defaultValueExpression>
</parameter>
<parameter name="pathstyle" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["repo:/maia/1/style/style"]]></defaultValueExpression>
</parameter>
<parameter name="workingdate" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["2014-09-20"]]></defaultValueExpression>
</parameter>
<parameter name="company" class="java.lang.Integer" isForPrompting="false">
<parameterDescription><![CDATA[compania de trabajo]]></parameterDescription>
<defaultValueExpression><![CDATA[1]]></defaultValueExpression>
</parameter>
<parameter name="pathLogoIzquierda" class="java.lang.String">
<defaultValueExpression><![CDATA["repo:/maia/1/image/comandoconjunto"]]></defaultValueExpression>
</parameter>
<parameter name="pathLogoDerecha" class="java.lang.String">
<defaultValueExpression><![CDATA["repo:/maia/1/image/selloarmas"]]></defaultValueExpression>
</parameter>
<parameter name="csolicitud" class="java.lang.String"/>
<parameter name="numeroTramite" class="java.lang.String"/>
<parameter name="lugarFecha" class="java.lang.String"/>
<parameter name="nombreRazon" class="java.lang.String"/>
<parameter name="cedula" class="java.lang.String"/>
<parameter name="coordinadorMilitar" class="java.lang.String"/>
<parameter name="centrocontrol" class="java.lang.String"/>
<parameter name="noActa" class="java.lang.String"/>
<parameter name="usuario" class="java.lang.String"/>
<parameter name="asunto" class="java.lang.String"/>
<parameter name="nombrepersona" class="java.lang.String"/>
<parameter name="nombreCompania" class="java.lang.String"/>
<parameter name="ciudad" class="java.lang.String"/>
<parameter name="Parameter1" class="java.lang.String"/>
<queryString language="SQL">
<![CDATA[select (ROW_NUMBER() OVER ()) as rownum, clase.description as clase, tipo.description as tipo, marca.description as marca,
arma.modelo as modelo, calibre.description as calibre, arma.seriecanon as serie
from tarmarmas arma
left join tarmtipoarmaexplosivo tae on arma.ctipoarmaexplosivo=tae.ctipoarmaexplosivo
left JOIN tgenecatalogdetail clase on clase.catalog=tae.clase and clase.catalogcode=tae.clasecodigo
left JOIN tgenecatalogdetail tipo on tipo.catalog=tae.tipoarmaexplosivo and tipo.catalogcode=tae.tipoarmaexplosivocodigo
left JOIN tgenecatalogdetail marca on marca.catalog=arma.marca and marca.catalogcode=arma.marcacodigo
left JOIN tgenecatalogdetail calibre on calibre.catalog=tae.calibre and calibre.catalogcode=tae.calibrecodigo
inner join tarmsolicitudarmas on tarmsolicitudarmas.carma=arma.carma
where tarmsolicitudarmas.csolicitud=$P{csolicitud}]]>
</queryString>
<field name="CLASE" class="java.lang.String"/>
<field name="ROWNUM" class="java.lang.Integer"/>
<field name="TIPO" class="java.lang.String"/>
<field name="MARCA" class="java.lang.String"/>
<field name="MODELO" class="java.lang.String"/>
<field name="CALIBRE" class="java.lang.String"/>
<field name="SERIE" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="111" splitType="Stretch">
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement style="title" x="93" y="32" width="419" height="20" forecolor="#000000" uuid="a5555ed3-8bce-44fd-afbb-28084239a1a1"/>
<textElement textAlignment="Center"/>
<text><![CDATA[COMANDO CONJUNTO DE LAS FUERZAS ARMADAS]]></text>
</staticText>
<staticText>
<reportElement key="" style="title" x="93" y="55" width="419" height="20" forecolor="#000000" uuid="98c268e9-4cb8-4184-9c02-537b79b6957c"/>
<textElement textAlignment="Center"/>
<text><![CDATA[DEPARTAMENTO DE CONTROL DE ARMAS]]></text>
</staticText>
<image>
<reportElement x="10" y="0" width="70" height="70" uuid="5c1c706c-0485-4d8f-be4c-9ad18ad76225">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{pathLogoIzquierda}]]></imageExpression>
</image>
<image>
<reportElement x="526" y="0" width="80" height="80" uuid="560083e4-2ae5-4b08-9886-6b1c828f2fe1">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{pathLogoDerecha}]]></imageExpression>
</image>
</band>
</title>
<pageHeader>
<band height="362" splitType="Stretch">
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement key="" style="title2" x="2" y="13" width="68" height="16" forecolor="#000000" uuid="bf546321-b696-444e-9331-48df8355cd1c">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Oficio No.]]></text>
</staticText>
<textField>
<reportElement x="70" y="13" width="190" height="16" uuid="f125f359-567b-4a83-a550-585d0b9a9d96">
<property name="local_mesure_unity" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box topPadding="2"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{numeroTramite}]]></textFieldExpression>
</textField>
<staticText>
<reportElement style="title2" x="0" y="45" width="51" height="16" forecolor="#000000" uuid="7cdcdcd3-52d3-4358-ae9b-95fd2c8c2fe6"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Asunto:]]></text>
</staticText>
<staticText>
<reportElement style="title2" x="50" y="45" width="141" height="16" forecolor="#000000" uuid="4a2bac9b-20cf-44a7-a2e1-f518dfecc579"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Registro de Inscripción]]></text>
</staticText>
<staticText>
<reportElement style="title2" x="1" y="60" width="49" height="16" forecolor="#000000" uuid="191438a4-9ff9-4dc6-9486-a81e748a106a"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Sr/Sra:]]></text>
</staticText>
<textField>
<reportElement x="50" y="60" width="190" height="16" uuid="3668e2ba-20b8-477b-96fd-5abaa308abb9">
<property name="local_mesure_unity" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box topPadding="2"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{nombrepersona}]]></textFieldExpression>
</textField>
<staticText>
<reportElement style="title2" x="0" y="76" width="270" height="16" forecolor="#000000" uuid="18931ec8-4a1b-4a18-8f9b-251633af3857"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<text><![CDATA[REPRESENTANTE LEGAL DE LA COMPAÑÍA:]]></text>
</staticText>
<textField>
<reportElement x="270" y="76" width="270" height="16" uuid="578028dd-ae02-4cb1-9d07-3beafac8df56">
<property name="local_mesure_unity" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box topPadding="2"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{nombreCompania}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="110" width="610" height="13" uuid="3fff92ff-8b1c-4897-82d5-013d536a8ac0"/>
<text><![CDATA[En su despacho.-]]></text>
</staticText>
<staticText>
<reportElement x="0" y="150" width="610" height="40" uuid="88b2c0ee-f45e-4c3b-abea-f316c4f54d0f"/>
<text><![CDATA[Por medio del presente comunico a usted, Sr/Sra. Representante Legal, que de a conformidad con lo previsto en el Artículo 11 de la Ley de Vigilancia y Seguridad Privada, se ha procedido a inscribir en los archivos de la Dirección de Logística del Comando Conjunto de las Fuerzas Armadas, a la Compañía de Seguridad Privada]]></text>
</staticText>
<textField>
<reportElement x="252" y="174" width="354" height="16" uuid="b25ed415-6d03-4441-8158-d4939036cd77">
<property name="local_mesure_unity" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box topPadding="2"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{nombreCompania}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="2" y="190" width="138" height="19" uuid="a244587b-3cc5-41b7-a64b-e359d51e1df4"/>
<text><![CDATA[con domicilio en la ciudad de:]]></text>
</staticText>
<textField>
<reportElement x="140" y="190" width="354" height="16" uuid="78ddeb32-ea5e-401d-99ef-c39f4c2fc39f">
<property name="local_mesure_unity" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box topPadding="2"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{ciudad}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="250" width="610" height="50" uuid="85651977-b3aa-4ea4-9f19-c22d47236714"/>
<text><![CDATA[Adicional informo, que esta inscripción no ampara su funcionamiento mientras no haya obtenido la Autorización de Tenencia de Armas otorgado por este Organismo, de acuerdo a lo que establece el Art.15 del Reglamento a la Ley de Vigilancia y Seguridad Privada]]></text>
</staticText>
<staticText>
<reportElement x="0" y="310" width="610" height="20" uuid="9b09c86a-748b-4ab7-b616-096982871af9"/>
<text><![CDATA[Atentamente,]]></text>
</staticText>
</band>
</pageHeader>
<summary>
<band height="200" splitType="Stretch">
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement style="title2" x="-1" y="6" width="183" height="16" forecolor="#000000" uuid="80a71776-8661-414a-b5d1-33f9787d7243"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<text><![CDATA[DIOS,PATRIA Y LIBERTAD:]]></text>
</staticText>
<textField>
<reportElement x="10" y="26" width="100" height="40" uuid="4c80ec3c-b50f-471b-a260-b2627b30b69e"/>
<textFieldExpression><![CDATA[" "]]></textFieldExpression>
</textField>
<staticText>
<reportElement style="title2" x="1" y="83" width="190" height="16" forecolor="#000000" uuid="eb15c8a0-9997-4e67-aa0d-f551f0abb9d4"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<text><![CDATA[(FIRMA DIGITAL)]]></text>
</staticText>
<staticText>
<reportElement style="title2" x="1" y="103" width="190" height="16" forecolor="#000000" uuid="59e20a49-9f00-42af-b88c-8bd546f507df"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<text><![CDATA[COORDINADOR MILITAR]]></text>
</staticText>
</band>
</summary>
</jasperReport>