Rev 1306 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
726 | jmachado | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
2 | <xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" |
||
3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
||
4 | xmlns:uc="http://baco.estgp.pt/schemas/courseunits/program/"> |
||
730 | jmachado | 5 | <xsl:param name="site">http://localhost/bacoTESTE</xsl:param> |
751 | jmachado | 6 | <xsl:param name="revisor">automático</xsl:param> |
7 | <xsl:param name="validadoCC">false</xsl:param> |
||
726 | jmachado | 8 | <xsl:template match="/"> |
9 | <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
||
10 | <fo:layout-master-set> |
||
11 | <fo:simple-page-master master-name="A4Vertical" page-width="210mm" page-height="297mm" |
||
12 | margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm" |
||
13 | reference-orientation="0"> |
||
14 | <fo:region-body region-name="body" margin-top="20mm" margin-bottom="10mm" margin-right="0" |
||
15 | margin-left="0"/> |
||
16 | |||
17 | <fo:region-before region-name="header" extent="15mm"/> |
||
18 | <fo:region-after region-name="footer" extent="1cm"/> |
||
19 | </fo:simple-page-master> |
||
20 | <fo:simple-page-master master-name="A4HorizontalRot" page-width="210mm" page-height="297mm" |
||
21 | margin-top="0.5cm" margin-bottom="0.5cm" margin-left="0.5cm" margin-right="0.5cm" |
||
22 | reference-orientation="90"> |
||
23 | <fo:region-body region-name="body" margin-top="20mm" margin-bottom="10mm" margin-right="0" |
||
24 | margin-left="0"/> |
||
25 | <fo:region-before region-name="header" extent="15mm"/> |
||
26 | <fo:region-after region-name="footer" extent="1cm"/> |
||
27 | </fo:simple-page-master> |
||
28 | <fo:simple-page-master master-name="A4Horizontal" page-width="297mm" page-height="210mm" |
||
29 | margin-top="0.5cm" margin-bottom="0.5cm" margin-left="0.5cm" |
||
30 | margin-right="0.5cm"> |
||
31 | <fo:region-body region-name="body" margin-top="20mm" margin-bottom="15mm" margin-right="0" |
||
32 | margin-left="0"/> |
||
33 | <fo:region-before region-name="header" extent="15mm"/> |
||
34 | <fo:region-after region-name="footer" extent="1cm"/> |
||
35 | </fo:simple-page-master> |
||
36 | <fo:page-sequence-master master-name="pages"> |
||
37 | <fo:repeatable-page-master-alternatives> |
||
38 | <fo:conditional-page-master-reference master-reference="pages" page-position="any"/> |
||
39 | </fo:repeatable-page-master-alternatives> |
||
40 | </fo:page-sequence-master> |
||
41 | </fo:layout-master-set> |
||
42 | |||
43 | <!--LAYOUT DE PAGINA ESCOLHIDO--> |
||
44 | <fo:page-sequence master-reference="A4Vertical" initial-page-number="auto"> |
||
45 | <xsl:call-template name="page"/> |
||
46 | </fo:page-sequence> |
||
47 | |||
48 | |||
49 | </fo:root> |
||
50 | </xsl:template> |
||
51 | |||
52 | |||
53 | <xsl:template name="page"> |
||
54 | <fo:static-content flow-name="header"> |
||
55 | |||
56 | <fo:block text-align="left" > |
||
57 | <fo:table width="100%" table-layout="fixed" border-bottom="1px solid black"> |
||
58 | <fo:table-column column-width="100%"/> |
||
59 | |||
60 | |||
61 | <fo:table-body> |
||
62 | <fo:table-row> |
||
63 | <fo:table-cell > |
||
64 | <fo:block> |
||
730 | jmachado | 65 | <fo:external-graphic height="auto" width="auto" |
66 | content-height="30"> |
||
67 | <!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>--> |
||
68 | <xsl:attribute name="src">url('<xsl:value-of select="$site"/>/imgs/logoestg.gif')</xsl:attribute> |
||
69 | </fo:external-graphic> |
||
726 | jmachado | 70 | </fo:block> |
751 | jmachado | 71 | <xsl:if test="$validadoCC = 'false'"> |
72 | <fo:block font-size="20pt"> |
||
73 | (Documento ainda não validado pela Comissão de Curso) |
||
74 | </fo:block> |
||
75 | </xsl:if> |
||
726 | jmachado | 76 | </fo:table-cell> |
77 | |||
78 | </fo:table-row> |
||
79 | |||
80 | </fo:table-body> |
||
81 | </fo:table> |
||
82 | |||
83 | </fo:block> |
||
84 | |||
85 | |||
86 | </fo:static-content> |
||
87 | <fo:static-content flow-name="footer"> |
||
88 | |||
89 | <fo:table width="100%" table-layout="fixed" border-top="1px solid black" font-size="6.5pt" > |
||
730 | jmachado | 90 | <fo:table-column column-width="20%"/> |
91 | <fo:table-column column-width="80%" /> |
||
726 | jmachado | 92 | |
93 | |||
730 | jmachado | 94 | <fo:table-body> |
95 | <fo:table-row> |
||
96 | <fo:table-cell padding-top="3pt"> |
||
751 | jmachado | 97 | <fo:block > |
98 | Revisto a <xsl:value-of select="//uc:UnidadeCurricular/@uc:data"/> por <xsl:value-of select="$revisor"/> / Página <fo:page-number/> |
||
730 | jmachado | 99 | </fo:block> |
100 | <fo:block font-size="5pt"> |
||
101 | ESTG.SA.23-Rev.1 |
||
102 | </fo:block> |
||
726 | jmachado | 103 | |
730 | jmachado | 104 | </fo:table-cell> |
105 | <fo:table-cell padding-top="3pt" > |
||
106 | <fo:block font-size="6pt" text-align="right"> |
||
107 | http://www.estgp.pt | gerado pela plataforma baco® 2012 |
||
108 | </fo:block> |
||
109 | </fo:table-cell> |
||
110 | </fo:table-row> |
||
111 | </fo:table-body> |
||
112 | </fo:table> |
||
726 | jmachado | 113 | |
730 | jmachado | 114 | |
726 | jmachado | 115 | </fo:static-content> |
116 | <fo:flow flow-name="body"> |
||
730 | jmachado | 117 | |
726 | jmachado | 118 | <fo:block> |
730 | jmachado | 119 | |
726 | jmachado | 120 | <xsl:apply-templates select="//uc:UnidadeCurricular"/> |
121 | </fo:block> |
||
122 | </fo:flow> |
||
123 | </xsl:template> |
||
124 | |||
125 | <xsl:template match="/uc:UnidadeCurricular"> |
||
126 | <fo:table table-layout="fixed" border="0px solid black" margin="0.5em" font-size="8.5pt"> |
||
127 | <xsl:call-template name="gen_cols"/> |
||
128 | <fo:table-body text-align="left"> |
||
129 | |||
130 | <xsl:call-template name="gen_header"/> |
||
131 | |||
132 | <xsl:call-template name="gen_line"/> |
||
133 | |||
134 | </fo:table-body> |
||
135 | </fo:table> |
||
136 | </xsl:template> |
||
137 | |||
138 | <xsl:template name="gen_cols"> |
||
139 | <fo:table-column column-width="15em" /> |
||
140 | <fo:table-column/> |
||
141 | </xsl:template> |
||
142 | |||
143 | |||
144 | |||
145 | |||
146 | <xsl:template name="gen_header"> |
||
147 | <!--<fo:table-row background-color="#000" color="#FFF" height="7mm">--> |
||
148 | <!--<fo:table-cell border="1px solid black" display-align="center" >--> |
||
149 | <!--<fo:block text-align="center" >Pos</fo:block>--> |
||
150 | <!--</fo:table-cell>--> |
||
151 | <!--<fo:table-cell border="1px solid black" display-align="center" >--> |
||
152 | <!--<fo:block text-align="center">Pos. Esc.</fo:block>--> |
||
153 | <!--</fo:table-cell>--> |
||
154 | <!--</fo:table-row>--> |
||
155 | </xsl:template> |
||
156 | |||
157 | |||
158 | |||
159 | |||
160 | |||
161 | |||
162 | |||
163 | |||
164 | |||
165 | |||
166 | <xsl:template name="gen_line"> |
||
167 | |||
168 | <xsl:call-template name="tableWhiteLine"> |
||
169 | <xsl:with-param name="label">Ano Lectivo</xsl:with-param> |
||
730 | jmachado | 170 | <xsl:with-param name="label2"></xsl:with-param> |
726 | jmachado | 171 | <xsl:with-param name="value"><xsl:value-of select="//uc:anoLectivo"/></xsl:with-param> |
172 | </xsl:call-template> |
||
173 | |||
174 | <xsl:call-template name="tableWhiteLine"> |
||
175 | <xsl:with-param name="label">Curso</xsl:with-param> |
||
730 | jmachado | 176 | <xsl:with-param name="label2"></xsl:with-param> |
726 | jmachado | 177 | <xsl:with-param name="value"><xsl:value-of select="//uc:curso"/></xsl:with-param> |
178 | </xsl:call-template> |
||
179 | |||
180 | <xsl:call-template name="tableWhiteLine"> |
||
181 | <xsl:with-param name="label">Unidade Curricular</xsl:with-param> |
||
730 | jmachado | 182 | <xsl:with-param name="label2"></xsl:with-param> |
726 | jmachado | 183 | <xsl:with-param name="value"><xsl:value-of select="//uc:unidadeCurricular"/></xsl:with-param> |
184 | </xsl:call-template> |
||
185 | |||
186 | <xsl:call-template name="tableWhiteLine"> |
||
187 | <xsl:with-param name="label">Responsável</xsl:with-param> |
||
730 | jmachado | 188 | <xsl:with-param name="label2">[nome completo e e-mail]</xsl:with-param> |
726 | jmachado | 189 | <xsl:with-param name="value"><xsl:value-of select="//uc:responsavel"/> / <xsl:value-of select="//uc:responsavelEmail"/></xsl:with-param> |
190 | </xsl:call-template> |
||
191 | |||
192 | |||
193 | <xsl:call-template name="tableGrayLine"> |
||
749 | jmachado | 194 | <xsl:with-param name="label">Objetivos da aprendizagem (conhecimentos, aptidões e competências) a desenvolver pelos estudantes, operacionalização dos objetivos e medição do seu grau de cumprimento)</xsl:with-param> |
730 | jmachado | 195 | <xsl:with-param name="label2"></xsl:with-param> |
726 | jmachado | 196 | <xsl:with-param name="value"><xsl:value-of select="//uc:objetivosDaAprendizagem"/></xsl:with-param> |
197 | </xsl:call-template> |
||
198 | |||
199 | |||
730 | jmachado | 200 | |
201 | |||
202 | <xsl:call-template name="ects"/> |
||
203 | |||
204 | <!--<xsl:call-template name="tableWhiteLine">--> |
||
205 | <!--<xsl:with-param name="label">Docente(s)/contacto</xsl:with-param>--> |
||
206 | <!--<xsl:with-param name="label2">[nome completo e e-mail]</xsl:with-param>--> |
||
207 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:responsavel"/> / <xsl:value-of select="//uc:responsavelEmail"/></xsl:with-param>--> |
||
208 | <!--</xsl:call-template>--> |
||
209 | |||
210 | <xsl:if test="//uc:outroDocente1/text() != ''"> |
||
211 | <xsl:call-template name="tableWhiteLine"> |
||
212 | <xsl:with-param name="label">Docente(s)/contacto</xsl:with-param> |
||
213 | <xsl:with-param name="label2">[nome completo e e-mail]</xsl:with-param> |
||
214 | <xsl:with-param name="value"><xsl:value-of select="//uc:outroDocente1"/> / <xsl:value-of select="//uc:docenteEmail1"/></xsl:with-param> |
||
215 | </xsl:call-template> |
||
216 | </xsl:if> |
||
217 | |||
218 | <xsl:if test="//uc:outroDocente2/text() != ''"> |
||
219 | <xsl:call-template name="tableWhiteLine"> |
||
220 | <xsl:with-param name="label"></xsl:with-param> |
||
221 | <xsl:with-param name="label2"></xsl:with-param> |
||
222 | <xsl:with-param name="value"><xsl:value-of select="//uc:outroDocente2"/> / <xsl:value-of select="//uc:docenteEmail2"/></xsl:with-param> |
||
223 | </xsl:call-template> |
||
224 | </xsl:if> |
||
225 | |||
226 | <xsl:if test="//uc:outroDocente3/text() != ''"> |
||
227 | <xsl:call-template name="tableWhiteLine"> |
||
228 | <xsl:with-param name="label"></xsl:with-param> |
||
229 | <xsl:with-param name="label2"></xsl:with-param> |
||
230 | <xsl:with-param name="value"><xsl:value-of select="//uc:outroDocente3"/> / <xsl:value-of select="//uc:docenteEmail3"/></xsl:with-param> |
||
231 | </xsl:call-template> |
||
232 | </xsl:if> |
||
233 | |||
234 | <xsl:if test="//uc:outroDocente4/text() != ''"> |
||
235 | <xsl:call-template name="tableWhiteLine"> |
||
236 | <xsl:with-param name="label"></xsl:with-param> |
||
237 | <xsl:with-param name="label2"></xsl:with-param> |
||
238 | <xsl:with-param name="value"><xsl:value-of select="//uc:outroDocente4"/> / <xsl:value-of select="//uc:docenteEmail4"/></xsl:with-param> |
||
239 | </xsl:call-template> |
||
240 | </xsl:if> |
||
241 | |||
242 | |||
243 | <xsl:call-template name="tableWhiteLine"> |
||
244 | <xsl:with-param name="label">Requisitos Orientadores</xsl:with-param> |
||
245 | <xsl:with-param name="label2">[competências à entrada; pré-requisitos; precedências]</xsl:with-param> |
||
246 | <xsl:with-param name="value"><xsl:value-of select="//uc:preRequisitos"/></xsl:with-param> |
||
247 | </xsl:call-template> |
||
248 | |||
249 | |||
250 | <xsl:call-template name="tableWhiteLine"> |
||
251 | <xsl:with-param name="label">Conteúdos</xsl:with-param> |
||
252 | <xsl:with-param name="label2">[estrutura de conteúdos a desenvolver para o total de horas previsto]</xsl:with-param> |
||
253 | <xsl:with-param name="value"><xsl:value-of select="//uc:conteudosProgramaticos"/></xsl:with-param> |
||
254 | </xsl:call-template> |
||
255 | |||
918 | jmachado | 256 | <!-- Campo Novo Aprovado Luis Batista Mail de 3 de Setembro de 2015 assunto RE: Verificação conteudos - UC - CESH_TD--> |
257 | <xsl:call-template name="tableGrayLine"> |
||
258 | <xsl:with-param name="label">Demonstração da coerência dos conteúdos programáticos com os objectivos da unidade curricular</xsl:with-param> |
||
259 | <xsl:with-param name="label2"></xsl:with-param> |
||
260 | <xsl:with-param name="value"><xsl:value-of select="//uc:demonstracaoCoerenciaConteudosObjectivos"/></xsl:with-param> |
||
261 | </xsl:call-template> |
||
730 | jmachado | 262 | |
263 | <xsl:call-template name="tableWhiteLine"> |
||
264 | <xsl:with-param name="label">Metodologias de ensino e Aprendizagem</xsl:with-param> |
||
265 | <xsl:with-param name="label2"></xsl:with-param> |
||
266 | <xsl:with-param name="value"><xsl:value-of select="//uc:metodologiasEnsino"/></xsl:with-param> |
||
267 | </xsl:call-template> |
||
268 | |||
918 | jmachado | 269 | <!-- Campo Novo Aprovado Luis Batista Mail de 3 de Setembro de 2015 assunto RE: Verificação conteudos - UC - CESH_TD--> |
730 | jmachado | 270 | |
918 | jmachado | 271 | <xsl:call-template name="tableGrayLine"> |
272 | <xsl:with-param name="label">Demonstração da coerência das metodologias de ensino com os objectivos da aprendizagem da unidade curricular</xsl:with-param> |
||
273 | <xsl:with-param name="label2"></xsl:with-param> |
||
274 | <xsl:with-param name="value"><xsl:value-of select="//uc:demonstracaoDaCoerenciaMetodologiasObjectivos"/></xsl:with-param> |
||
275 | </xsl:call-template> |
||
276 | |||
730 | jmachado | 277 | <xsl:call-template name="tableWhiteLine"> |
278 | <xsl:with-param name="label">Língua de ensino</xsl:with-param> |
||
279 | <xsl:with-param name="label2"></xsl:with-param> |
||
763 | jmachado | 280 | <xsl:with-param name="value"><xsl:value-of select="//uc:lingua1"/><xsl:text> </xsl:text><xsl:value-of select="//uc:lingua2"/></xsl:with-param> |
730 | jmachado | 281 | </xsl:call-template> |
282 | |||
283 | <xsl:call-template name="tableWhiteLine2Fields"> |
||
284 | <xsl:with-param name="label">Avaliação</xsl:with-param> |
||
285 | <xsl:with-param name="label2">[indicar os componentes d sistema de avaliação, tipo, matéria e peso de cada componente na classificação final]</xsl:with-param> |
||
286 | <xsl:with-param name="field1">Avaliação por frequência</xsl:with-param> |
||
287 | <xsl:with-param name="field2">Avaliação por Exame</xsl:with-param> |
||
288 | <xsl:with-param name="value1"><xsl:value-of select="//uc:alunosOrdinariosPorFrequencia"/></xsl:with-param> |
||
289 | <xsl:with-param name="value2"><xsl:value-of select="//uc:alunosOrdinariosPorExame"/></xsl:with-param> |
||
290 | </xsl:call-template> |
||
291 | |||
292 | <!--<xsl:call-template name="tableWhiteLine">--> |
||
293 | <!--<xsl:with-param name="label">Avaliação de Alunos ordinários por frequência</xsl:with-param>--> |
||
294 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
295 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:alunosOrdinariosPorFrequencia"/></xsl:with-param>--> |
||
296 | <!--</xsl:call-template>--> |
||
297 | |||
298 | <!--<xsl:call-template name="tableGrayLine">--> |
||
299 | <!--<xsl:with-param name="label">Avaliação de Alunos ordinários por exame</xsl:with-param>--> |
||
300 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
301 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:alunosOrdinariosPorExame"/></xsl:with-param>--> |
||
302 | <!--</xsl:call-template>--> |
||
303 | |||
304 | <!--<xsl:call-template name="tableWhiteLine">--> |
||
305 | <!--<xsl:with-param name="label">Avaliação de Alunos em mobilidade e alunos com estatuto especial por frequência</xsl:with-param>--> |
||
306 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
307 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:alunosMobilidadeAlunosComEstatutoEspecialPorFrequencia"/></xsl:with-param>--> |
||
308 | <!--</xsl:call-template>--> |
||
309 | |||
310 | <!--<xsl:call-template name="tableGrayLine">--> |
||
311 | <!--<xsl:with-param name="label">Avaliação de Alunos em mobilidade e alunos com estatuto especial por exame</xsl:with-param>--> |
||
312 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
313 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:alunosMobilidadeAlunosComEstatutoEspecialPorExame"/></xsl:with-param>--> |
||
314 | <!--</xsl:call-template>--> |
||
315 | |||
316 | <xsl:call-template name="tableWhiteLine"> |
||
317 | <xsl:with-param name="label">Bibliografia Principal</xsl:with-param> |
||
318 | <xsl:with-param name="label2"></xsl:with-param> |
||
319 | <xsl:with-param name="value"><xsl:value-of select="//uc:bibliografiaPrincipal"/></xsl:with-param> |
||
320 | </xsl:call-template> |
||
321 | |||
322 | <xsl:call-template name="tableWhiteLine"> |
||
323 | <xsl:with-param name="label">Bibliografia Complementar</xsl:with-param> |
||
324 | <xsl:with-param name="label2"></xsl:with-param> |
||
325 | <xsl:with-param name="value"><xsl:value-of select="//uc:bibliografiaComplementar"/></xsl:with-param> |
||
326 | </xsl:call-template> |
||
327 | |||
328 | |||
329 | <xsl:call-template name="tableWhiteLine2Fields"> |
||
330 | <xsl:with-param name="label">Alunos em mobilidade e alunos com estatuto especial</xsl:with-param> |
||
331 | <xsl:with-param name="label2"></xsl:with-param> |
||
332 | <xsl:with-param name="field1">Avaliação por frequência</xsl:with-param> |
||
333 | <xsl:with-param name="field2">Avaliação por Exame</xsl:with-param> |
||
334 | <xsl:with-param name="value1"><xsl:value-of select="//uc:alunosMobilidadeAlunosComEstatutoEspecialPorFrequencia"/></xsl:with-param> |
||
335 | <xsl:with-param name="value2"><xsl:value-of select="//uc:alunosMobilidadeAlunosComEstatutoEspecialPorExame"/></xsl:with-param> |
||
336 | </xsl:call-template> |
||
337 | |||
338 | |||
339 | |||
340 | |||
341 | |||
342 | |||
343 | |||
344 | <!----> |
||
345 | <!----> |
||
346 | <!----> |
||
347 | |||
348 | <!--<xsl:call-template name="tableWhiteLine">--> |
||
349 | <!--<xsl:with-param name="label">Adaptação das metodologias de ensino e das didácticas aos objectivos de aprendizagem das unidades curriculares</xsl:with-param>--> |
||
350 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
351 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:adaptacaoMetodologiasObjectivos"/></xsl:with-param>--> |
||
352 | <!--</xsl:call-template>--> |
||
353 | |||
354 | <!--<xsl:call-template name="tableGrayLine">--> |
||
355 | <!--<xsl:with-param name="label"> </xsl:with-param>--> |
||
356 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
357 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:verificacaoCargaECTS"/>Verificação de que a carga média de trabalho necessária aos estudantes corresponde ao estimado em ECTS</xsl:with-param>--> |
||
358 | <!--</xsl:call-template>--> |
||
359 | |||
360 | <!--<xsl:call-template name="tableWhiteLine">--> |
||
361 | <!--<xsl:with-param name="label">Formas de garantir que a avaliação da aprendizagem dos estudantes é feita em função dos objectivos de aprendizagem da unidade curricular</xsl:with-param>--> |
||
362 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
363 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:avaliacaoFuncaoObjectivos"/></xsl:with-param>--> |
||
364 | <!--</xsl:call-template>--> |
||
365 | |||
366 | <!--<xsl:call-template name="tableGrayLine">--> |
||
367 | <!--<xsl:with-param name="label">Metodologias de ensino que facilitam a participação dos estudantes nas actividades cientificas</xsl:with-param>--> |
||
368 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
369 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:metodologiasFacilitamParticipacaoCientificas"/></xsl:with-param>--> |
||
370 | <!--</xsl:call-template>--> |
||
371 | |||
372 | <!--<xsl:call-template name="tableWhiteLine">--> |
||
373 | <!--<xsl:with-param name="label">Pré-requisitos</xsl:with-param>--> |
||
374 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
375 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:preRequisitos"/></xsl:with-param>--> |
||
376 | <!--</xsl:call-template>--> |
||
377 | |||
378 | <!--<xsl:call-template name="tableGrayLine">--> |
||
379 | <!--<xsl:with-param name="label">Natureza opcional ou obrigatória da unidade curricular</xsl:with-param>--> |
||
380 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
381 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:obrigatoria"/></xsl:with-param>--> |
||
382 | <!--</xsl:call-template>--> |
||
383 | |||
384 | <!--<xsl:call-template name="tableWhiteLine">--> |
||
385 | <!--<xsl:with-param name="label">Língua de ensino 1</xsl:with-param>--> |
||
386 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
387 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:lingua1"/></xsl:with-param>--> |
||
388 | <!--</xsl:call-template>--> |
||
389 | |||
390 | <!--<xsl:call-template name="tableGrayLine">--> |
||
391 | <!--<xsl:with-param name="label">Língua de ensino 2</xsl:with-param>--> |
||
392 | <!--<xsl:with-param name="label2"></xsl:with-param>--> |
||
393 | <!--<xsl:with-param name="value"><xsl:value-of select="//uc:lingua2"/></xsl:with-param>--> |
||
394 | <!--</xsl:call-template>--> |
||
395 | |||
396 | |||
397 | |||
398 | |||
726 | jmachado | 399 | </xsl:template> |
400 | |||
730 | jmachado | 401 | <xsl:template name="ects"> |
402 | <fo:table-row background-color="#FFFFFF"> |
||
403 | |||
404 | <fo:table-cell border-bottom="1px solid gray" border-right="1px solid gray" padding-right="0.1em" display-align="center" > |
||
405 | <fo:block text-align="right" padding="3pt" font-weight="bold"> |
||
406 | ECTS/tempo de trabalho (horas) |
||
407 | </fo:block> |
||
408 | </fo:table-cell> |
||
409 | <fo:table-cell background-color="#FFF" color="#000" border-bottom="1px solid gray" padding-right="0.1em" display-align="center"> |
||
410 | <fo:block text-align="left" padding="3pt"> |
||
411 | |||
412 | |||
413 | <fo:table table-layout="fixed" border="1px solid gray" margin="0.5em" font-size="8.5pt"> |
||
414 | <fo:table-column border="1px solid gray"/> |
||
415 | <fo:table-column border="1px solid gray"/> |
||
416 | <fo:table-column border="1px solid gray"/> |
||
417 | <fo:table-column border="1px solid gray"/> |
||
418 | <fo:table-column border="1px solid gray"/> |
||
419 | <fo:table-column border="1px solid gray" /> |
||
420 | <fo:table-column border="1px solid gray" /> |
||
421 | <fo:table-column border="1px solid gray"/> |
||
422 | <fo:table-column border="1px solid gray"/> |
||
423 | <fo:table-body text-align="left"> |
||
424 | <fo:table-row > |
||
425 | <fo:table-cell > |
||
426 | <fo:block text-align="right" padding="3pt" font-weight="bold"> |
||
427 | ECTS |
||
428 | </fo:block> |
||
429 | </fo:table-cell> |
||
430 | <fo:table-cell padding-right="0.1em" display-align="center" > |
||
431 | <fo:block text-align="right" padding="3pt" font-weight="bold"> |
||
432 | Total |
||
433 | </fo:block> |
||
434 | </fo:table-cell> |
||
435 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" number-columns-spanned="7"> |
||
436 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
437 | Horas de contacto semestral |
||
438 | </fo:block> |
||
439 | </fo:table-cell> |
||
440 | </fo:table-row> |
||
441 | |||
442 | <fo:table-row > |
||
443 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" number-rows-spanned="2" > |
||
444 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
445 | <xsl:value-of select="//uc:ects"/> |
||
446 | </fo:block> |
||
447 | </fo:table-cell> |
||
448 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" number-rows-spanned="2" > |
||
449 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
450 | <xsl:value-of select="//uc:cargaHorariaTotal"/> |
||
451 | </fo:block> |
||
452 | </fo:table-cell> |
||
453 | |||
454 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" > |
||
455 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
456 | T |
||
457 | </fo:block> |
||
458 | </fo:table-cell> |
||
459 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" > |
||
460 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
461 | TP |
||
462 | </fo:block> |
||
463 | </fo:table-cell> |
||
464 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" > |
||
465 | <fo:block text-align="right" padding="3pt" font-weight="bold"> |
||
466 | PL |
||
467 | </fo:block> |
||
468 | </fo:table-cell> |
||
469 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" > |
||
470 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
471 | S |
||
472 | </fo:block> |
||
473 | </fo:table-cell> |
||
474 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" > |
||
475 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
476 | TC |
||
477 | </fo:block> |
||
478 | </fo:table-cell> |
||
479 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" > |
||
480 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
481 | O |
||
482 | </fo:block> |
||
483 | </fo:table-cell> |
||
484 | <fo:table-cell border="1px solid gray" padding-right="0.1em" display-align="center" > |
||
485 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
486 | OT |
||
487 | </fo:block> |
||
488 | </fo:table-cell> |
||
489 | |||
490 | </fo:table-row> |
||
491 | |||
492 | |||
493 | <fo:table-row > |
||
494 | |||
495 | |||
496 | <fo:table-cell border-right="1px solid gray" padding-right="0.1em" display-align="center" > |
||
497 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
498 | <xsl:value-of select="//uc:cargaHorariaT"/> |
||
499 | </fo:block> |
||
500 | </fo:table-cell> |
||
501 | <fo:table-cell border-right="1px solid gray" padding-right="0.1em" display-align="center" > |
||
502 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
503 | <xsl:value-of select="//uc:cargaHorariaTP"/> |
||
504 | </fo:block> |
||
505 | </fo:table-cell> |
||
506 | <fo:table-cell border-right="1px solid gray" padding-right="0.1em" display-align="center" > |
||
507 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
508 | <xsl:value-of select="//uc:cargaHorariaPL"/> |
||
509 | </fo:block> |
||
510 | </fo:table-cell> |
||
511 | <fo:table-cell border-right="1px solid gray" padding-right="0.1em" display-align="center" > |
||
512 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
513 | <xsl:value-of select="//uc:cargaHorariaS"/> |
||
514 | </fo:block> |
||
515 | </fo:table-cell> |
||
516 | <fo:table-cell border-right="1px solid gray" padding-right="0.1em" display-align="center" > |
||
517 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
518 | <xsl:value-of select="//uc:cargaHorariaTC"/> |
||
519 | </fo:block> |
||
520 | </fo:table-cell> |
||
521 | <fo:table-cell border-right="1px solid gray" padding-right="0.1em" display-align="center" > |
||
522 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
523 | <xsl:value-of select="//uc:cargaHorariaO"/> |
||
524 | </fo:block> |
||
525 | </fo:table-cell> |
||
526 | <fo:table-cell border-right="1px solid gray" padding-right="0.1em" display-align="center" > |
||
527 | <fo:block text-align="center" padding="3pt" font-weight="bold"> |
||
528 | <xsl:value-of select="//uc:cargaHorariaOT"/> |
||
529 | </fo:block> |
||
530 | </fo:table-cell> |
||
531 | |||
532 | </fo:table-row> |
||
533 | </fo:table-body> |
||
534 | </fo:table> |
||
535 | |||
536 | |||
537 | </fo:block> |
||
538 | </fo:table-cell> |
||
539 | </fo:table-row> |
||
540 | |||
541 | |||
542 | </xsl:template> |
||
543 | |||
726 | jmachado | 544 | <xsl:template name="tableWhiteLine"> |
545 | <xsl:param name="label"/> |
||
730 | jmachado | 546 | <xsl:param name="label2"/> |
726 | jmachado | 547 | <xsl:param name="value"/> |
548 | <xsl:call-template name="tableLine"> |
||
549 | <xsl:with-param name="label"><xsl:value-of select="$label"/></xsl:with-param> |
||
730 | jmachado | 550 | <xsl:with-param name="label2"><xsl:value-of select="$label2"/></xsl:with-param> |
726 | jmachado | 551 | <xsl:with-param name="value"><xsl:value-of select="$value"/></xsl:with-param> |
552 | <xsl:with-param name="bgcolor">#FFF</xsl:with-param> |
||
553 | <xsl:with-param name="color">#000</xsl:with-param> |
||
554 | </xsl:call-template> |
||
555 | </xsl:template> |
||
556 | |||
730 | jmachado | 557 | <xsl:template name="tableWhiteLine2Fields"> |
726 | jmachado | 558 | <xsl:param name="label"/> |
730 | jmachado | 559 | <xsl:param name="label2"/> |
560 | <xsl:param name="field1"/> |
||
561 | <xsl:param name="field2"/> |
||
562 | <xsl:param name="value1"/> |
||
563 | <xsl:param name="value2"/> |
||
564 | <xsl:call-template name="tableLine2Fields"> |
||
565 | <xsl:with-param name="label"><xsl:value-of select="$label"/></xsl:with-param> |
||
566 | <xsl:with-param name="label2"><xsl:value-of select="$label2"/></xsl:with-param> |
||
567 | <xsl:with-param name="field1"><xsl:value-of select="$field1"/></xsl:with-param> |
||
568 | <xsl:with-param name="field2"><xsl:value-of select="$field2"/></xsl:with-param> |
||
569 | <xsl:with-param name="value1"><xsl:value-of select="$value1"/></xsl:with-param> |
||
570 | <xsl:with-param name="value2"><xsl:value-of select="$value2"/></xsl:with-param> |
||
571 | <xsl:with-param name="bgcolor">#FFF</xsl:with-param> |
||
572 | <xsl:with-param name="color">#000</xsl:with-param> |
||
573 | </xsl:call-template> |
||
574 | </xsl:template> |
||
575 | |||
576 | <xsl:template name="tableGrayLine"> |
||
577 | <xsl:param name="label"/> |
||
578 | <xsl:param name="label2"/> |
||
726 | jmachado | 579 | <xsl:param name="value"/> |
580 | <xsl:call-template name="tableLine"> |
||
581 | <xsl:with-param name="label"><xsl:value-of select="$label"/></xsl:with-param> |
||
730 | jmachado | 582 | <xsl:with-param name="label2"><xsl:value-of select="$label2"/></xsl:with-param> |
726 | jmachado | 583 | <xsl:with-param name="value"><xsl:value-of select="$value"/></xsl:with-param> |
584 | <xsl:with-param name="bgcolor">#AAA</xsl:with-param> |
||
585 | <xsl:with-param name="color">#FFF</xsl:with-param> |
||
586 | </xsl:call-template> |
||
587 | </xsl:template> |
||
588 | |||
589 | <xsl:template name="tableLine"> |
||
590 | <xsl:param name="label"/> |
||
730 | jmachado | 591 | <xsl:param name="label2"/> |
726 | jmachado | 592 | <xsl:param name="value"/> |
593 | <xsl:param name="bgcolor"/> |
||
594 | <xsl:param name="color"/> |
||
595 | <fo:table-row > |
||
596 | <xsl:attribute name="background-color"> |
||
597 | <xsl:value-of select="$bgcolor"/> |
||
598 | </xsl:attribute> |
||
599 | <xsl:attribute name="color"> |
||
600 | <xsl:value-of select="$color"/> |
||
601 | </xsl:attribute> |
||
730 | jmachado | 602 | <fo:table-cell border-right="1px solid gray" border-bottom="1px solid gray" padding-right="0.1em" display-align="center" > |
726 | jmachado | 603 | <fo:block text-align="right" padding="3pt" font-weight="bold"> |
604 | <xsl:value-of select="$label"/> |
||
605 | </fo:block> |
||
730 | jmachado | 606 | <fo:block text-align="right" padding="3pt" font-size="6pt"> |
607 | <xsl:value-of select="$label2"/> |
||
608 | </fo:block> |
||
726 | jmachado | 609 | </fo:table-cell> |
730 | jmachado | 610 | <fo:table-cell background-color="#FFF" color="#000" border-bottom="1px solid gray" padding-right="0.1em" display-align="center"> |
1160 | jmachado | 611 | <fo:block text-align="left" padding="3pt" linefeed-treatment="preserve" wrap-option="wrap" white-space-collapse="false" white-space-treatment="preserve"> |
726 | jmachado | 612 | <xsl:value-of select="$value"/> |
613 | </fo:block> |
||
614 | </fo:table-cell> |
||
615 | </fo:table-row> |
||
616 | |||
617 | </xsl:template> |
||
618 | |||
619 | |||
620 | |||
730 | jmachado | 621 | <xsl:template name="tableLine2Fields"> |
622 | <xsl:param name="label"/> |
||
623 | <xsl:param name="label2"/> |
||
624 | <xsl:param name="field1"/> |
||
625 | <xsl:param name="field2"/> |
||
626 | <xsl:param name="value1"/> |
||
627 | <xsl:param name="value2"/> |
||
628 | <xsl:param name="bgcolor"/> |
||
629 | <xsl:param name="color"/> |
||
630 | <fo:table-row > |
||
631 | <xsl:attribute name="background-color"> |
||
632 | <xsl:value-of select="$bgcolor"/> |
||
633 | </xsl:attribute> |
||
634 | <xsl:attribute name="color"> |
||
635 | <xsl:value-of select="$color"/> |
||
636 | </xsl:attribute> |
||
637 | <fo:table-cell border-right="1px solid gray" border-bottom="1px solid gray" padding-right="0.1em" display-align="center" > |
||
638 | <fo:block text-align="right" padding="3pt" font-weight="bold"> |
||
639 | <xsl:value-of select="$label"/> |
||
640 | </fo:block> |
||
641 | <fo:block text-align="right" padding="3pt" font-size="6pt"> |
||
642 | <xsl:value-of select="$label2"/> |
||
643 | </fo:block> |
||
644 | </fo:table-cell> |
||
645 | <fo:table-cell background-color="#FFF" color="#000" border-bottom="1px solid gray" padding-right="0.1em" display-align="center"> |
||
646 | <fo:block text-align="left" padding="3pt" linefeed-treatment="preserve" font-weight="bold"> |
||
647 | 1 - <xsl:value-of select="$field1"/> |
||
648 | </fo:block> |
||
1160 | jmachado | 649 | <fo:block text-align="left" padding="3pt" linefeed-treatment="preserve" wrap-option="wrap" white-space-collapse="false" white-space-treatment="preserve"> |
730 | jmachado | 650 | <xsl:value-of select="$value1"/> |
651 | </fo:block> |
||
652 | <fo:block text-align="left" padding="3pt" linefeed-treatment="preserve" font-weight="bold"> |
||
653 | 2 - <xsl:value-of select="$field2"/> |
||
654 | </fo:block> |
||
1160 | jmachado | 655 | <fo:block text-align="left" padding="3pt" linefeed-treatment="preserve" wrap-option="wrap" white-space-collapse="false" white-space-treatment="preserve"> |
730 | jmachado | 656 | <xsl:value-of select="$value2"/> |
657 | </fo:block> |
||
658 | </fo:table-cell> |
||
659 | </fo:table-row> |
||
726 | jmachado | 660 | |
730 | jmachado | 661 | </xsl:template> |
726 | jmachado | 662 | |
663 | |||
664 | |||
730 | jmachado | 665 | |
666 | |||
667 | |||
668 | |||
726 | jmachado | 669 | </xsl:stylesheet> |