git-svn-id: https://svn.coded.pt/svn/SIPRP@982 bb69d46d-e84e-40c8-a05a-06db0d633741

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 17 years ago
parent c9f801f9db
commit bb65b9d918

@ -20,12 +20,13 @@ public class RelatorioPDFCreator
XMLOutputter outputter = new XMLOutputter();
ByteArrayOutputStream foBaos = new ByteArrayOutputStream();
outputter.output( foDoc, foBaos );
System.out.println( new String( foBaos.toByteArray() ) );
// System.out.println( new String( foBaos.toByteArray() ) );
byte fo[] =
applyTemplate(
getClass().getClassLoader().getResourceAsStream(
"siprp/higiene/relatorio/print/relatorio.xsl" ),
new ByteArrayInputStream( foBaos.toByteArray() ) );
new ByteArrayInputStream( foBaos.toByteArray() ) );
// System.out.println( new String( fo ) );
byte pdf[] = PDFCreator.getPDFCreator().createPdfFromFo( fo );
return pdf;
}

@ -98,7 +98,8 @@ public class RelatorioPrintDataProvider
new String[]{ "empresas.id", "empresas.designacao_social", "empresas.actividade",
"estabelecimentos.id", "estabelecimentos.nome",
"hs_relatorio.data", "marcacoes_estabelecimento.data",
"hs_relatorio.acompanhante1", "hs_relatorio.funcao_acompanhante1" },
"hs_relatorio.acompanhante1", "hs_relatorio.funcao_acompanhante1",
"hs_relatorio.funcionarios" },
new Field( "hs_relatorio.id" ).isEqual( id ),
null,
null,
@ -116,6 +117,7 @@ public class RelatorioPrintDataProvider
Date dataProximaVisita = getDataProximaVisita( estabelecimentoId, dataVisita );
String nomeAcompanhante = ( String ) array.get( 0, 7 );
String funcaoAcompanhante = ( String ) array.get( 0, 8 );
String textoFuncionarios = ( String ) array.get( 0, 9 );
EmpresaToPrint empresa = new EmpresaToPrint( nomeEmpresa,
"http://www.evolute.pt:13080/SIPRPImages/image?id=" + logoId,
nomeEstabelecimento, actividadeEmpresa,
@ -126,6 +128,8 @@ public class RelatorioPrintDataProvider
dataRelatorio != null ? new DataToPrint( "data-relatorio", dataRelatorio ) : null,
dataVisita != null ? new DataToPrint( "data-hs", dataVisita ) : null,
dataProximaVisita != null ? new DataToPrint( "data-proxima-hs", dataProximaVisita ) : null,
textoFuncionarios,
getTecnicoHS( id ),
getLegislacaoAplicavel( id ),
getNormalizacaoAplicavel( id ),
getEquipamento( id ),
@ -178,6 +182,45 @@ public class RelatorioPrintDataProvider
return array.columnLength() > 0 ? ( Integer ) array.get( 0, 0 ) : null;
}
public TecnicoHSToPrint getTecnicoHS( Integer relatorioId )
throws Exception
{
Select select =
new Select2(
new String[]{ "hs_relatorio", "marcacoes_estabelecimento", "marcacoes_tecnicos_hst" },
new Integer[]{ Select2.JOIN_INNER, Select2.JOIN_INNER },
new Expression[]{
new Field( "hs_relatorio.marcacao_id" ).isEqual( new Field( "marcacoes_estabelecimento.id" ) ),
new Field( "marcacoes_estabelecimento.tecnico_hst" ).isEqual( new Field( "marcacoes_tecnicos_hst.id" ) ),
},
new String[]{
"marcacoes_tecnicos_hst.id",
"marcacoes_tecnicos_hst.nome",
"marcacoes_tecnicos_hst.cap",
"marcacoes_tecnicos_hst.formacao",
"marcacoes_tecnicos_hst.assinatura",},
new Field( "hs_relatorio.id" ).isEqual( relatorioId ),
null,
null,
null,
null );
System.out.println( select );
Virtual2DArray array = EXECUTER.executeQuery( select );
if( array.columnLength() == 0 )
{
return null;
}
else
{
Integer id = ( Integer ) array.get( 0, 0 );
String nome = ( String ) array.get( 0, 1 );
String cap = ( String ) array.get( 0, 2 );
String formacao = ( String ) array.get( 0, 3 );
Integer assinatura = ( Integer ) array.get( 0, 4 );
return new TecnicoHSToPrint( id, nome, cap, formacao, assinatura );
}
}
public LegislacaoAplicavelToPrint getLegislacaoAplicavel( Integer relatorioId )
throws Exception
{

@ -2,6 +2,8 @@ package siprp.higiene.relatorio.print;
import java.util.Vector;
import javax.swing.JOptionPane;
import org.jdom.Element;
public class RelatorioToPrint
@ -11,13 +13,19 @@ public class RelatorioToPrint
protected DataToPrint dataRelatorio;
protected DataToPrint dataHs;
protected DataToPrint dataProximaHs;
protected String textoFuncionarios;
protected TecnicoHSToPrint tecnicoHS;
protected LegislacaoAplicavelToPrint legislacaoAplicavel;
protected NormalizacaoToPrint normalizacaoAplicavel;
protected EquipamentosToPrint equipamentos;
protected Vector<AreaToPrint> areas;
public RelatorioToPrint( EmpresaToPrint empresa, DataToPrint dataRelatorio,
DataToPrint dataHs, DataToPrint dataProximaHs,
public RelatorioToPrint( EmpresaToPrint empresa,
DataToPrint dataRelatorio,
DataToPrint dataHs,
DataToPrint dataProximaHs,
String textoFuncionarios,
TecnicoHSToPrint tecnicoHS,
LegislacaoAplicavelToPrint legislacaoAplicavel,
NormalizacaoToPrint normalizacaoAplicavel,
EquipamentosToPrint equipamentos,
@ -28,102 +36,38 @@ public class RelatorioToPrint
this.dataRelatorio = dataRelatorio;
this.dataHs = dataHs;
this.dataProximaHs = dataProximaHs;
this.textoFuncionarios = textoFuncionarios;
this.tecnicoHS = tecnicoHS;
this.legislacaoAplicavel = legislacaoAplicavel;
this.normalizacaoAplicavel = normalizacaoAplicavel;
this.equipamentos = equipamentos;
this.areas = areas;
}
public EmpresaToPrint getEmpresa()
{
return empresa;
}
public void setEmpresa( EmpresaToPrint empresa )
{
this.empresa = empresa;
}
public DataToPrint getDataRelatorio()
{
return dataRelatorio;
}
public void setDataRelatorio( DataToPrint dataRelatorio )
{
this.dataRelatorio = dataRelatorio;
}
public DataToPrint getDataHs()
{
return dataHs;
}
public void setDataHs( DataToPrint dataHs )
{
this.dataHs = dataHs;
}
public DataToPrint getDataProximaHs()
{
return dataProximaHs;
}
public void setDataProximaHs( DataToPrint dataProximaHs )
{
this.dataProximaHs = dataProximaHs;
}
public LegislacaoAplicavelToPrint getLegislacaoAplicavel()
{
return legislacaoAplicavel;
}
public void setLegislacaoAplicavel(
LegislacaoAplicavelToPrint legislacaoAplicavel )
{
this.legislacaoAplicavel = legislacaoAplicavel;
}
public EquipamentosToPrint getEquipamentos()
{
return equipamentos;
}
public void setEquipamentos( EquipamentosToPrint equipamentos )
{
this.equipamentos = equipamentos;
}
public Vector<AreaToPrint> getAreas()
{
return areas;
}
public void setAreas( Vector<AreaToPrint> areas )
{
this.areas = areas;
}
public void addArea( AreaToPrint area )
{
areas.add( area );
}
@Override
public Element toJdomElement() throws Exception
{
Element planoElement = new Element( "plano" );
planoElement.addContent( empresa.toJdomElement() );
planoElement.addContent( dataRelatorio.toJdomElement() );
planoElement.addContent( dataHs.toJdomElement() );
Element relatorioElement = new Element( "relatorio" );
relatorioElement.addContent( empresa.toJdomElement() );
relatorioElement.addContent( dataRelatorio.toJdomElement() );
relatorioElement.addContent( dataHs.toJdomElement() );
if( dataProximaHs != null )
{
planoElement.addContent( dataProximaHs.toJdomElement() );
relatorioElement.addContent( dataProximaHs.toJdomElement() );
}
if( textoFuncionarios != null )
{
Element textoFuncionariosElement = new Element( "texto-funcionarios" );
textoFuncionariosElement.setText( textoFuncionarios );
relatorioElement.addContent( textoFuncionariosElement );
}
planoElement.addContent( legislacaoAplicavel.toJdomElement() );
planoElement.addContent( normalizacaoAplicavel.toJdomElement() );
planoElement.addContent( equipamentos.toJdomElement() );
if( tecnicoHS != null )
{
relatorioElement.addContent( tecnicoHS.toJdomElement() );
}
relatorioElement.addContent( legislacaoAplicavel.toJdomElement() );
relatorioElement.addContent( normalizacaoAplicavel.toJdomElement() );
relatorioElement.addContent( equipamentos.toJdomElement() );
if( areas.size() > 0 )
{
Element conclusoesElement = new Element( "conclusoes" );
@ -131,20 +75,8 @@ public class RelatorioToPrint
{
conclusoesElement.addContent( area.toJdomElement() );
}
planoElement.addContent( conclusoesElement );
relatorioElement.addContent( conclusoesElement );
}
return planoElement;
return relatorioElement;
}
public NormalizacaoToPrint getNormalizacaoAplicavel()
{
return normalizacaoAplicavel;
}
public void setNormalizacaoAplicavel( NormalizacaoToPrint normalizacaoAplicavel )
{
this.normalizacaoAplicavel = normalizacaoAplicavel;
}
}

@ -0,0 +1,43 @@
package siprp.higiene.relatorio.print;
import org.jdom.Element;
public class TecnicoHSToPrint
implements PrintableInterface
{
protected Integer id;
protected String nome;
protected String cap;
protected String formacao;
protected Integer assinatura;
public TecnicoHSToPrint( Integer id, String nome, String cap,
String formacao, Integer assinatura )
{
super();
this.id = id;
this.nome = nome;
this.cap = cap;
this.formacao = formacao;
this.assinatura = assinatura;
}
@Override
public Element toJdomElement() throws Exception
{
Element tecnicoHSElement = new Element( "tecnico-hs" );
Element nomeElement = new Element( "nome" );
nomeElement.setText( nome );
tecnicoHSElement.addContent( nomeElement );
Element capElement = new Element( "cap" );
capElement.setText( cap );
tecnicoHSElement.addContent( capElement );
Element formacaoElement = new Element( "formacao" );
formacaoElement.setText( formacao );
tecnicoHSElement.addContent( formacaoElement );
Element assinaturaElement = new Element( "assinatura" );
assinaturaElement.setText( "" + assinatura );
tecnicoHSElement.addContent( assinaturaElement );
return tecnicoHSElement;
}
}

@ -42,12 +42,13 @@ public class TestPrint
// byte fo[] = applyTemplate(
//// "siprp/planoactuacao/print/plano_actuacao.xsl",
//// getClass().getClassLoader().getResourceAsStream( "siprp/higiene/relatorio/relatorio.xsl" ),
// new FileInputStream( "/home/fpalma/projectos2/SIPRP/SIPRPSoft/src/siprp/higiene/relatorio/relatorio.xsl" ),
// new FileInputStream( "/home/fpalma/projectos2/SIPRP/SIPRPSoft/src/siprp/higiene/relatorio/print/relatorio.xsl" ),
//// "siprp/planoactuacao/print/teste_input.xml" );
// new FileInputStream( "/home/fpalma/projectos2/SIPRP/SIPRPSoft/src/siprp/higiene/relatorio/teste_input.xml" ) );
// new FileInputStream( "/home/fpalma/projectos2/SIPRP/SIPRPSoft/src/siprp/higiene/relatorio/print/teste_input.xml" ) );
//// new ByteArrayInputStream( foBaos.toByteArray() ) );
//// new ByteArrayInputStream( "<?xml version=\"1.0\" encoding=\"UTF-8\"?><plano></plano>".getBytes() ) );
//// System.out.println( new String( fo ) );
// System.out.println( new String(fo) );
// createPDFFile( fo, "/home/fpalma/Desktop/out.pdf" );
//// createPDFFile( fo, "c:/Documents and Settings/Frederico/Ambiente de Trabalho/out.pdf" );
//

@ -66,9 +66,9 @@
<fo:simple-page-master master-name="pm1_2"
page-height="8.2701in" page-width="11.6902in" margin-top="0.4917in"
margin-right="1.3in" margin-left="0.6in">
<fo:region-body margin-top="2.8in"
<fo:region-body margin-top="2.5in"
margin-bottom="0.9in" />
<fo:region-before extent="2.8in"
<fo:region-before extent="2.5in"
margin-bottom="0in" />
<fo:region-after extent="0.8in" margin-top="0.4in" />
</fo:simple-page-master>
@ -720,7 +720,7 @@
<fo:block font-size="12pt" margin-right="-0.0146in"
text-indent="0in" text-align="justify" line-height="130%"
margin-left="0in" space-after="6pt">
<xsl:value-of select="trabalhadores" />
<xsl:value-of select="texto-funcionarios" />
</fo:block>
<fo:block font-size="12pt" text-align="justify"
line-height="130%" space-after="6pt">
@ -728,11 +728,15 @@
de Segurança e Higiene do Trabalho da Sociedade
Ibérica de Prevenção de Riscos Profissionais
Unipessoal Lda., obteve a colaboração e
acompanhamento do(a) Sr(a).
<xsl:value-of select="empresa/nome-acompanhante" />
(<xsl:value-of select="empresa/funcao-acompanhante" />) na prestação de
informações relativas à actividade desenvolvida
e às condições de trabalho existentes.  
acompanhamento do(a) Sr(a).
<xsl:value-of
select="empresa/nome-acompanhante" />
(
<xsl:value-of
select="empresa/funcao-acompanhante" />
) na prestação de informações relativas à
actividade desenvolvida e às condições de
trabalho existentes.  
</fo:block>
<fo:block font-size="12pt" margin-right="-0.0146in"
text-indent="0in" text-align="justify" line-height="130%"
@ -793,16 +797,16 @@
margin-right="-0.0146in" text-align="justify"
line-height="130%" margin-left="0.5in" margin-top="0.0835in"
margin-bottom="0.0835in" space-after="6pt">
<!-- <xsl:value-of select="." />-->
<!-- <xsl:choose>-->
<!-- <xsl:when-->
<!-- test="position()=last()">-->
<!-- .-->
<!-- </xsl:when>-->
<!-- <xsl:otherwise>-->
<!-- ;-->
<!-- </xsl:otherwise>-->
<!-- </xsl:choose>-->
<xsl:value-of select="." />
<xsl:choose>
<xsl:when
test="position()=last()">
.
</xsl:when>
<xsl:otherwise>
;
</xsl:otherwise>
</xsl:choose>
</fo:block>
</fo:list-item-body>
</fo:list-item>
@ -821,7 +825,8 @@
space-after="6pt">
3.2 Legislação específica  
</fo:block>
<xsl:for-each select="legislacao-aplicavel/legislacao-especifica">
<xsl:for-each
select="legislacao-aplicavel/legislacao-especifica">
<fo:block font-size="12pt" text-indent="-0.3cm"
text-align="justify" margin-left="1.5cm"
text-decoration="underline" font-weight="bold"
@ -830,8 +835,7 @@
</fo:block>
<fo:list-block>
<xsl:for-each
select="diploma">
<xsl:for-each select="diploma">
<fo:list-item>
<fo:list-item-label>
<fo:block font-size="16pt"
@ -844,16 +848,16 @@
margin-right="-0.0146in" text-align="justify"
line-height="130%" margin-left="0.5in" margin-top="0.0835in"
margin-bottom="0.0835in" space-after="6pt">
<!-- <xsl:value-of select="." />-->
<!-- <xsl:choose>-->
<!-- <xsl:when-->
<!-- test="position()=last()">-->
<!-- .-->
<!-- </xsl:when>-->
<!-- <xsl:otherwise>-->
<!-- ;-->
<!-- </xsl:otherwise>-->
<!-- </xsl:choose>-->
<xsl:value-of select="." />
<xsl:choose>
<xsl:when
test="position()=last()">
.
</xsl:when>
<xsl:otherwise>
;
</xsl:otherwise>
</xsl:choose>
</fo:block>
</fo:list-item-body>
</fo:list-item>
@ -895,38 +899,37 @@
space-after="6pt">
4.1 Normalização portuguesa  
</fo:block>
<xsl:if test="normalizacao-aplicavel/normalizacao-portuguesa/norma">
<fo:list-block>
<xsl:for-each select="norma">
<fo:list-block>
<xsl:for-each
select="normalizacao-aplicavel/normalizacao-portuguesa/norma">
<fo:list-item>
<fo:list-item-label>
<fo:block font-size="16pt"
margin-left="0.2in">
&#x2022;
</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-size="12pt"
margin-right="-0.0146in" text-align="justify"
line-height="130%" margin-left="0.5in" margin-top="0.0835in"
margin-bottom="0.0835in" space-after="6pt">
<!-- <xsl:value-of select="." />-->
<!-- <xsl:choose>-->
<!-- <xsl:when-->
<!-- test="position()=last()">-->
<!-- .-->
<!-- </xsl:when>-->
<!-- <xsl:otherwise>-->
<!-- ;-->
<!-- </xsl:otherwise>-->
<!-- </xsl:choose>-->
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:for-each>
</fo:list-block>
</xsl:if>
<fo:list-item>
<fo:list-item-label>
<fo:block font-size="16pt"
margin-left="0.2in">
&#x2022;
</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-size="12pt"
margin-right="-0.0146in" text-align="justify"
line-height="130%" margin-left="0.5in" margin-top="0.0835in"
margin-bottom="0.0835in" space-after="6pt">
<xsl:value-of select="." />
<xsl:choose>
<xsl:when
test="position()=last()">
.
</xsl:when>
<xsl:otherwise>
;
</xsl:otherwise>
</xsl:choose>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:for-each>
</fo:list-block>
<fo:block font-size="12pt" font-weight="bold"
margin-right="-0.0146in" text-indent="0in" text-align="justify"
line-height="130%" margin-left="0in" margin-top="0.0835in"
@ -940,37 +943,36 @@
space-after="6pt">
4.2 Normalização internacional  
</fo:block>
<xsl:if test="normalizacao-aplicavel/normalizacao-internacional/norma">
<fo:list-block>
<xsl:for-each select="norma">
<fo:list-item>
<fo:list-item-label>
<fo:block font-size="16pt"
margin-left="0.2in">
&#x2022;
</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-size="12pt"
margin-right="-0.0146in" text-align="justify"
line-height="130%" margin-left="0.5in" margin-top="0.0835in"
margin-bottom="0.0835in" space-after="6pt">
<!-- <xsl:value-of select="." />-->
<!-- <xsl:choose>-->
<!-- <xsl:when-->
<!-- test="position()=last()">-->
<!-- .-->
<!-- </xsl:when>-->
<!-- <xsl:otherwise>-->
<!-- ;-->
<!-- </xsl:otherwise>-->
<!-- </xsl:choose>-->
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:for-each>
</fo:list-block>
</xsl:if>
<fo:list-block>
<xsl:for-each
select="normalizacao-aplicavel/normalizacao-internacional/norma">
<fo:list-item>
<fo:list-item-label>
<fo:block font-size="16pt"
margin-left="0.2in">
&#x2022;
</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-size="12pt"
margin-right="-0.0146in" text-align="justify"
line-height="130%" margin-left="0.5in" margin-top="0.0835in"
margin-bottom="0.0835in" space-after="6pt">
<xsl:value-of select="." />
<xsl:choose>
<xsl:when
test="position()=last()">
.
</xsl:when>
<xsl:otherwise>
;
</xsl:otherwise>
</xsl:choose>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:for-each>
</fo:list-block>
<fo:block font-size="10pt" margin-right="-0.0146in"
text-indent="0in" text-align="justify" margin-left="0in">
 
@ -1497,7 +1499,8 @@
(devidamente calibrados):  
</fo:block>
<fo:list-block>
<xsl:for-each select="equipamentos/equipamento">
<xsl:for-each
select="equipamentos/equipamento">
<fo:list-item>
<fo:list-item-label>
<fo:block font-size="16pt"
@ -1510,16 +1513,16 @@
margin-right="-0.0146in" text-align="justify"
line-height="130%" margin-left="0.5in" margin-top="0.0835in"
margin-bottom="0.0835in" space-after="6pt">
<!-- <xsl:value-of select="." />-->
<!-- <xsl:choose>-->
<!-- <xsl:when-->
<!-- test="position()=last()">-->
<!-- .-->
<!-- </xsl:when>-->
<!-- <xsl:otherwise>-->
<!-- ;-->
<!-- </xsl:otherwise>-->
<!-- </xsl:choose>-->
<xsl:value-of select="." />
<xsl:choose>
<xsl:when
test="position()=last()">
.
</xsl:when>
<xsl:otherwise>
;
</xsl:otherwise>
</xsl:choose>
</fo:block>
</fo:list-item-body>
</fo:list-item>
@ -3705,14 +3708,12 @@
<fo:block font-size="12pt" line-height="130%">
Lisboa,
<fo:inline font-size="9pt">
<xsl:value-of
select="../../../data-relatorio/dia" />
<xsl:value-of select="data-relatorio/dia" />
de
<xsl:value-of
select="../../../data-relatorio/mes-extenso" />
select="data-relatorio/mes-extenso" />
de
<xsl:value-of
select="../../../data-relatorio/ano" />
<xsl:value-of select="data-relatorio/ano" />
</fo:inline>
 
</fo:block>
@ -3751,13 +3752,15 @@
<fo:block font-size="12pt"
font-weight="bold" margin-right="0in" text-indent="0.2134in"
text-align="center" margin-left="-0.2134in">
<xsl:value-of />
<xsl:value-of select="tecnico-hs/nome" />
<xsl:value-of
select="tecnico-hs/nome" />
</fo:block>
<fo:block font-size="12pt"
margin-right="-0.0937in" text-indent="0in" text-align="center"
margin-left="0in">
Ergonomista  
<xsl:value-of
select="tecnico-hs/formacao" />
 
</fo:block>
<fo:block font-size="12pt"
margin-right="-0.0937in" text-indent="0in" text-align="center"
@ -3768,7 +3771,10 @@
<fo:block font-size="12pt"
margin-right="-0.0937in" text-indent="0in" text-align="center"
margin-left="0in">
(CAP nº 0601/6505/02)  
(CAP nº
<xsl:value-of
select="tecnico-hs/cap" />
)  
</fo:block>
</fo:table-cell>
</fo:table-row>
@ -4079,7 +4085,7 @@
<fo:table-row>
<fo:table-cell
border="0.0069in solid #000000" display-align="center"
background-color="#000000" writing-mode="lr-tb">
writing-mode="lr-tb">
<fo:block font-size="11pt"
font-weight="bold" margin-right="-0.0146in" text-indent="0in"
text-align="center" margin-left="0in">
@ -4089,7 +4095,7 @@
</fo:table-cell>
<fo:table-cell
border="0.0069in solid #000000" display-align="center"
background-color="#000000" writing-mode="lr-tb">
writing-mode="lr-tb">
<fo:block font-size="11pt"
font-weight="bold" margin-right="-0.0146in" text-indent="0in"
text-align="center" margin-left="0in">
@ -4099,7 +4105,7 @@
</fo:table-cell>
<fo:table-cell
border="0.0069in solid #000000" display-align="center"
background-color="#000000" writing-mode="lr-tb">
writing-mode="lr-tb">
<fo:block font-size="11pt"
font-weight="bold" margin-right="-0.0146in" text-indent="0in"
text-align="center" margin-left="0in">
@ -4115,20 +4121,21 @@
</fo:table-cell>
<fo:table-cell
border="0.0069in solid #000000" display-align="center"
background-color="#000000" writing-mode="lr-tb">
writing-mode="lr-tb" padding="2pt">
<fo:block font-size="11pt"
font-weight="bold" margin-right="-0.0146in" text-indent="0in"
text-align="center" margin-left="0in">
text-align="left" margin-left="0in">
<xsl:value-of
select="descricao" />
</fo:block>
<xsl:for-each select="medida">
<fo:block font-size="11pt"
margin-right="-0.0146in" text-indent="0in"
text-align="center" margin-left="0.2in">
text-align="justify" margin-left="0.2in"
space-before="4pt">
-
<xsl:value-of
select="requisitos" />
select="requisitos-legais" />
<xsl:choose>
<xsl:when
test="position()=last()">

Loading…
Cancel
Save