Blame | Last modification | View Log | Download | RSS feed
<?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="relatorio_observacoes" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="96b0c032-951b-4918-9418-1135f2e13659"><property name="ireport.zoom" value="3.4522712143931042"/><property name="ireport.x" value="0"/><property name="ireport.y" value="608"/><parameter name="pSequencialGrupoAvaliacao" class="java.lang.Long"><defaultValueExpression><![CDATA[]]></defaultValueExpression></parameter><parameter name="pCodigoUnidadeExercicio" class="java.lang.Long"><defaultValueExpression><![CDATA[]]></defaultValueExpression></parameter><parameter name="pAnoCronograma" class="java.lang.Long"/><parameter name="IMAGEM_DIR" class="java.lang.String"><defaultValueExpression><![CDATA["c://"]]></defaultValueExpression></parameter><parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"><defaultValueExpression><![CDATA[""]]></defaultValueExpression></parameter><parameter name="pMatriculaServidor" class="java.lang.Long"><defaultValueExpression><![CDATA[]]></defaultValueExpression></parameter><parameter name="pNomeUsuario" class="java.lang.String"/><parameter name="pCpfUsuario" class="java.lang.String"/><queryString><![CDATA[SELECTad.seq_servidor_dadofuncional,ad.dsc_unidade_cadastro unidade,ad.dsc_grupo_avaliacao grupoAvaliacao,ad.num_cpf numeroCpf,ad.nom_pessoa nomeServidor,(ad.num_matricula_servidor || '-' || ad.num_digito_matricula) matricula_servidor,qd.dsc_questao_avaliadesemp pergunta,ade.dsc_resposta_aberta respostaFROM sc_rhd.vw_avaliacao_desempenho adJOIN sc_rhd.rhd_avaliacao_desempenho ade ON (ade.seq_servidor_dadofuncional = ad.seq_servidor_dadofuncional)JOIN sc_rhd.rhd_questao_avaliadesemp qd ON (ade.seq_questao_avaliacao = qd.seq_questao_avaliadesemp AND qd.tip_avaliacao_desempenho = 'U' and qd.tip_questao = 'A')where ad.num_ano = $P{pAnoCronograma}and (ad.seq_grupo_avaliacao = $P{pSequencialGrupoAvaliacao} OR $P{pSequencialGrupoAvaliacao} IS NULL)and (ad.cod_unidade_cadastro = $P{pCodigoUnidadeExercicio} OR $P{pCodigoUnidadeExercicio} IS NULL)and (ad.num_matricula_servidor = $P{pMatriculaServidor} OR $P{pMatriculaServidor} IS NULL)ORDER BY ad.dsc_unidade_cadastro, ad.dsc_grupo_avaliacao, ad.nom_pessoa]]></queryString><field name="seq_servidor_dadofuncional" class="java.lang.Long"/><field name="unidade" class="java.lang.String"/><field name="grupoavaliacao" class="java.lang.String"/><field name="numerocpf" class="java.lang.String"/><field name="nomeservidor" class="java.lang.String"/><field name="matricula_servidor" class="java.lang.String"/><field name="pergunta" class="java.lang.String"/><field name="resposta" class="java.lang.String"/><group name="unidade_exercicio"><groupExpression><![CDATA[$F{unidade}]]></groupExpression><groupHeader><band height="42"><textField isStretchWithOverflow="true"><reportElement uuid="1b7ae11b-d3df-4108-8e29-221b7e53a9d4" x="0" y="21" width="555" height="20"/><textElement verticalAlignment="Bottom"><font fontName="Arial" size="12" isBold="true" isUnderline="true" pdfFontName="Helvetica-Bold"/></textElement><textFieldExpression><![CDATA["UNIDADE: " + $F{unidade}]]></textFieldExpression></textField></band></groupHeader></group><group name="grupo_avaliacao"><groupExpression><![CDATA[$F{grupoavaliacao}]]></groupExpression><groupHeader><band height="26"><textField><reportElement uuid="f0d83fb9-02c2-42c5-9a2c-d618a8de2580" mode="Opaque" x="0" y="7" width="555" height="16" forecolor="#000000" backcolor="#A9A9A9"/><textElement verticalAlignment="Middle"><font fontName="Arial" isBold="true" isUnderline="false" pdfFontName="Helvetica-Bold"/></textElement><textFieldExpression><![CDATA[" GRUPO: " + $F{grupoavaliacao}]]></textFieldExpression></textField></band></groupHeader></group><group name="servidor_avaliacao"><groupExpression><![CDATA[$F{seq_servidor_dadofuncional}]]></groupExpression><groupHeader><band height="18"><rectangle><reportElement uuid="929d9137-2979-443b-a76d-d93458dbea93" x="0" y="0" width="555" height="14" forecolor="#DCDCDC" backcolor="#DCDCDC"/><graphicElement><pen lineWidth="0.0"/></graphicElement></rectangle><textField isStretchWithOverflow="true"><reportElement uuid="6061d8f0-769a-4fd2-9713-b0908f153b4c" x="316" y="0" width="55" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{matricula_servidor}]]></textFieldExpression></textField><textField isStretchWithOverflow="true"><reportElement uuid="a92ba739-a606-4b85-8c12-d540a5ba9a08" x="31" y="0" width="216" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{nomeservidor}]]></textFieldExpression></textField><textField isStretchWithOverflow="true"><reportElement uuid="04d5aaaa-8a49-4b1a-bc70-0a51baa44eba" x="429" y="0" width="74" height="14"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[($F{numerocpf} == null)? null : (($F{numerocpf}.trim().length() == 11)? $F{numerocpf}.trim().replaceAll("(\\d{3})(\\d{3})(\\d{3})(\\d{2})", "$1.$2.$3-$4") : $F{numerocpf})]]></textFieldExpression></textField><staticText><reportElement uuid="23f0c781-e4f0-45c5-bd32-15987a7bddde" x="261" y="0" width="54" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[Matrícula:]]></text></staticText><staticText><reportElement uuid="0d2e9575-caaa-4892-87d1-4192e87fa1d1" x="399" y="0" width="29" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[CPF:]]></text></staticText><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" x="0" y="0" width="30" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[Nome:]]></text></staticText></band></groupHeader></group><background><band splitType="Stretch"/></background><title><band height="145" splitType="Stretch"><textField isBlankWhenNull="false"><reportElement uuid="7e420030-8524-414a-9258-b8ff749fc009" x="0" y="116" width="555" height="15"/><textElement textAlignment="Center"><font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="false"/></textElement><textFieldExpression><![CDATA["CRONOGRAMA: " + $P{pAnoCronograma}]]></textFieldExpression></textField><image hAlign="Right"><reportElement uuid="9cc0d6bd-ba27-4a57-903c-0182a11a1f53" x="259" y="1" width="48" height="59"/><imageExpression><![CDATA[$P{IMAGEM_DIR} + "brasao.jpg"]]></imageExpression></image><staticText><reportElement uuid="36f361c7-c2c5-4f4b-9918-4f375cff39d2" x="0" y="95" width="555" height="16" isPrintWhenDetailOverflows="true"/><textElement textAlignment="Center" verticalAlignment="Top"><font fontName="Arial" size="10" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="false"/></textElement><text><![CDATA[RELATÓRIO DE OBSERVAÇÕES]]></text></staticText><staticText><reportElement uuid="36f361c7-c2c5-4f4b-9918-4f375cff39d2" x="0" y="64" width="555" height="26"/><textElement textAlignment="Center"><font fontName="Arial" size="10" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="false"/></textElement><text><![CDATA[ESTADO DE ALAGOASSECRETARIA DE ESTADO DA SAÚDE DE ALAGOAS]]></text></staticText></band></title><pageHeader><band splitType="Stretch"/></pageHeader><detail><band height="38" splitType="Stretch"><line><reportElement uuid="0c98e0eb-c48d-4b4c-9a0b-913909cfb210" positionType="Float" x="0" y="32" width="555" height="1" isPrintWhenDetailOverflows="true"/><graphicElement><pen lineWidth="0.5" lineStyle="Dashed"/></graphicElement></line><textField isStretchWithOverflow="true" isBlankWhenNull="true"><reportElement uuid="11d1dab6-e787-499e-aa67-594ba712691c" positionType="Float" x="45" y="0" width="500" height="14" isPrintWhenDetailOverflows="true"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{pergunta}]]></textFieldExpression></textField><textField isStretchWithOverflow="true" isBlankWhenNull="true"><reportElement uuid="efa4cb36-bb17-4826-895a-abdfb4ec1267" positionType="Float" x="45" y="14" width="500" height="14" isPrintWhenDetailOverflows="true"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement><textFieldExpression><![CDATA[$F{resposta}]]></textFieldExpression></textField><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" positionType="Float" x="1" y="0" width="42" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[Pergunta:]]></text></staticText><staticText><reportElement uuid="0f0b30e9-81e0-45d8-a61b-90a41c3c317c" positionType="Float" x="1" y="14" width="42" height="14"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="8" isBold="true"/></textElement><text><![CDATA[Resposta:]]></text></staticText></band></detail><pageFooter><band height="19"><textField evaluationTime="Report" isBlankWhenNull="false"><reportElement uuid="506b9991-ff6d-43b5-ab78-2832586c3dda" key="textField" x="502" y="4" width="52" height="15"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="6" isBold="false"/></textElement><textFieldExpression><![CDATA["" + $V{PAGE_NUMBER} + ""]]></textFieldExpression></textField><textField isBlankWhenNull="false"><reportElement uuid="e5f06c72-11c0-479b-b234-4dcaf2bc0440" key="textField" x="428" y="4" width="73" height="15"/><textElement textAlignment="Right" verticalAlignment="Middle"><font fontName="Arial" size="6" isBold="false"/></textElement><textFieldExpression><![CDATA["PÁGINA " + $V{PAGE_NUMBER} + " DE "]]></textFieldExpression></textField><textField isBlankWhenNull="true"><reportElement uuid="0ad83100-9e7e-42de-97b6-51dc07b7dd68" x="0" y="4" width="374" height="15"/><textElement verticalAlignment="Middle"><font fontName="Arial" size="6" isBold="false"/></textElement><textFieldExpression><![CDATA["Gerado por " + $P{pNomeUsuario} + ", CPF: " + $P{pCpfUsuario} + new java.text.SimpleDateFormat("', em ' dd 'de' MMMMM 'de' yyyy ' às ' HH:mm", new Locale("pt", "BR")).format(new java.util.Date()).toUpperCase()]]></textFieldExpression></textField></band></pageFooter><summary><band splitType="Stretch"/></summary></jasperReport>