Versão com ajustes nos paragrafos das materias

parent eb365d2f
/META-INF/
/content/
/mprj/
/META-INF/
......@@ -298,5 +298,6 @@
.datepicker {
width: 248px !important;
height: 335px !important;
height: 290px !important;
}
......@@ -63,7 +63,7 @@
<div class='campo <%=errDataNula || errHorarioLimite ? cssErro : "" %>' >
<label><liferay-ui:message key="admin.form.agendamento.data.divulgacao"/></label>
<div class="form-group">
<div class='input-group date' id='datepickeragendamento' style="width: 31%;">
<div class='input-group date' id='datepickeragendamento' style="width: 31%;max-height: 273px;">
<input class="form-control" name="<portlet:namespace/>dataP" id="<portlet:namespace/>dataP" onpaste="return false;" ondrop="return false;"/>
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
......@@ -72,12 +72,12 @@
</div>
<liferay-ui:error key="erroDataNula" message="Uma data deve ser selecionada." />
</div>
<aui:button-row>
<aui:button type="reset" id="limparFormDO" name="limparFormDO" value="Limpar" />
<aui:button type="submit" id="enviarFormDO" name="enviarFormDO" value="Gerar Caderno" />
<aui:button type="button" id="jobForm" name="jobForm" class="oculto" style="display: none" value="no aperte" />
</aui:button-row>
</div>
</aui:form>
......
......@@ -137,8 +137,8 @@ public class MprjDoerjCadernoPortlet extends MVCPortlet {
RestServices rest = new RestServices();
String dataDivulgacaoRest = dataDivulgacao.replace("/", "");
listaConteudos = rest.getRest(dataDivulgacaoRest,idStatus,actionRequest);
SessionMessages.add(actionRequest, PortalUtil.getPortletId(actionRequest) + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_SUCCESS_MESSAGE);
//SessionMessages.add(actionRequest, PortalUtil.getPortletId(actionRequest) + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_SUCCESS_MESSAGE);
SessionMessages.add(actionRequest, PortalUtil.getPortletId(actionRequest));
if(!mensagensDeErro(listaConteudos, dataDivulgacao, actionRequest)){
GeraCaderno caderno = new GeraCaderno();
......
......@@ -30,9 +30,9 @@ public class RestServices {
//RestTemplate restTemplate = new RestTemplate();
RestTemplate restTemp = new RestTemplate();
//ResponseEntity<String> result = restTemp.getForEntity(uri, String.class);
ResponseEntity<String> result = restTemp.getForEntity(uri, String.class);
//ResponseEntity<String> result = new ResponseEntity<String>("{\"Materias\":{\"materia\":[{\"CONTEUDO\":\"<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm&quot;><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>O MINISTRIO PBLICO DO ESTADO DO RIO DE JANEIRO, atravs da 2</span><span style=&quot;font&ndash;size:10.0pt;color:#222222;background:white&quot;>a</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;Promotoria de Justia Criminal de Angra dos Reis, vem COMUNICAR aos investigados CLAUDINEI JUNIOR DE OLIVEIRA,&nbsp;identidade n 30939776&ndash;8</span><span style=&quot;font&ndash;size:13.5pt;color:black;background:white&quot;>,</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;e JESUS GOMES DA SILVA, identidade&nbsp;</span><span new=&quot;&quot; roman=&quot;&quot; times=&quot;&quot;><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;>n 34357883&ndash;7,</span></span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;que, nos autos do Procedimento n&nbsp;</span><span style=&quot;font&ndash;size:13.5pt;color:black;background:white&quot;>0006428&ndash;91.20202.8.19.0066</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>, houve recusa, por ausncia de requisitos legais, de formulao de Proposta de Acordo de No Persecuo Penal, para os fins previstos no 14 do artigo 28&ndash;A, do Código de Processo Penal.&nbsp;</span><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p></o:p></span></p>\\n\\n<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm;font&ndash;variant&ndash;ligatures: normal;font&ndash;variant&ndash;caps: normal;orphans: 2;text&ndash;align:start;widows: 2;&ndash;webkit&ndash;text&ndash;stroke&ndash;width: 0px;text&ndash;decoration&ndash;style: initial;text&ndash;decoration&ndash;color: initial;word&ndash;spacing:0px&quot;><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p>&nbsp;</o:p></span></p>\\n\\n<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm;font&ndash;variant&ndash;ligatures: normal;font&ndash;variant&ndash;caps: normal;orphans: 2;text&ndash;align:start;widows: 2;&ndash;webkit&ndash;text&ndash;stroke&ndash;width: 0px;text&ndash;decoration&ndash;style: initial;text&ndash;decoration&ndash;color: initial;word&ndash;spacing:0px&quot;><span style=&quot;font&ndash;size:13.5pt;color:black&quot;>Ficam os investigados, ainda, a contar desta publicação, cientificados da fluência do prazo previsto no artigo 6º, da Resolução GPGJ/CGMP Nº 20, de 23 de janeiro de 2020.</span><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p></o:p></span></p>\",\"IDMATERIA\":42456,\"ORGAO\":\"GERÊNCIA DE PORTAL E PROGRAMAÇÃO VISUAL\",\"NOME\":\"Decisão da Comissão de Concurso\",\"POSICAO\":10},{\"CONTEUDO\":\"<table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>\\n\\t<tbody>\\n\\t\\t<tr>\\n\\t\\t\\t<td style=&quot;width:653px;&quot;>\\n\\t\\t\\t<p align=&quot;center&quot;>&nbsp;</p>\\n\\n\\t\\t\\t<p align=&quot;center&quot;><strong><u>AGENDA IERBB/MPRJ</u></strong></p>\\n\\n\\t\\t\\t<p align=&quot;center&quot;><strong>Período de 08 a 22.06.2020</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;>O <strong>INSTITUTO DE EDUCAÇÃO ROBERTO BERNARDES BARROSO (IERBB/MPRJ)</strong> INFORMA aos membros e servidores do MPRJ o lançamento de <strong>novos vídeos e episódios de <em>podcasts, </em></strong>bem como os <strong>cursos e palestras com inscrições abertas</strong>.</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>WEBINARS</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Palestras que ocorrem em um único dia por meio das ferramentas de videoconferência, substituindo os eventos presenciais.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;19/06 &ndash;&nbsp;</strong><a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_19_WebinarMinistro.pdf&quot; target=&quot;_blank&quot;>Ministério Público, Pandemia e Decisões Judiciais &ndash; Ministro Luís Roberto Barroso.</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB CONECTA</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Série de Seminários on&ndash;line promovidos pelo IERBB/MPRJ que ocorrem durante a semana, sempre às 14h30min.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;08/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_08_Conecta.pdf&quot; target=&quot;_blank&quot;>Lei 13431/17 &ndash; Lei da escuta protegida de crianças e adolescentes. Discussão jurídica e fundamentos das. técnicas de coleta de testemunho</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;09/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_09_Conecta.pdf&quot; target=&quot;_blank&quot;>A experiência dos Centros de Atendimento Integrado (CAACs) e do atendimento especial de crianças e adolescentes no Estado do Rio de Janeiro.</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;10/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_10_Conecta.pdf&quot; target=&quot;_blank&quot;>O Ministério Público na defesa da igualdade racial</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;17/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_17_Conecta.pdf&quot; target=&quot;_blank&quot;>União Estável e União Civil: um diálogo Brasil&ndash;Portugal</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;18/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_18_Conecta.pdf&quot; target=&quot;_blank&quot;>Edificando o Controle Interno</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;22/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_22_Conecta.pdf&quot; target=&quot;_blank&quot;>Atuação do MP em saúde mental e o projeto &quot;Saúde Mental é Mais Legal&quot;</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>CURSOS DE CAPACITAÇAO</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Cursos com aulas regulares com temas inerentes às atividades fim e meio do ministério público, onde é necessária a participação em 75% das aulas para obtenção de certificado.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;16/06 &ndash;&nbsp;</strong><a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_16_IRDR.pdf&quot; target=&quot;_blank&quot;>Curso de julgamentos repetitivos e a atuação do MPRJ: IRDR sob a perspectiva das funções institucionais do ministério</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB CAST</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>O Podcast do IERBB/MPRJ. Episódios com convidados especialistas em diversos temas relativos à atuação do Ministério Público na sociedade. Disponível no site do IERBB, Spotify e no Soundcloud.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;08/06</strong>&nbsp;&ndash; Temas Relevantes sobre Crimes Sexuais &ndash; Roberta La Place.</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;15/06</strong>&nbsp;&ndash; A importância da representação institucional do Ministério Público &ndash; Jarbas Soares Júnior</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB IDEIAS</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Vídeos curtos com reflexões, propostas e novos olhares sobre o mundo e a vida em sociedade, feitos por especialistas em diversos temas. Disponibilizamos em nosso site, canal no YouTube e Facebook</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;12/06</strong>&nbsp;&ndash; As 7 Lições para um Mundo Pós&ndash;Pandêmico &ndash; André Bello</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;19/06</strong>&nbsp;&ndash; A vida das crianças na pandemia &ndash; Angela Borba</p>\\n\\t\\t\\t</td>\\n\\t\\t</tr>\\n\\t</tbody>\\n</table>\\n\\n<div style=&quot;clear:both;&quot;>&nbsp;</div>\",\"IDMATERIA\":42455,\"ORGAO\":\"GERÊNCIA DE PORTAL E PROGRAMAÇÃO VISUAL\",\"NOME\":\"Edital-Pauta do Órgão Especial do Colégio de Procuradores de Justiça\",\"POSICAO\":500}]}}", HttpStatus.OK);
ResponseEntity<String> result = new ResponseEntity<String>("{\"Materias\":{\"materia\":[{\"CONTEUDO\":\"<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm&quot;><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>O MINISTRIO PBLICO DO ESTADO DO RIO DE JANEIRO, atravs da 2</span><span style=&quot;font&ndash;size:10.0pt;color:#222222;background:white&quot;>a</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;Promotoria de Justia Criminal de Angra dos Reis, vem COMUNICAR aos investigados CLAUDINEI JUNIOR DE OLIVEIRA,&nbsp;identidade n 30939776&ndash;8</span><span style=&quot;font&ndash;size:13.5pt;color:black;background:white&quot;>,</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;e JESUS GOMES DA SILVA, identidade&nbsp;</span><span new=&quot;&quot; roman=&quot;&quot; times=&quot;&quot;><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;>n 34357883&ndash;7,</span></span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;que, nos autos do Procedimento n&nbsp;</span><span style=&quot;font&ndash;size:13.5pt;color:black;background:white&quot;>0006428&ndash;91.20202.8.19.0066</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>, houve recusa, por ausncia de requisitos legais, de formulao de Proposta de Acordo de No Persecuo Penal, para os fins previstos no 14 do artigo 28&ndash;A, do Cdigo de Processo Penal.&nbsp;</span><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p></o:p></span></p>\\n\\n<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm;font&ndash;variant&ndash;ligatures: normal;font&ndash;variant&ndash;caps: normal;orphans: 2;text&ndash;align:start;widows: 2;&ndash;webkit&ndash;text&ndash;stroke&ndash;width: 0px;text&ndash;decoration&ndash;style: initial;text&ndash;decoration&ndash;color: initial;word&ndash;spacing:0px&quot;><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p>&nbsp;</o:p></span></p>\\n\\n<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm;font&ndash;variant&ndash;ligatures: normal;font&ndash;variant&ndash;caps: normal;orphans: 2;text&ndash;align:start;widows: 2;&ndash;webkit&ndash;text&ndash;stroke&ndash;width: 0px;text&ndash;decoration&ndash;style: initial;text&ndash;decoration&ndash;color: initial;word&ndash;spacing:0px&quot;><span style=&quot;font&ndash;size:13.5pt;color:black&quot;>Ficam os investigados, ainda, a contar desta publicao, cientificados da fluncia do prazo previsto no artigo 6, da Resoluo GPGJ/CGMP N 20, de 23 de janeiro de 2020.</span><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p></o:p></span></p>\",\"IDMATERIA\":42456,\"ORGAO\":\"GERNCIA DE PORTAL E PROGRAMAO VISUAL\",\"NOME\":\"Deciso da Comisso de Concurso\",\"POSICAO\":10},{\"CONTEUDO\":\"<table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>\\n\\t<tbody>\\n\\t\\t<tr>\\n\\t\\t\\t<td style=&quot;width:653px;&quot;>\\n\\t\\t\\t<p align=&quot;center&quot;>&nbsp;</p>\\n\\n\\t\\t\\t<p align=&quot;center&quot;><strong><u>AGENDA IERBB/MPRJ</u></strong></p>\\n\\n\\t\\t\\t<p align=&quot;center&quot;><strong>Perodo de 08 a 22.06.2020</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;>O <strong>INSTITUTO DE EDUCAO ROBERTO BERNARDES BARROSO (IERBB/MPRJ)</strong> INFORMA aos membros e servidores do MPRJ o lanamento de <strong>novos vdeos e episdios de <em>podcasts, </em></strong>bem como os <strong>cursos e palestras com inscries abertas</strong>.</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>WEBINARS</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Palestras que ocorrem em um nico dia por meio das ferramentas de videoconferncia, substituindo os eventos presenciais.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;19/06 &ndash;&nbsp;</strong><a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_19_WebinarMinistro.pdf&quot; target=&quot;_blank&quot;>Ministrio Pblico, Pandemia e Decises Judiciais &ndash; Ministro Lus Roberto Barroso.</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB CONECTA</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Srie de Seminrios on&ndash;line promovidos pelo IERBB/MPRJ que ocorrem durante a semana, sempre s 14h30min.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;08/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_08_Conecta.pdf&quot; target=&quot;_blank&quot;>Lei 13431/17 &ndash; Lei da escuta protegida de crianas e adolescentes. Discusso jurdica e fundamentos das. tcnicas de coleta de testemunho</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;09/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_09_Conecta.pdf&quot; target=&quot;_blank&quot;>A experincia dos Centros de Atendimento Integrado (CAACs) e do atendimento especial de crianas e adolescentes no Estado do Rio de Janeiro.</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;10/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_10_Conecta.pdf&quot; target=&quot;_blank&quot;>O Ministrio Pblico na defesa da igualdade racial</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;17/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_17_Conecta.pdf&quot; target=&quot;_blank&quot;>Unio Estvel e Unio Civil: um dilogo Brasil&ndash;Portugal</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;18/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_18_Conecta.pdf&quot; target=&quot;_blank&quot;>Edificando o Controle Interno</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;22/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_22_Conecta.pdf&quot; target=&quot;_blank&quot;>Atuao do MP em sade mental e o projeto &quot;Sade Mental Mais Legal&quot;</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>CURSOS DE CAPACITAAO</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Cursos com aulas regulares com temas inerentes s atividades fim e meio do ministrio pblico, onde necessria a participao em 75% das aulas para obteno de certificado.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;16/06 &ndash;&nbsp;</strong><a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_16_IRDR.pdf&quot; target=&quot;_blank&quot;>Curso de julgamentos repetitivos e a atuao do MPRJ: IRDR sob a perspectiva das funes institucionais do ministrio</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB CAST</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>O Podcast do IERBB/MPRJ. Episdios com convidados especialistas em diversos temas relativos atuao do Ministrio Pblico na sociedade. Disponvel no site do IERBB, Spotify e no Soundcloud.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;08/06</strong>&nbsp;&ndash; Temas Relevantes sobre Crimes Sexuais &ndash; Roberta La Place.</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;15/06</strong>&nbsp;&ndash; A importncia da representao institucional do Ministrio Pblico &ndash; Jarbas Soares Jnior</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB IDEIAS</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Vdeos curtos com reflexes, propostas e novos olhares sobre o mundo e a vida em sociedade, feitos por especialistas em diversos temas. Disponibilizamos em nosso site, canal no YouTube e Facebook</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;12/06</strong>&nbsp;&ndash; As 7 Lies para um Mundo Ps&ndash;Pandmico &ndash; Andr Bello</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;19/06</strong>&nbsp;&ndash; A vida das crianas na pandemia &ndash; Angela Borba</p>\\n\\t\\t\\t</td>\\n\\t\\t</tr>\\n\\t</tbody>\\n</table>\\n\\n<div style=&quot;clear:both;&quot;>&nbsp;</div>\",\"IDMATERIA\":42455,\"ORGAO\":\"GERNCIA DE PORTAL E PROGRAMAO VISUAL\",\"NOME\":\"Edital-Pauta do rgo Especial do Colgio de Procuradores de Justia\",\"POSICAO\":500}]}}", HttpStatus.OK);
//ResponseEntity<String> result = new ResponseEntity<String>("{\"Materias\":{\"materia\":[{\"CONTEUDO\":\"<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm&quot;><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>O MINISTRIO PBLICO DO ESTADO DO RIO DE JANEIRO, atravs da 2</span><span style=&quot;font&ndash;size:10.0pt;color:#222222;background:white&quot;>a</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;Promotoria de Justia Criminal de Angra dos Reis, vem COMUNICAR aos investigados CLAUDINEI JUNIOR DE OLIVEIRA,&nbsp;identidade n 30939776&ndash;8</span><span style=&quot;font&ndash;size:13.5pt;color:black;background:white&quot;>,</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;e JESUS GOMES DA SILVA, identidade&nbsp;</span><span new=&quot;&quot; roman=&quot;&quot; times=&quot;&quot;><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;>n 34357883&ndash;7,</span></span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>&nbsp;que, nos autos do Procedimento n&nbsp;</span><span style=&quot;font&ndash;size:13.5pt;color:black;background:white&quot;>0006428&ndash;91.20202.8.19.0066</span><span style=&quot;font&ndash;size:13.5pt;color:#222222;background:white&quot;>, houve recusa, por ausncia de requisitos legais, de formulao de Proposta de Acordo de No Persecuo Penal, para os fins previstos no 14 do artigo 28&ndash;A, do Cdigo de Processo Penal.&nbsp;</span><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p></o:p></span></p>\\n\\n<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm;font&ndash;variant&ndash;ligatures: normal;font&ndash;variant&ndash;caps: normal;orphans: 2;text&ndash;align:start;widows: 2;&ndash;webkit&ndash;text&ndash;stroke&ndash;width: 0px;text&ndash;decoration&ndash;style: initial;text&ndash;decoration&ndash;color: initial;word&ndash;spacing:0px&quot;><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p>&nbsp;</o:p></span></p>\\n\\n<p class=&quot;western&quot; style=&quot;margin&ndash;top:0cm;margin&ndash;right:0cm;margin&ndash;bottom:7.5pt;margin&ndash;left:0cm;font&ndash;variant&ndash;ligatures: normal;font&ndash;variant&ndash;caps: normal;orphans: 2;text&ndash;align:start;widows: 2;&ndash;webkit&ndash;text&ndash;stroke&ndash;width: 0px;text&ndash;decoration&ndash;style: initial;text&ndash;decoration&ndash;color: initial;word&ndash;spacing:0px&quot;><span style=&quot;font&ndash;size:13.5pt;color:black&quot;>Ficam os investigados, ainda, a contar desta publicao, cientificados da fluncia do prazo previsto no artigo 6, da Resoluo GPGJ/CGMP N 20, de 23 de janeiro de 2020.</span><span helvetica=&quot;&quot; style=&quot;font&ndash;size:10.5pt;font&ndash;family:&quot;><o:p></o:p></span></p>\",\"IDMATERIA\":42456,\"ORGAO\":\"GERNCIA DE PORTAL E PROGRAMAO VISUAL\",\"NOME\":\"Deciso da Comisso de Concurso\",\"POSICAO\":10},{\"CONTEUDO\":\"<table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>\\n\\t<tbody>\\n\\t\\t<tr>\\n\\t\\t\\t<td style=&quot;width:653px;&quot;>\\n\\t\\t\\t<p align=&quot;center&quot;>&nbsp;</p>\\n\\n\\t\\t\\t<p align=&quot;center&quot;><strong><u>AGENDA IERBB/MPRJ</u></strong></p>\\n\\n\\t\\t\\t<p align=&quot;center&quot;><strong>Perodo de 08 a 22.06.2020</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;>O <strong>INSTITUTO DE EDUCAO ROBERTO BERNARDES BARROSO (IERBB/MPRJ)</strong> INFORMA aos membros e servidores do MPRJ o lanamento de <strong>novos vdeos e episdios de <em>podcasts, </em></strong>bem como os <strong>cursos e palestras com inscries abertas</strong>.</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>WEBINARS</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Palestras que ocorrem em um nico dia por meio das ferramentas de videoconferncia, substituindo os eventos presenciais.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;19/06 &ndash;&nbsp;</strong><a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_19_WebinarMinistro.pdf&quot; target=&quot;_blank&quot;>Ministrio Pblico, Pandemia e Decises Judiciais &ndash; Ministro Lus Roberto Barroso.</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB CONECTA</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Srie de Seminrios on&ndash;line promovidos pelo IERBB/MPRJ que ocorrem durante a semana, sempre s 14h30min.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;08/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_08_Conecta.pdf&quot; target=&quot;_blank&quot;>Lei 13431/17 &ndash; Lei da escuta protegida de crianas e adolescentes. Discusso jurdica e fundamentos das. tcnicas de coleta de testemunho</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;09/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_09_Conecta.pdf&quot; target=&quot;_blank&quot;>A experincia dos Centros de Atendimento Integrado (CAACs) e do atendimento especial de crianas e adolescentes no Estado do Rio de Janeiro.</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;10/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_10_Conecta.pdf&quot; target=&quot;_blank&quot;>O Ministrio Pblico na defesa da igualdade racial</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;17/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_17_Conecta.pdf&quot; target=&quot;_blank&quot;>Unio Estvel e Unio Civil: um dilogo Brasil&ndash;Portugal</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;18/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_18_Conecta.pdf&quot; target=&quot;_blank&quot;>Edificando o Controle Interno</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;22/06</strong>&nbsp;&ndash;&nbsp;<a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_22_Conecta.pdf&quot; target=&quot;_blank&quot;>Atuao do MP em sade mental e o projeto &quot;Sade Mental Mais Legal&quot;</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>CURSOS DE CAPACITAAO</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Cursos com aulas regulares com temas inerentes s atividades fim e meio do ministrio pblico, onde necessria a participao em 75% das aulas para obteno de certificado.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;16/06 &ndash;&nbsp;</strong><a href=&quot;https://ierbb.mprj.mp.br/ci/2020_06_16_IRDR.pdf&quot; target=&quot;_blank&quot;>Curso de julgamentos repetitivos e a atuao do MPRJ: IRDR sob a perspectiva das funes institucionais do ministrio</a></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB CAST</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>O Podcast do IERBB/MPRJ. Episdios com convidados especialistas em diversos temas relativos atuao do Ministrio Pblico na sociedade. Disponvel no site do IERBB, Spotify e no Soundcloud.</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;08/06</strong>&nbsp;&ndash; Temas Relevantes sobre Crimes Sexuais &ndash; Roberta La Place.</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;15/06</strong>&nbsp;&ndash; A importncia da representao institucional do Ministrio Pblico &ndash; Jarbas Soares Jnior</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>IERBB IDEIAS</strong></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><em>Vdeos curtos com reflexes, propostas e novos olhares sobre o mundo e a vida em sociedade, feitos por especialistas em diversos temas. Disponibilizamos em nosso site, canal no YouTube e Facebook</em></p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;12/06</strong>&nbsp;&ndash; As 7 Lies para um Mundo Ps&ndash;Pandmico &ndash; Andr Bello</p>\\n\\n\\t\\t\\t<p style=&quot;margin&ndash;left:14.2pt;&quot;><strong>&ndash;&nbsp;19/06</strong>&nbsp;&ndash; A vida das crianas na pandemia &ndash; Angela Borba</p>\\n\\t\\t\\t</td>\\n\\t\\t</tr>\\n\\t</tbody>\\n</table>\\n\\n<div style=&quot;clear:both;&quot;>&nbsp;</div>\",\"IDMATERIA\":42455,\"ORGAO\":\"GERNCIA DE PORTAL E PROGRAMAO VISUAL\",\"NOME\":\"Edital-Pauta do rgo Especial do Colgio de Procuradores de Justia\",\"POSICAO\":500}]}}", HttpStatus.OK);
JSONObject obj = new JSONObject(result.getBody());
......
......@@ -4,6 +4,7 @@ import com.liferay.portal.kernel.exception.SystemException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Locale;
......@@ -50,15 +51,18 @@ public class CadernoUtil {
textoHtml = tratarTagsHtml(textoHtml,"sup","manterTags");
textoHtml = tratarTagsHtml(textoHtml,"blockquote","manterTags");
textoHtml = textoHtml.replaceAll("data:image=&quot;&quot;", "");
textoHtml = textoHtml.replaceAll("\"", "");
textoHtml = textoHtml.replaceAll("&ndash;", "-");
textoHtml = textoHtml.replaceAll("<p>&nbsp;</p>", "");
textoHtml = textoHtml.replaceAll("&nbsp;", " ");
textoHtml = textoHtml.replaceAll("&quot;", "'");
textoHtml = textoHtml.replaceAll("h2", "p");
textoHtml = textoHtml.replaceAll("h5", "p");
textoHtml = textoHtml.replaceAll("h1", "p");
textoHtml = textoHtml.replaceAll("o:p", "p");
//"<p>&nbsp;</p>"
String primeirosChar="";
......@@ -66,11 +70,14 @@ public class CadernoUtil {
if (!primeirosChar.equals("<p>")&& !tipo.equals("conteudoPrimeiraPagina")){
textoHtml = "<p align='JUSTIFY'>" + textoHtml + "</p>";
//textoHtml = "<p>" + textoHtml + "</p>";
}
if(tipo.equals("conteudo")){
textoHtml = "<body><head><style type='" + "text/css'" + ">p{font-family:Spranq eco sans;font-size:12px;} </style></head>" + textoHtml + "<p></p></body>";
//textoHtml = "<body><head><style type='" + "text/css'" + ">p{font-family:Spranq eco sans;font-size:12px;} </style></head>" + textoHtml + "<p></p></body>";
textoHtml = "<body><head><style type='" + "text/css'" + ">p{font-family:Spranq eco sans;font-size:12px;} </style></head>" + textoHtml + "</body>";
}
}
......@@ -412,6 +419,6 @@ public static String gerarDataCabecalho(String data) throws ParseException{
resultado=diaSemanaStr + " | " + dia + " de " + mesStr + " de " + ano;
return resultado;
}
}
}
package mprj.doerj.caderno.util;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.servlet.SessionErrors;
import com.liferay.portal.kernel.servlet.SessionMessages;
import com.liferay.portal.kernel.theme.ThemeDisplay;
import com.liferay.portal.kernel.util.ContentTypes;
import com.liferay.portal.kernel.util.PortalUtil;
......@@ -252,6 +254,7 @@ public class GeraCaderno {
exportFile.delete();
}
}
}
......@@ -298,5 +298,6 @@
.datepicker {
width: 248px !important;
height: 335px !important;
height: 290px !important;
}
......@@ -63,7 +63,7 @@
<div class='campo <%=errDataNula || errHorarioLimite ? cssErro : "" %>' >
<label><liferay-ui:message key="admin.form.agendamento.data.divulgacao"/></label>
<div class="form-group">
<div class='input-group date' id='datepickeragendamento' style="width: 31%;">
<div class='input-group date' id='datepickeragendamento' style="width: 31%;max-height: 273px;">
<input class="form-control" name="<portlet:namespace/>dataP" id="<portlet:namespace/>dataP" onpaste="return false;" ondrop="return false;"/>
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
......@@ -72,12 +72,12 @@
</div>
<liferay-ui:error key="erroDataNula" message="Uma data deve ser selecionada." />
</div>
<aui:button-row>
<aui:button type="reset" id="limparFormDO" name="limparFormDO" value="Limpar" />
<aui:button type="submit" id="enviarFormDO" name="enviarFormDO" value="Gerar Caderno" />
<aui:button type="button" id="jobForm" name="jobForm" class="oculto" style="display: none" value="no aperte" />
</aui:button-row>
</div>
</aui:form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment