Rev 1573 |
Rev 1586 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/1999/XSL/Format http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/fop/src/foschema/fop.xsd">
<xsl:import href="report.fo.xsl"/>
<xsl:import href="utilsReports.fo.xsl"/>
<xsl:import href="docenteReportGuiaoAvaliacaoDesempenho.fo.xsl"/>
<xsl:param name="site">http://localhost/bacoTESTE</xsl:param>
<xsl:param name="updateDate">EM FALTA</xsl:param>
<xsl:param name="anoLectivo"><xsl:value-of select="//anoLectivo"/></xsl:param>
<xsl:param name="nomeCurso"><xsl:value-of select="//cursoStats/nomeCurso"/></xsl:param>
<xsl:param name="codigoCurso"><xsl:value-of select="//cursoStats/codigoCurso"/></xsl:param>
<xsl:param name="instituicao"><xsl:value-of select="//cursoStats/nomeInstituicao"/></xsl:param>
<xsl:param name="abreviatura"><xsl:value-of select="//cursoStats/abreviaturaInstituicao"/></xsl:param>
<xsl:template match="/">
<!--<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="Helvetica" color="#58585A">-->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="Helvetica" color="black">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4Vertical" page-width="210mm" page-height="297mm"
margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm"
reference-orientation="0">
<fo:region-body region-name="body" margin-top="40mm" margin-bottom="10mm" margin-right="0"
margin-left="0"/>
<fo:region-before region-name="header" extent="15mm"/>
<fo:region-after region-name="footer" extent="1cm"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="A4VerticalFirstPage" page-width="210mm" page-height="297mm"
margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm"
reference-orientation="0">
<fo:region-body region-name="body" margin-top="90mm" margin-bottom="10mm" margin-right="0"
margin-left="0"/>
<fo:region-before region-name="header" extent="15mm"/>
<fo:region-after region-name="footer" extent="1cm"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="A4HorizontalRot" page-width="210mm" page-height="297mm"
margin-top="0.5cm" margin-bottom="0.5cm" margin-left="0.5cm" margin-right="0.5cm"
reference-orientation="90">
<fo:region-body region-name="body" margin-top="20mm" margin-bottom="10mm" margin-right="0"
margin-left="0"/>
<fo:region-before region-name="header" extent="15mm"/>
<fo:region-after region-name="footer" extent="1cm"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="A4Horizontal" page-width="297mm" page-height="210mm"
margin-top="0.5cm" margin-bottom="0.5cm" margin-left="0.5cm"
margin-right="0.5cm">
<fo:region-body region-name="body" margin-top="20mm" margin-bottom="15mm" margin-right="0"
margin-left="0"/>
<fo:region-before region-name="header" extent="15mm"/>
<fo:region-after region-name="footer" extent="1cm"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="pages">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="pages" page-position="any"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<!--LAYOUT DE PAGINA ESCOLHIDO-->
<fo:page-sequence master-reference="A4VerticalFirstPage" initial-page-number="1">
<xsl:call-template name="firstpage"/>
</fo:page-sequence>
<fo:page-sequence master-reference="A4Vertical" initial-page-number="2">
<xsl:call-template name="indexPage"/>
</fo:page-sequence>
<fo:page-sequence master-reference="A4Vertical" initial-page-number="3">
<xsl:call-template name="page"/>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template name="headerTeacher">
<xsl:call-template name="headerPae">
<xsl:with-param name="anoLectivo" select="$anoLectivo"/>
<xsl:with-param name="color_entity">#fff9ea</xsl:with-param>
<xsl:with-param name="title">Relatório de Avaliação Pedagógica</xsl:with-param>
<xsl:with-param name="subtitle">Avaliação das Unidades Curriculares pelos Alunos</xsl:with-param>
<xsl:with-param name="subtitleRight">Resultados dos Inquéritos Pedagógicos</xsl:with-param>
<xsl:with-param name="entity"><xsl:value-of select="$nomeCurso"/> / código: <xsl:value-of select="$codigoCurso"/></xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="footerDefault">
<xsl:call-template name="footerPae">
<xsl:with-param name="sgqDoc">IPP.SI.QP-3-Rev.0</xsl:with-param>
<xsl:with-param name="updateDate" select="$updateDate"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="indexPage">
<xsl:call-template name="headerTeacher"/>
<xsl:call-template name="footerDefault"/>
<fo:flow flow-name="body">
<fo:block font-size="20px" padding="4px" margin-top="5px" text-align="center" >
<fo:inline text-decoration="underline" font-weight="bold">Índice</fo:inline>
</fo:block>
<fo:block text-align-last="justify" font-weight="bold" margin-bottom="5px">
<xsl:text> </xsl:text>
<fo:leader/>
Pag.
</fo:block>
<xsl:call-template name="indexEntry">
<xsl:with-param name="sectionNumber">1</xsl:with-param>
<xsl:with-param name="sectionTitle">Participação nos questionários do Curso</xsl:with-param>
<xsl:with-param name="id">capParticipacao</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="indexEntry">
<xsl:with-param name="sectionNumber">2</xsl:with-param>
<xsl:with-param name="sectionTitle">Taxas de Resposta</xsl:with-param>
<xsl:with-param name="id">capTaxasResposta</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="indexEntry">
<xsl:with-param name="sectionNumber">3</xsl:with-param>
<xsl:with-param name="sectionTitle">Evolução das Taxas de Resposta</xsl:with-param>
<xsl:with-param name="id">capEvoTaxasResposta</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="indexEntry">
<xsl:with-param name="sectionNumber">4</xsl:with-param>
<xsl:with-param name="sectionTitle">Análise das questões agregadas do grupo Unidade Curricular</xsl:with-param>
<xsl:with-param name="id">capQuestoesAgregadasUnidades</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="indexEntry">
<xsl:with-param name="sectionNumber">5</xsl:with-param>
<xsl:with-param name="sectionTitle">Análise das questões agregadas do grupo Instalações/Equipamentos/Outros Recursos </xsl:with-param>
<xsl:with-param name="id">capQuestoesAgregadasSalas</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="indexEntry">
<xsl:with-param name="sectionNumber">6</xsl:with-param>
<xsl:with-param name="sectionTitle">Análise das questões em cada Unidade curricular do curso individualmente </xsl:with-param>
<xsl:with-param name="id">capQuestoesUnidade</xsl:with-param>
</xsl:call-template>
<!-- Estes fors organizam primeiro por curso, neste caso o curso é so um mas o for fica assim para se reaproveitar para
o relatorio de Cursos com todo os cursos -->
<xsl:for-each select="//cursoStats/unidadesStats/unidadeStats[not(nomeCurso/text() = preceding-sibling::unidadeStats/nomeCurso/text())]">
<xsl:sort select="text()" data-type="text" />
<xsl:variable name="nomeCurso" select="nomeCurso/text()"/>
<xsl:for-each select="../unidadeStats[nomeCurso/text() = $nomeCurso]">
<xsl:sort select="nomeUnidade/text()" data-type="text" />
<xsl:call-template name="subIndexEntry">
<xsl:with-param name="sectionNumber">6.<xsl:value-of select="position()"/></xsl:with-param>
<xsl:with-param name="sectionTitle"><xsl:value-of select="nomeUnidade"/></xsl:with-param>
<xsl:with-param name="id">UNIDADE_CURICULAR<xsl:value-of select="codigoUnidade"/></xsl:with-param>
</xsl:call-template>
</xsl:for-each>
</xsl:for-each>
<!--
Grafico de barras horizontais com media unidades e media salas
Tabela com todas as metricas Media Desvios e Média Curso Média Escola + respostas
Tabela com todas as métricas de todas as questões mais média + nº respostas
-->
<xsl:call-template name="indexEntry">
<xsl:with-param name="sectionNumber">7</xsl:with-param>
<xsl:with-param name="sectionTitle">Análise comparativa das Unidades Curriculares</xsl:with-param>
<xsl:with-param name="id">capComparativaUnidades</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subIndexEntry">
<xsl:with-param name="sectionNumber">7.1</xsl:with-param>
<xsl:with-param name="sectionTitle">Gráfico de comparativo de todas as unidades</xsl:with-param>
<xsl:with-param name="id">capComparativaUnidades</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subIndexEntry">
<xsl:with-param name="sectionNumber">7.2</xsl:with-param>
<xsl:with-param name="sectionTitle">Gráfico de comparativo de todas as unidades (ordenado pela Média da Unidade)</xsl:with-param>
<xsl:with-param name="id">capComparativaUnidadesSortMediaUnidades</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subIndexEntry">
<xsl:with-param name="sectionNumber">7.3</xsl:with-param>
<xsl:with-param name="sectionTitle">Gráfico de comparativo de todas as unidades (ordenado pela Média das Instalações/Equipamentos/Outros Recursos)</xsl:with-param>
<xsl:with-param name="id">capComparativaUnidadesSortMediaSalas</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subIndexEntry">
<xsl:with-param name="sectionNumber">7.4</xsl:with-param>
<xsl:with-param name="sectionTitle">Tabela de médias de todas as unidades vs curso e escola</xsl:with-param>
<xsl:with-param name="id">capComparativaUnidadesTable</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subIndexEntry">
<xsl:with-param name="sectionNumber">7.5</xsl:with-param>
<xsl:with-param name="sectionTitle">Comparação das unidades em cada questão individualmente no grupo Unidade</xsl:with-param>
<xsl:with-param name="id">compUnidadesPorQuestaoUnidade</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subIndexEntry">
<xsl:with-param name="sectionNumber">7.6</xsl:with-param>
<xsl:with-param name="sectionTitle">Comparação das unidades em cada questão individualmente no grupo Instalações</xsl:with-param>
<xsl:with-param name="id">compUnidadesPorQuestaoSalas</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subIndexEntry">
<xsl:with-param name="sectionNumber">7.7</xsl:with-param>
<xsl:with-param name="sectionTitle">Tabela das médias de todas as questões por unidade e apreciação global do curso</xsl:with-param>
<xsl:with-param name="id">capComparativaUnidadesPerguntas</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="indexEntry">
<xsl:with-param name="sectionNumber">8</xsl:with-param>
<xsl:with-param name="sectionTitle">Evolução das médias das Unidades Curriculares</xsl:with-param>
<xsl:with-param name="id">capQuestoesUnidade</xsl:with-param>
</xsl:call-template>
</fo:flow>
</xsl:template>
<xsl:template name="firstpage">
<xsl:call-template name="headerIpp"/>
<xsl:call-template name="footerDefault"/>
<fo:flow flow-name="body">
<fo:block border-bottom="8px solid #58585A" border-top="4px solid #58585A" font-size="26px" padding="6px" text-align="center" color="white" background-color="#FFCA44">
<fo:inline font-weight="bold"> Relatório de Avaliação Pedagógica</fo:inline>
</fo:block>
<fo:block font-size="20px" padding="4px" margin-top="40px" text-align="center" >
<fo:inline text-decoration="underline" font-weight="bold">Inquéritos Pedagógicos aos Alunos</fo:inline>
</fo:block>
<fo:block font-size="18px" padding="4px" margin-top="20px" text-align="center">
<fo:inline>Relatório de Curso para a Comunidade Académica</fo:inline>
</fo:block>
<fo:block font-size="14px" padding="4px" margin-top="5px" text-align="center" background-color="#fff9ea">
<xsl:value-of select="$nomeCurso"/>
</fo:block>
<fo:block font-size="12px" padding="4px" margin-top="2px" text-align="center">
<fo:inline>Código: <xsl:value-of select="$codigoCurso"/></fo:inline>
</fo:block>
<fo:block font-size="12px" padding="4px" margin-top="20px" text-align="center" >
<fo:inline><fo:wrapper white-space-treatment="preserve" font-weight="bold">Ano letivo: </fo:wrapper> <xsl:value-of select="$anoLectivo"/></fo:inline>
</fo:block>
<fo:block font-size="12px" padding="4px" margin-top="20px" text-align="center" >
<fo:inline><fo:wrapper white-space-treatment="preserve" font-weight="bold">Periodos Considerados: </fo:wrapper> <xsl:for-each select="//semestres/string"><xsl:value-of select="."/>; </xsl:for-each></fo:inline>
</fo:block>
<!--<fo:block font-size="12px" padding="4px" margin-top="20px" text-align="center" >
<fo:inline><fo:wrapper white-space-treatment="preserve" font-weight="bold">Oferta Formativa Considerada: </fo:wrapper> <xsl:for-each select="//degrees/string"><xsl:value-of select="."/>; </xsl:for-each></fo:inline>
</fo:block>-->
</fo:flow>
</xsl:template>
<xsl:template name="page">
<xsl:call-template name="headerTeacher"/>
<xsl:call-template name="footerDefault"/>
<fo:flow flow-name="body">
<xsl:call-template name="CAP_participacao"/>
<xsl:call-template name="CAP_taxasResposta"/>
<xsl:call-template name="CAP_evoTaxasResposta"/>
<xsl:call-template name="CAP_analise_questoes_UNIDADE"/>
<xsl:call-template name="CAP_analise_questoes_SALAS"/>
<xsl:apply-templates select="//cursoStats/unidadesStats" mode="unidadePorUnidade">
<xsl:with-param name="CAP_PONTO">6</xsl:with-param>
<xsl:with-param name="CAP_ID">capQuestoesUnidade</xsl:with-param>
</xsl:apply-templates>
<xsl:call-template name="CAP_analise_comparativa_unidades"/>
</fo:flow>
</xsl:template>
<!-- ############################################################# -->
<!-- 1 - CAPITULO ANALISE PARTICIPACAO PONTOS -->
<!-- ############################################################# -->
<xsl:template name="CAP_participacao">
<fo:block-container padding="0" margin="0" border="0" id="capParticipacao" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">1 - Participação</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">Taxa Global de Participação aos Questionários do Curso</xsl:with-param>
</xsl:call-template>
<fo:block-container font-size="18" margin-left="10px" text-align="center" font-weight="bold">
<xsl:call-template name="barraPercentil">
<xsl:with-param name="valor" select="//questionariosReqRespondidosPercentagem"/>
<xsl:with-param name="colors">true</xsl:with-param>
<xsl:with-param name="backgroundColorPercentage" select="//questionariosReqRespondidosPercentagemColor"/>
</xsl:call-template>
</fo:block-container>
<fo:block margin-left="10px" margin-top="0">
<fo:table width="100%" table-layout="fixed">
<fo:table-column column-width="50%"/>
<fo:table-column column-width="50%"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Taxa de Participação
</xsl:with-param>
<xsl:with-param name="marginBottom">0</xsl:with-param>
</xsl:call-template>
<fo:block display-align="center" text-align="center" margin-left="10px">
<xsl:variable name="src"><xsl:value-of select="//pathGraficoTaxaRespostaAlunos"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-width="250" src="{$src}"/>
</fo:block>
</fo:table-cell>
<fo:table-cell margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Taxa de Resposta a Questionarios
</xsl:with-param>
<xsl:with-param name="marginBottom">0</xsl:with-param>
</xsl:call-template>
<fo:block display-align="center" text-align="center" margin-left="10px">
<xsl:variable name="src"><xsl:value-of select="//pathGraficoTaxaRespostaQuestionarios"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-width="250" src="{$src}"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block text-align="center" margin-left="10px">
<fo:table width="100%" table-layout="fixed">
<fo:table-column column-width="50%"/>
<fo:table-column column-width="50%"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Género
</xsl:with-param>
</xsl:call-template>
<fo:block>
<fo:table width="90%" table-layout="fixed" >
<fo:table-column column-width="50%"/>
<fo:table-column column-width="50%"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<xsl:value-of select="//masculinoComResposta"/>
</fo:block>
<fo:block>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/studentMale.png')</xsl:variable>
<fo:external-graphic height="auto" width="auto"
content-height="120" src="{$src}"/>
</fo:block>
<fo:block>
<xsl:value-of select="//masculinoComRespostaPercent"/>%
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<xsl:value-of select="//femininoComResposta"/>
</fo:block>
<fo:block>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/studentFemale.png')</xsl:variable>
<fo:external-graphic height="auto" width="auto"
content-height="120" src="{$src}"/>
</fo:block>
<fo:block>
<xsl:value-of select="//femininoComRespostaPercent"/>%
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Tipos de Alunos
</xsl:with-param>
</xsl:call-template>
<fo:block margin-top="5px">
<xsl:variable name="src"><xsl:value-of select="//pathGraficoTiposAlunosComResposta"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-width="250" content-height="150" src="{$src}"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Idades
</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin-left="10px" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//tabelaIdades" mode="DataTable"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Top 3 Distritos de Origem
</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin-left="10px" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//tabelaDistritos" mode="DataTable">
<xsl:with-param name="firstColPercentSize">30%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
<!-- ############################################################# -->
<!-- 2 - CAPITULO Taxas de Resposta -->
<!-- ############################################################# -->
<xsl:template name="CAP_taxasResposta">
<fo:block-container padding="0" margin="0" border="0" id="capTaxasResposta" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">2 - Taxas de resposta</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">2.1 - Taxas de resposta ordenadas pelo nome das unidades</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin-top="10px" margin-left="10px" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//tabelaTaxaRespostaUnidade" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
<xsl:with-param name="fontSize">12pt</xsl:with-param>
</xsl:apply-templates>
</fo:block>
<fo:block-container padding="0" margin="0" border="0" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">2 - Taxas de resposta</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">2.1 - Taxas de resposta ordenadas por participação</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin-top="10px" margin-left="10px" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//tabelaTaxaRespostaUnidadeOrderTaxa" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
<xsl:with-param name="fourthColPercentSize">40%</xsl:with-param>
<xsl:with-param name="fontSize">12pt</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</xsl:template>
<!-- ############################################################# -->
<!-- 3 - CAPITULO Evolução das Taxas de Resposta -->
<!-- ############################################################# -->
<xsl:template name="CAP_evoTaxasResposta">
<fo:block-container padding="0" margin="0" border="0" id="capEvoTaxasResposta" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">3 - Evolução das Taxas de resposta</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">3.1 - Respostas obtidas agrupadas semanalmente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
</xsl:call-template>
<fo:block margin-top="5px" text-align="center">
<xsl:variable name="src"><xsl:value-of select="//pathDistribuicaoRespostasSemanalChart"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-width="500" src="{$src}"/>
</fo:block>
<fo:block text-align="center" margin-top="10px" margin-left="10px" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//tabelaEvolucaoRespostas" mode="DataTable">
<xsl:with-param name="sixthColPercentSize">20%</xsl:with-param>
<xsl:with-param name="fontSize">12pt</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</xsl:template>
<!-- ############################################################# -->
<!-- 4 - CAPITULO Análise de Respostas Agregadas UNIDADES -->
<!-- ############################################################# -->
<xsl:template name="CAP_analise_questoes_UNIDADE">
<fo:block-container padding="0" margin="0" id="capQuestoesAgregadasUnidades" page-break-before="always">
<xsl:call-template name="seccaoGreen">
<xsl:with-param name="text">4 - Análise das questões sobre as Unidade</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">cadeiraConteudos.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccaoGreen">
<xsl:with-param name="text">4.1 - Gráficos de respostas agregadas de todas as unidades do Curso</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<xsl:apply-templates select="//respostasAgregadasGrupoUnidade/respostasAgregadasChartTable/respostasAgregadasCharts/chartsRow" mode="graficosPerguntas"/>
<fo:block-container padding="0" margin="0" page-break-before="always">
<xsl:call-template name="seccaoGreen">
<xsl:with-param name="text">4 - Análise das questões sobre as Unidades</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">cadeiraConteudos.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccaoGreen">
<xsl:with-param name="text">4.2 - Tabela de respostas agregadas de todas as unidades do curso</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin="0" font-size="10" font-weight="normal" >
<xsl:apply-templates select="//cursoStats/respostasAgregadasGrupoUnidade/respostasAgregadasChartTable/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
<fo:block text-align="right" margin-top="10px" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades avaliadas em <xsl:value-of select="//cursoStats/nomeCurso"/>: <xsl:value-of select="//cursoStats/unidadesDoCurso"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades avaliadas na <xsl:value-of select="//cursoStats/nomeInstituicao"/>: <xsl:value-of select="//cursoStats/unidadesDaEscola"/>
</fo:block>
<fo:block-container margin-top="20px" margin-bottom="5px">
<xsl:apply-templates select="//cursoStats/respostasAgregadasGrupoUnidade/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">das unidades</xsl:with-param>
</xsl:apply-templates>
</fo:block-container>
<!--Considerando Respostas Superiores a 2 segindos-->
<fo:block-container background-color="#aaaaaa" padding="5px" margin="0" margin-top="20px">
<fo:block-container padding="0" margin="0">
<xsl:call-template name="subSubSeccao">
<xsl:with-param name="text">Considerando apenas respostas de tempo superior a 2 segundos (Estes dados são apenas para efeitos de comparação)</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<fo:block text-align="center" margin-left="10px" font-size="10" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//cursoStats/respostasAgregadasGrupoUnidade/respostasAgregadasChartTable2Secs/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
</xsl:template>
<!-- ############################################################# -->
<!-- 5 - CAPITULO Análise de Respostas Agregadas SALAS -->
<!-- ############################################################# -->
<xsl:template name="CAP_analise_questoes_SALAS">
<xsl:variable name="title">Análise das questões sobre as Instalações/Equipamentos/Outros Recursos</xsl:variable>
<fo:block-container padding="0" margin="0" id="capQuestoesAgregadasSalas" page-break-before="always">
<xsl:call-template name="seccaoRose">
<xsl:with-param name="text">5 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">cadeiraCadeira.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccaoRose">
<xsl:with-param name="text">5.1 - Gráficos de respostas agregadas de todas as unidades do Curso</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<xsl:apply-templates select="//respostasAgregadasGrupoSalas/respostasAgregadasChartTable/respostasAgregadasCharts/chartsRow" mode="graficosPerguntas"/>
<fo:block-container padding="0" margin="0" page-break-before="always">
<xsl:call-template name="seccaoRose">
<xsl:with-param name="text">5 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">cadeiraCadeira.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccaoRose">
<xsl:with-param name="text">5.2 - Tabela de respostas agregadas de todas as unidades do curso</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin="0" font-size="10" font-weight="normal" >
<xsl:apply-templates select="//cursoStats/respostasAgregadasGrupoSalas/respostasAgregadasChartTable/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
<fo:block text-align="right" margin-top="10px" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades avaliadas em <xsl:value-of select="//cursoStats/nomeCurso"/>: <xsl:value-of select="//cursoStats/unidadesDoCurso"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades avaliadas na <xsl:value-of select="//cursoStats/nomeInstituicao"/>: <xsl:value-of select="//cursoStats/unidadesDaEscola"/>
</fo:block>
<fo:block-container margin-top="20px" margin-bottom="5px">
<xsl:apply-templates select="//cursoStats/respostasAgregadasGrupoSalas/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">das instalações</xsl:with-param>
</xsl:apply-templates>
</fo:block-container>
<!--Considerando Respostas Superiores a 2 segindos-->
<fo:block-container background-color="#aaaaaa" padding="5px" margin="0" margin-top="20px">
<fo:block-container padding="0" margin="0">
<xsl:call-template name="subSubSeccao">
<xsl:with-param name="text">Considerando apenas respostas de tempo superior a 2 segundos (Estes dados são apenas para efeitos de comparação)</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<fo:block text-align="center" margin-left="10px" font-size="10" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//cursoStats/respostasAgregadasGrupoSalas/respostasAgregadasChartTable2Secs/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
</xsl:template>
<!-- ############################################################# -->
<!-- 7 - CAPITULO Análise Comparativa de Unidades -->
<!-- ############################################################# -->
<xsl:template name="CAP_analise_comparativa_unidades">
<xsl:variable name="title">Análise Comparativa de Unidades Curriculares</xsl:variable>
<fo:block-container padding="0" margin="0" id="capComparativaUnidades" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">7 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">7.1 - Comparação entre a média a Unidade Curricular e as Instalações/Equipamentos/Outros Recursos</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<fo:block margin="0" padding="0" text-align="center">
<xsl:variable name="src"><xsl:value-of select="//analiseConjuntaChartWithTable/tempFile"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-height="500" src="{$src}"/>
</fo:block>
<fo:block-container padding="0" margin="0" page-break-before="always" id="capComparativaUnidadesSortMediaUnidades">
<xsl:call-template name="seccao">
<xsl:with-param name="text">7 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">7.2 - Comparação entre a média a Unidade Curricular e as Instalações/Equipamentos/Outros Recursos (Ordenado por Média do Grupo Unidade)</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<fo:block margin="0" padding="0" text-align="center">
<xsl:variable name="src"><xsl:value-of select="//analiseConjuntaChartOrderMediaUnidades"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-height="500" src="{$src}"/>
</fo:block>
<fo:block-container padding="0" margin="0" page-break-before="always" id="capComparativaUnidadesSortMediaSalas">
<xsl:call-template name="seccao">
<xsl:with-param name="text">7 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">7.3 - Comparação entre a média a Unidade Curricular e as Instalações/Equipamentos/Outros Recursos (Ordenado por Média do Grupo Instalações/Equipamentos/Outros Recursos)</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<fo:block margin="0" padding="0" text-align="center">
<xsl:variable name="src"><xsl:value-of select="//analiseConjuntaChartOrderMediaSalas"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-height="500" src="{$src}"/>
</fo:block>
<fo:block-container padding="0" margin="0" page-break-before="always" id="capComparativaUnidadesTable">
<xsl:call-template name="seccao">
<xsl:with-param name="text">7 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">7.4 - Tabela de valores para a agregação das respostas em todas as perguntas dos dois grupos</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<xsl:apply-templates select="//analiseConjuntaChartWithTable/dataTable" mode="DataTable">
<!--<xsl:with-param name="ignoreColumns">true</xsl:with-param>-->
</xsl:apply-templates>
<xsl:for-each select="//listaUnidadesComprativasPergunta/tabelaPerguntaComparativosUnidades">
<fo:block-container padding="0" margin="0" page-break-before="always">
<xsl:if test="position() = 1"><xsl:attribute name="id">compUnidadesPorQuestaoUnidade</xsl:attribute></xsl:if>
<xsl:call-template name="seccao">
<xsl:with-param name="text">7 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccaoGreen">
<xsl:with-param name="text">7.5 - Comparação das a média da pergunta do grupo Unidade em cada Unidade Curricular</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
<xsl:with-param name="icon">cadeiraConteudos.png</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subSeccaoGreen">
<xsl:with-param name="text"><xsl:value-of select="perguntaNumero"/> - <xsl:value-of select="pergunta"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<fo:block margin="0" padding="0" text-align="center">
<xsl:apply-templates select="tabelaComparativaUnidades" mode="DataTable">
<xsl:with-param name="firstColPercentSize">15%</xsl:with-param>
<xsl:with-param name="secondColPercentSize">15%</xsl:with-param>
<xsl:with-param name="sixthColPercentSize">30%</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$GREEN_COLOR_SUB_SECTION"/>
</xsl:apply-templates>
</fo:block>
</xsl:for-each>
<xsl:for-each select="//listaUnidadesComprativasPerguntaSalas/tabelaPerguntaComparativosUnidades">
<fo:block-container padding="0" margin="0" page-break-before="always">
<xsl:if test="position() = 1"><xsl:attribute name="id">compUnidadesPorQuestaoSalas</xsl:attribute></xsl:if>
<xsl:call-template name="seccao">
<xsl:with-param name="text">7 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccaoRose">
<xsl:with-param name="text">7.6 - Comparação das a média da pergunta do grupo Instalações em cada Unidade Curricular</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
<xsl:with-param name="icon">cadeiraConteudos.png</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="subSeccaoRose">
<xsl:with-param name="text"><xsl:value-of select="perguntaNumero"/> - <xsl:value-of select="pergunta"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<fo:block margin="0" padding="0" text-align="center">
<xsl:apply-templates select="tabelaComparativaUnidades" mode="DataTable">
<xsl:with-param name="firstColPercentSize">15%</xsl:with-param>
<xsl:with-param name="secondColPercentSize">15%</xsl:with-param>
<xsl:with-param name="sixthColPercentSize">30%</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$ROSE_COLOR_SUB_SECTION"/>
</xsl:apply-templates>
</fo:block>
</xsl:for-each>
<fo:block-container padding="0" margin="0" page-break-before="always" id="capComparativaUnidadesPerguntas">
<xsl:call-template name="seccao">
<xsl:with-param name="text">7 - <xsl:value-of select="$title"/></xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">7.7 - Tabela das médias de todas as questões por unidade e Apreciação Global do Curso</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
<fo:block margin="0" padding="0" text-align="center">
<xsl:apply-templates select="//todasAsRespostasMediasGruposUnidadesESalas" mode="DataTable">
<xsl:with-param name="firstColPercentSize">15%</xsl:with-param>
<xsl:with-param name="secondColPercentSize">15%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
<xsl:call-template name="subSubSeccaoGreen">
<xsl:with-param name="text">7.7.1 - Avaliação Global da Unidade</xsl:with-param>
<xsl:with-param name="marginTop">10px</xsl:with-param>
<xsl:with-param name="marginBottom">2px</xsl:with-param>
</xsl:call-template>
<fo:block-container margin-top="20px" margin-bottom="5px">
<xsl:apply-templates select="//cursoStats/respostasAgregadasGrupoUnidade/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">das unidades</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$GREEN_COLOR_SECTION"></xsl:with-param>
</xsl:apply-templates>
</fo:block-container>
<xsl:call-template name="subSubSeccaoRose">
<xsl:with-param name="text">7.7.2 - Avaliação Global das Instalações/Equipamentos/Outros Recursos</xsl:with-param>
<xsl:with-param name="marginTop">10px</xsl:with-param>
<xsl:with-param name="marginBottom">2px</xsl:with-param>
</xsl:call-template>
<fo:block-container margin-top="20px" margin-bottom="5px">
<xsl:apply-templates select="//cursoStats/respostasAgregadasGrupoSalas/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">das Instalações/Equipamentos/Outros Recursos</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$ROSE_COLOR_SECTION"></xsl:with-param>
</xsl:apply-templates>
</fo:block-container>
</xsl:template>
</xsl:stylesheet>