Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1566 → Rev 1567

/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/utils/MediasGrupo.java
New file
0,0 → 1,87
package pt.estgp.estgweb.services.questionarios.utils;
 
import java.io.Serializable;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class MediasGrupo implements Serializable
{
String grupo;
double avaliacaoMedia;
int avaliacaoMediaArredondada;
double desvioPadrao;
public double mediaGlobalNosCursos;
public double mediaGlobalNasEscolas;
String colorMedia;
 
DataTable mediasGlobaisTable;
 
public MediasGrupo(String grupo) {
this.grupo = grupo;
}
 
public String getGrupo() {
return grupo;
}
 
public void setGrupo(String grupo) {
this.grupo = grupo;
}
 
public DataTable getMediasGlobaisTable() {
return mediasGlobaisTable;
}
 
public void setMediasGlobaisTable(DataTable mediasGlobaisTable) {
this.mediasGlobaisTable = mediasGlobaisTable;
}
 
public double getAvaliacaoMedia() {
return avaliacaoMedia;
}
 
public void setAvaliacaoMedia(double avaliacaoMedia) {
this.avaliacaoMedia = avaliacaoMedia;
}
 
public int getAvaliacaoMediaArredondada() {
return avaliacaoMediaArredondada;
}
 
public void setAvaliacaoMediaArredondada(int avaliacaoMediaArredondada) {
this.avaliacaoMediaArredondada = avaliacaoMediaArredondada;
}
 
public double getDesvioPadrao() {
return desvioPadrao;
}
 
public void setDesvioPadrao(double desvioPadrao) {
this.desvioPadrao = desvioPadrao;
}
 
public double getMediaGlobalNosCursos() {
return mediaGlobalNosCursos;
}
 
public void setMediaGlobalNosCursos(double mediaGlobalNosCursos) {
this.mediaGlobalNosCursos = mediaGlobalNosCursos;
}
 
public double getMediaGlobalNasEscolas() {
return mediaGlobalNasEscolas;
}
 
public void setMediaGlobalNasEscolas(double mediaGlobalNasEscolas) {
this.mediaGlobalNasEscolas = mediaGlobalNasEscolas;
}
 
public String getColorMedia() {
return colorMedia;
}
 
public void setColorMedia(String colorMedia) {
this.colorMedia = colorMedia;
}
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/utils/DataTable.java
66,6 → 66,7
String type = null;
private ArrayList<Col> cols;
 
 
public Row() {
setCols(new ArrayList<Col>());
}
78,6 → 79,8
public void setTypeHeader() { type = "header"; }
public void setTypeFooter() { type = "footer"; }
 
 
 
public Col addCol()
{
Col col = new Col();
93,7 → 96,7
return col;
}
public Col addColNumberRight(String value)
{ Col col = new Col();
{ Col col = new Col(value);
col.setTypeNumber();
col.setAlignRight();
cols.add(col);
253,8 → 256,25
boolean usePercentageColor = false;
String backgroundColor = "";
String backgroundColorPercentage = "";
String fontWeight = "";
int colspan = 0;
 
public String getFontWeight() {
return fontWeight;
}
 
public void setFontWeight(String fontWeight) {
this.fontWeight = fontWeight;
}
 
public int getColspan() {
return colspan;
}
 
public void setColspan(int colspan) {
this.colspan = colspan;
}
 
public String getBackgroundColor() {
return backgroundColor;
}
292,17 → 312,8
{
double percentage = type.equals("percentageDefined") ? Double.parseDouble(percentDefined.replace(",",".")) : Double.parseDouble(value.replace(",","."));
percentage = percentage / 100.0;
if(percentage < 0.5)
{
int green = (int) (255.0*(percentage*2));
setBackgroundColorPercentage("rgb(255," + green + ",0)");
}
else
{
 
int red = (int) (255.0*((1.0-percentage)*2));
setBackgroundColorPercentage("rgb(" + red + ",255,0)");
}
setBackgroundColorPercentage(getColorGradientForPercentage(percentage));
}
 
}
324,6 → 335,29
}
}
 
/**
*
* @param percentageDecimal between 0 and 1
* @return
*/
public static String getColorGradientForPercentage(double percentageDecimal)
{
if(percentageDecimal < 0.5)
{
int green = ChartBuilderUtil.getGreenComponentGradient(percentageDecimal);
return "rgb(255," + green + ",0)";
}
else
{
 
int red = ChartBuilderUtil.getRedComponentGradient(percentageDecimal);
//int red = (int) (255.0*((1.0-percentageDecimal)*2));
return "rgb(" + red + ",255,0)";
}
}
 
 
 
public Document serialize() throws DocumentException, TransformerException, IOException {
ByteArrayOutputStream out = new ByteArrayOutputStream();
//fos1 = new FileOutputStream("/Volumes/Home/jorgemachado/Desktop/docenteReport.xml");
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/utils/PerguntaStats.java
New file
0,0 → 1,138
package pt.estgp.estgweb.services.questionarios.utils;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class PerguntaStats extends ChartTemp
{
String pergunta;
String numero;
String grupo;
 
String mediaEntidadeEmAvaliacaoPrint;
String mediaCursosPrint;
String mediaEscolasPrint;
 
Double mediaEntidadeEmAvaliacao;
Double mediaCursos;
Double mediaEscolas;
 
String percentMediaEntidadeEmAvaliacao;
String percentMediaCursos;
String percentMediaEscolas;
 
String diffMediaCurso;
String diffMediaCursoPrint;
 
public String getDiffMediaCurso() {
return diffMediaCurso;
}
 
public void setDiffMediaCurso(String diffMediaCurso) {
this.diffMediaCurso = diffMediaCurso;
}
 
public String getDiffMediaCursoPrint() {
return diffMediaCursoPrint;
}
 
public void setDiffMediaCursoPrint(String diffMediaCursoPrint) {
this.diffMediaCursoPrint = diffMediaCursoPrint;
}
 
public String getMediaCursosPrint() {
return mediaCursosPrint;
}
 
public void setMediaCursosPrint(String mediaCursosPrint) {
this.mediaCursosPrint = mediaCursosPrint;
}
 
public String getMediaEscolasPrint() {
return mediaEscolasPrint;
}
 
public void setMediaEscolasPrint(String mediaEscolasPrint) {
this.mediaEscolasPrint = mediaEscolasPrint;
}
 
public String getGrupo() {
return grupo;
}
 
public void setGrupo(String grupo) {
this.grupo = grupo;
}
 
public String getPergunta() {
return pergunta;
}
 
public void setPergunta(String pergunta) {
this.pergunta = pergunta;
}
 
public Double getMediaCursos() {
return mediaCursos;
}
 
public void setMediaCursos(Double mediaCursos) {
this.mediaCursos = mediaCursos;
}
 
public Double getMediaEscolas() {
return mediaEscolas;
}
 
public void setMediaEscolas(Double mediaEscolas) {
this.mediaEscolas = mediaEscolas;
}
 
public String getPercentMediaCursos() {
return percentMediaCursos;
}
 
public void setPercentMediaCursos(String percentMediaCursos) {
this.percentMediaCursos = percentMediaCursos;
}
 
public String getPercentMediaEscolas() {
return percentMediaEscolas;
}
 
public Double getMediaEntidadeEmAvaliacao() {
return mediaEntidadeEmAvaliacao;
}
 
public void setMediaEntidadeEmAvaliacao(Double mediaEntidadeEmAvaliacao) {
this.mediaEntidadeEmAvaliacao = mediaEntidadeEmAvaliacao;
}
 
public String getMediaEntidadeEmAvaliacaoPrint() {
return mediaEntidadeEmAvaliacaoPrint;
}
 
public void setMediaEntidadeEmAvaliacaoPrint(String mediaEntidadeEmAvaliacaoPrint) {
this.mediaEntidadeEmAvaliacaoPrint = mediaEntidadeEmAvaliacaoPrint;
}
 
public String getPercentMediaEntidadeEmAvaliacao() {
return percentMediaEntidadeEmAvaliacao;
}
 
public void setPercentMediaEntidadeEmAvaliacao(String percentMediaEntidadeEmAvaliacao) {
this.percentMediaEntidadeEmAvaliacao = percentMediaEntidadeEmAvaliacao;
}
 
public void setPercentMediaEscolas(String percentMediaEscolas) {
this.percentMediaEscolas = percentMediaEscolas;
}
 
public String getNumero() {
return numero;
}
 
public void setNumero(String numero) {
this.numero = numero;
}
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/utils/ChartWithTitleTemp.java
New file
0,0 → 1,36
package pt.estgp.estgweb.services.questionarios.utils;
 
import java.io.Serializable;
 
/**
* Created by jorgemachado on 08/12/16.
*/
public class ChartWithTitleTemp extends ChartTemp implements Serializable
{
private String chartTitle;
private String subTitle;
 
public String getChartTitle() {
return chartTitle;
}
 
public void setChartTitle(String chartTitle) {
this.chartTitle = chartTitle;
}
 
public String getSubTitle() {
return subTitle;
}
 
public void setSubTitle(String subTitle) {
this.subTitle = subTitle;
}
 
public ChartWithTitleTemp(String chartTitle,String subTitle,String path) {
super(path);
this.chartTitle = chartTitle;
this.subTitle = subTitle;
}
 
 
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/utils/ChartBuilderUtil.java
19,7 → 19,7
import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.data.general.DefaultPieDataset;
import org.jfree.data.general.DefaultValueDataset;
import org.jfree.data.time.Second;
import org.jfree.data.time.Day;
import org.jfree.data.time.TimeSeries;
import org.jfree.data.time.TimeSeriesCollection;
import org.jfree.data.xy.XYDataset;
41,6 → 41,7
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
 
/**
* Created by jorgemachado on 28/11/16.
48,14 → 49,16
public class ChartBuilderUtil
{
 
static Color GREEN_OK = new Color(223,253,184);
static Color RED_NOT_OK = new Color(255,200, 164);
static Color NEUTRAL_TOTAL = new Color(83,83,84);
public static Color GREEN_OK = new Color(223,253,184);
public static Color RED_NOT_OK = new Color(255,200, 164);
public static Color NEUTRAL_TOTAL = new Color(83,83,84);
 
static Color COLOR_SECTION_BLUE_DARK = new Color(82, 162,254);
static Color COLOR_SECTION_BLUE = new Color(178,230,254);
static Color COLOR_SECTION_GREEN = new Color(221,253,177);
public static Color COLOR_SECTION_BLUE_DARK = new Color(82, 162,254);
public static Color COLOR_SECTION_BLUE = new Color(178,230,254);
public static Color COLOR_SECTION_GREEN = new Color(221,253,177);
 
public static Color TRANSPARENT = new Color(0xFF, 0xFF, 0xFF, 0);
 
public static Color COLOR_1 = new Color(253, 11, 0);
public static Color COLOR_2 = new Color(255, 190, 0);
public static Color COLOR_3 = new Color(255, 254, 0);
110,6 → 113,7
chart.setTextAntiAlias(true);
CategoryPlot barChartPlot = (CategoryPlot) chart.getPlot();
 
 
//barChartPlot.getRangeAxis().setRange(0,100);
//barChartPlot.setDrawingSupplier(new ChartDrawingSupplier());
barChartPlot.setBackgroundPaint(new Color(255, 255, 255));
150,6 → 154,8
barChartPlot.getRenderer().setSeriesPaint(3,COLOR_4);
barChartPlot.getRenderer().setSeriesPaint(4,COLOR_5);
 
 
 
java.util.List categories = barChartPlot.getCategories();
barChartPlot.getRenderer().setBaseItemLabelGenerator(new StandardCategoryItemLabelGenerator("{2}({3})", NumberFormat.getInstance(),NumberFormat.getPercentInstance()));
 
169,6 → 175,7
//((BarRenderer) barChartPlot.getRenderer()).setPositiveItemLabelPosition(new ItemLabelPosition(ItemLabelAnchor.INSIDE12, TextAnchor.TOP_CENTER));
barChartPlot.getRenderer().setBaseItemLabelsVisible(true);
barChartPlot.getRenderer().setItemLabelsVisible(true);
 
//barChartPlot.getDomainAxis().setLabel("d");
 
 
192,6 → 199,8
 
 
 
((BarRenderer)barChartPlot.getRenderer()).setShadowVisible(false);
 
ChartRenderingInfo info = new ChartRenderingInfo(new StandardEntityCollection());
 
 
320,7 → 329,7
 
JFreeChart chart = ChartFactory.createBarChart(null, null, null, categoryDataset, PlotOrientation.HORIZONTAL, false, true, false);
chart.setAntiAlias(true);
chart.setTextAntiAlias(true);
chart.setTextAntiAlias(false);
CategoryPlot barChartPlot = (CategoryPlot) chart.getPlot();
 
 
348,7 → 357,7
case 1:
return Color.black;
default:
return Color.white;
return Color.black;
}
}
}
359,57 → 368,34
(((CategoryPlot) chart.getPlot()).getDomainAxis()).setTickLabelFont(new Font(
"Helvetica", Font.PLAIN, 20));
((BarRenderer)((CategoryPlot) chart.getPlot()).getRenderer()).setBaseLegendTextFont(new Font(
"Helvetica", Font.BOLD, 20));
"Helvetica", Font.PLAIN, 20));
((CategoryPlot) chart.getPlot()).getRenderer().setBaseItemLabelFont(new Font(
"Helvetica", Font.BOLD, 35));
"Helvetica", Font.PLAIN, 20));
barChartPlot.getRenderer().setBaseItemLabelGenerator(new StandardCategoryItemLabelGenerator());
//barChartPlot.getRendererForDataset(barChartPlot.getDataset(0)).setSeriesPaint(0,Color.red);
//barChartPlot.getRendererForDataset(barChartPlot.getDataset(0)).setSeriesPaint(1,Color.blue);
// barChartPlot.getRendererForDataset(barChartPlot.getDataset(1)).setSeriesPaint(0,Color.blue);
 
((BarRenderer)barChartPlot.getRenderer()).setPositiveItemLabelPosition(new ItemLabelPosition(ItemLabelAnchor.INSIDE3, TextAnchor.CENTER_RIGHT));
((BarRenderer)barChartPlot.getRenderer()).setPositiveItemLabelPosition(new ItemLabelPosition(ItemLabelAnchor.OUTSIDE3, TextAnchor.CENTER_LEFT));
barChartPlot.getRenderer().setBaseItemLabelsVisible(true);
barChartPlot.getRenderer().setItemLabelsVisible(true);
//((BarRenderer)barChartPlot.getRenderer()).setMaximumBarWidth(1.0);
((BarRenderer)barChartPlot.getRenderer()).setItemMargin(0);
 
((BarRenderer)barChartPlot.getRenderer()).setMaximumBarWidth(1);
((BarRenderer)barChartPlot.getRenderer()).setMinimumBarLength(10);
System.out.println(((BarRenderer) barChartPlot.getRenderer()).getMaximumBarWidth());
System.out.println(((BarRenderer) barChartPlot.getRenderer()).getMinimumBarLength());
 
//CategoryItemLabelGenerator generator = new StandardCategoryItemLabelGenerator(
// "{2}", new DecimalFormat("0.00"));
//((BarRenderer)barChartPlot.getRenderer()).setBaseItemLabelGenerator(generator);
 
/*XYItemRenderer renderer = plot.getRenderer();
XYItemLabelGenerator generator = new StandardXYItemLabelGenerator(
"{2}", new DecimalFormat("0.00"));
renderer.setLabelGenerator(generator);*/
// clear the settings for ALL series...
((BarRenderer)barChartPlot.getRenderer()).setItemLabelPaint(null);
((BarRenderer)barChartPlot.getRenderer()).setItemLabelPaint(null);
// add settings for individual series...
 
//PINTAR LETRAS DAS LABELS POR CATGORIA SE FOR APENAS UMA CATEGORIA PINTA TUDO IGUAL com red
//((BarRenderer)barChartPlot.getRenderer()).setSeriesItemLabelPaint(0, Color.red);
//((BarRenderer)barChartPlot.getRenderer()) .setSeriesItemLabelPaint(1, Color.green);
//((BarRenderer)barChartPlot.getRenderer()) .setSeriesItemLabelPaint(1, Color.blue);
 
//((BarRenderer)barChartPlot.getRenderer()).set;
((BarRenderer)barChartPlot.getRenderer()).setShadowVisible(false);
barChartPlot.getRangeAxis().setVisible(false);
barChartPlot.getRangeAxis().setUpperMargin(0.15);
((BarRenderer)barChartPlot.getRenderer()).setItemMargin(0.2);
 
 
//chart2.getCategoryPlot().getRangeAxis().setLabelInsets(new RectangleInsets(UnitType.ABSOLUTE, 0, 0, 25, 25));
 
 
//plot is the CategoryPlot you are creating
//LegendItemCollection legend = plot.getLegendItems();
// I have just put dummy values in for these parameters, see the JavaDoc (linked below) for full details.
// You will need to supply a Shape for the place-holder variables shape0 and shape1.
// gpCuMnth0 and gpCuMnth1 are the GradientPaint variables you defined eariler -- depending how
// you arrange your code will determine how you expose them to the renderer and the legend.
//legend.add(new LegendItem(new AttributedString("gpCuMnth0"), "description 0", "tooltip 0", "url 0", shape0, gpCuMnth0));
//legend.add(new LegendItem(new AttributedString("gpCuMnth1"), "description 1", "tooltip 1", "url 1", shape1, gpCuMnth1));
 
BufferedImage image = chart.createBufferedImage( 550, 400);
BufferedImage image = chart.createBufferedImage( 550, 300);
String pathGraficoRespostas = Globals.TMP_DIR + File.separator + pathTemplate + "graficoRespostas.png";
//String pathGraficoRespostas = "/Volumes/Home/jorgemachado/Desktop/graficoRespostas.png";
ImageIO.write(image, "png", new FileOutputStream(pathGraficoRespostas));
465,7 → 451,7
case 1:
return Color.black;
default:
return Color.white;
return Color.black;
 
}
}
477,23 → 463,26
(((CategoryPlot) chart.getPlot()).getDomainAxis()).setTickLabelFont(new Font(
"Helvetica", Font.PLAIN, 20));
((BarRenderer)((CategoryPlot) chart.getPlot()).getRenderer()).setBaseLegendTextFont(new Font(
"Helvetica", Font.BOLD, 20));
"Helvetica", Font.PLAIN, 20));
((CategoryPlot) chart.getPlot()).getRenderer().setBaseItemLabelFont(new Font(
"Helvetica", Font.BOLD, 30));
"Helvetica", Font.PLAIN, 20));
barChartPlot.getRenderer().setBaseItemLabelGenerator(new StandardCategoryItemLabelGenerator());
 
((BarRenderer)barChartPlot.getRenderer()).setPositiveItemLabelPosition(new ItemLabelPosition(ItemLabelAnchor.INSIDE3, TextAnchor.CENTER_RIGHT));
((BarRenderer)barChartPlot.getRenderer()).setPositiveItemLabelPosition(new ItemLabelPosition(ItemLabelAnchor.OUTSIDE3, TextAnchor.CENTER_LEFT));
barChartPlot.getRenderer().setBaseItemLabelsVisible(true);
barChartPlot.getRenderer().setItemLabelsVisible(true);
//((BarRenderer)barChartPlot.getRenderer()).setMaximumBarWidth(1.0);
((BarRenderer)barChartPlot.getRenderer()).setItemMargin(0);
((BarRenderer)barChartPlot.getRenderer()).setItemMargin(0.2);
((BarRenderer)barChartPlot.getRenderer()).setMaximumBarWidth(1);
((BarRenderer)barChartPlot.getRenderer()).setMinimumBarLength(10);
System.out.println(((BarRenderer) barChartPlot.getRenderer()).getMaximumBarWidth());
System.out.println(((BarRenderer) barChartPlot.getRenderer()).getMinimumBarLength());
 
 
BufferedImage image = chart.createBufferedImage( 550, 400);
((BarRenderer)barChartPlot.getRenderer()).setShadowVisible(false);
barChartPlot.getRangeAxis().setVisible(false);
barChartPlot.getRangeAxis().setUpperMargin(0.15);
((BarRenderer)barChartPlot.getRenderer()).setItemMargin(0.2);
 
BufferedImage image = chart.createBufferedImage( 550, 300);
String pathGraficoRespostas = Globals.TMP_DIR + File.separator + pathTemplate + "graficoTaxaParticipacao.png";
//String pathGraficoRespostas = "/Volumes/Home/jorgemachado/Desktop/graficoTaxaParticipacao.png";
ImageIO.write(image, "png", new FileOutputStream(pathGraficoRespostas));
606,14 → 595,119
 
public static void main(String[] args) throws IOException
{
createTimeSeries();
/*for(int i = 1; i < 90;i++)
//createTimeSeries();
for(int i = 1; i < 100;i++)
{
createChartRingOneDimension(i, 100, true, true,true,"ring" + i);
}*/
}
 
createBarChartTwoBars("Docente","Curso",COLOR_SECTION_BLUE_DARK, COLOR_SECTION_GREEN,4.2,3.8,5,"mediaDoc");
 
}
 
public static String createBarChartTwoBars(String name1, String name2,final Color color1, final Color color2, double value1, double value2, double max, String pathTemplate) throws IOException
{
 
DefaultCategoryDataset categoryDataset = new DefaultCategoryDataset();
DefaultValueDataset a = new DefaultValueDataset();
 
categoryDataset.addValue(value1,"Valor",name1);
categoryDataset.addValue(value2,"Valor",name2);
 
 
JFreeChart chart = ChartFactory.createBarChart(null, null, null, categoryDataset, PlotOrientation.HORIZONTAL, false, true, false);
chart.setAntiAlias(true);
chart.setTextAntiAlias(true);
chart.setBackgroundPaint(TRANSPARENT);
CategoryPlot barChartPlot = (CategoryPlot) chart.getPlot();
 
 
barChartPlot.setDrawingSupplier(new ChartBuilderUtil.ChartDrawingSupplier());
barChartPlot.setBackgroundPaint(TRANSPARENT);
barChartPlot.setOutlineVisible(false);
barChartPlot.setRenderer(new BarRenderer() {
@Override
public Paint getItemPaint(int row, int col) {
switch (col) {
case 0:
return color1;
case 1:
return color2;
default:
return NEUTRAL_TOTAL;
}
 
}
 
public Paint getItemLabelPaint(int row, int col) {
switch (col) {
case 0:
return Color.black;
case 1:
return Color.black;
default:
return Color.white;
}
}
}
);
 
barChartPlot.getRangeAxis().setUpperMargin(0.3);
barChartPlot.getRangeAxis().setRange(0,7);
barChartPlot.getRangeAxis().setVisible(false);
 
(((CategoryPlot) chart.getPlot()).getRangeAxis()).setTickLabelFont(new Font(
"Helvetica", Font.PLAIN, 15));
(((CategoryPlot) chart.getPlot()).getDomainAxis()).setTickLabelFont(new Font(
"Helvetica", Font.PLAIN, 15));
((BarRenderer)((CategoryPlot) chart.getPlot()).getRenderer()).setBaseLegendTextFont(new Font(
"Helvetica", Font.BOLD, 15));
((CategoryPlot) chart.getPlot()).getRenderer().setBaseItemLabelFont(new Font(
"Helvetica", Font.PLAIN, 15));
DecimalFormat dfKey = new DecimalFormat("#.##");
barChartPlot.getRenderer().setBaseItemLabelGenerator(new StandardCategoryItemLabelGenerator("{2}",dfKey));
 
((BarRenderer)barChartPlot.getRenderer()).setPositiveItemLabelPosition(new ItemLabelPosition(ItemLabelAnchor.OUTSIDE3, TextAnchor.CENTER_LEFT));
((BarRenderer)barChartPlot.getRenderer()).setShadowVisible(false);
barChartPlot.getRenderer().setBaseItemLabelsVisible(true);
barChartPlot.getRenderer().setItemLabelsVisible(true);
//((BarRenderer)barChartPlot.getRenderer()).setMaximumBarWidth(1.0);
((BarRenderer)barChartPlot.getRenderer()).setItemMargin(0.7);
((BarRenderer)barChartPlot.getRenderer()).setMaximumBarWidth(0.5);
((BarRenderer)barChartPlot.getRenderer()).setMinimumBarLength(5);
((BarRenderer)barChartPlot.getRenderer()).setItemLabelPaint(null);
// add settings for individual series...
 
//PINTAR LETRAS DAS LABELS POR CATGORIA SE FOR APENAS UMA CATEGORIA PINTA TUDO IGUAL com red
//((BarRenderer)barChartPlot.getRenderer()).setSeriesItemLabelPaint(0, Color.red);
//((BarRenderer)barChartPlot.getRenderer()) .setSeriesItemLabelPaint(1, Color.green);
//((BarRenderer)barChartPlot.getRenderer()) .setSeriesItemLabelPaint(1, Color.blue);
 
//((BarRenderer)barChartPlot.getRenderer()).set;
 
 
//chart2.getCategoryPlot().getRangeAxis().setLabelInsets(new RectangleInsets(UnitType.ABSOLUTE, 0, 0, 25, 25));
 
 
 
 
BufferedImage image = chart.createBufferedImage( 300, 150);
String pathGraficoRespostas = Globals.TMP_DIR + File.separator + pathTemplate + "twoBars.png";
//String pathGraficoRespostas = "/Volumes/Home/jorgemachado/Desktop/graficoRespostas.png";
ImageIO.write(image, "png", new FileOutputStream(pathGraficoRespostas));
 
return pathGraficoRespostas;
 
}
 
public static int getGreenComponentGradient(double percentageDecimal)
{
return (int) (255.0*(percentageDecimal*2));
}
public static int getRedComponentGradient(double percentageDecimal)
{
return (int)( 130 + (255.0-130.0)*(-(((percentageDecimal -0.5)*(percentageDecimal -0.5))*4.0)+1.0));
}
public static String createChartRingOneDimension(double value, double max,boolean colorsPercent,boolean degrade,boolean putPercentInCenter, String pathTemplate) throws IOException {
 
DefaultPieDataset data = new DefaultPieDataset();
625,8 → 719,10
data.setValue("B", max-value);
 
 
 
 
JFreeChart chart = ChartFactory.createRingChart(null, data, false, false, false);
chart.setBackgroundPaint(new Color(255,255,255));
chart.setBackgroundPaint(TRANSPARENT);
 
RingPlot plot = (RingPlot) chart.getPlot();
 
636,7 → 732,7
plot.setDrawingSupplier(new ChartDrawingSupplier());
//CategoryItemRenderer render = chart.getCategoryPlot().getRenderer();
//render.setSeriesPaint(0,new Color(255,201,92));
plot.setBackgroundPaint(new Color(255, 255, 255));
plot.setBackgroundPaint(TRANSPARENT);
plot.setOutlineVisible(false);
plot.setSectionDepth(0.12);
if(degrade)
644,11 → 740,12
double percent = (value/max);
if(percent < 0.5)
{
plot.setSectionPaint("A", new Color(255, (int) (255.0*(percent*2)), 0));
plot.setSectionPaint("A", new Color(255,getGreenComponentGradient(percent), 0));
}
else
{
plot.setSectionPaint("A", new Color((int) (255.0*((1.0-percent)*2)), 255, 0));
//plot.setSectionPaint("A", new Color((int) (255.0*((1.0-percent)*2)), 255, 0));
plot.setSectionPaint("A", new Color((int) getRedComponentGradient(percent), 255, 0));
}
 
}
682,12 → 779,14
return pathRing;
}
 
public static void createTimeSeries() throws IOException {
final XYDataset dataset = createDataset();
public static String createTimeSeriesDiffArea(String tmpName,String serie1Name,String serie2Name,java.util.List<Object[]> series1,java.util.List<Object[]> series2) throws IOException
{
final XYDataset dataset = createDataset(serie1Name, serie2Name, series1, series2);
final JFreeChart chart = createChart(dataset);
BufferedImage image = chart.createBufferedImage( 600, 200);
String pathRing = Globals.TMP_DIR + File.separator + "timeSeriesExample.png";
ImageIO.write(image, "png", new FileOutputStream(pathRing));
BufferedImage image = chart.createBufferedImage( 600, 400);
String path = Globals.TMP_DIR + File.separator + tmpName + "timeSeries.png";
ImageIO.write(image, "png", new FileOutputStream(path));
return path;
}
 
private static JFreeChart createChart(final XYDataset dataset) {
789,7 → 888,7
final NumberAxis yaxis = (NumberAxis) plot.getRangeAxis();
yaxis.setTickLabelsVisible(true);
yaxis.setVisible(true);
yaxis.setRange(0,5);
//yaxis.setRange(0,5);
yaxis.setUpperMargin(0.15);
//To set range values integer only. Default are float
//yaxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
798,32 → 897,46
 
}
 
private static XYDataset createDataset() {
private static XYDataset createDataset(String series1Name, String series2Name, java.util.List<Object[]> series1, java.util.List<Object[]> series2)
{
final TimeSeriesCollection dataset = new TimeSeriesCollection();
dataset.setDomainIsPointsInTime(true);
 
final TimeSeriesCollection dataset = new TimeSeriesCollection();
dataset.setDomainIsPointsInTime(true);
 
final TimeSeries s1 = new TimeSeries("Docente", Second.class);
s1.add(new Second(0, 0, 0, 1, 2, 2012), 4.6);
//s1.add(new Second(0, 0, 0, 1, 5, 2012), 3.5);
s1.add(new Second(0, 0, 0, 3, 8, 2012), 3.4);
final TimeSeries s1 = new TimeSeries(series1Name, Day.class);
final TimeSeries s2 = new TimeSeries(series2Name, Day.class);
 
final TimeSeries s2 = new TimeSeries("Curso", Second.class);
s2.add(new Second(0, 0, 0, 1, 2, 2012), 4.2);
s2.add(new Second(0, 0, 0, 2, 5, 2012), 4.1);
s2.add(new Second(0, 0, 0, 3, 8, 2012), 4.2);
if(series1.size() > 0 && series2.size() > 0 && series1.size() == 1 && series2.size() == 1)
{
Date firstDate1 = (Date) series1.get(0)[1];
Date firstDate2 = (Date) series2.get(0)[1];
 
/*final TimeSeries s3 = new TimeSeries("Series 2", Second.class);
s3.add(new Second(0, 10, 1, 7, 7, 2012), 52);
s3.add(new Second(0, 20, 12, 7, 7, 2012), 66);
s3.add(new Second(0, 35, 9, 7, 7, 2012), 79);
*/
dataset.addSeries(s1);
dataset.addSeries(s2);
// dataset.addSeries(s3);
long threeMonthsMilis = (long) (60000.0*60.0*24.0*30.0*1.5);
if(firstDate1.getTime() < firstDate2.getTime())
firstDate1 = new Date(firstDate1.getTime() - threeMonthsMilis);
else
firstDate1 = new Date(firstDate2.getTime() - threeMonthsMilis);
 
return dataset;
}
s1.add(new Day(firstDate1), (Double) series1.get(0)[0]);
s2.add(new Day(firstDate1), (Double) series1.get(0)[0]);
 
}
 
for (Object[] timeValue : series1) {
s1.add(new Day((Date) timeValue[1]), (Double) timeValue[0]);
}
 
 
for (Object[] timeValue : series2) {
s2.add(new Day((Date) timeValue[1]), (Double) timeValue[0]);
}
 
 
 
dataset.addSeries(s1);
dataset.addSeries(s2);
return dataset;
}
 
 
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/utils/ChartTemp.java
New file
0,0 → 1,28
package pt.estgp.estgweb.services.questionarios.utils;
 
import java.io.Serializable;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class ChartTemp implements Serializable{
 
 
public ChartTemp() {
}
 
String tempFile;
 
public ChartTemp(String tempFile) {
this.tempFile = tempFile;
}
 
public String getTempFile() {
return tempFile;
}
 
public void setTempFile(String tempFile) {
this.tempFile = tempFile;
}
 
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/utils/UnidadeStats.java
New file
0,0 → 1,178
package pt.estgp.estgweb.services.questionarios.utils;
 
import java.io.Serializable;
import java.util.ArrayList;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class UnidadeStats implements Serializable
{
String nomeUnidade;
String codigoUnidade;
String codigoCurso;
String nomeCurso;
String codigoEscola;
String nomeEscola;
String semestre;
int inscritos;
int respostas;
 
UnidadeStatsGrupo unidadeStatsGrupoDocente;
UnidadeStatsGrupo unidadeStatsGrupoUnidade;
 
public int getInscritos() {
return inscritos;
}
 
public void setInscritos(int inscritos) {
this.inscritos = inscritos;
}
 
public int getRespostas() {
return respostas;
}
 
public void setRespostas(int respostas) {
this.respostas = respostas;
}
 
public UnidadeStatsGrupo getUnidadeStatsGrupoDocente() {
return unidadeStatsGrupoDocente;
}
 
public void setUnidadeStatsGrupoDocente(UnidadeStatsGrupo unidadeStatsGrupoDocente) {
this.unidadeStatsGrupoDocente = unidadeStatsGrupoDocente;
}
 
public UnidadeStatsGrupo getUnidadeStatsGrupoUnidade() {
return unidadeStatsGrupoUnidade;
}
 
public void setUnidadeStatsGrupoUnidade(UnidadeStatsGrupo unidadeStatsGrupoUnidade) {
this.unidadeStatsGrupoUnidade = unidadeStatsGrupoUnidade;
}
 
public String getNomeUnidade() {
return nomeUnidade;
}
 
public void setNomeUnidade(String nomeUnidade) {
this.nomeUnidade = nomeUnidade;
}
 
public String getCodigoUnidade() {
return codigoUnidade;
}
 
public void setCodigoUnidade(String codigoUnidade) {
this.codigoUnidade = codigoUnidade;
}
 
public String getCodigoCurso() {
return codigoCurso;
}
 
public void setCodigoCurso(String codigoCurso) {
this.codigoCurso = codigoCurso;
}
 
public String getNomeCurso() {
return nomeCurso;
}
 
public void setNomeCurso(String nomeCurso) {
this.nomeCurso = nomeCurso;
}
 
public String getSemestre() {
return semestre;
}
 
public void setSemestre(String semestre) {
this.semestre = semestre;
}
 
public String getCodigoEscola() {
return codigoEscola;
}
 
public void setCodigoEscola(String codigoEscola) {
this.codigoEscola = codigoEscola;
}
 
public String getNomeEscola() {
return nomeEscola;
}
 
public void setNomeEscola(String nomeEscola) {
this.nomeEscola = nomeEscola;
}
 
public static class UnidadeStatsGrupo implements Serializable
{
public String grupo;
public DataTable respostasTable;
public MediasGrupo mediasGrupo;
public int unidadesNoCurso;
public int unidadesNaEscola;
 
//criadas no metodo DocenteReportGenerator call UnidadesQueryDao.criarTabelasCadeiras
// >>>UnidadeQueryDao.criarTabelasRespostasCadeira
private ArrayList<PerguntaStats> perguntasStats = new ArrayList<PerguntaStats>();
 
 
public int getUnidadesNoCurso() {
return unidadesNoCurso;
}
 
public void setUnidadesNoCurso(int unidadesNoCurso) {
this.unidadesNoCurso = unidadesNoCurso;
}
 
public int getUnidadesNaEscola() {
return unidadesNaEscola;
}
 
public void setUnidadesNaEscola(int unidadesNaEscola) {
this.unidadesNaEscola = unidadesNaEscola;
}
 
public UnidadeStatsGrupo(String grupo) {
this.grupo = grupo;
mediasGrupo = new MediasGrupo(grupo);
}
 
public String getGrupo() {
return grupo;
}
 
public void setGrupo(String grupo) {
this.grupo = grupo;
}
 
public ArrayList<PerguntaStats> getPerguntasStats() {
return perguntasStats;
}
 
public void setPerguntasStats(ArrayList<PerguntaStats> perguntasStats) {
this.perguntasStats = perguntasStats;
}
 
public DataTable getRespostasTable() {
return respostasTable;
}
 
public void setRespostasTable(DataTable respostasTable) {
this.respostasTable = respostasTable;
}
 
public MediasGrupo getMediasGrupo() {
return mediasGrupo;
}
 
public void setMediasGrupo(MediasGrupo mediasGrupo) {
this.mediasGrupo = mediasGrupo;
}
}
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/utils/RespostasAgregadasGrupoStats.java
New file
0,0 → 1,119
package pt.estgp.estgweb.services.questionarios.utils;
 
import java.util.ArrayList;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class RespostasAgregadasGrupoStats
{
 
String grupo;
 
public RespostasAgregadasChartTable respostasAgregadasChartTable = new RespostasAgregadasChartTable();
public RespostasAgregadasChartTable respostasAgregadasChartTable2Secs = new RespostasAgregadasChartTable();
 
//Apenas para as perguntas de tempoMinimo = 0
//criadas no metodo DocenteReportGenerator.criarGraficosRespostasAgregadas
private ArrayList<PerguntaStats> perguntasStats = new ArrayList<PerguntaStats>();
 
public MediasGrupo mediasGrupo;
 
public RespostasAgregadasGrupoStats(String grupo) {
this.grupo = grupo;
mediasGrupo = new MediasGrupo(grupo);
}
 
public String getGrupo() {
return grupo;
}
 
public void setGrupo(String grupo) {
this.grupo = grupo;
}
 
public ArrayList<PerguntaStats> getPerguntasStats() {
return perguntasStats;
}
 
public void setPerguntasStats(ArrayList<PerguntaStats> perguntasStats) {
this.perguntasStats = perguntasStats;
}
 
public RespostasAgregadasChartTable getRespostasAgregadasChartTable() {
return respostasAgregadasChartTable;
}
 
public void setRespostasAgregadasChartTable(RespostasAgregadasChartTable respostasAgregadasChartTable) {
this.respostasAgregadasChartTable = respostasAgregadasChartTable;
}
 
public RespostasAgregadasChartTable getRespostasAgregadasChartTable2Secs() {
return respostasAgregadasChartTable2Secs;
}
 
public void setRespostasAgregadasChartTable2Secs(RespostasAgregadasChartTable respostasAgregadasChartTable2Secs) {
this.respostasAgregadasChartTable2Secs = respostasAgregadasChartTable2Secs;
}
 
public MediasGrupo getMediasGrupo() {
return mediasGrupo;
}
 
public void setMediasGrupo(MediasGrupo mediasGrupo) {
this.mediasGrupo = mediasGrupo;
}
 
 
/*
public void addRespostasAgregadasChart(RespostasChart chart)
{
respostasAgregadasCharts.addChart(chart);
numeroPerguntaRespostasChart.put(chart.getNumero(),chart);
}
 
public void addRespostasAgregadasChartGt2Secs(RespostasChart chart)
{
respostasAgregadasChartsGt2Secs.addChart(chart);
}
 
public void addRespostasAgregadasUnidadesChartGt2Secs(RespostasChart chart)
{
respostasAgregadasUnidadesChartsGt2Secs.addChart(chart);
}
 
public void addRespostasAgregadasUnidadesChart(RespostasChart chart)
{
respostasAgregadasUnidadesCharts.addChart(chart);
}
 
*/
public static class RespostasAgregadasChartTable
{
public ChartTable respostasAgregadasCharts = new ChartTable();
 
public DataTable respostasTable;
 
/*public List<PerguntaStats> generateCompleteListPerguntas()
{
return respostasAgregadasCharts.generateCompleteListPerguntas();
}*/
 
public ChartTable getRespostasAgregadasCharts() {
return respostasAgregadasCharts;
}
 
public void setRespostasAgregadasCharts(ChartTable respostasAgregadasCharts) {
this.respostasAgregadasCharts = respostasAgregadasCharts;
}
 
public DataTable getRespostasTable() {
return respostasTable;
}
 
public void setRespostasTable(DataTable respostasTable) {
this.respostasTable = respostasTable;
}
}
 
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/QuestionariosReport.java
36,6 → 36,7
public int questionariosReqTotal;
 
public int questionariosReqRespondidosPercentagem;
public String questionariosReqRespondidosPercentagemColor;
 
public int inquiridosTotal;
public int inquiridosNaoResponderam;
67,7 → 68,14
public DataTable tabelaIdades;
public DataTable tabelaDistritos;
 
public String getQuestionariosReqRespondidosPercentagemColor() {
return questionariosReqRespondidosPercentagemColor;
}
 
public void setQuestionariosReqRespondidosPercentagemColor(String questionariosReqRespondidosPercentagemColor) {
this.questionariosReqRespondidosPercentagemColor = questionariosReqRespondidosPercentagemColor;
}
 
//MEDIAS GLOBAIS
//Preenchidas no UnidadeQueryDao durante o preenchimento das unidadesCurriculares porque sao necessarias as
//medias dos grupos e das perguntas nas escolas e nos cursos das perguntas
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/QuestionariosAlunosReport.java
New file
0,0 → 1,236
package pt.estgp.estgweb.services.questionarios.pedagogico;
 
import pt.estgp.estgweb.services.questionarios.utils.DataTable;
 
import java.io.Serializable;
import java.util.ArrayList;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class QuestionariosAlunosReport extends QuestionariosReport implements Serializable
{
 
 
//Tipos de Alunos
public int tipoAlunosNormalComResposta;
public int tipoAlunosTrabalhadorEstudanteComResposta;
public int tipoAlunosErasmusComResposta;
public int tipoAlunosOutros;
 
public int tipoAlunosNormalComRespostaPercent;
public int tipoAlunosTrabalhadorEstudanteComRespostaPercent;
public int tipoAlunosErasmusComRespostaPercent;
public int tipoAlunosOutrosPercent;
 
//GRAFICOS
public String pathGraficoTaxaRespostaAlunos;
public String pathGraficoTiposAlunosComResposta;
public String pathGraficoContribuicaoUnidades;
 
//TABELAS
public DataTable tabelaTaxaRespostaUnidade;
 
public ArrayList<ParticipacaoUnidade> participacoesUnidades = new ArrayList<ParticipacaoUnidade>();
 
 
 
public ArrayList<ParticipacaoUnidade> getParticipacoesUnidades() {
return participacoesUnidades;
}
 
public void setParticipacoesUnidades(ArrayList<ParticipacaoUnidade> participacoesUnidades) {
this.participacoesUnidades = participacoesUnidades;
}
 
public String getPathGraficoContribuicaoUnidades() {
return pathGraficoContribuicaoUnidades;
}
 
public void setPathGraficoContribuicaoUnidades(String pathGraficoContribuicaoUnidades) {
this.pathGraficoContribuicaoUnidades = pathGraficoContribuicaoUnidades;
}
 
public DataTable getTabelaTaxaRespostaUnidade() {
return tabelaTaxaRespostaUnidade;
}
 
public void setTabelaTaxaRespostaUnidade(DataTable tabelaTaxaRespostaUnidade) {
this.tabelaTaxaRespostaUnidade = tabelaTaxaRespostaUnidade;
}
 
 
public int getAlunosTotal() {
return inquiridosTotal;
}
 
public void setAlunosTotal(int alunosTotal) {
this.inquiridosTotal = alunosTotal;
}
 
public String getPathGraficoTaxaRespostaAlunos() {
return pathGraficoTaxaRespostaAlunos;
}
 
public void setPathGraficoTaxaRespostaAlunos(String pathGraficoTaxaRespostaAlunos) {
this.pathGraficoTaxaRespostaAlunos = pathGraficoTaxaRespostaAlunos;
}
 
public String getPathGraficoTiposAlunosComResposta() {
return pathGraficoTiposAlunosComResposta;
}
 
public void setPathGraficoTiposAlunosComResposta(String pathGraficoTiposAlunosComResposta) {
this.pathGraficoTiposAlunosComResposta = pathGraficoTiposAlunosComResposta;
}
 
public int getAlunosComResposta() {
return inquiridosComResposta;
}
 
public void setAlunosComResposta(int alunosComResposta) {
this.inquiridosComResposta = alunosComResposta;
}
 
 
public int getAlunosNaoResponderam() {
return inquiridosNaoResponderam;
}
 
public void setAlunosNaoResponderam(int alunosNaoResponderam) {
this.inquiridosNaoResponderam = alunosNaoResponderam;
}
 
public int getTipoAlunosNormalComResposta() {
return tipoAlunosNormalComResposta;
}
 
public void setTipoAlunosNormalComResposta(int tipoAlunosNormalComResposta) {
this.tipoAlunosNormalComResposta = tipoAlunosNormalComResposta;
}
 
public int getTipoAlunosTrabalhadorEstudanteComResposta() {
return tipoAlunosTrabalhadorEstudanteComResposta;
}
 
public void setTipoAlunosTrabalhadorEstudanteComResposta(int tipoAlunosTrabalhadorEstudanteComResposta) {
this.tipoAlunosTrabalhadorEstudanteComResposta = tipoAlunosTrabalhadorEstudanteComResposta;
}
 
public int getTipoAlunosErasmusComResposta() {
return tipoAlunosErasmusComResposta;
}
 
public void setTipoAlunosErasmusComResposta(int tipoAlunosErasmusComResposta) {
this.tipoAlunosErasmusComResposta = tipoAlunosErasmusComResposta;
}
 
public int getTipoAlunosOutros() {
return tipoAlunosOutros;
}
 
public void setTipoAlunosOutros(int tipoAlunosOutros) {
this.tipoAlunosOutros = tipoAlunosOutros;
}
 
public int getTipoAlunosNormalComRespostaPercent() {
return tipoAlunosNormalComRespostaPercent;
}
 
public void setTipoAlunosNormalComRespostaPercent(int tipoAlunosNormalComRespostaPercent) {
this.tipoAlunosNormalComRespostaPercent = tipoAlunosNormalComRespostaPercent;
}
 
public int getTipoAlunosTrabalhadorEstudanteComRespostaPercent() {
return tipoAlunosTrabalhadorEstudanteComRespostaPercent;
}
 
public void setTipoAlunosTrabalhadorEstudanteComRespostaPercent(int tipoAlunosTrabalhadorEstudanteComRespostaPercent) {
this.tipoAlunosTrabalhadorEstudanteComRespostaPercent = tipoAlunosTrabalhadorEstudanteComRespostaPercent;
}
 
public int getTipoAlunosErasmusComRespostaPercent() {
return tipoAlunosErasmusComRespostaPercent;
}
 
public void setTipoAlunosErasmusComRespostaPercent(int tipoAlunosErasmusComRespostaPercent) {
this.tipoAlunosErasmusComRespostaPercent = tipoAlunosErasmusComRespostaPercent;
}
 
public int getTipoAlunosOutrosPercent() {
return tipoAlunosOutrosPercent;
}
 
public void setTipoAlunosOutrosPercent(int tipoAlunosOutrosPercent) {
this.tipoAlunosOutrosPercent = tipoAlunosOutrosPercent;
}
 
 
 
public static class ParticipacaoUnidade
{
int participaram;
int inscritos;
int participaramPercentagem;
String nomeUnidade;
String codigoUnidade;
double percentagemContribuicaoDaUnidadeNoUniversoUnidades;
String percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint;
 
public int getParticiparam() {
return participaram;
}
 
public void setParticiparam(int participaram) {
this.participaram = participaram;
}
 
public int getInscritos() {
return inscritos;
}
 
public void setInscritos(int inscritos) {
this.inscritos = inscritos;
}
 
public int getParticiparamPercentagem() {
return participaramPercentagem;
}
 
public void setParticiparamPercentagem(int participaramPercentagem) {
this.participaramPercentagem = participaramPercentagem;
}
 
public String getNomeUnidade() {
return nomeUnidade;
}
 
public void setNomeUnidade(String nomeUnidade) {
this.nomeUnidade = nomeUnidade;
}
 
public String getCodigoUnidade() {
return codigoUnidade;
}
 
public void setCodigoUnidade(String codigoUnidade) {
this.codigoUnidade = codigoUnidade;
}
 
public double getPercentagemContribuicaoDaUnidadeNoUniversoUnidades() {
return percentagemContribuicaoDaUnidadeNoUniversoUnidades;
}
 
public void setPercentagemContribuicaoDaUnidadeNoUniversoUnidades(double percentagemContribuicaoDaUnidadeNoUniversoUnidades) {
this.percentagemContribuicaoDaUnidadeNoUniversoUnidades = percentagemContribuicaoDaUnidadeNoUniversoUnidades;
}
 
public String getPercentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint() {
return percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint;
}
 
public void setPercentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint(String percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint) {
this.percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint = percentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint;
}
}
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/docenteReportGuiaoAvaliacaoDesempenho.fo.xsl
New file
0,0 → 1,171
<?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="utilsReports.fo.xsl"/>
 
<!-- ############################################################# -->
<!-- 9 - CAPITULO GUIAO DESEMPENHO DOCENTE -->
<!-- ############################################################# -->
 
<xsl:template name="CAP_guiao_avaliacao_desempenho">
<fo:block-container id="capGuiaoAvaliacaoDesempenho" padding="0" margin="0" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">9 - Análise da qualidade do desempenho docente baseada no Guião da Avaliação do desempenho do pessoal docente do IPPortalegre </xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">teacherGuiao2.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<fo:block font-size="8pt" font-weight="bold" padding="5px">
IMPORTANTE: Este capitulo tem como objetivo auxiliar o cálculo da qualidade do desempenho docente.
O cálculo é baseado no guião de avaliação do desempenho do pessoal docente do IPP.
Questões pontuais relativas à alteração de regras de avaliação devem ser levadas em consideração pelas partes interessadas.
Neste sentido o uso dos dados aqui disponibilizados não é vinculativa, salvo indicações em contrário emitidas pelas entidades competentes.
</fo:block>
 
<fo:block font-size="8pt" margin-top="10px"><fo:inline text-decoration="underline">Excerto da secção 2.5. QUALIDADE DO DESEMPENHO DOCENTE do Guião da Avaliação do desempenho do pessoal docente do IPPortalegre à data de produção deste relatório:</fo:inline></fo:block>
<fo:block margin-top="5px" font-size="6pt" padding="10px" border="1px solid black" background-color="#FFFAE5">
Pontuação média obtida através da avaliação resultante dos inquéritos realizados a alunos. A comprovar mediante Declaração emitida pelo órgão ou gabinete responsável pelo tratamento dos dados.
<fo:block>
<fo:block font-weight="bold">Metodologia:</fo:block>
<fo:block>
Nos inquéritos de satisfação dos alunos sobre o funcionamento das unidades curriculares, será incluída uma questão do tipo "Apreciação global do docente"*, a ser avaliada por escala de Lickert com 5 níveis (Muito má a Muito boa).
</fo:block>
</fo:block>
 
<fo:block>
<fo:block font-weight="bold">Cálculo da pontuação:</fo:block>
<fo:block>
<fo:list-block>
<fo:list-item>
<fo:list-item-label end-indent="label-end()" >
<fo:block text-align="right">•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>Se o docente lecciona em várias UCs e em alguma delas não se dispõem de resultados dos inquéritos, a UC não será tida em consideração no cálculo da pontuação</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block text-align="right">•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>Calcula-se a média ponderada de cada UC (j) e curso (i), utilizando a seguinte fórmula:</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
<fo:table>
<fo:table-body>
<fo:table-row>
<fo:table-cell display-align="center" text-align="right">
<fo:block>Média ponderada = </fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="left">
<fo:block padding-left="5px">
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/formulaQualidadeDesempenhoDocenteMedia.png')</xsl:variable>
<fo:external-graphic height="auto" width="auto" content-width="120" src="{$src}"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block>
Com: RM = resposta média à questão, TR = taxa de resposta (nº de respostas/nº de inscritos na UC/Turma do docente)
</fo:block>
</fo:block>
<fo:block font-size="6pt" font-weight="bold" padding="5px">
* Campo de Apreciação Global do Docente: relatório considera-se a média cálculada a partir de todas as respostas fornecidas no grupo de questões relativas ao "Docente".
</fo:block>
</fo:block>
 
<fo:block margin-top="5px">
<xsl:apply-templates select="//docenteAvaliacaoDesempenhoTable" mode="DataTable"/>
<fo:table>
<fo:table-body>
<fo:table-cell border="1px solid black">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">TR a transportar</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
<xsl:with-param name="marginBottom">5px</xsl:with-param>
<xsl:with-param name="textAlign">center</xsl:with-param>
</xsl:call-template>
<fo:block font-size="14pt" font-weight="bold" text-align="center" display-align="center">
<xsl:value-of select="//docenteAvaliacaoDesempenhoTRPrint"/>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/recycle.png')</xsl:variable>
<fo:external-graphic width="auto" margin="0" padding="0" padding-left="5px" height="auto" content-height="18" src="{$src}"/>
</fo:block>
 
</fo:table-cell>
<fo:table-cell border="1px solid black">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">RMxTR a transportar</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
<xsl:with-param name="marginBottom">5px</xsl:with-param>
<xsl:with-param name="textAlign">center</xsl:with-param>
</xsl:call-template>
<fo:block font-size="14pt" font-weight="bold" text-align="center" display-align="center">
<xsl:value-of select="//docenteAvaliacaoDesempenhoRMTRPrint"/>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/recycle.png')</xsl:variable>
<fo:external-graphic width="auto" margin="0" padding="0" padding-left="5px" height="auto" content-height="18" src="{$src}"/>
</fo:block>
</fo:table-cell>
<fo:table-cell border="1px solid black">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">Média parcial nesta avaliação</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
<xsl:with-param name="marginBottom">5px</xsl:with-param>
<xsl:with-param name="textAlign">center</xsl:with-param>
</xsl:call-template>
<fo:block font-size="14pt" font-weight="bold" text-align="center" display-align="center">
<xsl:value-of select="//docenteAvaliacaoDesempenhoMediaPeriodoPrint"/>
</fo:block>
</fo:table-cell>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block font-size="8pt" padding="5px" margin-top="5px">
<fo:inline font-weight="bold">FÓRMULA:</fo:inline> O cálculo da média aqui aplicado considera apenas os periodos incluidos neste relatório.
Para obter o valor da média no final do triénio de avaliação, <fo:inline text-decoration="underline">os docentes deverão seguir as instruções dos orgãos competentes.</fo:inline>
À data da geração deste relatório a fórmula final deverá ser a seguinte: Fazer o somatório de todos os denominadores parciais
dos periodos de avaliação TR(PERIODOS), fornecidos em cada relatório, e também todas as parcelas RMxTR(PERIODOS)
de todos os periodos de avaliação, fornecidos também em cada relatório.
Para obter a média final bastará dividir os somatórios dos RMxTR(PERIODOS) pelos somatórios dos TR(PERIODOS).
</fo:block>
<fo:block font-size="10pt" padding="5px" margin-top="5px">
<fo:inline font-weight="bold">Exemplo considerando apenas dois parciais de avaliação:</fo:inline>
<fo:list-block>
<fo:list-item>
<fo:list-item-label end-indent="label-end()" >
<fo:block text-align="right">•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>P1 - RMijxTRij a transportar 15,5 . P2 - TRij a transportar 3,6 .</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block text-align="right">•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>P2 - RMijxTRij a transportar 16,5 . P2 - TRij a transportar 3,7 .</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block text-align="right">•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>Avaliação Média Final - (15,5 + 16,5) / (3,6 + 3,7) = 4,507 .</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
 
</xsl:template>
 
 
</xsl:stylesheet>
Property changes:
Added: svn:executable
+ *
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/DocenteReportGenerator.java
New file
0,0 → 1,760
package pt.estgp.estgweb.services.questionarios.pedagogico;
 
import jomm.dao.impl.AbstractDao;
import jomm.utils.PdfUtils;
import org.apache.fop.apps.FOPException;
import org.apache.log4j.Logger;
import org.dom4j.DocumentException;
import org.hibernate.Query;
import pt.estgp.estgweb.Globals;
import pt.estgp.estgweb.domain.OlapStarFactQuestionarioAnswer;
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.domain.dao.DaoFactory;
import pt.estgp.estgweb.services.questionarios.pedagogico.queries.*;
import pt.estgp.estgweb.services.questionarios.utils.*;
import pt.estgp.estgweb.utils.ConfigProperties;
import pt.estgp.estgweb.utils.DatesUtils;
import pt.estgp.estgweb.utils.Dom4jUtil;
 
import javax.xml.transform.TransformerException;
import javax.xml.transform.dom.DOMSource;
import java.awt.*;
import java.io.FileOutputStream;
import java.io.IOException;
import java.text.DecimalFormat;
import java.util.*;
import java.util.List;
 
 
/**
* Created by jorgemachado on 05/11/16.
*/
public class DocenteReportGenerator
{
 
 
private static final Logger logger = Logger.getLogger(DocenteReportGenerator.class);
 
 
//Idades
//Tabela de participações por cadeira
//Confiança nos tempos de Resposta
//Confiança da Média Global do Docente
 
static Color GREEN_OK = new Color(223,253,184);
static Color RED_NOT_OK = new Color(255,200, 164);
static Color NEUTRAL_TOTAL = new Color(83,83,84);
 
 
public static void main(String[] args) throws IOException, DocumentException, TransformerException, FOPException
{
 
//String teacherCode = "44451";
//String teacherCode = "20122";
String teacherCode = "20128";
String anoLectivo = "201516";
String[] periodos = new String[]{"S2","T3","T4","A"};
String[] degrees = new String[]{"L","M","T"};
processTeacher(teacherCode,anoLectivo,periodos,degrees);
 
teacherCode = "20122";
 
processTeacher(teacherCode,anoLectivo,periodos,degrees);
 
teacherCode = "22172";
 
processTeacher(teacherCode,anoLectivo,periodos,degrees);
}
public static void processTeacher(String teacherCode, String anoLectivo,String[] periodos,String[] degrees) throws IOException, DocumentException, TransformerException, FOPException
{
 
 
//todo ver se ha ocorrencias de respostas do docente neste ano se não houver devolver questionario com info de nao haver resultados para este docente
DocenteReport docenteReport = getDocenteReport(teacherCode,anoLectivo,periodos,degrees);
if(docenteReport == null)
{
System.out.println(" Docente " + teacherCode + " nao tem respostas nestas condições ");
return;
}
 
ChartBuilderUtil.createChartTiposAlunos(docenteReport,"tiposAlunosTmp");
ChartBuilderUtil.createChartTaxaRespostas(docenteReport, "taxaRespostasTmp");
ChartBuilderUtil.createChartTaxaParticipacao(docenteReport, "taxaParticipacaoTmp");
ChartBuilderUtil.createChartUnidadesContribuicao(docenteReport,"unidadesContribuicao");
 
//DocenteReport.RespostasChart respostasChart = ChartBuilderUtil.createChartRespostasPergunta("A sua pontualidade", new int[]{2, 4, 5, 3, 1}, "pontualidadeTmp");
//docenteReport.getRespostasCharts().add(respostasChart);
 
 
generatePdfReport(docenteReport);
 
}
 
private static void generatePdfReport(DocenteReport docenteReport) throws DocumentException, TransformerException, IOException, FOPException {
String path = "/Volumes/Home/jorgemachado/Desktop/reportDocente" + docenteReport.getNumeroDocente() + ".pdf";
 
FileOutputStream out = new FileOutputStream(path);
Map<String,Object> params = new HashMap<String,Object>();
params.put("site", Globals.SITE_URL);
params.put("updateDate", pt.estgp.estgweb.web.utils.DatesUtils.getStringFromDate(new Date() ));
 
 
org.w3c.dom.Document dom2 = docenteReport.serialize();
Dom4jUtil.writeSout(dom2);
 
PdfUtils.setAuthority("Relatório de Avaliação Pedagógica - Relatório Docente - " +
docenteReport.getNomeDocente() + " (" + docenteReport.getNumeroDocente() + " ) " +
"- Ano letivo " + docenteReport.getAnoLectivo() + " - Periodos " + docenteReport.getSemestres().toString() + "" +
" Tipos de Curso - " + docenteReport.getDegrees().toString(),
docenteReport.getNomeDocente(), "Avaliação Pedagógica Docentes, Inqueritos aos Alunos");
PdfUtils.createPdfFromXml(new DOMSource(dom2), "pt/estgp/estgweb/services/questionarios/pedagogico/docenteReport.fo.xsl", out, params);
out.flush();
out.close();
}
 
 
private static DocenteReport getDocenteReport(String teacherCode, String anoLectivo,String[] periodos,String[] degrees)
{
 
AbstractDao.getCurrentSession().beginTransaction();
 
User u = DaoFactory.getUserDaoImpl().loadBySigesCode(Integer.parseInt(teacherCode));
 
DocenteReport docenteReport = new DocenteReport();
 
 
docenteReport.setNomeDocente(u.getName());
docenteReport.setNumeroDocente(teacherCode);
docenteReport.setAnoLectivo(DatesUtils.getImportYearFormatted(anoLectivo));
docenteReport.setSemestres(getFormatedSemestres(periodos));
docenteReport.setDegrees(getFormatedDegrees(degrees));
 
AlunosQueryDao.countAlunosQueResponderam(teacherCode, anoLectivo, docenteReport, periodos, degrees);
if(docenteReport.getInquiridosTotal() == 0)
{
return null;
}
QuestionariosQueryDao.countQuestionariosRespostas(teacherCode, anoLectivo, docenteReport, periodos, degrees);
AlunosQueryDao.countTiposAlunosComRespostas(teacherCode, anoLectivo, docenteReport, periodos, degrees);
AlunosQueryDao.countIdadesAlunosComRespostas(teacherCode, anoLectivo, docenteReport, periodos, degrees);
 
//TABELAS
QuestionariosQueryDao.createDataTableIdades(docenteReport, "Alunos");
QuestionariosQueryDao.createDataTableLocalidades(docenteReport, teacherCode, anoLectivo, periodos, degrees, "Alunos");
UnidadesQueryDao.createTableTaxaRespostaUnidade(docenteReport, teacherCode, anoLectivo, periodos, degrees);
 
 
List<String> codigosCurso = QueryDaoUtils.getCodigosCursoDocente(teacherCode, anoLectivo, periodos, degrees);
List<String> codigosEscola = QueryDaoUtils.getCodigosEscolaDocente(teacherCode, anoLectivo, periodos, degrees);
 
docenteReport.setDocentesNosCursos((int) QueryDaoUtils.countDocentesNosCursos(codigosCurso, anoLectivo, periodos, degrees));
docenteReport.setDocentesNasEscolas((int) QueryDaoUtils.countDocentesNasEscolas(codigosEscola, anoLectivo, periodos, degrees));
 
docenteReport.setUnidadesNosCursos((int) QueryDaoUtils.countUnidadesNosCursos(codigosCurso, anoLectivo, periodos, degrees));
docenteReport.setUnidadesNasEscolas((int) QueryDaoUtils.countUnidadesNasEscolas(codigosEscola, anoLectivo, periodos, degrees));
 
 
criarGraficosRespostasAgregadas(teacherCode,
anoLectivo,
docenteReport,
codigosCurso,
codigosEscola,
0,
docenteReport.getRespostasAgregadasGrupoDocente().getRespostasAgregadasChartTable(),
docenteReport.getRespostasAgregadasGrupoDocente(),
PerguntasGrupoQueryDao.GRUPO_DOCENTE_CODE_PERGUNTAS,periodos,degrees);
/**
* Adicionar estatisticas de Pergunta à CACHE para utilizacao noutros graficos
*
for(PerguntaStats p: docenteReport.getRespostasAgregadasGrupoDocente().getRespostasAgregadasChartTable().generateCompleteListPerguntas())
{
docenteReport.addNumeroPerguntaChartCache(p);
}*/
 
criarGraficosRespostasAgregadas(teacherCode,
anoLectivo,
docenteReport,
codigosCurso,
codigosEscola,
2000,
docenteReport.getRespostasAgregadasGrupoDocente().getRespostasAgregadasChartTable2Secs(),
docenteReport.getRespostasAgregadasGrupoDocente(),
PerguntasGrupoQueryDao.GRUPO_DOCENTE_CODE_PERGUNTAS,periodos,degrees);
 
criarGraficosRespostasAgregadas(teacherCode,
anoLectivo,
docenteReport,
codigosCurso,
codigosEscola,
0,
docenteReport.getRespostasAgregadasGrupoUnidade().getRespostasAgregadasChartTable(),
docenteReport.getRespostasAgregadasGrupoUnidade(),
PerguntasGrupoQueryDao.GRUPO_UNIDADE_CODE_PERGUNTAS,periodos,degrees);
 
criarGraficosRespostasAgregadas(teacherCode,
anoLectivo,
docenteReport,
codigosCurso,
codigosEscola,
2000,
docenteReport.getRespostasAgregadasGrupoUnidade().getRespostasAgregadasChartTable2Secs(),
docenteReport.getRespostasAgregadasGrupoUnidade(),
PerguntasGrupoQueryDao.GRUPO_UNIDADE_CODE_PERGUNTAS,periodos,degrees);
 
PerguntasGrupoQueryDao.getMediasGrupo(teacherCode, anoLectivo, docenteReport, codigosCurso, codigosEscola, PerguntasGrupoQueryDao.GRUPO_DOCENTE_CODE_PERGUNTAS, docenteReport.getRespostasAgregadasGrupoDocente().getMediasGrupo(), periodos, degrees);
PerguntasGrupoQueryDao.getMediasGrupo(teacherCode, anoLectivo, docenteReport, codigosCurso, codigosEscola, PerguntasGrupoQueryDao.GRUPO_UNIDADE_CODE_PERGUNTAS, docenteReport.getRespostasAgregadasGrupoUnidade().getMediasGrupo(), periodos, degrees);
 
 
UnidadesQueryDao.criarTabelasCadeiras(teacherCode,
anoLectivo,
docenteReport,
0, periodos, degrees);
 
 
criaExtremeCharts(docenteReport);
 
criarProgressoesCharts(docenteReport,codigosCurso,codigosEscola);
//LIMPAR CA-che
 
criarAvaliacaoGuiaoDesempenho(docenteReport);
 
AbstractDao.getCurrentSession().getTransaction().commit();
 
 
 
return docenteReport;
}
 
private static void criarAvaliacaoGuiaoDesempenho(DocenteReport docenteReport)
{
List<UnidadeStats> unidadeStatses = docenteReport.getUnidadesStats();
 
DataTable dataTable = new DataTable();
 
DataTable.Row rowHeader = dataTable.addRowHeader();
rowHeader.addColTextCenter("Cód. Unidade");
rowHeader.addColTextCenter("Unidade Curricular");
rowHeader.addColTextCenter("Cód. Curso");
rowHeader.addColTextCenter("Curso");
rowHeader.addColTextCenter("Ano");
rowHeader.addColTextCenter("Periodo");
rowHeader.addColTextCenter("resposta média (RM)");
rowHeader.addColTextCenter("Número de inscritos");
rowHeader.addColTextCenter("Número de respostas");
rowHeader.addColTextCenter("Taxa de resposta (TR)");
rowHeader.addColTextCenter("Taxa de resposta (RMxTR)");
 
DecimalFormat df = new DecimalFormat("#.######");
Collections.sort(unidadeStatses,new Comparator<UnidadeStats>(){
 
@Override
public int compare(UnidadeStats o1, UnidadeStats o2)
{
int curso = o1.getNomeCurso().compareTo(o2.getNomeCurso());
if(curso == 0)
return o1.getNomeUnidade().compareTo(o2.getNomeUnidade());
else return curso;
}
});
 
double sumRMTR = 0;
double sumTR = 0;
 
for(UnidadeStats stats: unidadeStatses)
{
double TR = (((double)stats.getRespostas()/(double)stats.getInscritos()));
double RM = stats.getUnidadeStatsGrupoDocente().getMediasGrupo().getAvaliacaoMedia();
double RMTR = RM * TR;
sumRMTR += RMTR;
sumTR += TR;
DataTable.Row rowUnit = dataTable.addRowNormal();
rowUnit.addColTextCenter(stats.getCodigoUnidade());
rowUnit.addColTextCenter(stats.getNomeUnidade());
rowUnit.addColTextCenter(stats.getCodigoCurso());
rowUnit.addColTextCenter(stats.getNomeCurso());
rowUnit.addColTextCenter(docenteReport.getAnoLectivo());
rowUnit.addColTextCenter(stats.getSemestre());
rowUnit.addColNumberRight(df.format(RM));
rowUnit.addColNumberRight("" + stats.getInscritos());
rowUnit.addColNumberRight("" + stats.getRespostas());
rowUnit.addColNumberRight(df.format(TR));
rowUnit.addColNumberRight(df.format(RMTR));
}
 
double media = sumRMTR/sumTR;
 
DataTable.Row rowFooter = dataTable.addRowFooter();
DataTable.Row.Col soma = rowFooter.addColTextRight("Somatório das Parcelas");
soma.setColspan(9);
soma.setFontWeight("bold");
 
DataTable.Row.Col sumTRCol = rowFooter.addColNumberRight(df.format(sumTR));
sumTRCol.setFontWeight("bold");
DataTable.Row.Col sumRMTRCol = rowFooter.addColNumberRight(df.format(sumRMTR));
sumRMTRCol.setFontWeight("bold");
 
 
docenteReport.setDocenteAvaliacaoDesempenhoTR(sumTR);
docenteReport.setDocenteAvaliacaoDesempenhoRMTR(sumRMTR);
docenteReport.setDocenteAvaliacaoDesempenhoMediaPeriodo(media);
 
docenteReport.setDocenteAvaliacaoDesempenhoTRPrint(df.format(sumTR));
docenteReport.setDocenteAvaliacaoDesempenhoRMTRPrint(df.format(sumRMTR));
docenteReport.setDocenteAvaliacaoDesempenhoMediaPeriodoPrint(df.format(media));
 
docenteReport.setDocenteAvaliacaoDesempenhoTable(dataTable);
}
 
private static void criarProgressoesCharts(DocenteReport docenteReport, List<String> codigosCursos, List<String> codigosEscolas)
{
 
 
//TODO AS MEDIAS NAO ESTAO A CONSIDERAR OS DEREES E OS PERIODOS
docenteReport.progressaoAgregadasDocentesVsCurso = criarProgressoChartGrupo(docenteReport, codigosCursos,PerguntasGrupoQueryDao.GRUPO_DOCENTE_CODE_PERGUNTAS);
docenteReport.progressaoAgregadasUnidadesVsCurso = criarProgressoChartGrupo(docenteReport, codigosCursos,PerguntasGrupoQueryDao.GRUPO_UNIDADE_CODE_PERGUNTAS);
 
}
 
private static String criarProgressoChartGrupo(DocenteReport docenteReport, List<String> codigosCursos,String grupo) {
 
//Media do Docente face ao curso Docente
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media, " +
"quest.generatedTime as date " +
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"where " +
"prgp.grupoCode = :grupoCode " +
"and tipo.codigoSiges = :codigoSiges " +
"group by quest.generatedTime " +
"order by quest.generatedTime asc ");
query.setString("grupoCode",grupo);
query.setString("codigoSiges",docenteReport.getNumeroDocente());
 
 
List<Object[]> timeSeriesAvgDocente = query.list();
if(timeSeriesAvgDocente.size()>0)
{
Date firstOcurrence = (Date) timeSeriesAvgDocente.get(0)[1];
Date lastOcurrence = (Date) timeSeriesAvgDocente.get(timeSeriesAvgDocente.size()-1)[1];
 
String cursosQuery = QueryDaoUtils.createCursosQuery(codigosCursos, true);
Query queryCursos = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media, " +
"quest.generatedTime as date " +
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
"where " +
"prgp.grupoCode = :grupoCode " +
cursosQuery +
" and quest.generatedTime >= :minDate and quest.generatedTime <= :maxDate " +
" group by quest.generatedTime " +
"order by quest.generatedTime asc ");
queryCursos.setString("grupoCode",grupo);
queryCursos.setTimestamp("minDate", firstOcurrence);
queryCursos.setTimestamp("maxDate",lastOcurrence);
List<Object[]> timeSeriesAvgCursosDocente = queryCursos.list();
 
try {
String chart = ChartBuilderUtil.createTimeSeriesDiffArea(grupo, "Docente", "Curso", timeSeriesAvgDocente, timeSeriesAvgCursosDocente);
return chart;
} catch (IOException e) {
e.printStackTrace();
}
 
 
}
return null;
}
 
 
private static void criaExtremeCharts(DocenteReport docenteReport)
{
{
DocenteReport.PerguntaUnidadeStatAux perguntaMaxDocente = DocenteReport.extremePerguntaMaxDocente(docenteReport);
DocenteReport.PerguntaUnidadeStatAux perguntaMinDocente = DocenteReport.extremePerguntaMinDocente(docenteReport);
DocenteReport.PerguntaUnidadeStatAux perguntaMaxUnidade = DocenteReport.extremePerguntaMaxUnidade(docenteReport);
DocenteReport.PerguntaUnidadeStatAux perguntaMinUnidade = DocenteReport.extremePerguntaMinUnidade(docenteReport);
 
try {
String pathExtremePerguntaMaxDocente = ChartBuilderUtil.createChartRingOneDimension(perguntaMaxDocente.pergunta.getMediaEntidadeEmAvaliacao(),5,true,true,false,"extremePerguntaMaxDocente");
String pathExtremePerguntaMinDocente = ChartBuilderUtil.createChartRingOneDimension(perguntaMinDocente.pergunta.getMediaEntidadeEmAvaliacao(),5,true,true,false,"extremePerguntaMinDocente");
ChartWithTitleTemp chartPerguntaMaxDocente = new ChartWithTitleTemp(perguntaMaxDocente.pergunta.getPergunta(),perguntaMaxDocente.nomeUnidade,pathExtremePerguntaMaxDocente);
ChartWithTitleTemp chartPerguntaMinDocente = new ChartWithTitleTemp(perguntaMinDocente.pergunta.getPergunta(),perguntaMinDocente.nomeUnidade,pathExtremePerguntaMinDocente);
 
docenteReport.extremePerguntaAbsolutaAvgMaxDocente = chartPerguntaMaxDocente;
docenteReport.extremePerguntaAbsolutaAvgMinDocente = chartPerguntaMinDocente;
 
String pathExtremePerguntaMaxUnidade = ChartBuilderUtil.createChartRingOneDimension(perguntaMaxUnidade.pergunta.getMediaEntidadeEmAvaliacao(),5,true,true,false,"extremePerguntaMaxUnidade");
String pathExtremePerguntaMinUnidade = ChartBuilderUtil.createChartRingOneDimension(perguntaMinUnidade.pergunta.getMediaEntidadeEmAvaliacao(),5,true,true,false,"extremePerguntaMinUnidade");
ChartWithTitleTemp chartPerguntaMaxUnidade = new ChartWithTitleTemp(perguntaMaxUnidade.pergunta.getPergunta(),perguntaMaxUnidade.nomeUnidade,pathExtremePerguntaMaxUnidade);
ChartWithTitleTemp chartPerguntaMinUnidade = new ChartWithTitleTemp(perguntaMinUnidade.pergunta.getPergunta(),perguntaMinUnidade.nomeUnidade,pathExtremePerguntaMinUnidade);
 
docenteReport.extremePerguntaAbsolutaAvgMaxUnidade = chartPerguntaMaxUnidade;
docenteReport.extremePerguntaAbsolutaAvgMinUnidade = chartPerguntaMinUnidade;
 
}
catch (IOException e)
{
logger.error(e,e);
}
}
 
{
PerguntaStats perguntaAgregadaMaxDocente = DocenteReport.extremeDocentePerguntaAgregadasMax(docenteReport);
PerguntaStats perguntaAgregadaMinDocente = DocenteReport.extremeDocentePerguntaAgregadasMin(docenteReport);
PerguntaStats perguntaAgregadaMaxUnidade = DocenteReport.extremeUnidadePerguntaAgregadaMax(docenteReport);
PerguntaStats perguntaAgregadaMinUnidade = DocenteReport.extremeUnidadePerguntaAgregadaMin(docenteReport);
 
try {
String pathExtremePerguntaMaxDocente = ChartBuilderUtil.createChartRingOneDimension(perguntaAgregadaMaxDocente.getMediaEntidadeEmAvaliacao(),5,true,true,false,"extremePerguntaAgregadaMaxDocente");
String pathExtremePerguntaMinDocente = ChartBuilderUtil.createChartRingOneDimension(perguntaAgregadaMinDocente.getMediaEntidadeEmAvaliacao(),5,true,true,false,"extremePerguntaAgregadaMinDocente");
ChartWithTitleTemp chartPerguntaMaxDocente = new ChartWithTitleTemp(perguntaAgregadaMaxDocente.getPergunta(),"",pathExtremePerguntaMaxDocente);
ChartWithTitleTemp chartPerguntaMinDocente = new ChartWithTitleTemp(perguntaAgregadaMinDocente.getPergunta(),"",pathExtremePerguntaMinDocente);
 
docenteReport.extremePerguntaAgregadaAvgMaxDocente = chartPerguntaMaxDocente;
docenteReport.extremePerguntaAgregadaAvgMinDocente = chartPerguntaMinDocente;
 
String pathExtremePerguntaMaxUnidade = ChartBuilderUtil.createChartRingOneDimension(perguntaAgregadaMaxUnidade.getMediaEntidadeEmAvaliacao(),5,true,true,false,"extremePerguntaAgregadaMaxUnidade");
String pathExtremePerguntaMinUnidade = ChartBuilderUtil.createChartRingOneDimension(perguntaAgregadaMinUnidade.getMediaEntidadeEmAvaliacao(),5,true,true,false,"extremePerguntaAgregadaMinUnidade");
ChartWithTitleTemp chartPerguntaMaxUnidade = new ChartWithTitleTemp(perguntaAgregadaMaxUnidade.getPergunta(),"",pathExtremePerguntaMaxUnidade);
ChartWithTitleTemp chartPerguntaMinUnidade = new ChartWithTitleTemp(perguntaAgregadaMinUnidade.getPergunta(),"",pathExtremePerguntaMinUnidade);
 
docenteReport.extremePerguntaAgregadaAvgMaxUnidade = chartPerguntaMaxUnidade;
docenteReport.extremePerguntaAgregadaAvgMinUnidade = chartPerguntaMinUnidade;
 
}
catch (IOException e)
{
logger.error(e,e);
}
}
 
{
UnidadeStats unidadeMaxDocente = DocenteReport.extremeDocenteUnidadeMax(docenteReport);
UnidadeStats unidadeMinDocente = DocenteReport.extremeDocenteUnidadeMin(docenteReport);
UnidadeStats unidadeMaxUnidade = DocenteReport.extremeUnidadeUnidadeMax(docenteReport);
UnidadeStats unidadeMinUnidade = DocenteReport.extremeUnidadeUnidadeMin(docenteReport);
 
try {
String pathExtremePerguntaMaxDocente = ChartBuilderUtil.createChartRingOneDimension(unidadeMaxDocente.getUnidadeStatsGrupoDocente().getMediasGrupo().getAvaliacaoMedia(),5,true,true,false,"extremeUnidadeMaxDocente");
String pathExtremePerguntaMinDocente = ChartBuilderUtil.createChartRingOneDimension(unidadeMinDocente.getUnidadeStatsGrupoDocente().getMediasGrupo().getAvaliacaoMedia(),5,true,true,false,"extremeUnidadeMinDocente");
ChartWithTitleTemp chartPerguntaMaxDocente = new ChartWithTitleTemp(unidadeMaxDocente.getNomeUnidade(),"",pathExtremePerguntaMaxDocente);
ChartWithTitleTemp chartPerguntaMinDocente = new ChartWithTitleTemp(unidadeMinDocente.getNomeUnidade(),"",pathExtremePerguntaMinDocente);
 
docenteReport.extremeUnitAvgMaxDocente = chartPerguntaMaxDocente;
docenteReport.extremeUnitAvgMinDocente = chartPerguntaMinDocente;
 
String pathExtremePerguntaMaxUnidade = ChartBuilderUtil.createChartRingOneDimension(unidadeMaxUnidade.getUnidadeStatsGrupoUnidade().getMediasGrupo().getAvaliacaoMedia(),5,true,true,false,"extremeUnidadeMaxUnidade");
String pathExtremePerguntaMinUnidade = ChartBuilderUtil.createChartRingOneDimension(unidadeMinUnidade.getUnidadeStatsGrupoUnidade().getMediasGrupo().getAvaliacaoMedia(),5,true,true,false,"extremeUnidadeMinUnidade");
ChartWithTitleTemp chartPerguntaMaxUnidade = new ChartWithTitleTemp(unidadeMaxUnidade.getNomeUnidade(),"",pathExtremePerguntaMaxUnidade);
ChartWithTitleTemp chartPerguntaMinUnidade = new ChartWithTitleTemp(unidadeMinUnidade.getNomeUnidade(),"",pathExtremePerguntaMinUnidade);
 
docenteReport.extremeUnitAvgMaxUnidade = chartPerguntaMaxUnidade;
docenteReport.extremeUnitAvgMinUnidade = chartPerguntaMinUnidade;
 
}
catch (IOException e)
{
logger.error(e,e);
}
}
 
{
DocenteReport.PerguntaUnidadeStatAux perguntaDiffMaxDocente = DocenteReport.extremeDiffMediaPerguntaMaxDocente(docenteReport);
DocenteReport.PerguntaUnidadeStatAux perguntaDiffMinDocente = DocenteReport.extremeDiffMediaPerguntaMinDocente(docenteReport);
DocenteReport.PerguntaUnidadeStatAux perguntaDiffMaxUnidade = DocenteReport.extremeDiffMediaPerguntaMaxUnidade(docenteReport);
DocenteReport.PerguntaUnidadeStatAux perguntaDiffMinUnidade = DocenteReport.extremeDiffMediaPerguntaMinUnidade(docenteReport);
 
try {
String pathExtremePerguntaMaxDocente = ChartBuilderUtil.createBarChartTwoBars("Docente","Curso",ChartBuilderUtil.COLOR_SECTION_BLUE_DARK,ChartBuilderUtil.COLOR_SECTION_GREEN, perguntaDiffMaxDocente.pergunta.getMediaEntidadeEmAvaliacao(),perguntaDiffMaxDocente.pergunta.getMediaCursos(),5,"extremeDiffMaxDocente");
String pathExtremePerguntaMinDocente = ChartBuilderUtil.createBarChartTwoBars("Docente", "Curso", ChartBuilderUtil.COLOR_SECTION_BLUE_DARK, ChartBuilderUtil.COLOR_SECTION_GREEN, perguntaDiffMinDocente.pergunta.getMediaEntidadeEmAvaliacao(), perguntaDiffMinDocente.pergunta.getMediaCursos(), 5, "extremeDiffMinDocente");
ChartWithTitleTemp chartPerguntaMaxDocente = new ChartWithTitleTemp(perguntaDiffMaxDocente.pergunta.getPergunta() + " ( " + perguntaDiffMaxDocente.pergunta.getDiffMediaCursoPrint() + ")",perguntaDiffMaxDocente.nomeUnidade,pathExtremePerguntaMaxDocente);
ChartWithTitleTemp chartPerguntaMinDocente = new ChartWithTitleTemp(perguntaDiffMinDocente.pergunta.getPergunta() + " ( " + perguntaDiffMinDocente.pergunta.getDiffMediaCursoPrint() + ")",perguntaDiffMinDocente.nomeUnidade,pathExtremePerguntaMinDocente);
 
docenteReport.extremePerguntaAbsolutaDiffAvgMaxDocente = chartPerguntaMaxDocente;
docenteReport.extremePerguntaAbsolutaDiffAvgMinDocente = chartPerguntaMinDocente;
 
String pathExtremePerguntaMaxUnidade = ChartBuilderUtil.createBarChartTwoBars("Docente", "Curso", ChartBuilderUtil.COLOR_SECTION_BLUE_DARK, ChartBuilderUtil.COLOR_SECTION_GREEN, perguntaDiffMaxUnidade.pergunta.getMediaEntidadeEmAvaliacao(), perguntaDiffMaxUnidade.pergunta.getMediaCursos(), 5, "extremeDiffMaxUnidade");
String pathExtremePerguntaMinUnidade = ChartBuilderUtil.createBarChartTwoBars("Docente", "Curso", ChartBuilderUtil.COLOR_SECTION_BLUE_DARK, ChartBuilderUtil.COLOR_SECTION_GREEN, perguntaDiffMinUnidade.pergunta.getMediaEntidadeEmAvaliacao(), perguntaDiffMinUnidade.pergunta.getMediaCursos(), 5, "extremeDiffMinUnidade");
ChartWithTitleTemp chartPerguntaMaxUnidade = new ChartWithTitleTemp(perguntaDiffMaxUnidade.pergunta.getPergunta() + " ( " + perguntaDiffMaxUnidade.pergunta.getDiffMediaCursoPrint() + ")",perguntaDiffMaxUnidade.nomeUnidade,pathExtremePerguntaMaxUnidade);
ChartWithTitleTemp chartPerguntaMinUnidade = new ChartWithTitleTemp(perguntaDiffMinUnidade.pergunta.getPergunta() + " ( " + perguntaDiffMinUnidade.pergunta.getDiffMediaCursoPrint() + ")",perguntaDiffMinUnidade.nomeUnidade,pathExtremePerguntaMinUnidade);
 
docenteReport.extremePerguntaAbsolutaDiffAvgMaxUnidade = chartPerguntaMaxUnidade;
docenteReport.extremePerguntaAbsolutaDiffAvgMinUnidade = chartPerguntaMinUnidade;
 
}
catch (IOException e)
{
logger.error(e,e);
}
}
 
 
{
QuestionariosAlunosReport.ParticipacaoUnidade perguntaDiffMax = DocenteReport.extremeParticipacaoUnidadeMax(docenteReport);
QuestionariosAlunosReport.ParticipacaoUnidade perguntaDiffMin = DocenteReport.extremeParticipacaoUnidadeMin(docenteReport);
 
try {
String pathExtremePerguntaMaxDocente = ChartBuilderUtil.createChartRingOneDimension(perguntaDiffMax.getParticiparam(),perguntaDiffMax.getInscritos(),true,true,false,"extremeParticipacaoMax");
String pathExtremePerguntaMinDocente = ChartBuilderUtil.createChartRingOneDimension(perguntaDiffMin.getParticiparam(),perguntaDiffMin.getInscritos(),true,true,false,"extremeParticipacaoMin");
 
ChartWithTitleTemp chartPerguntaMaxDocente = new ChartWithTitleTemp(perguntaDiffMax.getNomeUnidade() + " (inscritos: " + perguntaDiffMax.getInscritos() + ")","",pathExtremePerguntaMaxDocente);
ChartWithTitleTemp chartPerguntaMinDocente = new ChartWithTitleTemp(perguntaDiffMin.getNomeUnidade() + " (inscritos: " + perguntaDiffMin.getInscritos() + ")","",pathExtremePerguntaMinDocente);
 
docenteReport.extremeParticipacaoMax = chartPerguntaMaxDocente;
docenteReport.extremeParticipacaoMin = chartPerguntaMinDocente;
}
catch (IOException e)
{
logger.error(e,e);
}
}
 
 
 
 
}
 
public static ArrayList<String> getFormatedDegrees(String[] degrees) {
ArrayList<String> degreesList = new ArrayList<String>();
if(degrees != null)
{
for(String d: degrees)
degreesList.add(ConfigProperties.getProperty("course." + d));
}
return degreesList;
 
}
 
public static ArrayList<String> getFormatedSemestres(String[] periodos)
{
ArrayList<String> semestres = new ArrayList<String>();
if(periodos != null)
{
for(String p: periodos)
semestres.add(p);
}
return semestres;
}
 
 
public static double round(double value, int places) {
if (places < 0) throw new IllegalArgumentException();
 
long factor = (long) Math.pow(10, places);
value = value * factor;
long tmp = Math.round(value);
return (double) tmp / factor;
}
 
 
/**
* Gera um gráfico com todas as respostas agregadas por questao para um professor
* @param teacherCode
* @param anoLectivo
* @param docenteReport
*/
private static void criarGraficosRespostasAgregadas(String teacherCode,
String anoLectivo,
DocenteReport docenteReport,
List<String> codigosCurso,
List<String> codigosEscola,
double tempoMinimo,
RespostasAgregadasGrupoStats.RespostasAgregadasChartTable respostasAgregadasChartTable,
RespostasAgregadasGrupoStats respostasAgregadasGrupo,
String grupo
,String[] periodos
,String[] degrees) {
 
 
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
 
Query query;//*****CRIAR REPOSTAS DO GRUPO DOCENTE*****///
 
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media," +
"sum(case when fc.intResposta = 1 then 1 else 0 end) as r1," +
"sum(case when fc.intResposta = 2 then 1 else 0 end) as r2," +
"sum(case when fc.intResposta = 3 then 1 else 0 end) as r3," +
"sum(case when fc.intResposta = 4 then 1 else 0 end) as r4," +
"sum(case when fc.intResposta = 5 then 1 else 0 end) as r5," +
"std(fc.intResposta) as desvio," +
"count(fc.id) as total, " +
"prgp.pergunta as pergunta, " +
"prgp.numero as numero, " +
"avg(fc.tempoLevado) as tempoMedioLevado " +
 
 
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
 
"where " +
"prgp.grupoCode = :grupoCode " +
"and quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges " +
(tempoMinimo > 0 ? " and fc.tempoLevado > :tempoLevado " : "" ) +
periodosQuery +
degreesQuery +
"group by prgp.numero " +
"order by prgp.numero ");
query.setString("grupoCode",grupo);
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
if(tempoMinimo > 0)
{
query.setDouble("tempoLevado",tempoMinimo);
}
 
 
DataTable tableRespostasAgregadas = new DataTable();
 
 
 
DataTable.Row header = tableRespostasAgregadas.addRowHeader();
header.addColTextCenter("Questão");
header.addColTextCenter("Resps.");
header.addColTextCenter("Tempo Médio de Resposta (seg.)");
header.addColTextCenter("Nada Satisf. %");
header.addColTextCenter("Pouco Satisf. %");
header.addColTextCenter("Satisf. %");
header.addColTextCenter("Bastante Satisf. %");
header.addColTextCenter("Muito Satisf. %");
header.addColTextCenter("Média");
header.addColTextCenter("Desvio Padrão");
header.addColTextCenter("Média dos Cursos em que Lecciona");
header.addColTextCenter("Média das Escolas em que Lecciona");
 
 
List<Object[]> resultsTest = query.list();
for(Object[] resultTest : resultsTest)
{
Double tempoMedioLevado = (Double) resultTest[10];
Double mediaDocente = (Double) resultTest[0];
Double desvio = (Double) resultTest[6];
Long total = (Long) resultTest[7];
double min = mediaDocente - (desvio*2);
double max = mediaDocente + (desvio*2);
if(max > 5) max = 5;
DecimalFormat df = new DecimalFormat("#.##");
 
String questao = resultTest[8].toString();
String numero = resultTest[9].toString();
 
 
DataTable.Row rowUnidade = tableRespostasAgregadas.addRowNormal();
rowUnidade.addColLabelCenter(questao);
rowUnidade.addColTextCenter(""+total);
rowUnidade.addColTextCenter(df.format(tempoMedioLevado/1000.0));
DataTable.Row.Col colResposta1 = rowUnidade.addColTextCenter(resultTest[1].toString());
DataTable.Row.Col colResposta2 = rowUnidade.addColTextCenter(resultTest[2].toString());
DataTable.Row.Col colResposta3 = rowUnidade.addColTextCenter(resultTest[3].toString());
DataTable.Row.Col colResposta4 = rowUnidade.addColTextCenter(resultTest[4].toString());
DataTable.Row.Col colResposta5 = rowUnidade.addColTextCenter(resultTest[5].toString());
 
Long respostas1 = (Long) resultTest[1];
Long respostas2 = (Long) resultTest[2];
Long respostas3 = (Long) resultTest[3];
Long respostas4 = (Long) resultTest[4];
Long respostas5 = (Long) resultTest[5];
 
if(respostas1 >= respostas2 && respostas1 >= respostas3 && respostas1 >= respostas4 && respostas1 >= respostas5)
{
colResposta1.setBackgroundColor(ChartBuilderUtil.COLOR_1_HEX);
}else if(respostas2 >= respostas1 && respostas2 >= respostas3 && respostas2 >= respostas4 && respostas2 >= respostas5)
{
colResposta2.setBackgroundColor(ChartBuilderUtil.COLOR_2_HEX);
}else if(respostas3 >= respostas1 && respostas3 >= respostas2 && respostas3 >= respostas4 && respostas3 >= respostas5)
{
colResposta3.setBackgroundColor(ChartBuilderUtil.COLOR_3_HEX);
}else if(respostas4 >= respostas1 && respostas4 >= respostas2 && respostas4 >= respostas3 && respostas4 >= respostas5)
{
colResposta4.setBackgroundColor(ChartBuilderUtil.COLOR_4_HEX);
}else if(respostas5 >= respostas1 && respostas5 >= respostas2 && respostas5 >= respostas3 && respostas5 >= respostas4)
{
colResposta5.setBackgroundColor(ChartBuilderUtil.COLOR_5_HEX);
}
 
 
 
 
 
double mediaCursos = QueryDaoUtils.getMediaCursos(codigosCurso, anoLectivo, numero, tempoMinimo, grupo, periodos, degrees);
double mediaEscolas = QueryDaoUtils.getMediaEscolas(codigosEscola, anoLectivo, numero, tempoMinimo, grupo, periodos, degrees);
 
 
 
try {
PerguntaStats perguntaStatsAndChart;
 
if(tempoMinimo <= 0)
{
List<String> info = new ArrayList<String>();
info.add("Desvio Padrão: " + df.format(desvio));
info.add("Média: " + df.format(mediaDocente));
info.add("Respostas: " + total);
info.add("95% respostas entre: " + df.format(min) + " e " + df.format(max));
perguntaStatsAndChart = ChartBuilderUtil.createChartRespostasPergunta(questao, info,
new int[]{
((Long) resultTest[1]).intValue(),
((Long) resultTest[2]).intValue(),
((Long) resultTest[3]).intValue(),
((Long) resultTest[4]).intValue(),
((Long) resultTest[5]).intValue(),
}, "resposta" + numero, docenteReport.getInquiridosComResposta());
 
}
else
perguntaStatsAndChart = new PerguntaStats();
 
perguntaStatsAndChart.setPergunta(questao);
perguntaStatsAndChart.setNumero(numero);
perguntaStatsAndChart.setGrupo(grupo);
perguntaStatsAndChart.setMediaCursosPrint(df.format(mediaCursos));
perguntaStatsAndChart.setMediaEscolasPrint(df.format(mediaEscolas));
perguntaStatsAndChart.setMediaCursos(mediaCursos);
perguntaStatsAndChart.setMediaEscolas(mediaEscolas);
perguntaStatsAndChart.setMediaEntidadeEmAvaliacao(mediaDocente);
perguntaStatsAndChart.setMediaEntidadeEmAvaliacaoPrint(df.format(mediaDocente));
perguntaStatsAndChart.setPercentMediaCursos("" + ((int) ((mediaCursos / 5.0) * 100.0)));
perguntaStatsAndChart.setPercentMediaEscolas("" + ((int) ((mediaEscolas / 5.0) * 100.0)));
perguntaStatsAndChart.setPercentMediaEntidadeEmAvaliacao("" + ((int)((mediaDocente/5.0)*100.0)));
 
 
rowUnidade.addColPercentageDefinedCenter(perguntaStatsAndChart.getMediaEntidadeEmAvaliacaoPrint(), perguntaStatsAndChart.getPercentMediaEntidadeEmAvaliacao(), true);
rowUnidade.addColTextCenter(df.format(desvio));
rowUnidade.addColPercentageDefinedCenter(perguntaStatsAndChart.getMediaCursosPrint(),perguntaStatsAndChart.getPercentMediaCursos(),true);
rowUnidade.addColPercentageDefinedCenter(perguntaStatsAndChart.getMediaEscolasPrint(),perguntaStatsAndChart.getPercentMediaEscolas(),true);
 
respostasAgregadasChartTable.getRespostasAgregadasCharts().addChart(perguntaStatsAndChart);
respostasAgregadasChartTable.setRespostasTable(tableRespostasAgregadas);
 
if(tempoMinimo <= 0)
{
//adicionada segunda vez para ficar na classe de agregação de respostas e medias
//legadamente ja estavam no chart mas metem-se aqui tambem pois estavam em rows e afins
respostasAgregadasGrupo.getPerguntasStats().add(perguntaStatsAndChart);
}
 
} catch (IOException e) {
logger.error(e,e);
}
}
}
 
 
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/docenteReport.fo.xsl
4,6 → 4,9
 
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="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>
11,18 → 14,6
<xsl:param name="numeroDocente"><xsl:value-of select="//numeroDocente"/></xsl:param>
 
 
<xsl:variable name="STD_COLOR_SECTION">#FFEAAE</xsl:variable>
<xsl:variable name="GREEN_COLOR_SECTION">#DDFCB1</xsl:variable>
<xsl:variable name="BLUE_COLOR_SECTION">#B2E6FE</xsl:variable>
 
<xsl:variable name="STD_COLOR_SUB_SECTION">#D6D9BC</xsl:variable>
<xsl:variable name="GREEN_COLOR_SUB_SECTION">#D0FCCD</xsl:variable>
<xsl:variable name="BLUE_COLOR_SUB_SECTION">#CFF6FE</xsl:variable>
 
 
 
 
 
<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">
88,68 → 79,92
</fo:root>
</xsl:template>
 
<xsl:template name="headerTeacher">
<fo:block text-align="left" border-bottom="1px solid #58585A">
<fo:table width="100%" table-layout="fixed" >
<fo:table-column column-width="80%"/>
<fo:table-column column-width="20%"/>
 
<xsl:template name="firstpage">
<fo:static-content flow-name="header">
<fo:block text-align="left">
<fo:table width="100%" table-layout="fixed" border-bottom="1px solid black">
<fo:table-column column-width="100%"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:external-graphic height="auto" width="auto"
content-height="80">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/layout/themes/ipp/logo.jpg')
</xsl:attribute>
</fo:external-graphic>
</fo:block>
</fo:table-cell>
 
</fo:table-row>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/layout/themes/ipp/logo.jpg')</xsl:variable>
<fo:external-graphic height="auto" width="auto"
content-height="40" src="{$src}">
</fo:external-graphic>
</fo:block>
<fo:block font-size="10px" padding="0px" text-align="left">
<fo:inline font-weight="bold"> Relatório de Avaliação Pedagógica</fo:inline>
</fo:block>
<fo:block font-size="10px" padding="0px" margin-top="0px" text-align="left" >
<fo:inline>Avaliação pelos alunos do docente:</fo:inline>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="10px" text-align="right" >
Resultados dos Inquéritos Pedagógicos
</fo:block>
<fo:block font-size="10px" padding="0px" margin-top="0px" text-align="right" >
<fo:inline font-weight="bold">Ano letivo:</fo:inline> <xsl:value-of select="$anoLectivo"/>
</fo:block>
 
</fo:table-body>
</fo:table>
</fo:table-cell>
 
</fo:block>
</fo:static-content>
<fo:static-content flow-name="footer">
<xsl:call-template name="footerDefault"/>
</fo:static-content>
</fo:table-row>
<fo:table-row background-color="#fff9ea">
<fo:table-cell>
<fo:block font-size="12px" padding="2px" margin-top="0px" >
<fo:inline text-align="left"><xsl:value-of select="$nomeDocente"/> / Número: <xsl:value-of select="$numeroDocente"/></fo:inline>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="12px" padding="2px" margin-top="0px" text-align="right" >
<fo:inline>Pagina: <fo:page-number/></fo:inline>
</fo:block>
</fo:table-cell>
 
</fo:table-row>
 
<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:table-body>
</fo:table>
 
<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 Docente</fo:inline>
</fo:block>
 
<fo:block font-size="14px" padding="4px" margin-top="5px" text-align="center" background-color="#fff9ea">
<xsl:value-of select="$nomeDocente"/>
</fo:block>
<fo:block font-size="12px" padding="4px" margin-top="2px" text-align="center">
<fo:inline>Docente Número: <xsl:value-of select="$numeroDocente"/></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>
 
</fo:block>
</xsl:template>
 
<xsl:template name="footerDefault">
<fo:table width="100%" table-layout="fixed" border-top="1px solid black" font-size="6.5pt">
<fo:table-column column-width="20%"/>
<fo:table-column column-width="80%"/>
 
 
<fo:table-body>
<fo:table-row>
<fo:table-cell padding-top="3pt">
<fo:block>
Atualizado a
<xsl:value-of select="$updateDate"/> / Página
<fo:page-number/>
</fo:block>
<fo:block font-size="5pt">
IPP.SI.QP-2-Rev.0
</fo:block>
 
</fo:table-cell>
<fo:table-cell padding-top="3pt">
<fo:block font-size="6pt" text-align="right">
http://pae.ipportalegre.pt | gerado pela plataforma ipp-pae® 2016
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</xsl:template>
 
<xsl:template name="indexPage">
<fo:static-content flow-name="header">
<xsl:call-template name="headerTeacher"/>
161,14 → 176,14
<fo:flow flow-name="body">
 
<fo:block font-size="20px" padding="4px" margin-top="40px" text-align="center" >
<fo:inline text-decoration="underline" font-weight="bold">Indice</fo:inline>
<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.
<xsl:text> </xsl:text>
<fo:leader/>
Pag.
</fo:block>
 
<fo:block font-size="14px" text-align-last="justify">
184,7 → 199,7
<fo:basic-link internal-destination="capCaracterizacao">
<fo:inline font-weight="bold" padding-top="3px" padding-bottom="2px" padding-left="3px" padding-right="3px" margin-right="10px" border-bottom="1px solid #58585A" font-size="16px" color="white" background-color="#FFCA44">2</fo:inline>
<xsl:text> </xsl:text>
Caracterização da qmostra
Caracterização da amostra
<fo:leader leader-pattern="dots" />
<fo:page-number-citation ref-id="capCaracterizacao" />
</fo:basic-link>
218,298 → 233,110
</fo:basic-link>
</fo:block>
 
<fo:block font-size="14px" text-align-last="justify" margin-top="5px">
<fo:basic-link internal-destination="capDimensoes">
<fo:inline font-weight="bold" padding-top="3px" padding-bottom="2px" padding-left="3px" padding-right="3px" margin-right="10px" border-bottom="1px solid #58585A" font-size="16px" color="white" background-color="#FFCA44">6</fo:inline>
<xsl:text> </xsl:text>
Análise de Dimênsões de Avaliação
<fo:leader leader-pattern="dots" />
<fo:page-number-citation ref-id="capDimensoes" />
</fo:basic-link>
</fo:block>
 
<fo:block font-size="14px" text-align-last="justify" margin-top="5px">
<fo:basic-link internal-destination="capProgressoes">
<fo:inline font-weight="bold" padding-top="3px" padding-bottom="2px" padding-left="3px" padding-right="3px" margin-right="10px" border-bottom="1px solid #58585A" font-size="16px" color="white" background-color="#FFCA44">7</fo:inline>
<xsl:text> </xsl:text>
Análise da Progressão do Docente
<fo:leader leader-pattern="dots" />
<fo:page-number-citation ref-id="capProgressoes" />
</fo:basic-link>
</fo:block>
 
</fo:flow>
</xsl:template>
 
 
<fo:block font-size="14px" text-align-last="justify" margin-top="5px">
<fo:basic-link internal-destination="capForcasFraquezas">
<fo:inline font-weight="bold" padding-top="3px" padding-bottom="2px" padding-left="3px" padding-right="3px" margin-right="10px" border-bottom="1px solid #58585A" font-size="16px" color="white" background-color="#FFCA44">8</fo:inline>
<xsl:text> </xsl:text>
Análise das Forças e Fraquezas
<fo:leader leader-pattern="dots" />
<fo:page-number-citation ref-id="capForcasFraquezas" />
</fo:basic-link>
</fo:block>
 
<fo:block font-size="14px" text-align-last="justify" margin-top="5px">
<fo:basic-link internal-destination="capGuiaoAvaliacaoDesempenho">
<fo:inline font-weight="bold" padding-top="3px" padding-bottom="2px" padding-left="3px" padding-right="3px" margin-right="10px" border-bottom="1px solid #58585A" font-size="16px" color="white" background-color="#FFCA44">9</fo:inline>
<xsl:text> </xsl:text>
Análise da qualidade do desempenho docente baseada no Guião da Avaliação do desempenho do pessoal docente do IPPortalegre
<fo:leader leader-pattern="dots" />
<fo:page-number-citation ref-id="capGuiaoAvaliacaoDesempenho" />
</fo:basic-link>
</fo:block>
 
 
<xsl:template name="seccao">
<xsl:param name="text"/>
<xsl:param name="marginTop">0</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="seccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$STD_COLOR_SECTION"/></xsl:with-param>
</xsl:call-template>
</fo:flow>
</xsl:template>
 
<xsl:template name="seccaoGreen">
<xsl:param name="text"/>
<xsl:param name="marginTop">0</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="seccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$GREEN_COLOR_SECTION"/></xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="firstpage">
<fo:static-content flow-name="header">
<fo:block text-align="left">
<fo:table width="100%" table-layout="fixed" border-bottom="1px solid black">
<fo:table-column column-width="100%"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/layout/themes/ipp/logo.jpg')</xsl:variable>
<fo:external-graphic height="auto" width="auto"
content-height="80" src="{$src}">
</fo:external-graphic>
</fo:block>
</fo:table-cell>
 
<xsl:template name="seccaoBlue">
<xsl:param name="text"/>
<xsl:param name="marginTop">0</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="seccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$BLUE_COLOR_SECTION"/></xsl:with-param>
</xsl:call-template>
</xsl:template>
</fo:table-row>
 
</fo:table-body>
</fo:table>
 
</fo:block>
</fo:static-content>
<fo:static-content flow-name="footer">
<xsl:call-template name="footerDefault"/>
</fo:static-content>
 
<!-- GENERIC SECCION -->
<xsl:template name="seccaoGen">
<xsl:param name="text"/>
<xsl:param name="marginTop">0</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:param name="backcolor"><xsl:value-of select="$STD_COLOR_SECTION"/></xsl:param>
<fo:block padding="0" padding-left="0" margin="0" margin-top="{$marginTop}">
<fo:table width="100%" table-layout="fixed" border="0" margin="0" padding="0">
<fo:table-column column-width="90%"/>
<fo:table-column column-width="10%"/>
<fo:table-body>
<fo:table-row >
<fo:table-cell margin="0"
padding="2px"
background-color="{$backcolor}"
display-align="center">
<fo:block
font-size="12px"
font-weight="bold"
text-align="left"
margin="0"
padding="0">
<xsl:value-of select="$text"/>
</fo:block>
</fo:table-cell>
<fo:table-cell margin="0" padding="0" display-align="center" text-align="right" padding-right="5px">
<fo:block margin="0" padding="0">
<xsl:if test="$icon">
 
<fo:external-graphic height="auto" width="auto" margin="0" padding="0"
content-height="20">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/<xsl:value-of select="$icon"/>')
</xsl:attribute>
</fo:external-graphic>
<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>
 
</xsl:if>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
<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 Docente</fo:inline>
</fo:block>
 
 
 
<xsl:template name="subSeccao">
<xsl:param name="text"/>
<xsl:param name="marginTop">8px</xsl:param>
<xsl:param name="marginBottom">20px</xsl:param>
<xsl:call-template name="subSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$STD_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
</xsl:call-template>
<fo:block font-size="14px" padding="4px" margin-top="5px" text-align="center" background-color="#fff9ea">
<xsl:value-of select="$nomeDocente"/>
</fo:block>
<fo:block font-size="12px" padding="4px" margin-top="2px" text-align="center">
<fo:inline>Docente Número: <xsl:value-of select="$numeroDocente"/></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="subSeccaoGreen">
<xsl:param name="text"/>
<xsl:param name="marginTop">8px</xsl:param>
<xsl:param name="marginBottom">20px</xsl:param>
<xsl:call-template name="subSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$GREEN_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSeccaoBlue">
<xsl:param name="text"/>
<xsl:param name="marginTop">8px</xsl:param>
<xsl:param name="marginBottom">20px</xsl:param>
<xsl:call-template name="subSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$BLUE_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
</xsl:call-template>
</xsl:template>
 
<xsl:template name="subSeccaoGen">
<xsl:param name="text"/>
<xsl:param name="marginTop">8px</xsl:param>
<xsl:param name="marginBottom">20px</xsl:param>
<xsl:param name="backcolor"></xsl:param>
<fo:block font-size="10px"
padding-top="3px"
padding-bottom="3px"
padding-left="5px"
margin-left="10px"
margin-top="{$marginTop}"
margin-bottom="{$marginBottom}"
text-align="left"
background-color="{$backcolor}">
<xsl:value-of select="$text"/>
</fo:block>
</xsl:template>
 
<xsl:template name="subSubSeccao">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<xsl:call-template name="subSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$STD_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="fontSize" select="$fontSize"/>
<xsl:with-param name="fontWeight" select="$fontWeight"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSeccaoBlue">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<xsl:call-template name="subSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor">#CFF6FE</xsl:with-param>
<xsl:with-param name="fontSize" select="$fontSize"/>
<xsl:with-param name="fontWeight" select="$fontWeight"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSeccaoGreen">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<xsl:call-template name="subSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor">#D0FCCD</xsl:with-param>
<xsl:with-param name="fontSize" select="$fontSize"/>
<xsl:with-param name="fontWeight" select="$fontWeight"/>
</xsl:call-template>
</xsl:template>
 
<xsl:template name="subSubSeccaoGen">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="backcolor"></xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<fo:block font-size="{$fontSize}"
font-weight="{$fontWeight}"
padding-top="0px"
padding-bottom="0px"
padding-left="5px"
margin-left="20px"
margin-top="{$marginTop}"
margin-bottom="5px"
text-align="left"
background-color="{$backcolor}">
<xsl:value-of select="$text"/>
</fo:block>
</xsl:template>
 
 
 
<xsl:template name="subSubSubSeccao">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$STD_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
 
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSubSeccaoBlue">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor">#CFF6FE</xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSubSeccaoGreen">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor">#D0FCCD</xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
</xsl:call-template>
</xsl:template>
 
<xsl:template name="subSubSubSeccaoGen">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="backcolor"></xsl:param>
<xsl:param name="icon"></xsl:param>
 
 
<fo:block margin-left="30px" margin-top="{$marginTop}" padding="0" padding-left="0" margin="0" margin-bottom="5px" padding-right="30px">
<fo:table width="100%" table-layout="fixed" border="0" margin="0" padding="0">
<fo:table-column column-width="95%"/>
<fo:table-column column-width="5%"/>
<fo:table-body>
<fo:table-row >
<fo:table-cell
padding="0"
background-color="{$backcolor}"
display-align="center"
margin="0">
<fo:block
font-size="8px"
font-weight="bold"
text-align="left"
margin="0" padding="0"
>
<xsl:value-of select="$text"/>
</fo:block>
</fo:table-cell>
<fo:table-cell margin="0" padding="0" display-align="center" text-align="right" padding-right="5px">
<fo:block margin="0" padding="0">
<xsl:if test="$icon">
 
<fo:external-graphic height="auto" width="auto"
content-height="8" margin="0" padding="0">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/<xsl:value-of select="$icon"/>')
</xsl:attribute>
</fo:external-graphic>
 
</xsl:if>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
 
<xsl:template name="page">
<fo:static-content flow-name="header">
<xsl:call-template name="headerTeacher"/>
519,1021 → 346,892
</fo:static-content>
 
<fo:flow flow-name="body">
<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 Docente</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="CAP_participacao"/>
 
<xsl:call-template name="CAP_analise_questoes_DOCENTE"/>
 
<fo:block-container font-size="18" 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:call-template>
</fo:block-container>
<xsl:call-template name="CAP_analise_questoes_UNIDADE"/>
 
<xsl:call-template name="CAP_analise_unidades_INDIVIDUALMENTE"/>
 
<xsl:call-template name="CAP_analise_DIMENSOES"/>
 
<fo:block margin-left="10px">
<xsl:call-template name="CAP_progressoes"/>
 
<xsl:call-template name="CAP_forcas_e_fraquezas"/>
 
<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="CAP_guiao_avaliacao_desempenho"/>
 
 
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Taxa de Participação
</xsl:with-param>
</xsl:call-template>
<fo:block display-align="center" text-align="center" margin-left="10px">
<fo:external-graphic width="auto" height="auto" content-height="140">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src"><xsl:value-of select="//pathGraficoTaxaRespostaAlunos"/>
</xsl:attribute>
</fo:external-graphic>
</fo:block>
</fo:flow>
</xsl:template>
 
</fo:table-cell>
<fo:table-cell margin="0" padding="0">
<!-- UTILITARIO PARA LINHAS NA TABELA DE FORCAS E FRAQUESAS -->
 
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Taxa de Resposta a Questionarios
</xsl:with-param>
</xsl:call-template>
<fo:block display-align="center" text-align="center" margin-left="10px">
<fo:external-graphic width="auto" height="auto" content-height="140">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src"><xsl:value-of select="//pathGraficoTaxaRespostaQuestionarios"/></xsl:attribute>
</fo:external-graphic>
</fo:block>
<xsl:template name="extremeComponentRow">
<xsl:param name="cols">4</xsl:param>
<xsl:param name="titleCol1"></xsl:param>
<xsl:param name="titleCol2"></xsl:param>
<xsl:param name="titleChart1"></xsl:param>
<xsl:param name="titleChart2"></xsl:param>
<xsl:param name="titleChart3"></xsl:param>
<xsl:param name="titleChart4"></xsl:param>
<xsl:param name="subTitleChart1"></xsl:param>
<xsl:param name="subTitleChart2"></xsl:param>
<xsl:param name="subTitleChart3"></xsl:param>
<xsl:param name="subTitleChart4"></xsl:param>
<xsl:param name="chart1"></xsl:param>
<xsl:param name="chart2"></xsl:param>
<xsl:param name="chart3"></xsl:param>
<xsl:param name="chart4"></xsl:param>
<fo:table-row>
<fo:table-cell padding="0" margin="0" number-columns-spanned="2">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSubSeccao">
<xsl:with-param name="text"><xsl:value-of select="$titleCol1"/></xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0" number-columns-spanned="2">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSubSeccao">
<xsl:with-param name="text"><xsl:value-of select="$titleCol2"/></xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding="0" margin="0">
<xsl:if test="$cols = '2'"><xsl:attribute name="number-columns-spanned">2</xsl:attribute></xsl:if>
<fo:block margin="0" padding="0">
<xsl:call-template name="subSubSubSeccaoSmallSpaces">
<xsl:with-param name="subText"><xsl:value-of select="$subTitleChart1"/></xsl:with-param>
<xsl:with-param name="text"><xsl:value-of select="$titleChart1"/></xsl:with-param>
<xsl:with-param name="icon"><xsl:if test="$cols = '4'">teacherIcon.png</xsl:if></xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0">
<xsl:if test="$cols = '2'"><xsl:attribute name="number-columns-spanned">2</xsl:attribute></xsl:if>
<fo:block margin="0" padding="0">
<xsl:call-template name="subSubSubSeccaoSmallSpaces">
<xsl:with-param name="subText"><xsl:value-of select="$subTitleChart2"/></xsl:with-param>
<xsl:with-param name="text"><xsl:value-of select="$titleChart2"/></xsl:with-param>
<xsl:with-param name="icon"><xsl:if test="$cols = '4'">cadeiraConteudos.png</xsl:if></xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<xsl:if test="$cols = '4'">
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSubSubSeccaoSmallSpaces">
<xsl:with-param name="subText"><xsl:value-of select="$subTitleChart3"/></xsl:with-param>
<xsl:with-param name="text"><xsl:value-of select="$titleChart3"/></xsl:with-param>
<xsl:with-param name="icon"><xsl:if test="$cols = '4'">teacherIcon.png</xsl:if></xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0" text-align="center">
<xsl:call-template name="subSubSubSeccaoSmallSpaces">
<xsl:with-param name="subText"><xsl:value-of select="$subTitleChart4"/></xsl:with-param>
<xsl:with-param name="text"><xsl:value-of select="$titleChart4"/></xsl:with-param>
<xsl:with-param name="icon"><xsl:if test="$cols = '4'">cadeiraConteudos.png</xsl:if></xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
</xsl:if>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding="0" margin="0" text-align="center">
<xsl:if test="$cols = '2'"><xsl:attribute name="number-columns-spanned">2</xsl:attribute></xsl:if>
<fo:block margin="0" padding="0" text-align="center">
<xsl:variable name="src"><xsl:value-of select="$chart1"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-height="60" src="{$src}">
</fo:external-graphic>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0" text-align="center">
<xsl:if test="$cols = '2'"><xsl:attribute name="number-columns-spanned">2</xsl:attribute></xsl:if>
<fo:block margin="0" padding="0" text-align="center">
<xsl:variable name="src"><xsl:value-of select="$chart2"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-height="60" src="{$src}"/>
</fo:block>
</fo:table-cell>
<xsl:if test="$cols = '4'">
<fo:table-cell padding="0" margin="0" text-align="center">
<fo:block margin="0" padding="0" text-align="center">
<xsl:variable name="src"><xsl:value-of select="$chart3"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-height="60" src="{$src}"/>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0" text-align="center">
<fo:block margin="0" padding="0">
<xsl:variable name="src"><xsl:value-of select="$chart4"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-height="60" src="{$src}"/>
</fo:block>
</fo:table-cell>
</xsl:if>
</fo:table-row>
</xsl:template>
 
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Taxa de Participação por Unidade Curricular
</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin-left="10px" font-size="10" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//tabelaTaxaRespostaUnidade" mode="DataTable">
<xsl:with-param name="firstColPercentSize">60%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:table-cell>
 
<fo:table-cell margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Contribuição de cada Unidade Curricular
</xsl:with-param>
</xsl:call-template>
<fo:block margin="0" margin-left="10px" padding="0" display-align="center" text-align="center">
<fo:external-graphic width="auto" margin="0" padding="0" height="auto" content-height="140">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src"><xsl:value-of select="//pathGraficoContribuicaoUnidades"/></xsl:attribute>
</fo:external-graphic>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
 
<!-- ############################################################# -->
<!-- 1 e 2 - CAPITULO ANALISE PARTICIPACAO PONTOS 1 e 2 -->
<!-- ############################################################# -->
 
<fo:block-container page-break-before="always" padding="0" margin="0" id="capCaracterizacao">
<xsl:call-template name="seccao">
<xsl:with-param name="text">2 - Caracterização da Amostra Recolhida</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<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 Docente</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="40px">
 
<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>
<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">
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>
<fo:external-graphic height="auto" width="auto"
content-height="120">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/imgs/studentMale.png')
</xsl:attribute>
</fo:external-graphic>
</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>
<fo:external-graphic height="auto" width="auto"
content-height="120">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/imgs/studentFemale.png')
</xsl:attribute>
</fo:external-graphic>
</fo:block>
<fo:block>
<xsl:value-of select="//femininoComRespostaPercent"/>%
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Taxa de Participação
</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: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-cell>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell margin="0" padding="0" padding-top="30px">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Taxa de Participação por Unidade Curricular
</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin-left="10px" font-size="10" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//tabelaTaxaRespostaUnidade" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:table-cell>
 
<fo:table-cell margin="0" padding="0" padding-top="30px">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Contribuição de cada Unidade Curricular
</xsl:with-param>
</xsl:call-template>
<fo:block margin="0" margin-left="10px" padding="0" display-align="center" text-align="center">
<xsl:variable name="src"><xsl:value-of select="//pathGraficoContribuicaoUnidades"/></xsl:variable>
<fo:external-graphic width="auto" margin="0" padding="0" height="auto" content-height="140" src="{$src}"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
 
 
<fo:block-container page-break-before="always" padding="0" margin="0" id="capCaracterizacao">
<xsl:call-template name="seccao">
<xsl:with-param name="text">2 - Caracterização da Amostra Recolhida</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">
Tipos de Alunos
</xsl:with-param>
</xsl:call-template>
 
<fo:block margin-top="5px">
<fo:external-graphic width="auto" height="auto" content-width="250" content-height="150">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src"><xsl:value-of select="//pathGraficoTiposAlunosComResposta"/>
</xsl:attribute>
</fo:external-graphic>
</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:table-cell>
<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-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-size="10" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//tabelaIdades" mode="DataTable"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
 
</fo:table-cell>
<fo:table-cell>
 
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Distritos
</xsl:with-param>
</xsl:call-template>
 
 
<fo:block text-align="center" margin-left="10px" font-size="10" 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>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Tipos de Alunos
</xsl:with-param>
</xsl:call-template>
 
</fo:table-cell>
<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-row>
 
</fo:table-body>
</fo:table>
</fo:block>
 
</fo:table-cell>
 
</fo:table-row>
<fo:table-row>
<fo:table-cell>
 
<fo:block-container padding="0" margin="0" id="capQuestoes" page-break-before="always">
<xsl:call-template name="seccaoBlue">
<xsl:with-param name="text">3 - Análise das Questões sobre o Docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">teacherIcon.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Idades
</xsl:with-param>
</xsl:call-template>
 
<fo:block-container padding="0" margin="0">
<xsl:call-template name="subSeccaoBlue">
<xsl:with-param name="text">3.1 - Gráficos de respostas agregadas de todas as unidades do docente</xsl:with-param>
<xsl:with-param name="marginTop">2px</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="//tabelaIdades" mode="DataTable"/>
</fo:block>
 
<xsl:apply-templates select="//respostasAgregadasGrupoDocente/respostasAgregadasChartTable/respostasAgregadasCharts/chartsRow" mode="graficosPerguntas"/>
</fo:table-cell>
<fo:table-cell>
 
<fo:block-container padding="0" margin="0" page-break-before="always">
<xsl:call-template name="seccaoBlue">
<xsl:with-param name="text">3 - Análise das Questões sobre o Docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">teacherIcon.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">
Distritos
</xsl:with-param>
</xsl:call-template>
 
<xsl:call-template name="subSeccaoBlue">
<xsl:with-param name="text">3.2 - Tabela de respostas agregadas de todas as unidades do docente</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="//respostasAgregadasGrupoDocente/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">
Docentes avaliados nos cursos onde o docente leciona: <xsl:value-of select="//docentesNosCursos"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Docentes avaliados nas escolas onde o docente leciona: <xsl:value-of select="//docentesNasEscolas"/>
</fo:block>
<fo:block text-align="center" margin-left="10px" font-size="10" 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:block-container margin-top="20px" margin-bottom="5px">
<xsl:apply-templates select="//respostasAgregadasGrupoDocente/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">do docente</xsl:with-param>
</xsl:apply-templates>
</fo:block-container>
</fo:table-cell>
 
<!--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:table-row>
 
<fo:block text-align="center" margin-left="10px" font-size="10" font-weight="normal" margin-right="10px">
<xsl:apply-templates select="//respostasAgregadasGrupoDocente/respostasAgregadasChartTable2Secs/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
</fo:table-body>
</fo:table>
</fo:block>
 
</xsl:template>
 
 
 
 
<!--#######################################-->
<!-- RESPOSTAS AGREGADAS DAS UNIDADES CURRICULARES -->
<!-- ############################################################# -->
<!-- 3 - CAPITULO ANALISE QUESTOES AGREGADAS DOS DOCENTES -->
<!-- ############################################################# -->
 
<fo:block-container padding="0" margin="0" id="capQuestoesUnidades" page-break-before="always">
<xsl:call-template name="seccaoGreen">
<xsl:with-param name="text">4 - Análise das questões sobre as Unidades do docente</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:template name="CAP_analise_questoes_DOCENTE">
<fo:block-container padding="0" margin="0" id="capQuestoes" page-break-before="always">
<xsl:call-template name="seccaoBlue">
<xsl:with-param name="text">3 - Análise das Questões sobre o Docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">teacherIcon.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</xsl:with-param>
<fo:block-container padding="0" margin="0">
<xsl:call-template name="subSeccaoBlue">
<xsl:with-param name="text">3.1 - Gráficos de respostas agregadas de todas as unidades do docente</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
</fo:block-container>
 
<xsl:apply-templates select="//respostasAgregadasGrupoUnidade/respostasAgregadasChartTable/respostasAgregadasCharts/chartsRow" mode="graficosPerguntas"/>
<xsl:apply-templates select="//respostasAgregadasGrupoDocente/respostasAgregadasChartTable/respostasAgregadasCharts/chartsRow" mode="graficosPerguntas"/>
 
<fo:block-container padding="0" margin="0" page-break-before="always">
<xsl:call-template name="seccaoBlue">
<xsl:with-param name="text">3 - Análise das Questões sobre o Docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">teacherIcon.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
 
<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 do docente</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="subSeccaoBlue">
<xsl:with-param name="text">3.2 - Tabela de respostas agregadas de todas as unidades do docente</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
 
<xsl:call-template name="subSeccaoGreen">
<xsl:with-param name="text">4.2 - Tabela de respostas agregadas de todas as unidades do docente</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="//respostasAgregadasGrupoDocente/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">
Docentes avaliados nos cursos onde o docente leciona: <xsl:value-of select="//docentesNosCursos"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Docentes avaliados nas escolas onde o docente leciona: <xsl:value-of select="//docentesNasEscolas"/>
</fo:block>
 
<fo:block-container margin-top="20px" margin-bottom="5px">
<xsl:apply-templates select="//respostasAgregadasGrupoDocente/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">do docente</xsl:with-param>
</xsl:apply-templates>
</fo:block-container>
 
<fo:block text-align="center" margin="0" font-size="10" font-weight="normal" >
<xsl:apply-templates select="//respostasAgregadasGrupoUnidade/respostasAgregadasChartTable/respostasTable" mode="DataTable">
<!--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="//respostasAgregadasGrupoDocente/respostasAgregadasChartTable2Secs/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
 
<fo:block text-align="right" margin-top="10px" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades avaliadas nos cursos onde o docente leciona: <xsl:value-of select="//unidadesNosCursos"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades avaliadas nas escolas onde o docente leciona: <xsl:value-of select="//unidadesNasEscolas"/>
</fo:block>
</xsl:template>
 
<fo:block-container margin-top="20px" margin-bottom="5px">
<xsl:apply-templates select="//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="//respostasAgregadasGrupoUnidade/respostasAgregadasChartTable2Secs/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
<!-- ############################################################# -->
<!-- 4 - CAPITULO ANALISE QUESTOES AGREGADAS DAS UNIDADES CURRICULARES -->
<!-- ############################################################# -->
 
<xsl:template name="CAP_analise_questoes_UNIDADE">
 
<!--#######################################-->
<!-- UNIDADES CURRICULARES INDIVIDUALMENTE-->
<fo:block-container padding="0" margin="0" id="capQuestoesUnidades" page-break-before="always">
<xsl:call-template name="seccaoGreen">
<xsl:with-param name="text">4 - Análise das questões sobre as Unidades do docente</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</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 do docente</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 docente</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
</xsl:call-template>
 
<xsl:for-each select="//unidadesStats/unidadeStats[not(nomeCurso/text() = preceding-sibling::unidadeStats/nomeCurso/text())]">
<xsl:sort select="text()" data-type="text" />
 
<fo:block text-align="center" margin="0" font-size="10" font-weight="normal" >
<xsl:apply-templates select="//respostasAgregadasGrupoUnidade/respostasAgregadasChartTable/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
 
<xsl:variable name="nomeCurso" select="nomeCurso/text()"/>
<xsl:variable name="cursoPos" select="position()"/>
<xsl:for-each select="//unidadesStats/unidadeStats[nomeCurso/text() = $nomeCurso]">
<xsl:sort select="nomeUnidade/text()" data-type="text" />
<fo:block text-align="right" margin-top="10px" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades avaliadas nos cursos onde o docente leciona: <xsl:value-of select="//unidadesNosCursos"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades avaliadas nas escolas onde o docente leciona: <xsl:value-of select="//unidadesNasEscolas"/>
</fo:block>
 
<fo:block-container padding="0" margin="0" page-break-before="always">
<xsl:if test="$cursoPos = 1 and position()=1"><xsl:attribute name="id">capUnidades</xsl:attribute></xsl:if>
<xsl:call-template name="seccaoGreen">
<xsl:with-param name="text">5 - Análise das questões em cada unidade do docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">class.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
<fo:block-container margin-top="20px" margin-bottom="5px">
<xsl:apply-templates select="//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>
 
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">5.<xsl:value-of select="$cursoPos"/> - <xsl:value-of select="nomeCurso/text()"/> (<xsl:value-of select="//unidadesStats/unidadeStats[nomeCurso=nomeCurso/text()]/codigoCurso[1]/text()"/>) </xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
<xsl:with-param name="marginBottom">2px</xsl:with-param>
</xsl:call-template>
<fo:block text-align="center" margin-left="10px" font-size="10" font-weight="normal" margin-right="10px">
 
<xsl:apply-templates select="//respostasAgregadasGrupoUnidade/respostasAgregadasChartTable2Secs/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
</xsl:template>
 
<xsl:call-template name="subSubSeccao">
<xsl:with-param name="text">5.<xsl:value-of select="$cursoPos"/>.<xsl:value-of select="position()"/> - <xsl:value-of select="nomeUnidade/text()"/> (<xsl:value-of select="codigoUnidade/text()"/>) </xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
<xsl:with-param name="fontSize">12pt</xsl:with-param>
<xsl:with-param name="fontWeight">bold</xsl:with-param>
</xsl:call-template>
 
<xsl:call-template name="subSubSubSeccaoBlue">
<xsl:with-param name="text">Respostas ao grupo de questões sobre o Docente</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
<xsl:with-param name="icon">teacherIcon.png</xsl:with-param>
</xsl:call-template>
 
<fo:block-container padding="0" margin-left="15px" margin="0" margin-bottom="5px">
<fo:block text-align="center" margin="0" font-size="10" font-weight="normal" >
<xsl:apply-templates select="unidadeStatsGrupoDocente/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$BLUE_COLOR_SUB_SECTION"/>
</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 consideradas no curso de <xsl:value-of select="nomeCurso"/>: <xsl:value-of select="unidadeStatsGrupoDocente/unidadesNoCurso"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades consideradas na media da <xsl:value-of select="nomeEscola"/>: <xsl:value-of select="unidadeStatsGrupoDocente/unidadesNaEscola"/>
</fo:block>
 
<fo:block padding="0" margin="0" margin-top="5px">
<xsl:apply-templates select="unidadeStatsGrupoDocente/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">do docente</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$BLUE_COLOR_SUB_SECTION"/>
<xsl:with-param name="smileHeight">15</xsl:with-param>
<xsl:with-param name="fontSize">6pt</xsl:with-param>
<xsl:with-param name="fontSizeMedias">7pt</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
<!-- ############################################################# -->
<!-- 5 - CAPITULO ANALISE UNIDADES INDIVIDUALMENTE -->
<!-- ############################################################# -->
 
<xsl:template name="CAP_analise_unidades_INDIVIDUALMENTE">
<xsl:for-each select="//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:variable name="cursoPos" select="position()"/>
<xsl:for-each select="//unidadesStats/unidadeStats[nomeCurso/text() = $nomeCurso]">
<xsl:sort select="nomeUnidade/text()" data-type="text" />
 
<xsl:call-template name="subSubSubSeccaoGreen">
<xsl:with-param name="text">Respostas ao grupo de questões sobre a Unidade</xsl:with-param>
<xsl:with-param name="marginTop">20px</xsl:with-param>
<xsl:with-param name="icon">cadeiraConteudos.png</xsl:with-param>
</xsl:call-template>
<fo:block-container padding="0" margin="0" page-break-before="always">
<xsl:if test="$cursoPos = 1 and position()=1"><xsl:attribute name="id">capUnidades</xsl:attribute></xsl:if>
<xsl:call-template name="seccaoGreen">
<xsl:with-param name="text">5 - Análise das questões em cada unidade do docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">class.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
 
<fo:block-container padding="0" margin-left="15px" margin="0" margin-bottom="5px">
<fo:block text-align="center" margin="0" font-size="10" font-weight="normal" >
<xsl:apply-templates select="unidadeStatsGrupoUnidade/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">40%</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$GREEN_COLOR_SUB_SECTION"/>
</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 consideradas no curso de <xsl:value-of select="nomeCurso"/>: <xsl:value-of select="unidadeStatsGrupoUnidade/unidadesNoCurso"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades consideradas na <xsl:value-of select="nomeEscola"/>: <xsl:value-of select="unidadeStatsGrupoUnidade/unidadesNaEscola"/>
</fo:block>
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">5.<xsl:value-of select="$cursoPos"/> - <xsl:value-of select="nomeCurso/text()"/> (<xsl:value-of select="//unidadesStats/unidadeStats[nomeCurso=nomeCurso/text()]/codigoCurso[1]/text()"/>) </xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
<xsl:with-param name="marginBottom">2px</xsl:with-param>
</xsl:call-template>
 
<fo:block padding="0" margin="0" margin-top="5px">
<xsl:apply-templates select="unidadeStatsGrupoUnidade/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">do docente</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$GREEN_COLOR_SUB_SECTION"/>
<xsl:with-param name="smileHeight">15</xsl:with-param>
<xsl:with-param name="fontSize">6pt</xsl:with-param>
<xsl:with-param name="fontSizeMedias">7pt</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
 
<xsl:call-template name="subSubSeccao">
<xsl:with-param name="text">5.<xsl:value-of select="$cursoPos"/>.<xsl:value-of select="position()"/> - <xsl:value-of select="nomeUnidade/text()"/> (<xsl:value-of select="codigoUnidade/text()"/>) </xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
<xsl:with-param name="fontSize">12pt</xsl:with-param>
<xsl:with-param name="fontWeight">bold</xsl:with-param>
</xsl:call-template>
 
<xsl:call-template name="subSubSubSeccaoBlue">
<xsl:with-param name="text">Respostas ao grupo de questões sobre o Docente</xsl:with-param>
<xsl:with-param name="marginTop">2px</xsl:with-param>
<xsl:with-param name="icon">teacherIcon.png</xsl:with-param>
</xsl:call-template>
 
<fo:block-container padding="0" margin-left="15px" margin="0" margin-bottom="5px">
<fo:block text-align="center" margin="0" font-size="10" font-weight="normal" >
<xsl:apply-templates select="unidadeStatsGrupoDocente/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">30%</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$BLUE_COLOR_SUB_SECTION"/>
</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 consideradas no curso de <xsl:value-of select="nomeCurso"/>: <xsl:value-of select="unidadeStatsGrupoDocente/unidadesNoCurso"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades consideradas na media da <xsl:value-of select="nomeEscola"/>: <xsl:value-of select="unidadeStatsGrupoDocente/unidadesNaEscola"/>
</fo:block>
 
<fo:block padding="0" margin="0" margin-top="5px">
<xsl:apply-templates select="unidadeStatsGrupoDocente/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">do docente</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$BLUE_COLOR_SUB_SECTION"/>
<xsl:with-param name="smileHeight">15</xsl:with-param>
<xsl:with-param name="fontSize">6pt</xsl:with-param>
<xsl:with-param name="fontSizeMedias">7pt</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
 
</xsl:for-each>
 
<xsl:call-template name="subSubSubSeccaoGreen">
<xsl:with-param name="text">Respostas ao grupo de questões sobre a Unidade</xsl:with-param>
<xsl:with-param name="marginTop">20px</xsl:with-param>
<xsl:with-param name="icon">cadeiraConteudos.png</xsl:with-param>
</xsl:call-template>
 
</xsl:for-each>
<fo:block-container padding="0" margin-left="15px" margin="0" margin-bottom="5px">
<fo:block text-align="center" margin="0" font-size="10" font-weight="normal" >
<xsl:apply-templates select="unidadeStatsGrupoUnidade/respostasTable" mode="DataTable">
<xsl:with-param name="firstColPercentSize">30%</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$GREEN_COLOR_SUB_SECTION"/>
</xsl:apply-templates>
</fo:block>
 
<!--<xsl:with-param name="text">5.<xsl:value-of select="position()"/> - <xsl:value-of select="nomeUnidade"/> (<xsl:value-of select="codigoUnidade"/>) </xsl:with-param>-->
<fo:block text-align="right" margin-top="10px" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades consideradas no curso de <xsl:value-of select="nomeCurso"/>: <xsl:value-of select="unidadeStatsGrupoUnidade/unidadesNoCurso"/>
</fo:block>
<fo:block text-align="right" margin-left="10px" font-size="6.5pt" font-weight="normal" margin-right="10px">
Unidades consideradas na <xsl:value-of select="nomeEscola"/>: <xsl:value-of select="unidadeStatsGrupoUnidade/unidadesNaEscola"/>
</fo:block>
 
<fo:block padding="0" margin="0" margin-top="5px">
<xsl:apply-templates select="unidadeStatsGrupoUnidade/mediasGrupo" mode="mediasGrupo">
<xsl:with-param name="objetoAvaliacao">do docente</xsl:with-param>
<xsl:with-param name="backgroundHeader" select="$GREEN_COLOR_SUB_SECTION"/>
<xsl:with-param name="smileHeight">15</xsl:with-param>
<xsl:with-param name="fontSize">6pt</xsl:with-param>
<xsl:with-param name="fontSizeMedias">7pt</xsl:with-param>
</xsl:apply-templates>
</fo:block>
</fo:block-container>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
 
 
 
 
</fo:flow>
</xsl:template>
 
<xsl:template match="*" mode="graficosPerguntas">
<fo:block text-align="center" margin-left="10px">
<fo:table width="100%" table-layout="fixed">
<xsl:for-each select="./chartsRow[1]/perguntaStats/perguntaStats">
<fo:table-column/>
</xsl:for-each>
<fo:table-body>
<xsl:for-each select="./chartsRow">
<fo:table-row>
<xsl:for-each select="./perguntaStats/perguntaStats">
<fo:table-cell>
<fo:block>
<fo:external-graphic
width="100%"
content-height="100%"
content-width="scale-to-fit"
scaling="uniform"
>
<xsl:attribute name="src">url('<xsl:value-of select="./tempFile"/>')
</xsl:attribute>
</fo:external-graphic>
</fo:block>
</fo:table-cell>
</xsl:for-each>
</fo:table-row>
</xsl:for-each>
 
</fo:table-body>
</fo:table>
</fo:block>
<!-- ############################################################# -->
<!-- 6 - Análise das Dimensões -->
<!-- ############################################################# -->
 
<fo:block-container margin-top="20px">
<xsl:call-template name="legendaCoresPerguntas"/>
<xsl:template name="CAP_analise_DIMENSOES">
<fo:block-container id="capDimensoes" padding="0" margin="0" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">6 - Análise de Dimênsões de Avaliação</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">class.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
</xsl:template>
 
<xsl:template match="*" mode="mediasGrupo">
<xsl:param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:param>
<xsl:param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:param>
<xsl:param name="showSmile">true</xsl:param>
<xsl:param name="objetoAvaliacao"/>
<xsl:param name="smileHeight">30</xsl:param>
<xsl:param name="fontSize">7pt</xsl:param>
<xsl:param name="fontSizeMedias">10pt</xsl:param>
<fo:block margin="0" padding="0">
 
<fo:table width="100%" table-layout="fixed" font-size="{$fontSize}" font-weight="normal" margin="0" padding="0">
<fo:table-column column-width="60%"/>
<fo:table-column column-width="40%"/>
<fo:table-body>
 
<fo:table-row>
<fo:table-cell margin="0" padding-left="0px" padding-right="5px" display-align="center">
<fo:block padding-left="0" padding="0" margin="0">
<xsl:apply-templates select="." mode="globalSmile">
<xsl:with-param name="objetoAvaliacao" select="$objetoAvaliacao"/>
<xsl:with-param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:with-param>
<xsl:with-param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:with-param>
<xsl:with-param name="showSmile" select="$showSmile"/>
<xsl:with-param name="fontSize" select="$fontSize"/>
<xsl:with-param name="fontSizeMedias" select="$fontSizeMedias"/>
<xsl:with-param name="smileHeight" select="$smileHeight"/>
</xsl:apply-templates>
</fo:block>
</fo:table-cell>
<fo:table-cell display-align="after" text-align="center" padding-left="5px" padding-right="0">
<fo:block>
<xsl:apply-templates select="./mediasGlobaisTable" mode="DataTable">
<xsl:with-param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:with-param>
<xsl:with-param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:with-param>
<xsl:with-param name="fontSize" select="$fontSize"/>
</xsl:apply-templates>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
 
</fo:block>
</xsl:template>
 
<!-- ############################################################# -->
<!-- 7 - CAPITULO PROGRESSOES -->
<!-- ############################################################# -->
 
<xsl:template name="CAP_progressoes">
 
<xsl:template match="*" mode="globalSmile">
<xsl:param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:param>
<xsl:param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:param>
<xsl:param name="objetoAvaliacao"></xsl:param>
<xsl:param name="smileHeight">30</xsl:param>
<xsl:param name="fontSize">7pt</xsl:param>
<xsl:param name="fontSizeMedias">10pt</xsl:param>
<xsl:param name="showSmile">true</xsl:param>
 
<fo:table width="100%" table-layout="auto" font-size="{$fontSize}" font-weight="normal">
<fo:table-column column-width="30%"/>
<fo:table-column/>
<fo:table-column/>
<fo:table-column/>
<fo:table-column/>
<fo:table-column/>
<fo:table-body>
<xsl:if test="$showSmile = 'true'">
<fo:table-row>
<fo:table-cell text-align="center" >
<fo:block>
 
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" >
<fo:block>
<fo:external-graphic height="auto" width="auto"
content-height="{$smileHeight}">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/sad.png')</xsl:attribute>
</fo:external-graphic>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block></fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" >
<fo:block>
<fo:external-graphic height="auto" width="auto"
content-height="{$smileHeight}">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/indiferent.png')</xsl:attribute>
</fo:external-graphic>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block></fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" >
<fo:block>
<fo:external-graphic height="auto" width="auto"
content-height="{$smileHeight}">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/smile.png')</xsl:attribute>
</fo:external-graphic>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:if>
<fo:table-row border="2px solid black" font-size="{$fontSizeMedias}">
<fo:table-cell display-align="center" background-color="{$backgroundHeader}" text-align="center" padding="2px" border="2px solid black" font-size="{$fontSize}">
<fo:block>Avaliação média <xsl:value-of select="$objetoAvaliacao"/> em todas as questões</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=1">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>1</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=2">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>2</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=3">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>3</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=4">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>4</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=5">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>5</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</xsl:template>
 
<xsl:template name="legendaCoresPerguntas">
<fo:block>
<fo:table width="100%" table-layout="fixed" font-size="6.5pt" font-weight="normal">
<fo:table-column column-width="50"/>
<fo:table-column/>
 
<fo:table-body>
<fo:table-row>
<fo:table-cell padding="2pt" number-columns-spanned="2">
<fo:block text-align="left" font-weight="bold">Legenda de Cores:</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(253, 11, 0)" padding="2pt">
<fo:block text-align="center">1</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" ><fo:block>O estudante avaliou a questão como Nada Satisfeito</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(255, 190, 0)" padding="2pt">
<fo:block text-align="center">2</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"><fo:block>O estudante avaliou a questão como Pouco Satisfeito</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(255, 254, 0)" padding="2pt">
<fo:block text-align="center">3</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"><fo:block>O estudante avaliou a questão Satisfeito</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(188, 255, 0)" padding="2pt">
<fo:block text-align="center">4</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"><fo:block>O estudante avaliou a questão bastante Satisfeito que corresponde a Bom</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(32, 255, 5)" padding="2pt">
<fo:block text-align="center">5</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"><fo:block>O Estudante avaliou o docente com nota máxima de Muito Satisfeito</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
 
 
 
<xsl:template name="barraPercentil">
<xsl:param name="valor"/>
<xsl:param name="colors">false</xsl:param>
<xsl:param name="backgroundColorPercentage"/>
<xsl:call-template name="barraPercentilDefined">
<xsl:with-param name="colors" select="$colors"/>
<xsl:with-param name="backgroundColorPercentage" select="$backgroundColorPercentage"/>
<xsl:with-param name="valor" select="$valor"/>
<xsl:with-param name="percentDefined" select="$valor"/>
</xsl:call-template>
</xsl:template>
 
<xsl:template name="barraPercentilDefined">
<xsl:param name="valor"/>
<xsl:param name="percentDefined"/>
<xsl:param name="colors">false</xsl:param>
<xsl:param name="backgroundColorPercentage"/>
 
<fo:block-container margin="1px" border="1px solid #C6C6CA" padding="0">
 
<fo:block-container border="1px solid #C6C6CA" margin="0" padding-top="1px" padding-bottom="0">
<xsl:choose>
<xsl:when test="$colors = 'false'">
<xsl:attribute name="border">1px solid #8D7F5C</xsl:attribute>
<xsl:attribute name="background-color">#B9F1B1</xsl:attribute>
</xsl:when>
<xsl:when test="$backgroundColorPercentage != ''">
<xsl:attribute name="background-color"><xsl:value-of select="$backgroundColorPercentage"/></xsl:attribute>
<xsl:choose>
<xsl:when test="$percentDefined &lt; 21">
<xsl:attribute name="border">1px solid #B10000</xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 41">
<xsl:attribute name="border">1px solid #B85C00</xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 61">
<xsl:attribute name="border">1px solid #868600</xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 81">
<xsl:attribute name="border">1px solid #157C00</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="border">1px solid #157C00</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$percentDefined &lt; 21">
<xsl:attribute name="border">1px solid #B10000</xsl:attribute>
<xsl:attribute name="background-color"><xsl:value-of select="//color1Hex"/></xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 41">
<xsl:attribute name="border">1px solid #B85C00</xsl:attribute>
<xsl:attribute name="background-color"><xsl:value-of select="//color2Hex"/>
</xsl:attribute></xsl:when>
<xsl:when test="$percentDefined &lt; 61">
<xsl:attribute name="background-color"><xsl:value-of select="//color3Hex"/></xsl:attribute>
<xsl:attribute name="border">1px solid #868600</xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 81">
<xsl:attribute name="background-color"><xsl:value-of select="//color4Hex"/></xsl:attribute>
<xsl:attribute name="border">1px solid #157C00</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="background-color"><xsl:value-of select="//color5Hex"/></xsl:attribute>
<xsl:attribute name="border">1px solid #157C00</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
<xsl:attribute name="width"><xsl:value-of select="$percentDefined"/>%</xsl:attribute>
<fo:block><xsl:value-of select="$valor"/></fo:block>
</fo:block-container>
<fo:block-container id="capProgressoes" padding="0" margin="0" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">7 - Progressão do Docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">teacherProgression.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
</xsl:template>
 
 
<xsl:template name="footerDefault">
<fo:table width="100%" table-layout="fixed" border-top="1px solid black" font-size="6.5pt">
<fo:table-column column-width="20%"/>
<fo:table-column column-width="80%"/>
 
 
<fo:table width="100%" table-layout="fixed" margin="0" padding="0">
<fo:table-column column-width="50%"/>
<fo:table-column column-width="50%"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding-top="3pt">
<fo:block>
Atualizado a
<xsl:value-of select="$updateDate"/> / Página
<fo:page-number/>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSeccaoBlue">
<xsl:with-param name="text">Componentes relativas ao Docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
<xsl:with-param name="icon">teacherIcon.png</xsl:with-param>
</xsl:call-template>
</fo:block>
<fo:block font-size="5pt">
IPP.AC.xxxx.1
</fo:table-cell>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSeccaoGreen">
<xsl:with-param name="text">Componentes relativas aos Conteúdos</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
<xsl:with-param name="icon">cadeiraConteudos.png</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
</fo:table-row>
 
<fo:table-row>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSubSeccao">
<xsl:with-param name="text">Progressão da média das componentes relativas ao docente face à média do curso</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-top="3pt">
<fo:block font-size="6pt" text-align="right">
http://pae.ipportalegre.pt | gerado pela plataforma ipp-pae® 2016
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSubSeccao">
<xsl:with-param name="text">Progressão da média das componentes relativas aos conteúdos face à média do curso</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
</fo:table-row>
 
<fo:table-row>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0" text-align="center">
<xsl:variable name="src"><xsl:value-of select="//progressaoAgregadasDocentesVsCurso"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-width="300" content-height="150" src="{$src}"/>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0" text-align="center">
<fo:block margin="0" padding="0">
<xsl:variable name="src"><xsl:value-of select="//progressaoAgregadasUnidadesVsCurso"/></xsl:variable>
<fo:external-graphic width="auto" height="auto" content-width="300" content-height="150" src="{$src}"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template name="headerTeacher">
<fo:block text-align="left" border-bottom="1px solid #58585A">
<fo:table width="100%" table-layout="fixed" >
<fo:table-column column-width="80%"/>
<fo:table-column column-width="20%"/>
 
 
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:external-graphic height="auto" width="auto"
content-height="40">
<!--<xsl:attribute name="src">url('http://www.ipportalegre.pt/imagens/Logos/ESTG/Logotipo%20ESTG.jpg')</xsl:attribute>-->
<xsl:attribute name="src">url('<xsl:value-of select="$site"/>/layout/themes/ipp/logo.jpg')
</xsl:attribute>
</fo:external-graphic>
</fo:block>
<fo:block font-size="10px" padding="0px" text-align="left">
<fo:inline font-weight="bold"> Relatório de Avaliação Pedagógica</fo:inline>
</fo:block>
<fo:block font-size="10px" padding="0px" margin-top="0px" text-align="left" >
<fo:inline>Avaliação pelos alunos do docente:</fo:inline>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="10px" text-align="right" >
Resultados dos Inquéritos Pedagógicos
</fo:block>
<fo:block font-size="10px" padding="0px" margin-top="0px" text-align="right" >
<fo:inline font-weight="bold">Ano letivo:</fo:inline> <xsl:value-of select="$anoLectivo"/>
</fo:block>
 
</fo:table-cell>
 
</fo:table-row>
<fo:table-row background-color="#fff9ea">
<fo:table-cell>
<fo:block font-size="12px" padding="2px" margin-top="0px" >
<fo:inline text-align="left"><xsl:value-of select="$nomeDocente"/> / Número: <xsl:value-of select="$numeroDocente"/></fo:inline>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="12px" padding="2px" margin-top="0px" text-align="right" >
<fo:inline>Pagina: <fo:page-number/></fo:inline>
</fo:block>
</fo:table-cell>
 
</fo:table-row>
<!-- ############################################################# -->
<!-- 8 - CAPITULO FORCAS E FRAQUEZAS -->
<!-- ############################################################# -->
 
</fo:table-body>
</fo:table>
<xsl:template name="CAP_forcas_e_fraquezas">
<!--FORÇAS E FRAQUEZAS -->
 
<fo:block-container id="capForcasFraquezas" padding="0" margin="0" page-break-before="always">
<xsl:call-template name="seccao">
<xsl:with-param name="text">8 - Forças e Fraquezas</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="icon">forcasFraquezasTeacher.png</xsl:with-param>
</xsl:call-template>
</fo:block-container>
 
 
 
</fo:block>
</xsl:template>
 
 
<xsl:variable name="backgroundHeader"><xsl:value-of select="$STD_COLOR_SECTION"/></xsl:variable>
<xsl:variable name="backgroundNormal">#FFFFFF</xsl:variable>
<xsl:variable name="backgroundFooter"><xsl:value-of select="$STD_COLOR_SECTION"/></xsl:variable>
<xsl:variable name="borderInHeader">2px solid black</xsl:variable>
<xsl:variable name="borderInCell">1px dashed black</xsl:variable>
<xsl:variable name="borderInFooter">2px solid black</xsl:variable>
<xsl:variable name="borderInCellVertical">1px solid black</xsl:variable>
<xsl:variable name="borderTable">2px solid black</xsl:variable>
 
<xsl:template match="*" mode="DataTable">
 
<xsl:param name="firstColPercentSize"></xsl:param>
<xsl:param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:param>
<xsl:param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:param>
<xsl:param name="fontSize">7pt</xsl:param>
 
 
<fo:table width="100%" table-layout="auto" font-size="{$fontSize}">
<xsl:attribute name="border"><xsl:value-of select="$borderTable"/></xsl:attribute>
<xsl:for-each select="./rows/row[1]/cols/col">
<xsl:choose>
<xsl:when test="$firstColPercentSize != '' and position() = 1">
<fo:table-column column-width="{$firstColPercentSize}"/>
</xsl:when>
<xsl:otherwise><fo:table-column/></xsl:otherwise>
</xsl:choose>
 
</xsl:for-each>
<fo:table width="100%" table-layout="fixed" margin="0" padding="0">
<fo:table-column column-width="25%" background-color="#CEFFD2"/>
<fo:table-column column-width="25%" background-color="#CEFFD2"/>
<fo:table-column column-width="25%" background-color="#FFE4DF"/>
<fo:table-column column-width="25%" background-color="#FFE4DF"/>
<fo:table-body>
<xsl:for-each select="./rows/row">
<xsl:variable name="rowPosition"><xsl:value-of select="position()"/></xsl:variable>
<xsl:variable name="lastRowPosition"><xsl:value-of select="last()"/></xsl:variable>
<fo:table-row background-color="{$backgroundHeader}">
<xsl:choose>
<xsl:when test="./type='header'"><xsl:attribute name="background-color"><xsl:value-of select="$backgroundHeader"/></xsl:attribute></xsl:when>
<xsl:when test="./type='normal'"><xsl:attribute name="background-color"><xsl:value-of select="$backgroundNormal"/></xsl:attribute></xsl:when>
<xsl:when test="./type='footer'"><xsl:attribute name="background-color"><xsl:value-of select="$backgroundFooter"/></xsl:attribute></xsl:when>
</xsl:choose>
<xsl:for-each select="./cols/col">
<fo:table-cell padding="0" display-align="center">
<xsl:if test="./backgroundColor != ''">
<xsl:attribute name="background-color"><xsl:value-of select="./backgroundColor"/></xsl:attribute>
</xsl:if>
<xsl:choose>
<xsl:when test="../../type='header'"><xsl:attribute name="border"><xsl:value-of select="$borderInHeader"/></xsl:attribute></xsl:when>
<xsl:when test="../../type='normal'"><xsl:attribute name="border"><xsl:value-of select="$borderInCell"/></xsl:attribute></xsl:when>
<xsl:when test="../../type='footer'"><xsl:attribute name="border"><xsl:value-of select="$borderInFooter"/></xsl:attribute></xsl:when>
</xsl:choose>
<fo:table-row>
<fo:table-cell padding="0" margin="0" number-columns-spanned="2">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">Forças</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0" number-columns-spanned="2">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">Fraquezas</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">Docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">Conteúdos</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">Docente</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
<fo:table-cell padding="0" margin="0">
<fo:block margin="0" padding="0">
<xsl:call-template name="subSeccao">
<xsl:with-param name="text">Conteúdos</xsl:with-param>
<xsl:with-param name="marginTop">0</xsl:with-param>
<xsl:with-param name="marginBottom">1px</xsl:with-param>
<xsl:with-param name="marginLeft">0</xsl:with-param>
</xsl:call-template>
</fo:block>
</fo:table-cell>
</fo:table-row>
<xsl:call-template name="extremeComponentRow">
<xsl:with-param name="titleCol1">Melhor Componente Absoluta</xsl:with-param>
<xsl:with-param name="titleCol2">Pior Componente Absoluta</xsl:with-param>
<xsl:with-param name="titleChart1"><xsl:value-of select="//extremePerguntaAbsolutaAvgMaxDocente/subTitle"/></xsl:with-param>
<xsl:with-param name="subTitleChart1"><xsl:value-of select="//extremePerguntaAbsolutaAvgMaxDocente/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart1"><xsl:value-of select="//extremePerguntaAbsolutaAvgMaxDocente/tempFile"/></xsl:with-param>
<xsl:with-param name="titleChart2"><xsl:value-of select="//extremePerguntaAbsolutaAvgMaxUnidade/subTitle"/></xsl:with-param>
<xsl:with-param name="subTitleChart2"><xsl:value-of select="//extremePerguntaAbsolutaAvgMaxUnidade/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart2"><xsl:value-of select="//extremePerguntaAbsolutaAvgMaxUnidade/tempFile"/></xsl:with-param>
<xsl:with-param name="titleChart3"><xsl:value-of select="//extremePerguntaAbsolutaAvgMinDocente/subTitle"/></xsl:with-param>
<xsl:with-param name="subTitleChart3"><xsl:value-of select="//extremePerguntaAbsolutaAvgMinDocente/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart3"><xsl:value-of select="//extremePerguntaAbsolutaAvgMinDocente/tempFile"/></xsl:with-param>
<xsl:with-param name="titleChart4"><xsl:value-of select="//extremePerguntaAbsolutaAvgMinUnidade/subTitle"/></xsl:with-param>
<xsl:with-param name="subTitleChart4"><xsl:value-of select="//extremePerguntaAbsolutaAvgMinUnidade/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart4"><xsl:value-of select="//extremePerguntaAbsolutaAvgMinUnidade/tempFile"/></xsl:with-param>
</xsl:call-template>
 
<xsl:call-template name="extremeComponentRow">
<xsl:with-param name="titleCol1">Melhor Componente Agregada (Media Unidades)</xsl:with-param>
<xsl:with-param name="titleCol2">Pior Componente Agregada (Media Unidades)</xsl:with-param>
 
<xsl:with-param name="titleChart1"><xsl:value-of select="//extremePerguntaAgregadaAvgMaxDocente/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart1"><xsl:value-of select="//extremePerguntaAgregadaAvgMaxDocente/tempFile"/></xsl:with-param>
 
<xsl:with-param name="titleChart2"><xsl:value-of select="//extremePerguntaAgregadaAvgMaxUnidade/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart2"><xsl:value-of select="//extremePerguntaAgregadaAvgMaxUnidade/tempFile"/></xsl:with-param>
 
<xsl:choose>
<xsl:when test="./align='left'"><xsl:attribute name="text-align">start</xsl:attribute></xsl:when>
<xsl:when test="./align='right'"><xsl:attribute name="text-align">end</xsl:attribute></xsl:when>
</xsl:choose>
<xsl:if test="../../cols/col/type = 'percentage' and ./type != 'percentage'">
<xsl:attribute name="padding-top">2px</xsl:attribute>
</xsl:if>
<xsl:with-param name="titleChart3"><xsl:value-of select="//extremePerguntaAgregadaAvgMinDocente/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart3"><xsl:value-of select="//extremePerguntaAgregadaAvgMinDocente/tempFile"/></xsl:with-param>
 
<xsl:with-param name="titleChart4"><xsl:value-of select="//extremePerguntaAgregadaAvgMinUnidade/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart4"><xsl:value-of select="//extremePerguntaAgregadaAvgMinUnidade/tempFile"/></xsl:with-param>
</xsl:call-template>
 
<xsl:if test="../../type='normal'">
<xsl:if test="./type='label' and position()=1">
<xsl:attribute name="border-right"><xsl:value-of select="$borderInHeader"/></xsl:attribute>
</xsl:if>
<xsl:if test="./type='label' and position()=last()">
<xsl:attribute name="border-left"><xsl:value-of select="$borderInHeader"/></xsl:attribute>
</xsl:if>
<xsl:if test="../../../row[$rowPosition+1]/type='normal'">
<xsl:attribute name="border-bottom"><xsl:value-of select="$borderInCell"/></xsl:attribute>
</xsl:if>
</xsl:if>
 
<xsl:if test="../../../row[$rowPosition - 1]/type='header'">
<xsl:attribute name="border-top"><xsl:value-of select="$borderInHeader"/></xsl:attribute>
</xsl:if>
<xsl:if test="../../../row[$rowPosition +1]/type='footer'">
<xsl:attribute name="border-bottom"><xsl:value-of select="$borderInFooter"/></xsl:attribute>
</xsl:if>
<xsl:call-template name="extremeComponentRow">
<xsl:with-param name="titleCol1">Melhor Unidade do Docente</xsl:with-param>
<xsl:with-param name="titleCol2">Pior Unidade do Docente</xsl:with-param>
 
<xsl:with-param name="titleChart1"><xsl:value-of select="//extremeUnitAvgMaxDocente/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart1"><xsl:value-of select="//extremeUnitAvgMaxDocente/tempFile"/></xsl:with-param>
 
<xsl:if test="../col[position() + 1 != last()]">
<xsl:attribute name="border-right"><xsl:value-of select="$borderInCellVertical"/></xsl:attribute>
</xsl:if>
<xsl:with-param name="titleChart2"><xsl:value-of select="//extremeUnitAvgMaxUnidade/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart2"><xsl:value-of select="//extremeUnitAvgMaxUnidade/tempFile"/></xsl:with-param>
 
<xsl:with-param name="titleChart3"><xsl:value-of select="//extremeUnitAvgMinDocente/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart3"><xsl:value-of select="//extremeUnitAvgMinDocente/tempFile"/></xsl:with-param>
 
<xsl:with-param name="titleChart4"><xsl:value-of select="//extremeUnitAvgMinUnidade/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart4"><xsl:value-of select="//extremeUnitAvgMinUnidade/tempFile"/></xsl:with-param>
</xsl:call-template>
 
<xsl:call-template name="extremeComponentRow">
<xsl:with-param name="titleCol1">Melhor desempenho face à Média do Curso</xsl:with-param>
<xsl:with-param name="titleCol2">Pior desempenho face à Média do Curso</xsl:with-param>
 
<fo:block-container margin="0" padding="0">
<xsl:choose>
<xsl:when test="./type='text'"><fo:block margin="0" padding-left="2px" padding-right="2px"><xsl:value-of select="./value"/></fo:block></xsl:when>
<xsl:when test="./type='number'"><fo:block margin="0" padding-left="2px" padding-right="2px"><xsl:value-of select="./value"/></fo:block></xsl:when>
<xsl:when test="./type='label'"><fo:block margin="0" padding-left="2px" padding-right="2px"><xsl:value-of select="./value"/></fo:block></xsl:when>
<xsl:when test="./type='percentage'">
<xsl:attribute name="text-align">left</xsl:attribute>
<xsl:attribute name="padding">0</xsl:attribute>
<xsl:call-template name="barraPercentil">
<xsl:with-param name="valor" select="./value"/>
<xsl:with-param name="colors" select="./usePercentageColor"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="./type='percentageDefined'">
<xsl:attribute name="text-align">left</xsl:attribute>
<xsl:attribute name="padding">0</xsl:attribute>
<xsl:call-template name="barraPercentilDefined">
<xsl:with-param name="valor" select="./value"/>
<xsl:with-param name="percentDefined" select="./percentDefined"/>
<xsl:with-param name="colors" select="./usePercentageColor"/>
<xsl:with-param name="backgroundColorPercentage" select="./backgroundColorPercentage"/>
</xsl:call-template>
</xsl:when>
</xsl:choose>
<xsl:with-param name="titleChart1"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMaxDocente/subTitle"/></xsl:with-param>
<xsl:with-param name="subTitleChart1"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMaxDocente/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart1"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMaxDocente/tempFile"/></xsl:with-param>
<xsl:with-param name="titleChart2"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMaxUnidade/subTitle"/></xsl:with-param>
<xsl:with-param name="subTitleChart2"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMaxUnidade/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart2"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMaxUnidade/tempFile"/></xsl:with-param>
<xsl:with-param name="titleChart3"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMinDocente/subTitle"/></xsl:with-param>
<xsl:with-param name="subTitleChart3"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMinDocente/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart3"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMinDocente/tempFile"/></xsl:with-param>
<xsl:with-param name="titleChart4"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMinUnidade/subTitle"/></xsl:with-param>
<xsl:with-param name="subTitleChart4"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMinUnidade/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart4"><xsl:value-of select="//extremePerguntaAbsolutaDiffAvgMinUnidade/tempFile"/></xsl:with-param>
 
</fo:block-container>
</xsl:call-template>
 
 
</fo:table-cell>
</xsl:for-each>
</fo:table-row>
</xsl:for-each>
<xsl:call-template name="extremeComponentRow">
<xsl:with-param name="titleCol1">Unidade com mais respostas</xsl:with-param>
<xsl:with-param name="titleCol2">Unidade com menos respostas </xsl:with-param>
<xsl:with-param name="cols">2</xsl:with-param>
<xsl:with-param name="titleChart1"><xsl:value-of select="//extremeParticipacaoMax/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart1"><xsl:value-of select="//extremeParticipacaoMax/tempFile"/></xsl:with-param>
<xsl:with-param name="titleChart2"><xsl:value-of select="//extremeParticipacaoMin/chartTitle"/></xsl:with-param>
<xsl:with-param name="chart2"><xsl:value-of select="//extremeParticipacaoMin/tempFile"/></xsl:with-param>
</xsl:call-template>
 
</fo:table-body>
</fo:table>
</xsl:template>
 
 
 
</xsl:stylesheet>
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/utilsReports.fo.xsl
New file
0,0 → 1,935
<?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: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="nomeDocente"><xsl:value-of select="//nomeDocente"/></xsl:param>
<xsl:param name="numeroDocente"><xsl:value-of select="//numeroDocente"/></xsl:param>
 
 
<xsl:variable name="STD_COLOR_SECTION">#FFEAAE</xsl:variable>
<xsl:variable name="GREEN_COLOR_SECTION">#DDFCB1</xsl:variable>
<xsl:variable name="BLUE_COLOR_SECTION">#B2E6FE</xsl:variable>
 
<xsl:variable name="STD_COLOR_SUB_SECTION">#D6D9BC</xsl:variable>
<xsl:variable name="GREEN_COLOR_SUB_SECTION">#D0FCCD</xsl:variable>
<xsl:variable name="BLUE_COLOR_SUB_SECTION">#CFF6FE</xsl:variable>
 
 
 
<!-- SECCOES -->
<xsl:template name="seccao">
<xsl:param name="text"/>
<xsl:param name="marginTop">0</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="seccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$STD_COLOR_SECTION"/></xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="seccaoGreen">
<xsl:param name="text"/>
<xsl:param name="marginTop">0</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="seccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$GREEN_COLOR_SECTION"/></xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="seccaoBlue">
<xsl:param name="text"/>
<xsl:param name="marginTop">0</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="seccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$BLUE_COLOR_SECTION"/></xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="seccaoGen">
<xsl:param name="text"/>
<xsl:param name="marginTop">0</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:param name="backcolor"><xsl:value-of select="$STD_COLOR_SECTION"/></xsl:param>
<fo:block padding="0" padding-left="0" margin="0" margin-top="{$marginTop}">
<fo:table width="100%" table-layout="fixed" border="0" margin="0" padding="0">
<fo:table-column column-width="90%"/>
<fo:table-column column-width="10%"/>
<fo:table-body>
<fo:table-row >
<fo:table-cell margin="0"
padding="2px"
background-color="{$backcolor}"
display-align="center">
<fo:block
font-size="12px"
font-weight="bold"
text-align="left"
margin="0"
padding="0">
<xsl:value-of select="$text"/>
</fo:block>
</fo:table-cell>
<fo:table-cell margin="0" padding="0" display-align="center" text-align="right" padding-right="5px">
<fo:block margin="0" padding="0">
<xsl:if test="$icon and $icon != ''">
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/<xsl:value-of select="$icon"/>')</xsl:variable>
<fo:external-graphic height="auto"
width="auto"
margin="0"
padding="0"
content-height="20" src="{$src}"/>
</xsl:if>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
 
<!--SUB SECCOES-->
<xsl:template name="subSeccao">
<xsl:param name="text"/>
<xsl:param name="marginTop">8px</xsl:param>
<xsl:param name="marginBottom">20px</xsl:param>
<xsl:param name="marginLeft">10px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:param name="textAlign">left</xsl:param>
<xsl:call-template name="subSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$STD_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="textAlign" select="$textAlign"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSeccaoGreen">
<xsl:param name="text"/>
<xsl:param name="marginTop">8px</xsl:param>
<xsl:param name="marginBottom">20px</xsl:param>
<xsl:param name="marginLeft">10px</xsl:param>
<xsl:param name="textAlign">left</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$GREEN_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="textAlign" select="$textAlign"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSeccaoBlue">
<xsl:param name="text"/>
<xsl:param name="marginTop">8px</xsl:param>
<xsl:param name="marginBottom">20px</xsl:param>
<xsl:param name="marginLeft">10px</xsl:param>
<xsl:param name="textAlign">left</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$BLUE_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="textAlign" select="$textAlign"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSeccaoGen">
<xsl:param name="text"/>
<xsl:param name="marginTop">8px</xsl:param>
<xsl:param name="marginBottom">20px</xsl:param>
<xsl:param name="backcolor"></xsl:param>
<xsl:param name="marginLeft">10px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:param name="columnIconSize">10%</xsl:param>
<xsl:param name="fontSize">10px</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<xsl:param name="textAlign">left</xsl:param>
<fo:table width="100%" table-layout="fixed" border="0" margin="0" padding="0" margin-bottom="{$marginBottom}" margin-top="{$marginTop}" margin-left="{$marginLeft}">
<fo:table-column/>
<xsl:if test="$icon and $icon != ''">
<fo:table-column column-width="{$columnIconSize}"/>
</xsl:if>
<fo:table-body>
<fo:table-row>
<fo:table-cell
padding="0"
padding-top="3px"
padding-bottom="3px"
padding-left="5px"
display-align="center"
margin="0">
<xsl:if test="$backcolor"><xsl:attribute name="background-color"><xsl:value-of select="$backcolor"/></xsl:attribute></xsl:if>
<fo:block
font-size="{$fontSize}"
font-weight="{$fontWeight}"
text-align="{$textAlign}"
margin="0" padding="0"
>
<xsl:value-of select="$text"/>
</fo:block>
</fo:table-cell>
<xsl:if test="$icon and $icon != ''">
<fo:table-cell margin="0" padding="0" padding-top="2px" display-align="center" text-align="right" padding-left="2px" padding-right="0">
<xsl:if test="$backcolor"><xsl:attribute name="background-color"><xsl:value-of select="$backcolor"/></xsl:attribute></xsl:if>
<fo:block margin="0" padding="0" display-align="center">
<xsl:if test="$icon and $icon != ''">
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/<xsl:value-of select="$icon"/>')</xsl:variable>
<fo:external-graphic display-align="center" height="auto" width="auto"
content-height="15px" margin="0" padding="0" src="{$src}"/>
</xsl:if>
</fo:block>
</fo:table-cell>
</xsl:if>
</fo:table-row>
</fo:table-body>
</fo:table>
</xsl:template>
 
<!-- SUB SUB SECCOES -->
<xsl:template name="subSubSeccao">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<xsl:param name="marginLeft">20px</xsl:param>
<xsl:param name="marginBottom">5px</xsl:param>
<xsl:call-template name="subSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$STD_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="fontSize" select="$fontSize"/>
<xsl:with-param name="fontWeight" select="$fontWeight"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSeccaoBlue">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<xsl:param name="marginLeft">20px</xsl:param>
<xsl:param name="marginBottom">5px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor">#CFF6FE</xsl:with-param>
<xsl:with-param name="fontSize" select="$fontSize"/>
<xsl:with-param name="fontWeight" select="$fontWeight"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
<xsl:with-param name="icon" select="$icon"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSeccaoGreen">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<xsl:param name="marginLeft">20px</xsl:param>
<xsl:param name="marginBottom">5px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor">#D0FCCD</xsl:with-param>
<xsl:with-param name="fontSize" select="$fontSize"/>
<xsl:with-param name="fontWeight" select="$fontWeight"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="marginBottom" select="$marginBottom"/>
<xsl:with-param name="icon" select="$icon"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSeccaoGen">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="backcolor"></xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="fontWeight">normal</xsl:param>
<xsl:param name="marginLeft">20px</xsl:param>
<xsl:param name="marginBottom">5px</xsl:param>
<xsl:param name="columnIconSize">5%</xsl:param>
<xsl:param name="icon"></xsl:param>
 
 
<fo:block margin-left="{$marginLeft}" margin-top="{$marginTop}" padding="0" padding-left="5px" margin="0" margin-bottom="{$marginBottom}">
<fo:table width="100%" table-layout="fixed" border="0" margin="0" padding="0">
<fo:table-column/>
<xsl:if test="$icon and $icon != ''">
<fo:table-column column-width="{$columnIconSize}"/>
</xsl:if>
<fo:table-body>
<fo:table-row>
<fo:table-cell
padding="0"
display-align="center"
margin="0">
<xsl:if test="$backcolor"><xsl:attribute name="background-color"><xsl:value-of select="$backcolor"/></xsl:attribute></xsl:if>
<fo:block
font-size="{$fontSize}"
font-weight="{$fontWeight}"
text-align="left"
margin="0" padding="0"
>
<xsl:value-of select="$text"/>
</fo:block>
</fo:table-cell>
<xsl:if test="$icon and $icon != ''">
<fo:table-cell margin="0" padding="0" display-align="center" text-align="right" padding-left="2px" padding-right="0">
<fo:block margin="0" padding="0" display-align="center">
<xsl:if test="$icon and $icon != ''">
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/<xsl:value-of select="$icon"/>')</xsl:variable>
 
<fo:external-graphic display-align="center" height="auto" width="auto"
content-height="15px" margin="0" padding="0" src="{$src}"/>
</xsl:if>
</fo:block>
</fo:table-cell>
</xsl:if>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
 
<!--SUB SUB SUB SECCOES-->
<xsl:template name="subSubSubSeccao">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:param name="marginLeft">20px</xsl:param>
<xsl:param name="paddingRightBlock">30px</xsl:param>
<xsl:param name="paddingRightIcon">5px</xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$STD_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="paddingRightBlock" select="$paddingRightBlock"/>
<xsl:with-param name="paddingRightIcon" select="$paddingRightIcon"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSubSeccaoBlue">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:param name="marginLeft">20px</xsl:param>
<xsl:param name="paddingRightBlock">30px</xsl:param>
<xsl:param name="paddingRightIcon">5px</xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$BLUE_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="paddingRightBlock" select="$paddingRightBlock"/>
<xsl:with-param name="paddingRightIcon" select="$paddingRightIcon"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSubSeccaoGreen">
<xsl:param name="text"/>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:param name="marginLeft">20px</xsl:param>
<xsl:param name="paddingRightBlock">30px</xsl:param>
<xsl:param name="paddingRightIcon">5px</xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop" select="$marginTop"/>
<xsl:with-param name="backcolor"><xsl:value-of select="$GREEN_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="marginLeft" select="$marginLeft"/>
<xsl:with-param name="paddingRightBlock" select="$paddingRightBlock"/>
<xsl:with-param name="paddingRightIcon" select="$paddingRightIcon"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSubSeccaoGreenSmallSpaces">
<xsl:param name="text"/>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop">1px</xsl:with-param>
<xsl:with-param name="backcolor"><xsl:value-of select="$GREEN_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="marginLeft">0</xsl:with-param>
<xsl:with-param name="paddingRightBlock">0</xsl:with-param>
<xsl:with-param name="paddingRightIcon">0</xsl:with-param>
<xsl:with-param name="marginBottomBlock">0</xsl:with-param>
<xsl:with-param name="fontSize">6pt</xsl:with-param>
<xsl:with-param name="iconVerticalAlign">before</xsl:with-param>
<xsl:with-param name="iconWidth">8px</xsl:with-param>
<xsl:with-param name="columnIconSize">10px</xsl:with-param>
<xsl:with-param name="paddingLeftIcon">0</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSubSeccaoBlueSmallSpaces">
<xsl:param name="text"/>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="marginTop">1px</xsl:with-param>
<xsl:with-param name="backcolor"><xsl:value-of select="$BLUE_COLOR_SUB_SECTION"/></xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="marginLeft">0</xsl:with-param>
<xsl:with-param name="paddingRightBlock">0</xsl:with-param>
<xsl:with-param name="paddingRightIcon">0</xsl:with-param>
<xsl:with-param name="marginBottomBlock">0</xsl:with-param>
<xsl:with-param name="fontSize">6pt</xsl:with-param>
<xsl:with-param name="iconVerticalAlign">before</xsl:with-param>
<xsl:with-param name="iconWidth">8px</xsl:with-param>
<xsl:with-param name="columnIconSize">10px</xsl:with-param>
<xsl:with-param name="paddingLeftIcon">0</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSubSeccaoSmallSpaces">
<xsl:param name="text"/>
<xsl:param name="subText"></xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:call-template name="subSubSubSeccaoGen">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="subText" select="$subText"/>
<xsl:with-param name="marginTop">1px</xsl:with-param>
<xsl:with-param name="backcolor"></xsl:with-param>
<xsl:with-param name="icon" select="$icon"/>
<xsl:with-param name="marginLeft">2px</xsl:with-param>
<xsl:with-param name="paddingRightBlock">0</xsl:with-param>
<xsl:with-param name="paddingRightIcon">0</xsl:with-param>
<xsl:with-param name="marginBottomBlock">0</xsl:with-param>
<xsl:with-param name="fontSize">6pt</xsl:with-param>
<xsl:with-param name="iconVerticalAlign">before</xsl:with-param>
<xsl:with-param name="iconWidth">8px</xsl:with-param>
<xsl:with-param name="columnIconSize">10px</xsl:with-param>
<xsl:with-param name="paddingLeftIcon">0</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="subSubSubSeccaoGen">
<xsl:param name="text"/>
<xsl:param name="subText"></xsl:param>
<xsl:param name="marginTop">2px</xsl:param>
<xsl:param name="backcolor"></xsl:param>
<xsl:param name="icon"></xsl:param>
<xsl:param name="marginLeft">20px</xsl:param>
<xsl:param name="paddingRightBlock">30px</xsl:param>
<xsl:param name="paddingRightIcon">5px</xsl:param>
<xsl:param name="paddingLeftIcon">5px</xsl:param>
<xsl:param name="fontSize">8pt</xsl:param>
<xsl:param name="marginBottomBlock">5px</xsl:param>
<xsl:param name="iconVerticalAlign">center</xsl:param>
<xsl:param name="iconWidth">15px</xsl:param>
<xsl:param name="columnIconSize">5%</xsl:param>
 
<fo:block margin-left="{$marginLeft}" margin-top="{$marginTop}" padding="0" padding-left="0" margin="0" margin-bottom="{$marginBottomBlock}" padding-right="{$paddingRightBlock}">
<fo:table width="100%" table-layout="fixed" border="0" margin="0" padding="0">
<fo:table-column column-width="{$columnIconSize}"/>
<fo:table-column/>
<fo:table-body>
<fo:table-row >
 
<fo:table-cell margin="0" padding="0" display-align="{$iconVerticalAlign}" text-align="right" padding-left="{$paddingLeftIcon}" padding-right="{$paddingRightIcon}">
<fo:block margin="0" padding="0" display-align="{$iconVerticalAlign}">
<xsl:if test="$icon and $icon != ''">
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/<xsl:value-of select="$icon"/>')</xsl:variable>
<fo:external-graphic display-align="{$iconVerticalAlign}" height="auto" width="auto"
content-width="{$iconWidth}" margin="0" padding="0" src="{$src}"/>
 
</xsl:if>
</fo:block>
</fo:table-cell>
<fo:table-cell
padding="0"
display-align="center"
margin="0">
<xsl:if test="$backcolor"><xsl:attribute name="background-color"><xsl:value-of select="$backcolor"/></xsl:attribute></xsl:if>
<fo:block
font-size="{$fontSize}"
font-weight="bold"
text-align="left"
margin="0" padding="0"
>
<xsl:value-of select="$text"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<xsl:if test="$subText">
<fo:table-row >
<fo:table-cell
number-columns-spanned="2"
padding="0"
display-align="center"
margin="0">
<fo:block
font-size="{$fontSize}"
font-weight="bold"
text-align="center"
margin="0" padding="0"
>
<xsl:value-of select="$subText"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:if>
 
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
 
 
 
<!--FOLHA DE GRAFICOS POR PERGUNTA-->
 
<xsl:template match="*" mode="graficosPerguntas">
<fo:block text-align="center" margin-left="10px">
<fo:table width="100%" table-layout="fixed">
<xsl:for-each select="./chartsRow[1]/perguntaStats/perguntaStats">
<fo:table-column/>
</xsl:for-each>
<fo:table-body>
<xsl:for-each select="./chartsRow">
<fo:table-row>
<xsl:for-each select="./perguntaStats/perguntaStats">
<fo:table-cell>
<fo:block>
<xsl:variable name="src">url('<xsl:value-of select="./tempFile"/>')</xsl:variable>
<fo:external-graphic
width="100%"
content-height="100%"
content-width="scale-to-fit"
scaling="uniform"
src="{$src}"/>
</fo:block>
</fo:table-cell>
</xsl:for-each>
</fo:table-row>
</xsl:for-each>
 
</fo:table-body>
</fo:table>
</fo:block>
 
<fo:block-container margin-top="20px">
<xsl:call-template name="legendaCoresPerguntas"/>
</fo:block-container>
</xsl:template>
 
<xsl:template name="legendaCoresPerguntas">
<fo:block>
<fo:table width="100%" table-layout="fixed" font-size="6.5pt" font-weight="normal">
<fo:table-column column-width="50"/>
<fo:table-column/>
 
<fo:table-body>
<fo:table-row>
<fo:table-cell padding="2pt" number-columns-spanned="2">
<fo:block text-align="left" font-weight="bold">Legenda de Cores:</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(253, 11, 0)" padding="2pt">
<fo:block text-align="center">1</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt" ><fo:block>O estudante avaliou a questão como Nada Satisfeito</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(255, 190, 0)" padding="2pt">
<fo:block text-align="center">2</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"><fo:block>O estudante avaliou a questão como Pouco Satisfeito</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(255, 254, 0)" padding="2pt">
<fo:block text-align="center">3</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"><fo:block>O estudante avaliou a questão Satisfeito</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(188, 255, 0)" padding="2pt">
<fo:block text-align="center">4</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"><fo:block>O estudante avaliou a questão bastante Satisfeito que corresponde a Bom</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="rgb(32, 255, 5)" padding="2pt">
<fo:block text-align="center">5</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"><fo:block>O Estudante avaliou o docente com nota máxima de Muito Satisfeito</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
 
<!--FOLHA DE MEDIAS DE GRUPO-->
 
<xsl:template match="*" mode="mediasGrupo">
<xsl:param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:param>
<xsl:param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:param>
<xsl:param name="showSmile">true</xsl:param>
<xsl:param name="objetoAvaliacao"/>
<xsl:param name="smileHeight">30</xsl:param>
<xsl:param name="fontSize">7pt</xsl:param>
<xsl:param name="fontSizeMedias">10pt</xsl:param>
<fo:block margin="0" padding="0">
 
<fo:table width="100%" table-layout="fixed" font-size="{$fontSize}" font-weight="normal" margin="0" padding="0">
<fo:table-column column-width="60%"/>
<fo:table-column column-width="40%"/>
<fo:table-body>
 
<fo:table-row>
<fo:table-cell margin="0" padding-left="0px" padding-right="5px" display-align="center">
<fo:block padding-left="0" padding="0" margin="0">
<xsl:apply-templates select="." mode="globalSmile">
<xsl:with-param name="objetoAvaliacao" select="$objetoAvaliacao"/>
<xsl:with-param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:with-param>
<xsl:with-param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:with-param>
<xsl:with-param name="showSmile" select="$showSmile"/>
<xsl:with-param name="fontSize" select="$fontSize"/>
<xsl:with-param name="fontSizeMedias" select="$fontSizeMedias"/>
<xsl:with-param name="smileHeight" select="$smileHeight"/>
</xsl:apply-templates>
</fo:block>
</fo:table-cell>
<fo:table-cell display-align="after" text-align="center" padding-left="5px" padding-right="0">
<fo:block>
<xsl:apply-templates select="./mediasGlobaisTable" mode="DataTable">
<xsl:with-param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:with-param>
<xsl:with-param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:with-param>
<xsl:with-param name="fontSize" select="$fontSize"/>
</xsl:apply-templates>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
 
</fo:block>
</xsl:template>
 
<xsl:template match="*" mode="globalSmile">
<xsl:param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:param>
<xsl:param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:param>
<xsl:param name="objetoAvaliacao"></xsl:param>
<xsl:param name="smileHeight">30</xsl:param>
<xsl:param name="fontSize">7pt</xsl:param>
<xsl:param name="fontSizeMedias">10pt</xsl:param>
<xsl:param name="showSmile">true</xsl:param>
 
<fo:table width="100%" table-layout="auto" font-size="{$fontSize}" font-weight="normal">
<fo:table-column column-width="30%"/>
<fo:table-column/>
<fo:table-column/>
<fo:table-column/>
<fo:table-column/>
<fo:table-column/>
<fo:table-body>
<xsl:if test="$showSmile = 'true'">
<fo:table-row>
<fo:table-cell text-align="center" >
<fo:block>
 
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" >
<fo:block>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/sad.png')</xsl:variable>
<fo:external-graphic height="auto" width="auto"
content-height="{$smileHeight}" src="{$src}"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block></fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" >
<fo:block>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/indiferent.png')</xsl:variable>
<fo:external-graphic height="auto" width="auto"
content-height="{$smileHeight}" src="{$src}"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block></fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" >
<fo:block>
<xsl:variable name="src">url('<xsl:value-of select="$site"/>/imgs/questionarios/smile.png')</xsl:variable>
<fo:external-graphic height="auto" width="auto"
content-height="{$smileHeight}" src="{$src}"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:if>
<fo:table-row border="2px solid black" font-size="{$fontSizeMedias}">
<fo:table-cell display-align="center" background-color="{$backgroundHeader}" text-align="center" padding="2px" border="2px solid black" font-size="{$fontSize}">
<fo:block>Avaliação média <xsl:value-of select="$objetoAvaliacao"/> em todas as questões</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=1">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>1</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=2">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>2</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=3">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>3</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=4">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>4</fo:block>
</fo:table-cell>
<fo:table-cell display-align="center" text-align="center" padding="4px" border="2px solid black">
<xsl:if test="./avaliacaoMediaArredondada=5">
<xsl:attribute name="background-color"><xsl:value-of select="./colorMedia"/></xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:if>
<fo:block>5</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</xsl:template>
 
 
<!--PERCENTAGEMS COLUNAS-->
<xsl:template name="barraPercentil">
<xsl:param name="valor"/>
<xsl:param name="colors">false</xsl:param>
<xsl:param name="backgroundColorPercentage"></xsl:param>
<xsl:call-template name="barraPercentilDefined">
<xsl:with-param name="colors" select="$colors"/>
<xsl:with-param name="backgroundColorPercentage" select="$backgroundColorPercentage"/>
<xsl:with-param name="valor" select="$valor"/>
<xsl:with-param name="percentDefined" select="$valor"/>
</xsl:call-template>
</xsl:template>
 
<xsl:template name="barraPercentilDefined">
<xsl:param name="valor"/>
<xsl:param name="percentDefined"/>
<xsl:param name="colors">false</xsl:param>
<xsl:param name="backgroundColorPercentage"/>
 
 
<fo:block-container margin="1px" border="1px solid #C6C6CA" padding="0" padding-right="2px">
 
<fo:block-container border="1px solid #C6C6CA" margin="0" padding-top="1px" padding-bottom="0" margin-right="2px">
<xsl:choose>
<xsl:when test="$colors = 'false'">
<xsl:attribute name="border">1px solid #8D7F5C</xsl:attribute>
<xsl:attribute name="background-color">#B9F1B1</xsl:attribute>
</xsl:when>
<xsl:when test="$backgroundColorPercentage != ''">
<xsl:attribute name="background-color"><xsl:value-of select="$backgroundColorPercentage"/></xsl:attribute>
<xsl:choose>
<xsl:when test="$percentDefined &lt; 21">
<xsl:attribute name="border">1px solid #B10000</xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 41">
<xsl:attribute name="border">1px solid #B85C00</xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 61">
<xsl:attribute name="border">1px solid #868600</xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 81">
<xsl:attribute name="border">1px solid #157C00</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="border">1px solid #157C00</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<!--<xsl:otherwise>
<xsl:choose>
<xsl:when test="$percentDefined &lt; 21">
<xsl:attribute name="border">1px solid #B10000</xsl:attribute>
<xsl:attribute name="background-color"><xsl:value-of select="//color1Hex"/></xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 41">
<xsl:attribute name="border">1px solid #B85C00</xsl:attribute>
<xsl:attribute name="background-color"><xsl:value-of select="//color2Hex"/>
</xsl:attribute></xsl:when>
<xsl:when test="$percentDefined &lt; 61">
<xsl:attribute name="background-color"><xsl:value-of select="//color3Hex"/></xsl:attribute>
<xsl:attribute name="border">1px solid #868600</xsl:attribute>
</xsl:when>
<xsl:when test="$percentDefined &lt; 81">
<xsl:attribute name="background-color"><xsl:value-of select="//color4Hex"/></xsl:attribute>
<xsl:attribute name="border">1px solid #157C00</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="background-color"><xsl:value-of select="//color5Hex"/></xsl:attribute>
<xsl:attribute name="border">1px solid #157C00</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>-->
</xsl:choose>
<xsl:attribute name="width"><xsl:value-of select="$percentDefined"/>%</xsl:attribute>
<fo:block><xsl:value-of select="$valor"/></fo:block>
</fo:block-container>
</fo:block-container>
</xsl:template>
 
<!--TABELA DE DADOS GENERICA-->
<xsl:variable name="backgroundHeader"><xsl:value-of select="$STD_COLOR_SECTION"/></xsl:variable>
<xsl:variable name="backgroundNormal">#FFFFFF</xsl:variable>
<xsl:variable name="backgroundFooter"><xsl:value-of select="$STD_COLOR_SECTION"/></xsl:variable>
<xsl:variable name="borderInHeader">2px solid black</xsl:variable>
<xsl:variable name="borderInCell">1px dashed black</xsl:variable>
<xsl:variable name="borderInFooter">2px solid black</xsl:variable>
<xsl:variable name="borderInCellVertical">1px solid black</xsl:variable>
<xsl:variable name="borderTable">2px solid black</xsl:variable>
 
<xsl:template match="*" mode="DataTable">
 
<xsl:param name="firstColPercentSize"></xsl:param>
<xsl:param name="backgroundHeader"><xsl:value-of select="$backgroundHeader"/></xsl:param>
<xsl:param name="backgroundFooter"><xsl:value-of select="$backgroundFooter"/></xsl:param>
<xsl:param name="fontSize">7pt</xsl:param>
 
 
<fo:table width="100%" table-layout="auto" font-size="{$fontSize}">
<xsl:attribute name="border"><xsl:value-of select="$borderTable"/></xsl:attribute>
<xsl:for-each select="./rows/row[1]/cols/col">
<xsl:choose>
<xsl:when test="$firstColPercentSize != '' and position() = 1">
<fo:table-column column-width="{$firstColPercentSize}"/>
</xsl:when>
<xsl:otherwise><fo:table-column/></xsl:otherwise>
</xsl:choose>
 
</xsl:for-each>
<fo:table-body>
<xsl:for-each select="./rows/row">
<xsl:variable name="rowPosition"><xsl:value-of select="position()"/></xsl:variable>
<xsl:variable name="lastRowPosition"><xsl:value-of select="last()"/></xsl:variable>
<fo:table-row background-color="{$backgroundHeader}">
<xsl:choose>
<xsl:when test="./type='header'"><xsl:attribute name="background-color"><xsl:value-of select="$backgroundHeader"/></xsl:attribute></xsl:when>
<xsl:when test="./type='normal'"><xsl:attribute name="background-color"><xsl:value-of select="$backgroundNormal"/></xsl:attribute></xsl:when>
<xsl:when test="./type='footer'"><xsl:attribute name="background-color"><xsl:value-of select="$backgroundFooter"/></xsl:attribute></xsl:when>
</xsl:choose>
<xsl:for-each select="./cols/col">
<fo:table-cell padding="0" display-align="center">
<xsl:if test="colspan &gt; 0"><xsl:attribute name="number-columns-spanned"><xsl:value-of select="colspan"/></xsl:attribute></xsl:if>
<xsl:if test="fontWeight = 'bold'"><xsl:attribute name="font-weight">bold<xsl:value-of select="colspan"/></xsl:attribute></xsl:if>
 
<xsl:if test="./backgroundColor != ''">
<xsl:attribute name="background-color"><xsl:value-of select="./backgroundColor"/></xsl:attribute>
</xsl:if>
<xsl:choose>
<xsl:when test="../../type='header'"><xsl:attribute name="border"><xsl:value-of select="$borderInHeader"/></xsl:attribute></xsl:when>
<xsl:when test="../../type='normal'"><xsl:attribute name="border"><xsl:value-of select="$borderInCell"/></xsl:attribute></xsl:when>
<xsl:when test="../../type='footer'"><xsl:attribute name="border"><xsl:value-of select="$borderInFooter"/></xsl:attribute></xsl:when>
</xsl:choose>
 
 
 
 
<xsl:choose>
<xsl:when test="./align='left'"><xsl:attribute name="text-align">start</xsl:attribute></xsl:when>
<xsl:when test="./align='right'"><xsl:attribute name="text-align">end</xsl:attribute></xsl:when>
<xsl:when test="./align='center'"><xsl:attribute name="text-align">center</xsl:attribute></xsl:when>
</xsl:choose>
<xsl:if test="../../cols/col/type = 'percentage' and ./type != 'percentage'">
<xsl:attribute name="padding-top">2px</xsl:attribute>
</xsl:if>
 
 
<xsl:if test="../../type='normal'">
<xsl:if test="./type='label' and position()=1">
<xsl:attribute name="border-right"><xsl:value-of select="$borderInHeader"/></xsl:attribute>
</xsl:if>
<xsl:if test="./type='label' and position()=last()">
<xsl:attribute name="border-left"><xsl:value-of select="$borderInHeader"/></xsl:attribute>
</xsl:if>
<xsl:if test="../../../row[$rowPosition+1]/type='normal'">
<xsl:attribute name="border-bottom"><xsl:value-of select="$borderInCell"/></xsl:attribute>
</xsl:if>
</xsl:if>
 
<xsl:if test="../../../row[$rowPosition - 1]/type='header'">
<xsl:attribute name="border-top"><xsl:value-of select="$borderInHeader"/></xsl:attribute>
</xsl:if>
<xsl:if test="../../../row[$rowPosition +1]/type='footer'">
<xsl:attribute name="border-bottom"><xsl:value-of select="$borderInFooter"/></xsl:attribute>
</xsl:if>
 
 
<xsl:if test="../col[position() + 1 != last()]">
<xsl:attribute name="border-right"><xsl:value-of select="$borderInCellVertical"/></xsl:attribute>
</xsl:if>
 
 
 
 
<fo:block-container margin="0" padding="0">
<xsl:choose>
<xsl:when test="./type='text'"><fo:block margin="0" padding-left="2px" padding-right="2px"><xsl:value-of select="./value"/></fo:block></xsl:when>
<xsl:when test="./type='number'"><fo:block margin="0" padding-left="2px" padding-right="2px"><xsl:value-of select="./value"/></fo:block></xsl:when>
<xsl:when test="./type='label'"><fo:block margin="0" padding-left="2px" padding-right="2px"><xsl:value-of select="./value"/></fo:block></xsl:when>
<xsl:when test="./type='percentage'">
<xsl:attribute name="text-align">left</xsl:attribute>
<xsl:attribute name="padding">0</xsl:attribute>
<xsl:call-template name="barraPercentil">
<xsl:with-param name="valor" select="./value"/>
<xsl:with-param name="colors" select="./usePercentageColor"/>
<xsl:with-param name="backgroundColorPercentage" select="./backgroundColorPercentage"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="./type='percentageDefined'">
<xsl:attribute name="text-align">left</xsl:attribute>
<xsl:attribute name="padding">0</xsl:attribute>
<xsl:call-template name="barraPercentilDefined">
<xsl:with-param name="valor" select="./value"/>
<xsl:with-param name="percentDefined" select="./percentDefined"/>
<xsl:with-param name="colors" select="./usePercentageColor"/>
<xsl:with-param name="backgroundColorPercentage" select="./backgroundColorPercentage"/>
</xsl:call-template>
</xsl:when>
</xsl:choose>
 
</fo:block-container>
 
 
</fo:table-cell>
</xsl:for-each>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
</xsl:template>
 
 
</xsl:stylesheet>
Property changes:
Added: svn:executable
+ *
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/docenteReport.xml
New file
0,0 → 1,8728
<?xml version="1.0" encoding="UTF-8"?>
<docenteReport>
<questionariosReqRespondidos>56</questionariosReqRespondidos>
<questionariosReqNaoRespondidos>8</questionariosReqNaoRespondidos>
<questionariosReqTotal>64</questionariosReqTotal>
<questionariosReqRespondidosPercentagem>87</questionariosReqRespondidosPercentagem>
<inquiridosTotal>50</inquiridosTotal>
<inquiridosNaoResponderam>7</inquiridosNaoResponderam>
<inquiridosComResposta>43</inquiridosComResposta>
<masculinoComResposta>42</masculinoComResposta>
<femininoComResposta>1</femininoComResposta>
<masculinoComRespostaPercent>97</masculinoComRespostaPercent>
<femininoComRespostaPercent>2</femininoComRespostaPercent>
<idade17_22>22</idade17_22>
<idade23_25>4</idade23_25>
<idade26_30>10</idade26_30>
<idadeM30>7</idadeM30>
<idade17_22Percent>51</idade17_22Percent>
<idade23_25Percent>9</idade23_25Percent>
<idade26_30Percent>23</idade26_30Percent>
<idadeM30Percent>16</idadeM30Percent>
<pathGraficoTaxaRespostaQuestionarios>/VDATA/BACODATA/tmp/taxaRespostasTmpgraficoRespostas.png</pathGraficoTaxaRespostaQuestionarios>
<tabelaIdades>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Idade</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Alunos</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>%</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>17 aos 22</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>22</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>51</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>23 aos 25</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>26 aos 30</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>23</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>&gt; 30</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>16</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>footer</type>
<cols>
<col>
<align>center</align>
<value>Total</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>100</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</tabelaIdades>
<tabelaDistritos>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Distrito</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Alunos</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>%</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Portalegre</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>28</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>65</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Leiria</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Lisboa</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Outros</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>footer</type>
<cols>
<col>
<align>center</align>
<value>Total</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>100</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</tabelaDistritos>
<tipoAlunosNormalComResposta>35</tipoAlunosNormalComResposta>
<tipoAlunosTrabalhadorEstudanteComResposta>5</tipoAlunosTrabalhadorEstudanteComResposta>
<tipoAlunosErasmusComResposta>3</tipoAlunosErasmusComResposta>
<tipoAlunosOutros>0</tipoAlunosOutros>
<tipoAlunosNormalComRespostaPercent>81</tipoAlunosNormalComRespostaPercent>
<tipoAlunosTrabalhadorEstudanteComRespostaPercent>11</tipoAlunosTrabalhadorEstudanteComRespostaPercent>
<tipoAlunosErasmusComRespostaPercent>6</tipoAlunosErasmusComRespostaPercent>
<tipoAlunosOutrosPercent>0</tipoAlunosOutrosPercent>
<pathGraficoTaxaRespostaAlunos>/VDATA/BACODATA/tmp/taxaParticipacaoTmpgraficoTaxaParticipacao.png</pathGraficoTaxaRespostaAlunos>
<pathGraficoTiposAlunosComResposta>/VDATA/BACODATA/tmp/tiposAlunosTmpgraficoTiposAlunos.png</pathGraficoTiposAlunosComResposta>
<tabelaTaxaRespostaUnidade>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Unidade Curricular</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Inscritos</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Responderam</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>% Respostas</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Análise de Concepção de Sistemas</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>87</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Engenharia do Software</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>100</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Programação Web com Bases de Dados</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>33</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>81</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Teoria da Computação</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>90</value>
<type>percentage</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</tabelaTaxaRespostaUnidade>
<nomeDocente>Jorge Miguel Calha Rainho Machado</nomeDocente>
<numeroDocente>20128</numeroDocente>
<anoLectivo>2015/2016</anoLectivo>
<semestres>
<string>S2</string>
<string>T3</string>
<string>T4</string>
<string>A</string>
</semestres>
<degrees>
<string>Licenciaturas</string>
<string>Mestrados</string>
<string>CTeSP</string>
</degrees>
<respostasAgregadasGrupoDocente>
<respostasAgregadasChartTable>
<respostasAgregadasCharts>
<chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta10.png</tempFile>
<pergunta>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</pergunta>
<numero>10</numero>
<mediaEntidadeEmAvaliacao>4,3</mediaEntidadeEmAvaliacao>
<mediaCursos>4,11</mediaCursos>
<mediaEscolas>4,24</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>86</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>82</percentMediaCursos>
<percentMediaEscolas>84</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta11.png</tempFile>
<pergunta>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</pergunta>
<numero>11</numero>
<mediaEntidadeEmAvaliacao>4,5</mediaEntidadeEmAvaliacao>
<mediaCursos>4,29</mediaCursos>
<mediaEscolas>4,33</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>90</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>85</percentMediaCursos>
<percentMediaEscolas>86</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta12.png</tempFile>
<pergunta>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</pergunta>
<numero>12</numero>
<mediaEntidadeEmAvaliacao>4,41</mediaEntidadeEmAvaliacao>
<mediaCursos>4,31</mediaCursos>
<mediaEscolas>4,4</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>88</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>86</percentMediaCursos>
<percentMediaEscolas>88</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta6.png</tempFile>
<pergunta>O docente foi pontual.</pergunta>
<numero>6</numero>
<mediaEntidadeEmAvaliacao>3,96</mediaEntidadeEmAvaliacao>
<mediaCursos>4,09</mediaCursos>
<mediaEscolas>4,32</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>79</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>81</percentMediaCursos>
<percentMediaEscolas>86</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta7.png</tempFile>
<pergunta>O docente apresentou os conteúdos de forma motivadora.</pergunta>
<numero>7</numero>
<mediaEntidadeEmAvaliacao>4,02</mediaEntidadeEmAvaliacao>
<mediaCursos>3,98</mediaCursos>
<mediaEscolas>4,09</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>80</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>79</percentMediaCursos>
<percentMediaEscolas>81</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta8.png</tempFile>
<pergunta>O docente apresentou os conteúdos com clareza e segurança.</pergunta>
<numero>8</numero>
<mediaEntidadeEmAvaliacao>4,04</mediaEntidadeEmAvaliacao>
<mediaCursos>4,08</mediaCursos>
<mediaEscolas>4,24</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>80</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>81</percentMediaCursos>
<percentMediaEscolas>84</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta9.png</tempFile>
<pergunta>O docente promoveu a autonomia dos estudantes.</pergunta>
<numero>9</numero>
<mediaEntidadeEmAvaliacao>4,25</mediaEntidadeEmAvaliacao>
<mediaCursos>4,13</mediaCursos>
<mediaEscolas>4,29</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>85</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>82</percentMediaCursos>
<percentMediaEscolas>85</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
</chartsRow>
</respostasAgregadasCharts>
<respostasTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média dos Cursos em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média das Escolas em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,03</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>20</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,3</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,78</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,11</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,24</value>
<percentDefined>84</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,68</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>14</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>35</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,5</value>
<percentDefined>90</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,71</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,29</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,33</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>25</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,41</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,62</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,31</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,4</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente foi pontual.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5,47</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>15</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>19</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>19</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,96</value>
<percentDefined>79</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,91</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,09</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,32</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos de forma motivadora.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,57</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>19</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>21</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,02</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,94</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,98</value>
<percentDefined>79</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,09</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos com clareza e segurança.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,28</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>13</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>22</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>19</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,04</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,84</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,08</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,24</value>
<percentDefined>84</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu a autonomia dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,23</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>19</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>26</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,25</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,81</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,13</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,29</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasTable>
</respostasAgregadasChartTable>
<respostasAgregadasChartTable2Secs>
<respostasAgregadasCharts>
<chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta10.png</tempFile>
<pergunta>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</pergunta>
<numero>10</numero>
<mediaEntidadeEmAvaliacao>4,39</mediaEntidadeEmAvaliacao>
<mediaCursos>4,12</mediaCursos>
<mediaEscolas>4,08</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>87</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>82</percentMediaCursos>
<percentMediaEscolas>81</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta11.png</tempFile>
<pergunta>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</pergunta>
<numero>11</numero>
<mediaEntidadeEmAvaliacao>4,59</mediaEntidadeEmAvaliacao>
<mediaCursos>4,36</mediaCursos>
<mediaEscolas>4,23</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>91</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>87</percentMediaCursos>
<percentMediaEscolas>84</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta12.png</tempFile>
<pergunta>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</pergunta>
<numero>12</numero>
<mediaEntidadeEmAvaliacao>4,52</mediaEntidadeEmAvaliacao>
<mediaCursos>4,36</mediaCursos>
<mediaEscolas>4,31</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>90</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>87</percentMediaCursos>
<percentMediaEscolas>86</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta6.png</tempFile>
<pergunta>O docente foi pontual.</pergunta>
<numero>6</numero>
<mediaEntidadeEmAvaliacao>3,85</mediaEntidadeEmAvaliacao>
<mediaCursos>4,03</mediaCursos>
<mediaEscolas>4,3</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>77</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>80</percentMediaCursos>
<percentMediaEscolas>85</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta7.png</tempFile>
<pergunta>O docente apresentou os conteúdos de forma motivadora.</pergunta>
<numero>7</numero>
<mediaEntidadeEmAvaliacao>3,92</mediaEntidadeEmAvaliacao>
<mediaCursos>3,87</mediaCursos>
<mediaEscolas>3,89</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>78</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>77</percentMediaCursos>
<percentMediaEscolas>77</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta8.png</tempFile>
<pergunta>O docente apresentou os conteúdos com clareza e segurança.</pergunta>
<numero>8</numero>
<mediaEntidadeEmAvaliacao>3,94</mediaEntidadeEmAvaliacao>
<mediaCursos>3,93</mediaCursos>
<mediaEscolas>4,08</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>78</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>78</percentMediaCursos>
<percentMediaEscolas>81</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta9.png</tempFile>
<pergunta>O docente promoveu a autonomia dos estudantes.</pergunta>
<numero>9</numero>
<mediaEntidadeEmAvaliacao>4,29</mediaEntidadeEmAvaliacao>
<mediaCursos>4,09</mediaCursos>
<mediaEscolas>4,18</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>85</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>81</percentMediaCursos>
<percentMediaEscolas>83</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
</chartsRow>
</respostasAgregadasCharts>
<respostasTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média dos Cursos em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média das Escolas em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>31</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>16</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,39</value>
<percentDefined>87</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,12</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,08</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>32</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,02</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>21</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,59</value>
<percentDefined>91</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,61</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,36</value>
<percentDefined>87</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,23</value>
<percentDefined>84</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>31</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5,12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>15</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>16</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,52</value>
<percentDefined>90</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,36</value>
<percentDefined>87</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,31</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente foi pontual.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>47</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6,25</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>15</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#fffe00</backgroundColor>
</col>
<col>
<align>center</align>
<value>15</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>14</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,85</value>
<percentDefined>77</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,92</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,03</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,3</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos de forma motivadora.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>37</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,86</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>15</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,92</value>
<percentDefined>78</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,91</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,87</value>
<percentDefined>77</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,89</value>
<percentDefined>77</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos com clareza e segurança.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>35</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,57</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>17</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,94</value>
<percentDefined>78</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,83</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,93</value>
<percentDefined>78</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,08</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu a autonomia dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>31</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,96</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>14</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>13</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,29</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,68</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,09</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,18</value>
<percentDefined>83</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasTable>
</respostasAgregadasChartTable2Secs>
<mediasGrupo>
<avaliacaoMedia>4.2117</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.829</desvioPadrao>
<mediaGlobalNosCursos>4.1429</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>4.2746</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média dos Cursos em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média das Escolas em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,21</value>
<percentDefined>84</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,83</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,6&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,14</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,27</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupo>
</respostasAgregadasGrupoDocente>
<respostasAgregadasGrupoUnidade>
<respostasAgregadasChartTable>
<respostasAgregadasCharts>
<chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta1.png</tempFile>
<pergunta>Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.</pergunta>
<numero>1</numero>
<mediaEntidadeEmAvaliacao>4,32</mediaEntidadeEmAvaliacao>
<mediaCursos>4,02</mediaCursos>
<mediaEscolas>4,3</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>86</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>80</percentMediaCursos>
<percentMediaEscolas>86</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta2.png</tempFile>
<pergunta>O programa previsto na ficha da Unidade Curricular foi cumprido.</pergunta>
<numero>2</numero>
<mediaEntidadeEmAvaliacao>4,46</mediaEntidadeEmAvaliacao>
<mediaCursos>4,28</mediaCursos>
<mediaEscolas>4,36</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>89</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>85</percentMediaCursos>
<percentMediaEscolas>87</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta3.png</tempFile>
<pergunta>Os recursos/materiais disponibilizados foram úteis.</pergunta>
<numero>3</numero>
<mediaEntidadeEmAvaliacao>4,11</mediaEntidadeEmAvaliacao>
<mediaCursos>3,96</mediaCursos>
<mediaEscolas>4,13</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>82</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>79</percentMediaCursos>
<percentMediaEscolas>82</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta4.png</tempFile>
<pergunta>Os momentos, as atividades e os critérios de avaliação na Unidade Curricular foram adequados.</pergunta>
<numero>4</numero>
<mediaEntidadeEmAvaliacao>4,29</mediaEntidadeEmAvaliacao>
<mediaCursos>4,16</mediaCursos>
<mediaEscolas>4,16</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>85</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>83</percentMediaCursos>
<percentMediaEscolas>83</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta5.png</tempFile>
<pergunta>A articulação entre os diversos tipos de aulas (Teóricas, Teórico-Práticas, Práticas, Seminário, Orientação Tutória, Ensino Clínico, Estágio) foi adequada.</pergunta>
<numero>5</numero>
<mediaEntidadeEmAvaliacao>4,23</mediaEntidadeEmAvaliacao>
<mediaCursos>4,08</mediaCursos>
<mediaEscolas>4,1</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>84</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>81</percentMediaCursos>
<percentMediaEscolas>81</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
</chartsRow>
</respostasAgregadasCharts>
<respostasTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média dos Cursos em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média das Escolas em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>16,25</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>22</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>26</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,32</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,71</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,02</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,3</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O programa previsto na ficha da Unidade Curricular foi cumprido.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>22</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>30</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,46</value>
<percentDefined>89</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,63</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,28</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,36</value>
<percentDefined>87</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os recursos/materiais disponibilizados foram úteis.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>25</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>19</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,11</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,77</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,96</value>
<percentDefined>79</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,13</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os momentos, as atividades e os critérios de avaliação na Unidade Curricular foram adequados.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>24</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>24</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,29</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,16</value>
<percentDefined>83</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,16</value>
<percentDefined>83</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>A articulação entre os diversos tipos de aulas (Teóricas, Teórico-Práticas, Práticas, Seminário, Orientação Tutória, Ensino Clínico, Estágio) foi adequada.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>56</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,45</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>22</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>24</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,23</value>
<percentDefined>84</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,78</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,08</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,1</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasTable>
</respostasAgregadasChartTable>
<respostasAgregadasChartTable2Secs>
<respostasAgregadasCharts>
<chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta1.png</tempFile>
<pergunta>Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.</pergunta>
<numero>1</numero>
<mediaEntidadeEmAvaliacao>4,31</mediaEntidadeEmAvaliacao>
<mediaCursos>4,01</mediaCursos>
<mediaEscolas>4,3</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>86</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>80</percentMediaCursos>
<percentMediaEscolas>85</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta2.png</tempFile>
<pergunta>O programa previsto na ficha da Unidade Curricular foi cumprido.</pergunta>
<numero>2</numero>
<mediaEntidadeEmAvaliacao>4,44</mediaEntidadeEmAvaliacao>
<mediaCursos>4,32</mediaCursos>
<mediaEscolas>4,27</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>88</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>86</percentMediaCursos>
<percentMediaEscolas>85</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta3.png</tempFile>
<pergunta>Os recursos/materiais disponibilizados foram úteis.</pergunta>
<numero>3</numero>
<mediaEntidadeEmAvaliacao>3,94</mediaEntidadeEmAvaliacao>
<mediaCursos>3,87</mediaCursos>
<mediaEscolas>3,91</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>78</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>77</percentMediaCursos>
<percentMediaEscolas>78</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
<chartsRow>
<perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta4.png</tempFile>
<pergunta>Os momentos, as atividades e os critérios de avaliação na Unidade Curricular foram adequados.</pergunta>
<numero>4</numero>
<mediaEntidadeEmAvaliacao>4,21</mediaEntidadeEmAvaliacao>
<mediaCursos>4,13</mediaCursos>
<mediaEscolas>3,96</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>84</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>82</percentMediaCursos>
<percentMediaEscolas>79</percentMediaEscolas>
</perguntaStats>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta5.png</tempFile>
<pergunta>A articulação entre os diversos tipos de aulas (Teóricas, Teórico-Práticas, Práticas, Seminário, Orientação Tutória, Ensino Clínico, Estágio) foi adequada.</pergunta>
<numero>5</numero>
<mediaEntidadeEmAvaliacao>4,1</mediaEntidadeEmAvaliacao>
<mediaCursos>3,96</mediaCursos>
<mediaEscolas>3,82</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>82</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>79</percentMediaCursos>
<percentMediaEscolas>76</percentMediaEscolas>
</perguntaStats>
</perguntaStats>
</chartsRow>
</chartsRow>
</respostasAgregadasCharts>
<respostasTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média dos Cursos em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média das Escolas em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>55</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>16,51</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>22</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>25</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,31</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,71</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,01</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,3</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O programa previsto na ficha da Unidade Curricular foi cumprido.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>32</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5,28</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>17</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,44</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,66</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,32</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,27</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os recursos/materiais disponibilizados foram úteis.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>31</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,48</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>16</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,94</value>
<percentDefined>78</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,76</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,87</value>
<percentDefined>77</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,91</value>
<percentDefined>78</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os momentos, as atividades e os critérios de avaliação na Unidade Curricular foram adequados.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>39</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>19</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>14</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,21</value>
<percentDefined>84</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,69</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,13</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,96</value>
<percentDefined>79</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>A articulação entre os diversos tipos de aulas (Teóricas, Teórico-Práticas, Práticas, Seminário, Orientação Tutória, Ensino Clínico, Estágio) foi adequada.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>30</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5,52</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>14</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,1</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,79</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,96</value>
<percentDefined>79</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,82</value>
<percentDefined>76</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasTable>
</respostasAgregadasChartTable2Secs>
<mediasGrupo>
<avaliacaoMedia>4.2821</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.7288</desvioPadrao>
<mediaGlobalNosCursos>4.0983</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>4.209</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média dos Cursos em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média das Escolas em que Lecciona</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,28</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,73</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,8&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,1</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,21</value>
<percentDefined>84</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupo>
</respostasAgregadasGrupoUnidade>
<unidadesStats>
<unidadeStats>
<nomeUnidade>Programação Web com Bases de Dados</nomeUnidade>
<codigoUnidade>209514</codigoUnidade>
<codigoCurso>9119</codigoCurso>
<nomeCurso>Engenharia Informática</nomeCurso>
<semestre>S2</semestre>
<unidadeStatsGrupoDocente>
<respostasUnidadesTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,01</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,3</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,71</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,51</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>15</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,37</value>
<percentDefined>87</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,78</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>14</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,41</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,68</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente foi pontual.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5,15</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,81</value>
<percentDefined>76</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos de forma motivadora.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,99</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,11</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,87</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos com clareza e segurança.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,04</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,92</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu a autonomia dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,89</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,26</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,75</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasUnidadesTable>
<mediasGrupoUnidades>
<avaliacaoMedia>4.1852</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.831</desvioPadrao>
<mediaGlobalNosCursos>0.0</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>0.0</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,19</value>
<percentDefined>83</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,83</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,5&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupoUnidades>
</unidadeStatsGrupoDocente>
<unidadeStatsGrupoUnidade>
<respostasUnidadesTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9,2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,11</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,74</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O programa previsto na ficha da Unidade Curricular foi cumprido.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>13</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,41</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,62</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os recursos/materiais disponibilizados foram úteis.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,87</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>13</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,93</value>
<percentDefined>78</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,72</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os momentos, as atividades e os critérios de avaliação na Unidade Curricular foram adequados.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,62</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,22</value>
<percentDefined>84</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,74</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>A articulação entre os diversos tipos de aulas (Teóricas, Teórico-Práticas, Práticas, Seminário, Orientação Tutória, Ensino Clínico, Estágio) foi adequada.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,29</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,07</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,86</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasUnidadesTable>
<mediasGrupoUnidades>
<avaliacaoMedia>4.1852</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.831</desvioPadrao>
<mediaGlobalNosCursos>0.0</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>0.0</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,19</value>
<percentDefined>83</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,83</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,5&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupoUnidades>
</unidadeStatsGrupoUnidade>
</unidadeStats>
<unidadeStats>
<nomeUnidade>Análise de Concepção de Sistemas</nomeUnidade>
<codigoUnidade>209520</codigoUnidade>
<codigoCurso>9119</codigoCurso>
<nomeCurso>Engenharia Informática</nomeCurso>
<semestre>S2</semestre>
<unidadeStatsGrupoDocente>
<respostasUnidadesTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,28</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,76</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,21</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,57</value>
<percentDefined>91</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,73</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7,34</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,14</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,64</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente foi pontual.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>13,23</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#fffe00</backgroundColor>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,71</value>
<percentDefined>74</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos de forma motivadora.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,87</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,57</value>
<percentDefined>71</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos com clareza e segurança.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5,19</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,76</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu a autonomia dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7,36</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,76</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasUnidadesTable>
<mediasGrupoUnidades>
<avaliacaoMedia>4.0</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.8081</desvioPadrao>
<mediaGlobalNosCursos>0.0</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>0.0</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,81</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,4&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupoUnidades>
</unidadeStatsGrupoDocente>
<unidadeStatsGrupoUnidade>
<respostasUnidadesTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>29,94</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,14</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,35</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O programa previsto na ficha da Unidade Curricular foi cumprido.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7,43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,14</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,35</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os recursos/materiais disponibilizados foram úteis.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,35</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,86</value>
<percentDefined>77</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,64</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os momentos, as atividades e os critérios de avaliação na Unidade Curricular foram adequados.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,53</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>A articulação entre os diversos tipos de aulas (Teóricas, Teórico-Práticas, Práticas, Seminário, Orientação Tutória, Ensino Clínico, Estágio) foi adequada.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,89</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,29</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,45</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasUnidadesTable>
<mediasGrupoUnidades>
<avaliacaoMedia>4.0</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.8081</desvioPadrao>
<mediaGlobalNosCursos>0.0</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>0.0</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,81</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,4&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupoUnidades>
</unidadeStatsGrupoUnidade>
</unidadeStats>
<unidadeStats>
<nomeUnidade>Engenharia do Software</nomeUnidade>
<codigoUnidade>209534</codigoUnidade>
<codigoCurso>9119</codigoCurso>
<nomeCurso>Engenharia Informática</nomeCurso>
<semestre>S2</semestre>
<unidadeStatsGrupoDocente>
<respostasUnidadesTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,41</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,42</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,86</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,67</value>
<percentDefined>93</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,62</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,69</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,5</value>
<percentDefined>90</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente foi pontual.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,17</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,58</value>
<percentDefined>91</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,64</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos de forma motivadora.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,33</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,08</value>
<percentDefined>81</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,95</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos com clareza e segurança.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,44</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,71</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu a autonomia dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,24</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,17</value>
<percentDefined>83</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,99</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasUnidadesTable>
<mediasGrupoUnidades>
<avaliacaoMedia>4.3452</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.8091</desvioPadrao>
<mediaGlobalNosCursos>0.0</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>0.0</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,35</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,81</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,7&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupoUnidades>
</unidadeStatsGrupoDocente>
<unidadeStatsGrupoUnidade>
<respostasUnidadesTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>25,1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,75</value>
<percentDefined>95</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O programa previsto na ficha da Unidade Curricular foi cumprido.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,33</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>9</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,67</value>
<percentDefined>93</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,62</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os recursos/materiais disponibilizados foram úteis.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,48</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,33</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,85</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os momentos, as atividades e os critérios de avaliação na Unidade Curricular foram adequados.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,27</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,5</value>
<percentDefined>90</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,65</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>A articulação entre os diversos tipos de aulas (Teóricas, Teórico-Práticas, Práticas, Seminário, Orientação Tutória, Ensino Clínico, Estágio) foi adequada.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>12</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5,46</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,42</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,76</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasUnidadesTable>
<mediasGrupoUnidades>
<avaliacaoMedia>4.3452</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.8091</desvioPadrao>
<mediaGlobalNosCursos>0.0</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>0.0</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,35</value>
<percentDefined>86</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,81</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,7&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupoUnidades>
</unidadeStatsGrupoUnidade>
</unidadeStats>
<unidadeStats>
<nomeUnidade>Teoria da Computação</nomeUnidade>
<codigoUnidade>209546</codigoUnidade>
<codigoCurso>9119</codigoCurso>
<nomeCurso>Engenharia Informática</nomeCurso>
<semestre>S2</semestre>
<unidadeStatsGrupoDocente>
<respostasUnidadesTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,26</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,4</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,8</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,72</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,6</value>
<percentDefined>92</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,49</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,11</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,5</value>
<percentDefined>90</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente foi pontual.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,67</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#fffe00</backgroundColor>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,8</value>
<percentDefined>76</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,98</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos de forma motivadora.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,03</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4</value>
<percentDefined>80</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente apresentou os conteúdos com clareza e segurança.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3,36</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#bcff00</backgroundColor>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,1</value>
<percentDefined>82</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,83</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O docente promoveu a autonomia dos estudantes.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,46</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,5</value>
<percentDefined>90</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,67</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasUnidadesTable>
<mediasGrupoUnidades>
<avaliacaoMedia>4.2714</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.8267</desvioPadrao>
<mediaGlobalNosCursos>0.0</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>0.0</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,27</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,83</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,6&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupoUnidades>
</unidadeStatsGrupoDocente>
<unidadeStatsGrupoUnidade>
<respostasUnidadesTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Questão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Tempo Médio de Resposta (seg.)</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Nada Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Pouco Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Bastante Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Muito Satisf. %</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>15,08</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,5</value>
<percentDefined>90</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,67</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>O programa previsto na ficha da Unidade Curricular foi cumprido.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,02</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>7</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,6</value>
<percentDefined>92</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,66</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os recursos/materiais disponibilizados foram úteis.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1,94</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>3</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>6</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,5</value>
<percentDefined>90</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,67</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>Os momentos, as atividades e os critérios de avaliação na Unidade Curricular foram adequados.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>2,63</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,4</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,66</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>A articulação entre os diversos tipos de aulas (Teóricas, Teórico-Práticas, Práticas, Seminário, Orientação Tutória, Ensino Clínico, Estágio) foi adequada.</value>
<type>label</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>10</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1,85</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>1</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>5</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor>#20ff05</backgroundColor>
</col>
<col>
<align>center</align>
<value>4,4</value>
<percentDefined>88</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,66</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</respostasUnidadesTable>
<mediasGrupoUnidades>
<avaliacaoMedia>4.2714</avaliacaoMedia>
<avaliacaoMediaArredondada>4</avaliacaoMediaArredondada>
<desvioPadrao>0.8267</desvioPadrao>
<mediaGlobalNosCursos>0.0</mediaGlobalNosCursos>
<mediaGlobalNasEscolas>0.0</mediaGlobalNasEscolas>
<colorMedia>#bcff00</colorMedia>
<mediasGlobaisTable>
<rows>
<row>
<type>header</type>
<cols>
<col>
<align>center</align>
<value>Resps.</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Média</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>Desvio Padrão</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>95% Resps no intervalo</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
<row>
<type>normal</type>
<cols>
<col>
<align>center</align>
<value>43</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>4,27</value>
<percentDefined>85</percentDefined>
<type>percentageDefined</type>
<usePercentageColor>true</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>0,83</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
<col>
<align>center</align>
<value>[2,6&lt;-&gt;5]</value>
<type>text</type>
<usePercentageColor>false</usePercentageColor>
<backgroundColor/>
</col>
</cols>
</row>
</rows>
</mediasGlobaisTable>
</mediasGrupoUnidades>
</unidadeStatsGrupoUnidade>
</unidadeStats>
</unidadesStats>
<docentesNosCursos>8</docentesNosCursos>
<docentesNasEscolas>74</docentesNasEscolas>
<unidadesNosCursos>0</unidadesNosCursos>
<unidadesNasEscolas>115</unidadesNasEscolas>
<numeroPerguntaRespostasChart>
<entry>
<string>11</string>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta11.png</tempFile>
<pergunta>O docente disponibilizou-se para esclarecer dúvidas dos estudantes.</pergunta>
<numero>11</numero>
<mediaEntidadeEmAvaliacao>4,5</mediaEntidadeEmAvaliacao>
<mediaCursos>4,29</mediaCursos>
<mediaEscolas>4,33</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>90</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>85</percentMediaCursos>
<percentMediaEscolas>86</percentMediaEscolas>
</perguntaStats>
</entry>
<entry>
<string>12</string>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta12.png</tempFile>
<pergunta>O docente cumpriu as regras de avaliação enunciadas na ficha da UC.</pergunta>
<numero>12</numero>
<mediaEntidadeEmAvaliacao>4,41</mediaEntidadeEmAvaliacao>
<mediaCursos>4,31</mediaCursos>
<mediaEscolas>4,4</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>88</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>86</percentMediaCursos>
<percentMediaEscolas>88</percentMediaEscolas>
</perguntaStats>
</entry>
<entry>
<string>6</string>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta6.png</tempFile>
<pergunta>O docente foi pontual.</pergunta>
<numero>6</numero>
<mediaEntidadeEmAvaliacao>3,96</mediaEntidadeEmAvaliacao>
<mediaCursos>4,09</mediaCursos>
<mediaEscolas>4,32</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>79</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>81</percentMediaCursos>
<percentMediaEscolas>86</percentMediaEscolas>
</perguntaStats>
</entry>
<entry>
<string>7</string>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta7.png</tempFile>
<pergunta>O docente apresentou os conteúdos de forma motivadora.</pergunta>
<numero>7</numero>
<mediaEntidadeEmAvaliacao>4,02</mediaEntidadeEmAvaliacao>
<mediaCursos>3,98</mediaCursos>
<mediaEscolas>4,09</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>80</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>79</percentMediaCursos>
<percentMediaEscolas>81</percentMediaEscolas>
</perguntaStats>
</entry>
<entry>
<string>8</string>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta8.png</tempFile>
<pergunta>O docente apresentou os conteúdos com clareza e segurança.</pergunta>
<numero>8</numero>
<mediaEntidadeEmAvaliacao>4,04</mediaEntidadeEmAvaliacao>
<mediaCursos>4,08</mediaCursos>
<mediaEscolas>4,24</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>80</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>81</percentMediaCursos>
<percentMediaEscolas>84</percentMediaEscolas>
</perguntaStats>
</entry>
<entry>
<string>9</string>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta9.png</tempFile>
<pergunta>O docente promoveu a autonomia dos estudantes.</pergunta>
<numero>9</numero>
<mediaEntidadeEmAvaliacao>4,25</mediaEntidadeEmAvaliacao>
<mediaCursos>4,13</mediaCursos>
<mediaEscolas>4,29</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>85</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>82</percentMediaCursos>
<percentMediaEscolas>85</percentMediaEscolas>
</perguntaStats>
</entry>
<entry>
<string>10</string>
<perguntaStats>
<tempFile>/VDATA/BACODATA/tmp/graficoRespostasresposta10.png</tempFile>
<pergunta>O docente promoveu o raciocínio e o espírito crítico dos estudantes.</pergunta>
<numero>10</numero>
<mediaEntidadeEmAvaliacao>4,3</mediaEntidadeEmAvaliacao>
<mediaCursos>4,11</mediaCursos>
<mediaEscolas>4,24</mediaEscolas>
<percentMediaEntidadeEmAvaliacao>86</percentMediaEntidadeEmAvaliacao>
<percentMediaCursos>82</percentMediaCursos>
<percentMediaEscolas>84</percentMediaEscolas>
</perguntaStats>
</entry>
</numeroPerguntaRespostasChart>
</docenteReport>
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/DocenteReport.java
30,7 → 30,17
//Cada cadeira tem as perguntas todas numa lista de PerguntaStats
public ArrayList<UnidadeStats> unidadesStats = new ArrayList<UnidadeStats>();
 
//AVALIACAO DE DESEMPENHO
public double docenteAvaliacaoDesempenhoRMTR;
public double docenteAvaliacaoDesempenhoTR;
public double docenteAvaliacaoDesempenhoMediaPeriodo;
 
public String docenteAvaliacaoDesempenhoRMTRPrint;
public String docenteAvaliacaoDesempenhoTRPrint;
public String docenteAvaliacaoDesempenhoMediaPeriodoPrint;
 
public DataTable docenteAvaliacaoDesempenhoTable;
 
//TOTAIS PARA MEDIAS
public int docentesNosCursos;
public int docentesNasEscolas;
63,6 → 73,226
public ChartWithTitleTemp extremePerguntaAbsolutaDiffAvgMinUnidade;
 
 
public String progressaoAgregadasDocentesVsCurso;
public String progressaoAgregadasUnidadesVsCurso;
 
 
public DataTable getDocenteAvaliacaoDesempenhoTable() {
return docenteAvaliacaoDesempenhoTable;
}
 
public void setDocenteAvaliacaoDesempenhoTable(DataTable docenteAvaliacaoDesempenhoTable) {
this.docenteAvaliacaoDesempenhoTable = docenteAvaliacaoDesempenhoTable;
}
 
public String getDocenteAvaliacaoDesempenhoRMTRPrint() {
return docenteAvaliacaoDesempenhoRMTRPrint;
}
 
public void setDocenteAvaliacaoDesempenhoRMTRPrint(String docenteAvaliacaoDesempenhoRMTRPrint) {
this.docenteAvaliacaoDesempenhoRMTRPrint = docenteAvaliacaoDesempenhoRMTRPrint;
}
 
public String getDocenteAvaliacaoDesempenhoTRPrint() {
return docenteAvaliacaoDesempenhoTRPrint;
}
 
public void setDocenteAvaliacaoDesempenhoTRPrint(String docenteAvaliacaoDesempenhoTRPrint) {
this.docenteAvaliacaoDesempenhoTRPrint = docenteAvaliacaoDesempenhoTRPrint;
}
 
public String getDocenteAvaliacaoDesempenhoMediaPeriodoPrint() {
return docenteAvaliacaoDesempenhoMediaPeriodoPrint;
}
 
public void setDocenteAvaliacaoDesempenhoMediaPeriodoPrint(String docenteAvaliacaoDesempenhoMediaPeriodoPrint) {
this.docenteAvaliacaoDesempenhoMediaPeriodoPrint = docenteAvaliacaoDesempenhoMediaPeriodoPrint;
}
 
public double getDocenteAvaliacaoDesempenhoRMTR() {
return docenteAvaliacaoDesempenhoRMTR;
}
 
public void setDocenteAvaliacaoDesempenhoRMTR(double docenteAvaliacaoDesempenhoRMTR) {
this.docenteAvaliacaoDesempenhoRMTR = docenteAvaliacaoDesempenhoRMTR;
}
 
public double getDocenteAvaliacaoDesempenhoTR() {
return docenteAvaliacaoDesempenhoTR;
}
 
public void setDocenteAvaliacaoDesempenhoTR(double docenteAvaliacaoDesempenhoTR) {
this.docenteAvaliacaoDesempenhoTR = docenteAvaliacaoDesempenhoTR;
}
 
public double getDocenteAvaliacaoDesempenhoMediaPeriodo() {
return docenteAvaliacaoDesempenhoMediaPeriodo;
}
 
public void setDocenteAvaliacaoDesempenhoMediaPeriodo(double docenteAvaliacaoDesempenhoMediaPeriodo) {
this.docenteAvaliacaoDesempenhoMediaPeriodo = docenteAvaliacaoDesempenhoMediaPeriodo;
}
 
public String getProgressaoAgregadasDocentesVsCurso() {
return progressaoAgregadasDocentesVsCurso;
}
 
public void setProgressaoAgregadasDocentesVsCurso(String progressaoAgregadasDocentesVsCurso) {
this.progressaoAgregadasDocentesVsCurso = progressaoAgregadasDocentesVsCurso;
}
 
public String getProgressaoAgregadasUnidadesVsCurso() {
return progressaoAgregadasUnidadesVsCurso;
}
 
public void setProgressaoAgregadasUnidadesVsCurso(String progressaoAgregadasUnidadesVsCurso) {
this.progressaoAgregadasUnidadesVsCurso = progressaoAgregadasUnidadesVsCurso;
}
 
public ChartWithTitleTemp getExtremePerguntaAbsolutaAvgMaxDocente() {
return extremePerguntaAbsolutaAvgMaxDocente;
}
 
public void setExtremePerguntaAbsolutaAvgMaxDocente(ChartWithTitleTemp extremePerguntaAbsolutaAvgMaxDocente) {
this.extremePerguntaAbsolutaAvgMaxDocente = extremePerguntaAbsolutaAvgMaxDocente;
}
 
public ChartWithTitleTemp getExtremePerguntaAbsolutaAvgMinDocente() {
return extremePerguntaAbsolutaAvgMinDocente;
}
 
public void setExtremePerguntaAbsolutaAvgMinDocente(ChartWithTitleTemp extremePerguntaAbsolutaAvgMinDocente) {
this.extremePerguntaAbsolutaAvgMinDocente = extremePerguntaAbsolutaAvgMinDocente;
}
 
public ChartWithTitleTemp getExtremePerguntaAbsolutaAvgMaxUnidade() {
return extremePerguntaAbsolutaAvgMaxUnidade;
}
 
public void setExtremePerguntaAbsolutaAvgMaxUnidade(ChartWithTitleTemp extremePerguntaAbsolutaAvgMaxUnidade) {
this.extremePerguntaAbsolutaAvgMaxUnidade = extremePerguntaAbsolutaAvgMaxUnidade;
}
 
public ChartWithTitleTemp getExtremePerguntaAbsolutaAvgMinUnidade() {
return extremePerguntaAbsolutaAvgMinUnidade;
}
 
public void setExtremePerguntaAbsolutaAvgMinUnidade(ChartWithTitleTemp extremePerguntaAbsolutaAvgMinUnidade) {
this.extremePerguntaAbsolutaAvgMinUnidade = extremePerguntaAbsolutaAvgMinUnidade;
}
 
public ChartWithTitleTemp getExtremePerguntaAgregadaAvgMaxDocente() {
return extremePerguntaAgregadaAvgMaxDocente;
}
 
public void setExtremePerguntaAgregadaAvgMaxDocente(ChartWithTitleTemp extremePerguntaAgregadaAvgMaxDocente) {
this.extremePerguntaAgregadaAvgMaxDocente = extremePerguntaAgregadaAvgMaxDocente;
}
 
public ChartWithTitleTemp getExtremePerguntaAgregadaAvgMinDocente() {
return extremePerguntaAgregadaAvgMinDocente;
}
 
public void setExtremePerguntaAgregadaAvgMinDocente(ChartWithTitleTemp extremePerguntaAgregadaAvgMinDocente) {
this.extremePerguntaAgregadaAvgMinDocente = extremePerguntaAgregadaAvgMinDocente;
}
 
public ChartWithTitleTemp getExtremePerguntaAgregadaAvgMaxUnidade() {
return extremePerguntaAgregadaAvgMaxUnidade;
}
 
public void setExtremePerguntaAgregadaAvgMaxUnidade(ChartWithTitleTemp extremePerguntaAgregadaAvgMaxUnidade) {
this.extremePerguntaAgregadaAvgMaxUnidade = extremePerguntaAgregadaAvgMaxUnidade;
}
 
public ChartWithTitleTemp getExtremePerguntaAgregadaAvgMinUnidade() {
return extremePerguntaAgregadaAvgMinUnidade;
}
 
public void setExtremePerguntaAgregadaAvgMinUnidade(ChartWithTitleTemp extremePerguntaAgregadaAvgMinUnidade) {
this.extremePerguntaAgregadaAvgMinUnidade = extremePerguntaAgregadaAvgMinUnidade;
}
 
public ChartWithTitleTemp getExtremeUnitAvgMaxDocente() {
return extremeUnitAvgMaxDocente;
}
 
public void setExtremeUnitAvgMaxDocente(ChartWithTitleTemp extremeUnitAvgMaxDocente) {
this.extremeUnitAvgMaxDocente = extremeUnitAvgMaxDocente;
}
 
public ChartWithTitleTemp getExtremeUnitAvgMinDocente() {
return extremeUnitAvgMinDocente;
}
 
public void setExtremeUnitAvgMinDocente(ChartWithTitleTemp extremeUnitAvgMinDocente) {
this.extremeUnitAvgMinDocente = extremeUnitAvgMinDocente;
}
 
public ChartWithTitleTemp getExtremeUnitAvgMaxUnidade() {
return extremeUnitAvgMaxUnidade;
}
 
public void setExtremeUnitAvgMaxUnidade(ChartWithTitleTemp extremeUnitAvgMaxUnidade) {
this.extremeUnitAvgMaxUnidade = extremeUnitAvgMaxUnidade;
}
 
public ChartWithTitleTemp getExtremeUnitAvgMinUnidade() {
return extremeUnitAvgMinUnidade;
}
 
public void setExtremeUnitAvgMinUnidade(ChartWithTitleTemp extremeUnitAvgMinUnidade) {
this.extremeUnitAvgMinUnidade = extremeUnitAvgMinUnidade;
}
 
public ChartWithTitleTemp getExtremeParticipacaoMax() {
return extremeParticipacaoMax;
}
 
public void setExtremeParticipacaoMax(ChartWithTitleTemp extremeParticipacaoMax) {
this.extremeParticipacaoMax = extremeParticipacaoMax;
}
 
public ChartWithTitleTemp getExtremeParticipacaoMin() {
return extremeParticipacaoMin;
}
 
public void setExtremeParticipacaoMin(ChartWithTitleTemp extremeParticipacaoMin) {
this.extremeParticipacaoMin = extremeParticipacaoMin;
}
 
public ChartWithTitleTemp getExtremePerguntaAbsolutaDiffAvgMaxDocente() {
return extremePerguntaAbsolutaDiffAvgMaxDocente;
}
 
public void setExtremePerguntaAbsolutaDiffAvgMaxDocente(ChartWithTitleTemp extremePerguntaAbsolutaDiffAvgMaxDocente) {
this.extremePerguntaAbsolutaDiffAvgMaxDocente = extremePerguntaAbsolutaDiffAvgMaxDocente;
}
 
public ChartWithTitleTemp getExtremePerguntaAbsolutaDiffAvgMinDocente() {
return extremePerguntaAbsolutaDiffAvgMinDocente;
}
 
public void setExtremePerguntaAbsolutaDiffAvgMinDocente(ChartWithTitleTemp extremePerguntaAbsolutaDiffAvgMinDocente) {
this.extremePerguntaAbsolutaDiffAvgMinDocente = extremePerguntaAbsolutaDiffAvgMinDocente;
}
 
public ChartWithTitleTemp getExtremePerguntaAbsolutaDiffAvgMaxUnidade() {
return extremePerguntaAbsolutaDiffAvgMaxUnidade;
}
 
public void setExtremePerguntaAbsolutaDiffAvgMaxUnidade(ChartWithTitleTemp extremePerguntaAbsolutaDiffAvgMaxUnidade) {
this.extremePerguntaAbsolutaDiffAvgMaxUnidade = extremePerguntaAbsolutaDiffAvgMaxUnidade;
}
 
public ChartWithTitleTemp getExtremePerguntaAbsolutaDiffAvgMinUnidade() {
return extremePerguntaAbsolutaDiffAvgMinUnidade;
}
 
public void setExtremePerguntaAbsolutaDiffAvgMinUnidade(ChartWithTitleTemp extremePerguntaAbsolutaDiffAvgMinUnidade) {
this.extremePerguntaAbsolutaDiffAvgMinUnidade = extremePerguntaAbsolutaDiffAvgMinUnidade;
}
 
public MediasGrupo mediasGrupoDocenteAgregada()
{
return respostasAgregadasGrupoDocente.getMediasGrupo();
505,7 → 735,7
{
List<ParticipacaoUnidade> participacoes = getParticipacaoUnidadesSortedPercentagem(report);
if(participacoes.size() > 0)
return participacoes.get(0);
return participacoes.get(participacoes.size()-1);
return null;
}
 
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/queries/PerguntasGrupoQueryDao.java
New file
0,0 → 1,423
package pt.estgp.estgweb.services.questionarios.pedagogico.queries;
 
import jomm.dao.impl.AbstractDao;
import org.hibernate.Query;
import pt.estgp.estgweb.domain.OlapStarFactQuestionarioAnswer;
import pt.estgp.estgweb.services.questionarios.pedagogico.DocenteReport;
import pt.estgp.estgweb.services.questionarios.pedagogico.DocenteReportGenerator;
import pt.estgp.estgweb.services.questionarios.pedagogico.QuestionariosReport;
import pt.estgp.estgweb.services.questionarios.utils.ChartBuilderUtil;
import pt.estgp.estgweb.services.questionarios.utils.DataTable;
import pt.estgp.estgweb.services.questionarios.utils.MediasGrupo;
 
import java.text.DecimalFormat;
import java.util.List;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class PerguntasGrupoQueryDao
{
public static final String GRUPO_DOCENTE_CODE_PERGUNTAS = "Docente";
public static final String GRUPO_UNIDADE_CODE_PERGUNTAS = "Unidade";
 
 
public static void getMediasGrupo(String teacherCode,
String anoLectivo,
DocenteReport docenteReport,
List<String> codigosCurso,
List<String> codigosEscola,
String grupo,
MediasGrupo medias
,String[] periodos
,String[] degrees)
{
Query query;
 
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media," +
"std(fc.intResposta) as desvio," +
"count(fc.id) as total " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapCurso curso " +
 
"where " +
"prgp.grupoCode = :grupoCode " +
"and quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges "
+periodosQuery
+degreesQuery
);
query.setString("grupoCode",grupo);
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
 
DataTable mediasGlobaisTable = new DataTable();
 
 
DataTable.Row header = mediasGlobaisTable.addRowHeader();
header.addColTextCenter("Resps.");
header.addColTextCenter("Média");
header.addColTextCenter("Desvio Padrão");
header.addColTextCenter("95% Resps no intervalo");
header.addColTextCenter("Média dos Cursos em que Lecciona");
header.addColTextCenter("Média das Escolas em que Lecciona");
 
 
Object[] result = (Object[]) query.uniqueResult();
 
 
Double mediaGrupo = (Double) result[0];
Double desvio = (Double) result[1];
long total = docenteReport.getInquiridosComResposta();
double min = mediaGrupo - (desvio*2);
double max = mediaGrupo + (desvio*2);
if(max > 5) max = 5;
DecimalFormat df = new DecimalFormat("#.##");
DecimalFormat df2 = new DecimalFormat("#.#");
 
DataTable.Row row = mediasGlobaisTable.addRowNormal();
row.addColTextCenter(""+total);
row.addColPercentageDefinedCenter(df.format(mediaGrupo),"" + ((int)((mediaGrupo/5.0)*100.0)), true);
row.addColTextCenter(df.format(desvio));
row.addColTextCenter("[" + df2.format(min) + "<->" + df2.format(max) + "]");
 
 
double mediaCursos = QueryDaoUtils.getMediaCursos(codigosCurso, anoLectivo, grupo, periodos, degrees);
double mediaEscolas = QueryDaoUtils.getMediaEscolas(codigosEscola, anoLectivo, grupo, periodos, degrees);
 
 
row.addColPercentageDefinedCenter(df.format(mediaCursos),"" + ((int)((mediaCursos/5.0)*100.0)),true);
row.addColPercentageDefinedCenter(df.format(mediaEscolas),"" + ((int)((mediaEscolas/5.0)*100.0)),true);
 
 
 
medias.setAvaliacaoMediaArredondada((int) DocenteReportGenerator.round(mediaGrupo, 0));
medias.setAvaliacaoMedia(mediaGrupo);
medias.setDesvioPadrao(desvio);
medias.setMediaGlobalNasEscolas(mediaEscolas);
medias.setMediaGlobalNosCursos(mediaCursos);
 
medias.setMediasGlobaisTable(mediasGlobaisTable);
 
if(medias.getAvaliacaoMediaArredondada() == 1)
medias.setColorMedia(ChartBuilderUtil.COLOR_1_HEX);
else if(medias.getAvaliacaoMediaArredondada() == 2)
medias.setColorMedia(ChartBuilderUtil.COLOR_2_HEX);
else if(medias.getAvaliacaoMediaArredondada() == 3)
medias.setColorMedia(ChartBuilderUtil.COLOR_3_HEX);
else if(medias.getAvaliacaoMediaArredondada() == 4)
medias.setColorMedia(ChartBuilderUtil.COLOR_4_HEX);
else if(medias.getAvaliacaoMediaArredondada() == 5)
medias.setColorMedia(ChartBuilderUtil.COLOR_5_HEX);
}
 
public static MediaGlobalCursoPergunta getMediaCursoPergunta(QuestionariosReport report,String codigoCurso, String anoLectivo, String numeroPergunta,String[] periodos,String[] degrees)
{
 
String key = codigoCurso + "-" + anoLectivo + "-" + numeroPergunta;
if(report.getMediasPerguntaNoCurso().get(key) != null)
return report.getMediasPerguntaNoCurso().get(key);
 
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees,"curso",true);
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos,"quest",true);
 
 
MediaGlobalCursoPergunta mediaGlobalCursoPergunta = new MediaGlobalCursoPergunta();
report.getMediasPerguntaNoCurso().put(key,mediaGlobalCursoPergunta);
 
Query query;//*****CRIAR REPOSTAS DO GRUPO DOCENTE*****///
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media," +
"std(fc.intResposta) as desvio," +
"count(fc.id) as total, " +
"avg(fc.tempoLevado) as tempoMedioLevado," +
"prgp.pergunta, " +
"curso.nomeCurso, " +
"count(distinct unit.codigo) " +
 
 
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
"JOIN fc.olapUnidade unit " +
 
"where " +
" curso.codigoCurso = :codigoCurso " +
//"and quest.semestre = :semestre " +
"and quest.ano = :ano " +
"and prgp.numero = :numero " +
degreesQuery +
periodosQuery);
 
 
query.setString("codigoCurso",codigoCurso);
//query.setString("semestre",semestre);
query.setString("ano",anoLectivo);
query.setString("numero",numeroPergunta);
 
Object[] result = (Object[]) query.uniqueResult();
 
 
mediaGlobalCursoPergunta.numeroPergunta = numeroPergunta;
mediaGlobalCursoPergunta.pergunta = (String) result[4];
mediaGlobalCursoPergunta.codigoCurso = codigoCurso;
mediaGlobalCursoPergunta.nomeCurso = (String) result[5];
mediaGlobalCursoPergunta.media = (Double) result[0];
mediaGlobalCursoPergunta.desvio = (Double) result[1];
mediaGlobalCursoPergunta.total = ((Long) result[2]).intValue();
mediaGlobalCursoPergunta.tempoLevadoMedia = (Double) result[3];
mediaGlobalCursoPergunta.numeroUnidades = ((Long) result[6]).intValue();
 
 
return mediaGlobalCursoPergunta;
}
 
public static MediaGlobalCursoGrupo getMediaCursoGrupo(QuestionariosReport report,String codigoCurso, String anoLectivo, String grupo,
String[] periodos ,String[] degrees)
{
 
String key = codigoCurso + "-" + anoLectivo + "-" + grupo;
if(report.getMediasGrupoNoCurso().get(key) != null)
return report.getMediasGrupoNoCurso().get(key);
 
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees,"curso",true);
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos,"quest",true);
 
 
MediaGlobalCursoGrupo mediaGlobalCursoGrupo = new MediaGlobalCursoGrupo();
report.getMediasGrupoNoCurso().put(key,mediaGlobalCursoGrupo);
 
Query query;//*****CRIAR REPOSTAS DO GRUPO DOCENTE*****///
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media," +
"std(fc.intResposta) as desvio," +
"count(fc.id) as total, " +
"avg(fc.tempoLevado) as tempoMedioLevado," +
"curso.nomeCurso, " +
"count(distinct unit.codigo) " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
"JOIN fc.olapUnidade unit " +
 
"where " +
" curso.codigoCurso = :codigoCurso " +
//"and quest.semestre = :semestre " +
"and quest.ano = :ano " +
"and prgp.grupo = :grupo " +
degreesQuery +
periodosQuery);
 
 
query.setString("codigoCurso",codigoCurso);
//query.setString("semestre",semestre);
query.setString("ano",anoLectivo);
query.setString("grupo",grupo);
 
Object[] result = (Object[]) query.uniqueResult();
 
 
mediaGlobalCursoGrupo.grupo = grupo;
mediaGlobalCursoGrupo.codigoCurso = codigoCurso;
mediaGlobalCursoGrupo.nomeCurso = (String) result[4];
mediaGlobalCursoGrupo.media = (Double) result[0];
mediaGlobalCursoGrupo.desvio = (Double) result[1];
mediaGlobalCursoGrupo.total = ((Long) result[2]).intValue();
mediaGlobalCursoGrupo.tempoLevadoMedia = (Double) result[3];
mediaGlobalCursoGrupo.numeroUnidades = ((Long) result[5]).intValue();
 
 
return mediaGlobalCursoGrupo;
}
public static MediaGlobalEscolaPergunta getMediaEscolaPergunta(QuestionariosReport report,String codigoEscola, String anoLectivo, String numeroPergunta,
String[] periodos ,String[] degrees)
{
String key = codigoEscola + "-" + anoLectivo + "-" + numeroPergunta;
if(report.getMediasGrupoNaEscola().get(key) != null)
return report.getMediasPerguntaNaEscola().get(key);
 
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees,"curso",true);
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos,"quest",true);
 
 
MediaGlobalEscolaPergunta mediaGlobalEscolaPergunta = new MediaGlobalEscolaPergunta();
report.getMediasPerguntaNaEscola().put(key,mediaGlobalEscolaPergunta);
 
Query query;//*****CRIAR REPOSTAS DO GRUPO DOCENTE*****///
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media," +
"std(fc.intResposta) as desvio," +
"count(fc.id) as total, " +
"avg(fc.tempoLevado) as tempoMedioLevado," +
"curso.nomeInstituicao, " +
"prgp.pergunta," +
"count(distinct unit.codigo) " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
"JOIN fc.olapUnidade unit " +
 
"where " +
" curso.codigoInstituicao = :codigoInstituicao " +
//"and quest.semestre = :semestre " +
"and quest.ano = :ano " +
"and prgp.numero = :numero " +
degreesQuery +
periodosQuery);
 
 
query.setString("codigoInstituicao",codigoEscola);
//query.setString("semestre",semestre);
query.setString("ano",anoLectivo);
query.setString("numero",numeroPergunta);
 
Object[] result = (Object[]) query.uniqueResult();
 
 
mediaGlobalEscolaPergunta.numeroPergunta = numeroPergunta;
mediaGlobalEscolaPergunta.pergunta = (String) result[5];
mediaGlobalEscolaPergunta.codigoEscola = codigoEscola;
mediaGlobalEscolaPergunta.nomeDaEscola = (String) result[4];
mediaGlobalEscolaPergunta.media = (Double) result[0];
mediaGlobalEscolaPergunta.desvio = (Double) result[1];
mediaGlobalEscolaPergunta.total = ((Long) result[2]).intValue();
mediaGlobalEscolaPergunta.tempoLevadoMedia = (Double) result[3];
mediaGlobalEscolaPergunta.numeroUnidades = ((Long) result[6]).intValue();
 
 
return mediaGlobalEscolaPergunta;
}
 
public static MediaGlobalEscolaGrupo getMediaEscolaGrupo(QuestionariosReport report,String codigoEscola, String anoLectivo, String grupo,
String[] periodos ,String[] degrees)
{
String key = codigoEscola + "-" + anoLectivo + "-" + grupo;
if(report.getMediasGrupoNaEscola().get(key) != null)
return report.getMediasGrupoNaEscola().get(key);
 
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees,"curso",true);
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos,"quest",true);
 
 
MediaGlobalEscolaGrupo mediaGlobalEscolaGrupo = new MediaGlobalEscolaGrupo();
report.getMediasGrupoNaEscola().put(key,mediaGlobalEscolaGrupo);
 
Query query;//*****CRIAR REPOSTAS DO GRUPO DOCENTE*****///
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media," +
"std(fc.intResposta) as desvio," +
"count(fc.id) as total, " +
"avg(fc.tempoLevado) as tempoMedioLevado," +
"curso.nomeInstituicao, " +
"count(distinct unit.codigo) " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
"JOIN fc.olapUnidade unit " +
 
"where " +
" curso.codigoInstituicao = :codigoInstituicao " +
//"and quest.semestre = :semestre " +
"and quest.ano = :ano " +
"and prgp.grupo = :grupo " +
degreesQuery +
periodosQuery);
 
 
query.setString("codigoInstituicao",codigoEscola);
//query.setString("semestre",semestre);
query.setString("ano",anoLectivo);
query.setString("grupo",grupo);
 
Object[] result = (Object[]) query.uniqueResult();
 
 
mediaGlobalEscolaGrupo.grupo = grupo;
mediaGlobalEscolaGrupo.codigoEscola = codigoEscola;
mediaGlobalEscolaGrupo.nomeDaEscola = (String) result[4];
mediaGlobalEscolaGrupo.media = (Double) result[0];
mediaGlobalEscolaGrupo.desvio = (Double) result[1];
mediaGlobalEscolaGrupo.total = ((Long) result[2]).intValue();
mediaGlobalEscolaGrupo.tempoLevadoMedia = (Double) result[3];
mediaGlobalEscolaGrupo.numeroUnidades = ((Long) result[5]).intValue();
 
return mediaGlobalEscolaGrupo;
}
 
 
 
 
 
public static class MediaGlobalCurso extends MediaGlobalResult
{
public String nomeCurso;
public String codigoCurso;
public int numeroUnidades;
}
 
public static class MediaGlobalEscola extends MediaGlobalResult
{
public String nomeDaEscola;
public String codigoEscola;
public int numeroUnidades;
}
 
public static class MediaGlobalEscolaPergunta extends MediaGlobalEscola
{
public String numeroPergunta;
public String pergunta;
}
 
public static class MediaGlobalEscolaGrupo extends MediaGlobalEscola
{
public String grupo;
}
 
public static class MediaGlobalCursoPergunta extends MediaGlobalCurso
{
public String numeroPergunta;
public String pergunta;
}
 
public static class MediaGlobalCursoGrupo extends MediaGlobalCurso
{
public String grupo;
}
 
public static class MediaGlobalResult
{
public double media;
public double desvio;
public int total;
public double tempoLevadoMedia;
}
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/queries/QuestionariosQueryDao.java
New file
0,0 → 1,163
package pt.estgp.estgweb.services.questionarios.pedagogico.queries;
 
import jomm.dao.impl.AbstractDao;
import org.hibernate.Query;
import pt.estgp.estgweb.domain.OlapStarFactQuestionario;
import pt.estgp.estgweb.services.questionarios.pedagogico.QuestionariosReport;
import pt.estgp.estgweb.services.questionarios.pedagogico.DocenteReport;
import pt.estgp.estgweb.services.questionarios.utils.ChartBuilderUtil;
import pt.estgp.estgweb.services.questionarios.utils.DataTable;
 
import java.util.List;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class QuestionariosQueryDao {
public static void countQuestionariosRespostas(String teacherCode, String anoLectivo, DocenteReport docenteReport, String[] periodos,String[] degrees) {
 
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
 
Query query;
Object result;
 
 
//Questionários Respondidos
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"sum(case when fc.respondido = true then 1 else 0 end) as respondido," +
"sum(case when fc.respondido = false then 1 else 0 end) as naoRespondido " +
"FROM " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where quest.ano = :ano and " +
"tipo.codigoSiges = :codigoSiges " +
periodosQuery +
degreesQuery
);
 
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
Object[] result2 = (Object[]) query.uniqueResult();
 
docenteReport.questionariosReqRespondidos = ((Long) result2[0]).intValue();
docenteReport.questionariosReqNaoRespondidos = ((Long) result2[1]).intValue();
docenteReport.questionariosReqTotal = docenteReport.questionariosReqRespondidos + docenteReport.questionariosReqNaoRespondidos;
docenteReport.questionariosReqRespondidosPercentagem = (int)(((float)docenteReport.questionariosReqRespondidos/(float)docenteReport.questionariosReqTotal)*100.f);
docenteReport.questionariosReqRespondidosPercentagemColor = DataTable.getColorGradientForPercentage(((double)docenteReport.questionariosReqRespondidosPercentagem)/100.0);
//docenteReport.questionariosReqRespondidosPercentagem =53;
}
 
public static void createDataTableLocalidades(QuestionariosReport docenteReport,String teacherCode,String anoLectivo, String[] periodos,String[] degrees,
String targetPopulationTitle) {
 
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
 
Query query = AbstractDao.getCurrentSession().createQuery(
"select count(distinct user.sigesCode), user.distrito from " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where " +
"quest.ano = :ano and tipo.codigoSiges = :codigoSiges and fc.respondido = true " +
periodosQuery +
degreesQuery +
" group by user.distrito " +
"order by count(distinct user.sigesCode) desc");
query.setMaxResults(4);
 
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
 
List<Object[]> localidades = query.list();
 
DataTable tableLocalidades = new DataTable();
docenteReport.setTabelaDistritos(tableLocalidades);
 
 
DataTable.Row header = tableLocalidades.addRowHeader();
header.addColTextCenter("Distrito");
header.addColTextCenter(targetPopulationTitle);
header.addColTextCenter("%");
 
int contados = 0;
for(int i = 0; i < 3 && i < localidades.size(); i++)
{
DataTable.Row rowDistrito = tableLocalidades.addRowNormal();
Long num = (Long)localidades.get(i)[0];
contados += num;
String distrit = (String)localidades.get(i)[1];
if(distrit!=null)
rowDistrito.addColTextCenter(distrit);
if(num!=null)
rowDistrito.addColTextCenter("" + num);
int percentage = (int)(((float)(num) / ((float)docenteReport.getInquiridosComResposta()) * 100.0));
rowDistrito.addColPercentageCenter("" + percentage);
}
 
//int contagemOutros = 0;
/*for(int i = 3; i < localidades.size(); i++)
{
Long outro = (Long)localidades.get(i)[0];
if(outro != null)
contagemOutros += outro;
}*/
int contagemOutros = docenteReport.getInquiridosComResposta() - contados;
DataTable.Row rowOutros = tableLocalidades.addRowNormal();
rowOutros.addColTextCenter("Outros");
rowOutros.addColTextCenter(""+contagemOutros);
int percentage = (int)(((float)(contagemOutros) / ((float)docenteReport.getInquiridosComResposta()) * 100.0));
rowOutros.addColPercentageCenter("" + percentage);
 
 
DataTable.Row footer = tableLocalidades.addRowFooter();
footer.addColTextCenter("Total");
footer.addColTextCenter("" + docenteReport.getInquiridosComResposta());
footer.addColPercentageCenter("100");
 
 
}
 
public static void createDataTableIdades(QuestionariosReport questionariosReport,String targetPopulationTitle)
{
DataTable tableIdades = new DataTable();
questionariosReport.setTabelaIdades(tableIdades);
 
DataTable.Row header = tableIdades.addRowHeader();
header.addColTextCenter("Idade");
header.addColTextCenter(targetPopulationTitle);
header.addColTextCenter("%");
 
DataTable.Row row17_22 = tableIdades.addRowNormal();
row17_22.addColTextCenter("17 aos 22");
row17_22.addColTextCenter("" + questionariosReport.idade17_22);
row17_22.addColPercentageCenter("" + questionariosReport.idade17_22Percent);
 
DataTable.Row row23_25 = tableIdades.addRowNormal();
row23_25.addColTextCenter("23 aos 25");
row23_25.addColTextCenter("" + questionariosReport.idade23_25);
row23_25.addColPercentageCenter("" + questionariosReport.idade23_25Percent);
 
DataTable.Row row26_30 = tableIdades.addRowNormal();
row26_30.addColTextCenter("26 aos 30");
row26_30.addColTextCenter("" + questionariosReport.idade26_30);
row26_30.addColPercentageCenter("" + questionariosReport.idade26_30Percent);
 
DataTable.Row rowM30 = tableIdades.addRowNormal();
rowM30.addColTextCenter("> 30");
rowM30.addColTextCenter("" + questionariosReport.idadeM30);
rowM30.addColPercentageCenter("" + questionariosReport.idadeM30Percent);
 
DataTable.Row footer = tableIdades.addRowFooter();
footer.addColTextCenter("Total");
footer.addColTextCenter("" + questionariosReport.getInquiridosComResposta());
footer.addColPercentageCenter("100");
 
//return tableIdades;
}
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/queries/UnidadesQueryDao.java
New file
0,0 → 1,498
package pt.estgp.estgweb.services.questionarios.pedagogico.queries;
 
import jomm.dao.impl.AbstractDao;
import org.apache.log4j.Logger;
import org.hibernate.Query;
import pt.estgp.estgweb.domain.OlapStarFactQuestionario;
import pt.estgp.estgweb.domain.OlapStarFactQuestionarioAnswer;
import pt.estgp.estgweb.services.questionarios.pedagogico.DocenteReport;
import pt.estgp.estgweb.services.questionarios.pedagogico.DocenteReportGenerator;
import pt.estgp.estgweb.services.questionarios.pedagogico.QuestionariosAlunosReport;
import pt.estgp.estgweb.services.questionarios.utils.*;
 
import java.text.DecimalFormat;
import java.util.List;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class UnidadesQueryDao
{
 
private static final Logger logger = Logger.getLogger(UnidadesQueryDao.class);
 
public static void getMediasCadeira(String teacherCode,
String anoLectivo,
DocenteReport docenteReport,
String grupo,
MediasGrupo medias,
String codigoUnidade,
String codigoCurso,
String semestre
)
{
Query query;
 
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media," +
"std(fc.intResposta) as desvio," +
"count(fc.id) as total " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapCurso curso " +
"JOIN fc.olapUnidade unit " +
 
"where " +
"prgp.grupoCode = :grupoCode " +
"and quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges " +
"and unit.codigo = :codigoUnidade " +
"and curso.codigoCurso = :codigoCurso " +
"and quest.semestre = :semestre "
);
query.setString("grupoCode",grupo);
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
query.setString("semestre",semestre);
query.setString("codigoUnidade",codigoUnidade);
query.setString("codigoCurso",codigoCurso);
 
DataTable mediasGlobaisTable = new DataTable();
 
 
DataTable.Row header = mediasGlobaisTable.addRowHeader();
header.addColTextCenter("Resps.");
header.addColTextCenter("Média");
header.addColTextCenter("Desvio Padrão");
header.addColTextCenter("95% Resps no intervalo");
 
 
Object[] result = (Object[]) query.uniqueResult();
 
 
Double mediaGrupo = (Double) result[0];
Double desvio = (Double) result[1];
long total = docenteReport.getInquiridosComResposta();
double min = mediaGrupo - (desvio*2);
double max = mediaGrupo + (desvio*2);
if(max > 5) max = 5;
DecimalFormat df = new DecimalFormat("#.##");
DecimalFormat df2 = new DecimalFormat("#.#");
 
DataTable.Row row = mediasGlobaisTable.addRowNormal();
row.addColTextCenter(""+total);
row.addColPercentageDefinedCenter(df.format(mediaGrupo),"" + ((int)((mediaGrupo/5.0)*100.0)), true);
row.addColTextCenter(df.format(desvio));
row.addColTextCenter("[" + df2.format(min) + "<->" + df2.format(max) + "]");
 
 
 
medias.setAvaliacaoMediaArredondada((int) DocenteReportGenerator.round(mediaGrupo, 0));
medias.setAvaliacaoMedia(mediaGrupo);
medias.setDesvioPadrao(desvio);
medias.setMediasGlobaisTable(mediasGlobaisTable);
 
if(medias.getAvaliacaoMediaArredondada() == 1)
medias.setColorMedia(ChartBuilderUtil.COLOR_1_HEX);
else if(medias.getAvaliacaoMediaArredondada() == 2)
medias.setColorMedia(ChartBuilderUtil.COLOR_2_HEX);
else if(medias.getAvaliacaoMediaArredondada() == 3)
medias.setColorMedia(ChartBuilderUtil.COLOR_3_HEX);
else if(medias.getAvaliacaoMediaArredondada() == 4)
medias.setColorMedia(ChartBuilderUtil.COLOR_4_HEX);
else if(medias.getAvaliacaoMediaArredondada() == 5)
medias.setColorMedia(ChartBuilderUtil.COLOR_5_HEX);
}
 
/**
* Metodo que inicia o processamento das unidades curriculares
* @param teacherCode
* @param anoLectivo
* @param docenteReport
* @param tempoLevadoMinimo
* @param periodos
* @param degrees
*/
public static void criarTabelasCadeiras(String teacherCode, String anoLectivo, DocenteReport docenteReport, int tempoLevadoMinimo,
String[] periodos, String[] degrees)
{
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
 
Query query = AbstractDao.getCurrentSession().createQuery(
"select unit.nome, " +
"unit.codigo, " +
"quest.semestre, " +
"curso.codigoCurso, " +
"curso.nomeCurso, " +
"curso.codigoInstituicao, " +
"curso.nomeInstituicao, " +
"sum(case when fc.respondido = true then 1 else 0 end) as respondido, " +
"sum(case when fc.respondido = false then 1 else 0 end) as naoRespondido, " +
"count(user.sigesCode) " +
 
"from " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapCurso curso " +
"JOIN fc.olapUnidade unit " +
"JOIN fc.olapPerfilUser user " +
"where " +
"quest.ano = :ano and " +
"tipo.codigoSiges = :codigoSiges " +
periodosQuery +
degreesQuery +
" group by unit.codigo, quest.semestre, curso.codigoCurso");
 
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
List<Object[]> cadeiras = query.list();
for(Object[] cadeira : cadeiras)
{
String nomeUnidade = (String) cadeira[0];
String codigoUnidade = (String) cadeira[1];
String semestreUnidade = (String) cadeira[2];
String codigoCurso = (String) cadeira[3];
String nomeCurso = (String) cadeira[4];
String codigoInstituicao = (String) cadeira[5];
String nomeInstituicao = (String) cadeira[6];
Long respostas = (Long) cadeira[7];
Long inscritos = (Long) cadeira[9];
 
 
logger.info("Encontrada cadeira: " + nomeUnidade + " de " + nomeCurso + " (" + codigoUnidade + ";" + semestreUnidade + ";" + codigoCurso + ")");
UnidadeStats.UnidadeStatsGrupo dataDocente = criarTabelasRespostasCadeira(teacherCode,anoLectivo,docenteReport,tempoLevadoMinimo, PerguntasGrupoQueryDao.GRUPO_DOCENTE_CODE_PERGUNTAS,
codigoUnidade,codigoCurso,semestreUnidade,codigoInstituicao,periodos,degrees);
 
UnidadeStats.UnidadeStatsGrupo dataUnidade = criarTabelasRespostasCadeira(teacherCode,anoLectivo,docenteReport,tempoLevadoMinimo, PerguntasGrupoQueryDao.GRUPO_UNIDADE_CODE_PERGUNTAS,
codigoUnidade,codigoCurso,semestreUnidade,codigoInstituicao,periodos,degrees);
UnidadeStats statsUnidade = new UnidadeStats();
statsUnidade.setNomeCurso(nomeCurso);
statsUnidade.setNomeUnidade(nomeUnidade);
statsUnidade.setSemestre(semestreUnidade);
statsUnidade.setCodigoCurso(codigoCurso);
statsUnidade.setCodigoUnidade(codigoUnidade);
statsUnidade.setNomeEscola(nomeInstituicao);
statsUnidade.setCodigoEscola(codigoInstituicao);
statsUnidade.setInscritos(inscritos.intValue());
statsUnidade.setRespostas(respostas.intValue());
 
statsUnidade.setUnidadeStatsGrupoDocente(dataDocente);
statsUnidade.setUnidadeStatsGrupoUnidade(dataUnidade);
docenteReport.getUnidadesStats().add(statsUnidade);
}
}
 
 
/**
* Gera um gráfico com todas as respostas agregadas por questao para um professor
*
* Gera as medias por pergunta em cada cadeira e as medias dos seu curso e
* da sua escola
* @param teacherCode
* @param anoLectivo
* @param docenteReport
*/
public static UnidadeStats.UnidadeStatsGrupo criarTabelasRespostasCadeira(String teacherCode,
String anoLectivo,
DocenteReport docenteReport,
double tempoMinimo,
String grupo,
String codigoUnidade,
String codigoCurso,
String semestre,
String codigoInstituicao,
String[] periodos,
String[] degrees
 
) {
 
 
 
UnidadeStats.UnidadeStatsGrupo unidadeData = new UnidadeStats.UnidadeStatsGrupo(grupo);
 
Query query;//*****CRIAR REPOSTAS DO GRUPO DOCENTE*****///
 
 
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media," +
"sum(case when fc.intResposta = 1 then 1 else 0 end) as r1," +
"sum(case when fc.intResposta = 2 then 1 else 0 end) as r2," +
"sum(case when fc.intResposta = 3 then 1 else 0 end) as r3," +
"sum(case when fc.intResposta = 4 then 1 else 0 end) as r4," +
"sum(case when fc.intResposta = 5 then 1 else 0 end) as r5," +
"std(fc.intResposta) as desvio," +
"count(fc.id) as total, " +
"prgp.pergunta as pergunta, " +
"prgp.numero as numero, " +
"avg(fc.tempoLevado) as tempoMedioLevado " +
 
 
 
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
"JOIN fc.olapUnidade unit " +
 
"where " +
"prgp.grupoCode = :grupoCode " +
"and quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges " +
"and unit.codigo = :codigoUnidade " +
"and curso.codigoCurso = :codigoCurso " +
"and quest.semestre = :semestre " +
(tempoMinimo > 0 ? " and fc.tempoLevado > :tempoLevado " : "" ) +
"group by prgp.numero " +
"order by prgp.numero ");
query.setString("grupoCode",grupo);
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
query.setString("codigoUnidade",codigoUnidade);
query.setString("codigoCurso",codigoCurso);
query.setString("semestre",semestre);
 
if(tempoMinimo > 0)
{
query.setDouble("tempoLevado",tempoMinimo);
}
 
 
DataTable tableRespostasAgregadas = new DataTable();
 
unidadeData.setRespostasTable(tableRespostasAgregadas);
 
getMediasCadeira(teacherCode, anoLectivo, docenteReport, grupo, unidadeData.getMediasGrupo(), codigoUnidade, codigoCurso, semestre);
 
 
DataTable.Row header = tableRespostasAgregadas.addRowHeader();
header.addColTextCenter("Questão");
header.addColTextCenter("Resps.");
header.addColTextCenter("Tempo Médio de Resposta (seg.)");
header.addColTextCenter("Nada Satisf. %");
header.addColTextCenter("Pouco Satisf. %");
header.addColTextCenter("Satisf. %");
header.addColTextCenter("Bastante Satisf. %");
header.addColTextCenter("Muito Satisf. %");
header.addColTextCenter("Média");
header.addColTextCenter("Desvio Padrão");
header.addColTextCenter("Curso");
header.addColTextCenter("Diff Curso");
header.addColTextCenter("Escola");
header.addColTextCenter("Diff Escola");
 
 
List<Object[]> resultsTest = query.list();
for(Object[] resultTest : resultsTest)
{
Double tempoMedioLevado = (Double) resultTest[10];
Double mediaDocente = (Double) resultTest[0];
Double desvio = (Double) resultTest[6];
Long total = (Long) resultTest[7];
double min = mediaDocente - (desvio*2);
double max = mediaDocente + (desvio*2);
if(max > 5) max = 5;
DecimalFormat df = new DecimalFormat("#.##");
String pergunta = resultTest[8].toString();
String numero = resultTest[9].toString();
 
 
DataTable.Row rowUnidade = tableRespostasAgregadas.addRowNormal();
rowUnidade.addColLabelCenter(pergunta);
rowUnidade.addColTextCenter(""+total);
rowUnidade.addColTextCenter(df.format(tempoMedioLevado/1000.0));
DataTable.Row.Col colResposta1 = rowUnidade.addColTextCenter(resultTest[1].toString());
DataTable.Row.Col colResposta2 = rowUnidade.addColTextCenter(resultTest[2].toString());
DataTable.Row.Col colResposta3 = rowUnidade.addColTextCenter(resultTest[3].toString());
DataTable.Row.Col colResposta4 = rowUnidade.addColTextCenter(resultTest[4].toString());
DataTable.Row.Col colResposta5 = rowUnidade.addColTextCenter(resultTest[5].toString());
 
Long respostas1 = (Long) resultTest[1];
Long respostas2 = (Long) resultTest[2];
Long respostas3 = (Long) resultTest[3];
Long respostas4 = (Long) resultTest[4];
Long respostas5 = (Long) resultTest[5];
 
if(respostas1 >= respostas2 && respostas1 >= respostas3 && respostas1 >= respostas4 && respostas1 >= respostas5)
{
colResposta1.setBackgroundColor(ChartBuilderUtil.COLOR_1_HEX);
}else if(respostas2 >= respostas1 && respostas2 >= respostas3 && respostas2 >= respostas4 && respostas2 >= respostas5)
{
colResposta2.setBackgroundColor(ChartBuilderUtil.COLOR_2_HEX);
}else if(respostas3 >= respostas1 && respostas3 >= respostas2 && respostas3 >= respostas4 && respostas3 >= respostas5)
{
colResposta3.setBackgroundColor(ChartBuilderUtil.COLOR_3_HEX);
}else if(respostas4 >= respostas1 && respostas4 >= respostas2 && respostas4 >= respostas3 && respostas4 >= respostas5)
{
colResposta4.setBackgroundColor(ChartBuilderUtil.COLOR_4_HEX);
}else if(respostas5 >= respostas1 && respostas5 >= respostas2 && respostas5 >= respostas3 && respostas5 >= respostas4)
{
colResposta5.setBackgroundColor(ChartBuilderUtil.COLOR_5_HEX);
}
 
String percentagemDocente = ChartBuilderUtil.getPercentagemPrint0Slots(mediaDocente, 5);
String mediaDocentePrint = df.format(mediaDocente);
rowUnidade.addColPercentageDefinedCenter(mediaDocentePrint,percentagemDocente,true);
rowUnidade.addColTextCenter(df.format(desvio));
 
 
//So preenchemos as perguntas para o
PerguntaStats perguntaStats = new PerguntaStats();
perguntaStats.setGrupo(grupo);
perguntaStats.setMediaEntidadeEmAvaliacaoPrint(mediaDocentePrint);
perguntaStats.setMediaEntidadeEmAvaliacao(mediaDocente);
perguntaStats.setPercentMediaEntidadeEmAvaliacao(ChartBuilderUtil.getPercentagemPrint2Slots(mediaDocente,5));
perguntaStats.setNumero(numero);
perguntaStats.setPergunta(pergunta);
//Aqui a media dos cursos é a media do curso da Unidade, curso unico
//A PerguntaStats é usada também nas respostas agregadas ai a media dos cursos é a de todos os cursos do docente
//onde ele tem participacao
//TODO VER AQUI $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
//TODO AGORA TEMOS DE LIMPAR AS CLASSES E COMPILAR TUDO A VER DOS ERROS ONDE AS MEDIAS DAS PERGUNTAS SAO PREENCHODAS PORQUE DANTES ERA STRING E AGROA E DOUBLE
//TODO E ARRANJAR
PerguntasGrupoQueryDao.MediaGlobalEscolaPergunta mediaGlobalEscolaPergunta = PerguntasGrupoQueryDao.getMediaEscolaPergunta(docenteReport, codigoInstituicao, anoLectivo, numero,periodos,degrees);
PerguntasGrupoQueryDao.MediaGlobalCursoPergunta mediaGlobalCursoPergunta = PerguntasGrupoQueryDao.getMediaCursoPergunta(docenteReport, codigoCurso, anoLectivo, numero,periodos,degrees);
 
if(unidadeData.getUnidadesNaEscola() <= 0)
{
//so faz na primeira passagem e igual para todas
unidadeData.setUnidadesNaEscola(mediaGlobalEscolaPergunta.numeroUnidades);
unidadeData.setUnidadesNoCurso(mediaGlobalCursoPergunta.numeroUnidades);
}
 
perguntaStats.setMediaCursos(mediaGlobalCursoPergunta.media);
perguntaStats.setMediaCursosPrint(df.format(mediaGlobalCursoPergunta.media));
perguntaStats.setMediaEscolas(mediaGlobalEscolaPergunta.media);
perguntaStats.setMediaEscolasPrint(df.format(mediaGlobalEscolaPergunta.media));
perguntaStats.setPercentMediaCursos(ChartBuilderUtil.getPercentagemPrint0Slots(mediaGlobalCursoPergunta.media, 5));
perguntaStats.setPercentMediaEscolas(ChartBuilderUtil.getPercentagemPrint0Slots(mediaGlobalEscolaPergunta.media, 5));
perguntaStats.setPercentMediaEntidadeEmAvaliacao(ChartBuilderUtil.getPercentagemPrint0Slots(mediaDocente, 5));
perguntaStats.setDiffMediaCurso("" + (mediaDocente - mediaGlobalCursoPergunta.media));
double diffCurso = mediaDocente - mediaGlobalCursoPergunta.media;
double diffEscola = mediaDocente - mediaGlobalEscolaPergunta.media;
 
perguntaStats.setDiffMediaCursoPrint(df.format(mediaDocente - mediaGlobalCursoPergunta.media));
unidadeData.getPerguntasStats().add(perguntaStats);
 
rowUnidade.addColPercentageDefinedCenter(perguntaStats.getMediaCursosPrint(),perguntaStats.getPercentMediaCursos(),true);
DataTable.Row.Col difCurso = rowUnidade.addColNumberCenter(perguntaStats.getDiffMediaCursoPrint());
if(diffCurso < 0)
difCurso.setBackgroundColor(ChartBuilderUtil.COLOR_1_HEX);
else if(diffCurso >= 0)
{
difCurso.setBackgroundColor(ChartBuilderUtil.COLOR_5_HEX);
}
 
rowUnidade.addColPercentageDefinedCenter(perguntaStats.getMediaEscolasPrint(),perguntaStats.getPercentMediaEscolas(),true);
 
DataTable.Row.Col difEscola = rowUnidade.addColNumberCenter(df.format(diffEscola));
if(diffEscola < 0)
difEscola.setBackgroundColor(ChartBuilderUtil.COLOR_1_HEX);
else if(diffEscola >= 0)
{
difEscola.setBackgroundColor(ChartBuilderUtil.COLOR_5_HEX);
}
}
return unidadeData;
}
 
public static void createTableTaxaRespostaUnidade(DocenteReport docenteReport,String teacherCode,String anoLectivo, String[] periodos,String[] degrees) {
 
 
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
 
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"unidade.nome, " +
"sum(case when fc.respondido = true then 1 else 0 end) as respondido, " +
"sum(case when fc.respondido = false then 1 else 0 end) as naoRespondido, " +
"count(user.sigesCode), " +
"unidade.codigo " +
 
"FROM " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapUnidade unidade " +
"JOIN fc.olapCurso curso " +
"where quest.ano = :ano and tipo.codigoSiges = :codigoSiges " +
periodosQuery +
degreesQuery +
" group by unidade.codigo, quest.semestre, curso.codigoCurso " +
"order by unidade.nome asc");
 
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
List<Object[]> result = (List<Object[]>) query.list();
 
 
DataTable tableTaxaRespostaUnidade = new DataTable();
docenteReport.setTabelaTaxaRespostaUnidade(tableTaxaRespostaUnidade);
 
 
DataTable.Row header = tableTaxaRespostaUnidade.addRowHeader();
header.addColTextCenter("Unidade Curricular");
header.addColTextCenter("Inscritos");
header.addColTextCenter("Responderam");
header.addColTextCenter("% Respostas");
int totalParticiparam = 0;
int totalInscritos = 0;
for(Object[] unidade: result)
{
 
 
DataTable.Row rowUnidade = tableTaxaRespostaUnidade.addRowNormal();
String unidadeNome = (String) unidade[0];
Long respondidos = (Long) unidade[1];
Long naoRespondidos = (Long) unidade[2];
Long inscritos = (Long) unidade[3];
String codigo = (String) unidade[4];
 
 
int respondidosInt = respondidos != null ? ((Long) respondidos).intValue() : 0;
int inscritosInt = inscritos != null ? ((Long) inscritos).intValue() : 0;
 
totalInscritos += inscritosInt;
totalParticiparam += respondidosInt;
 
rowUnidade.addColLabelCenter(unidadeNome);
rowUnidade.addColTextCenter(""+inscritosInt);
rowUnidade.addColTextCenter(""+respondidosInt);
 
int percentage = (int)(((float)(respondidosInt) / ((float)inscritosInt) * 100.0));
rowUnidade.addColPercentageCenter("" + percentage);
 
QuestionariosAlunosReport.ParticipacaoUnidade participacoesUnidades = new QuestionariosAlunosReport.ParticipacaoUnidade();
participacoesUnidades.setCodigoUnidade(codigo);
participacoesUnidades.setNomeUnidade(unidadeNome);
participacoesUnidades.setInscritos(inscritosInt);
participacoesUnidades.setParticiparam(respondidosInt);
participacoesUnidades.setParticiparamPercentagem(percentage);
 
participacoesUnidades
.setPercentagemContribuicaoDaUnidadeNoUniversoUnidades(
ChartBuilderUtil.getPercentagem(
respondidosInt,
docenteReport.getQuestionariosReqRespondidos())
);
participacoesUnidades
.setPercentagemContribuicaoDaUnidadeNoUniversoUnidadesPrint(
ChartBuilderUtil.getPercentagemPrint1Slots(
respondidosInt,
docenteReport.getQuestionariosReqRespondidos())
);
 
docenteReport.getParticipacoesUnidades().add(participacoesUnidades);
}
}
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/queries/QueryDaoUtils.java
New file
0,0 → 1,456
package pt.estgp.estgweb.services.questionarios.pedagogico.queries;
 
import jomm.dao.impl.AbstractDao;
import org.hibernate.Query;
import pt.estgp.estgweb.domain.OlapStarFactQuestionarioAnswer;
 
import java.util.List;
 
/**
* Created by jorgemachado on 30/11/16.
*/
public class QueryDaoUtils
{
 
/**
* creates a where clause for periodos S1, S2, A, T1, T2, T3, T4
* @param periodos
* @param questVar
* @param useAndConcat
* @return
*/
public static String createPeriodosQuery(String[] periodos, String questVar, boolean useAndConcat) {
String periodosQuery = "";
if(periodos != null && periodos.length > 0)
{
StringBuilder periodosFilter = new StringBuilder();
 
String union = " ";
for(String periodo : periodos)
{
periodosFilter.append(union).append(questVar + ".semestre = '" + periodo + "'");
union = " or ";
}
periodosQuery = " (" + periodosFilter.toString() + ")";
if(useAndConcat)
periodosQuery = " and " + periodosQuery;
}
return periodosQuery;
}
 
/**
* Create a where clause for degrees query L, T, M etc
* @param degrees
* @param cursoVar
* @param useAndConcat
* @return
*/
 
public static String createDegreesQuery(String[] degrees, String cursoVar, boolean useAndConcat) {
String degreesQuery = "";
if(degrees != null && degrees.length > 0)
{
StringBuilder degreesFilter = new StringBuilder();
 
String union = " ";
for(String degree : degrees)
{
degreesFilter.append(union).append(cursoVar + ".degree = '" + degree + "'");
union = " or ";
}
degreesQuery = " (" + degreesFilter.toString() + ") ";
if(useAndConcat)
degreesQuery = " and " + degreesQuery;
}
return degreesQuery;
}
 
public static String createCursosQuery(List<String> codigosCurso,boolean addAndConcat)
{
if(codigosCurso == null || codigosCurso.size() == 0)
return "";
 
//GET QUERY PARCIAL DE CURSOS ONDE LECCIONA O DOCENTE
StringBuilder queryCurso = new StringBuilder();
String union = "";
for( String codigoCurso: codigosCurso )
{
queryCurso.append(union).append(" curso.codigoCurso = '" + codigoCurso + "' ");
union = " or ";
}
 
String queryFilter = " (" + queryCurso.toString() + ") ";
if(addAndConcat)
queryFilter = " and " + queryFilter;
return queryFilter;
}
 
public static String createEscolasQuery(List<String> codigosEscolas,boolean addAndConcat)
{
if(codigosEscolas == null || codigosEscolas.size() == 0)
return "";
 
//GET QUERY PARCIAL DE CURSOS ONDE LECCIONA O DOCENTE
StringBuilder queryEscolas = new StringBuilder();
String union = "";
for( String codigoEscola: codigosEscolas )
{
queryEscolas.append(union).append(" curso.codigoInstituicao = '" + codigoEscola + "'");
union = " or ";
}
 
String queryFilter = " (" + queryEscolas.toString() + ")";
if(addAndConcat)
queryFilter+= " and " + queryFilter;
return queryFilter;
}
 
public static double getMediaCursos(List<String> codigosCurso, String anoLectivo, String numeroPergunta, double tempoMinimo, String grupo, String[] periodos, String[] degrees) {
 
 
 
String periodosQuery = createPeriodosQuery(periodos, "quest", true);
String degreesQuery = createDegreesQuery(degrees, "curso", true);
 
//GET QUERY PARCIAL DE CURSOS ONDE LECCIONA O DOCENTE
StringBuilder queryCurso = new StringBuilder();
String union = "";
int count = 1;
for(String codigoCurso: codigosCurso)
{
queryCurso.append(union).append(" curso.codigoCurso = :curso" + count + " ");
union = " or ";
count++;
}
 
 
 
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
 
"where " +
"prgp.grupoCode = :grupoCode " +
"and quest.ano = :ano " +
(numeroPergunta!=null? "and prgp.numero = :numero " : "") +
"and (" + queryCurso.toString() + ") " +
(tempoMinimo > 0 ? " and fc.tempoLevado > :tempoLevado " : "" ) +
periodosQuery +
degreesQuery +
"");
query.setString("grupoCode",grupo);
query.setString("ano",anoLectivo);
if(numeroPergunta != null)
query.setString("numero",numeroPergunta);
if(tempoMinimo > 0)
{
query.setDouble("tempoLevado",tempoMinimo);
}
count = 1;
for(String codigoCurso: codigosCurso)
{
query.setString("curso" + count,codigoCurso);
count++;
}
Double mediaCurso = (Double) query.uniqueResult();
 
 
 
return mediaCurso;
}
 
public static List<String> getCodigosEscolaDocente(String teacherCode, String anoLectivo, String[] periodos, String[] degrees)
{
 
String periodosQuery = createPeriodosQuery(periodos, "quest", true);
String degreesQuery = createDegreesQuery(degrees, "curso", true);
//GET CODIGOS DE ESCOLAS ONDE LECCIONA O DOCENTE
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"distinct(curso.codigoInstituicao) as codigoInst " +
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
"where " +
"quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges " +
periodosQuery +
degreesQuery +
"");
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
List<String> codigosEscola = query.list();
return codigosEscola;
}
 
public static List<String> getCodigosCursoDocente(String teacherCode, String anoLectivo, String[] periodos, String[] degrees)
{
String periodosQuery = createPeriodosQuery(periodos, "quest", true);
String degreesQuery = createDegreesQuery(degrees, "curso", true);
//GET CODIGOS DE CURSOS ONDE LECCIONA O DOCENTE
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"distinct(curso.codigoCurso) as codigoCurso " +
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
 
"where " +
"quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges " +
periodosQuery +
degreesQuery +
"");
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
List<String> codigosCurso = query.list();
 
return codigosCurso;
}
 
public static long countDocentesNosCursos(List<String> codigosCurso, String anoLectivo, String[] periodos, String[] degrees) {
 
String periodosQuery = createPeriodosQuery(periodos, "quest", true);
String degreesQuery = createDegreesQuery(degrees, "curso", true);
//GET QUERY PARCIAL DE CURSOS ONDE LECCIONA O DOCENTE
StringBuilder queryCurso = new StringBuilder();
String union = "";
int count = 1;
for(String codigoCurso: codigosCurso)
{
queryCurso.append(union).append(" curso.codigoCurso = :curso" + count + " ");
union = " or ";
count++;
}
 
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct tipo.codigoSiges) as profs " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
 
"where " +
"quest.ano = :ano " +
"and (" + queryCurso.toString() + ") " +
periodosQuery +
degreesQuery +
"");
 
query.setString("ano",anoLectivo);
 
count = 1;
for(String codigoCurso: codigosCurso)
{
query.setString("curso" + count,codigoCurso);
count++;
}
Long profs = (Long) query.uniqueResult();
 
return profs;
}
 
public static long countDocentesNasEscolas(List<String> codigosEscola, String anoLectivo, String[] periodos, String[] degrees) {
 
String periodosQuery = createPeriodosQuery(periodos, "quest", true);
String degreesQuery = createDegreesQuery(degrees, "curso", true);
 
StringBuilder queryEscolas = new StringBuilder();
String union = "";
int count = 1;
for(String codigoEscola: codigosEscola)
{
queryEscolas.append(union).append(" curso.codigoInstituicao = :inst" + count + " ");
union = " or ";
count++;
}
 
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct tipo.codigoSiges) as profs " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
 
"where " +
"quest.ano = :ano " +
"and (" + queryEscolas.toString() + ") " +
periodosQuery +
degreesQuery +
"");
 
query.setString("ano",anoLectivo);
 
count = 1;
for(String codigoEscola: codigosEscola)
{
query.setString("inst" + count,codigoEscola);
count++;
}
Long profs = (Long) query.uniqueResult();
 
return profs;
}
 
public static long countUnidadesNosCursos(List<String> codigosCurso,String anoLectivo, String[] periodos,String[] degrees) {
 
String periodosQuery = createPeriodosQuery(periodos, "quest", true);
String degreesQuery = createDegreesQuery(degrees, "curso", true);
//GET QUERY PARCIAL DE CURSOS ONDE LECCIONA O DOCENTE
StringBuilder queryCurso = new StringBuilder();
String union = "";
int count = 1;
for(String codigoCurso: codigosCurso)
{
queryCurso.append(union).append(" curso.codigoCurso = :curso" + count + " ");
union = " or ";
count++;
}
 
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct unidade.codigo) as unidades " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
"JOIN fc.olapUnidade unidade " +
 
"where " +
"quest.ano = :ano " +
"and (" + queryCurso.toString() + ") " +
periodosQuery +
degreesQuery +
"");
 
query.setString("ano",anoLectivo);
 
count = 1;
for(String codigoCurso: codigosCurso)
{
query.setString("curso" + count,codigoCurso);
count++;
}
Long unidades = (Long) query.uniqueResult();
 
return unidades;
}
 
public static long countUnidadesNasEscolas(List<String> codigosEscola, String anoLectivo, String[] periodos, String[] degrees) {
 
String periodosQuery = createPeriodosQuery(periodos, "quest", true);
String degreesQuery = createDegreesQuery(degrees, "curso", true);
StringBuilder queryEscolas = new StringBuilder();
String union = "";
int count = 1;
for(String codigoEscola: codigosEscola)
{
queryEscolas.append(union).append(" curso.codigoInstituicao = :inst" + count + " ");
union = " or ";
count++;
}
 
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct unidade.codigo) as unidades " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapUnidade unidade " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
 
"where " +
"quest.ano = :ano " +
"and (" + queryEscolas.toString() + ") " +
periodosQuery +
degreesQuery +
"");
 
query.setString("ano",anoLectivo);
 
count = 1;
for(String codigoEscola: codigosEscola)
{
query.setString("inst" + count,codigoEscola);
count++;
}
Long unidades = (Long) query.uniqueResult();
 
return unidades;
}
 
public static double getMediaCursos(List<String> codigosCurso,String anoLectivo,String grupo, String[] periodos,String[] degrees) {
 
return getMediaCursos(codigosCurso, anoLectivo, null, 0, grupo, periodos, degrees);
}
 
public static double getMediaEscolas(List<String> codigosEscola,String anoLectivo,String grupo, String[] periodos,String[] degrees) {
 
return getMediaEscolas(codigosEscola, anoLectivo, null, 0,grupo,periodos,degrees);
}
 
public static double getMediaEscolas(List<String> codigosEscola, String anoLectivo, String numeroPergunta, double tempoMinimo, String grupo, String[] periodos, String[] degrees) {
 
String periodosQuery = createPeriodosQuery(periodos, "quest", true);
String degreesQuery = createDegreesQuery(degrees, "curso", true);
 
//GET QUERY PARCIAL DE ESCOLAS ONDE LECCIONA O DOCENTE
StringBuilder queryEscolas = new StringBuilder();
String union = "";
int count = 1;
for(String codigoEscola: codigosEscola)
{
queryEscolas.append(union).append(" curso.codigoInstituicao = :inst" + count + " ");
union = " or ";
count++;
}
 
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"avg(fc.intResposta) as media " +
 
"FROM " + OlapStarFactQuestionarioAnswer.class.getName() + " fc " +
"JOIN fc.olapPergunta prgp " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapCurso curso " +
 
"where " +
"prgp.grupoCode = :grupoCode " +
"and quest.ano = :ano " +
(numeroPergunta!=null ? "and prgp.numero = :numero " : "") +
"and " + queryEscolas.toString() +
(tempoMinimo > 0 ? " and fc.tempoLevado > :tempoLevado " : "" ) +
periodosQuery +
degreesQuery +
"");
query.setString("grupoCode",grupo);
query.setString("ano",anoLectivo);
if(numeroPergunta != null)
query.setString("numero",numeroPergunta);
if(tempoMinimo > 0)
{
query.setDouble("tempoLevado",tempoMinimo);
}
count = 1;
for(String codigoEscola: codigosEscola)
{
query.setString("inst" + count,codigoEscola);
count++;
}
Double mediaEscola = (Double) query.uniqueResult();
return mediaEscola;
}
}
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/queries/AlunosQueryDao.java
New file
0,0 → 1,238
package pt.estgp.estgweb.services.questionarios.pedagogico.queries;
 
import jomm.dao.impl.AbstractDao;
import jomm.utils.MyCalendar;
import org.hibernate.Query;
import pt.estgp.estgweb.domain.OlapStarFactQuestionario;
import pt.estgp.estgweb.services.questionarios.pedagogico.DocenteReport;
import pt.estgp.estgweb.utils.DatesUtils;
 
import java.util.Calendar;
 
/**
* Created by jorgemachado on 07/12/16.
*/
public class AlunosQueryDao
{
 
public static void countIdadesAlunosComRespostas(String teacherCode, String anoLectivo, DocenteReport docenteReport, String[] periodos, String[] degrees) {
 
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
Query query;
 
int secondYear = DatesUtils.getSecondFromImportYear(anoLectivo);
 
MyCalendar dataQuestionario17 = new MyCalendar(secondYear,9,1);
MyCalendar dataQuestionario22 = new MyCalendar(secondYear,9,1);
MyCalendar dataQuestionario25 = new MyCalendar(secondYear,9,1);
MyCalendar dataQuestionario30 = new MyCalendar(secondYear,9,1);
dataQuestionario17.add(Calendar.YEAR,-17);
dataQuestionario22.add(Calendar.YEAR,-22);
dataQuestionario25.add(Calendar.YEAR,-25);
dataQuestionario30.add(Calendar.YEAR,-30);
 
 
query = AbstractDao.getCurrentSession().createQuery(
"select " +
"count(distinct user.sigesCode) from " + OlapStarFactQuestionario.class.getName() + " fc " +
 
//"count(distinct case when user.birthDate <= :dateStart and user.birthDate > :dateEnd then user.sigesCode else NULL end) from " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where " +
"user.birthDate <= :dateStart and " +
"user.birthDate > :dateEnd and " +
"quest.ano = :ano and tipo.codigoSiges = :codigoSiges and fc.respondido = true" +
periodosQuery +
degreesQuery);
query.setDate("dateStart", dataQuestionario17.getTime());
query.setDate("dateEnd",dataQuestionario22.getTime());
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
docenteReport.idade17_22 = ((Long) query.uniqueResult()).intValue();
docenteReport.idade17_22Percent = (int)(((float)docenteReport.idade17_22) / ((float)docenteReport.inquiridosComResposta) * 100.0);
 
query = AbstractDao.getCurrentSession().createQuery(
"select count(distinct user.sigesCode) from " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where " +
"user.birthDate <= :dateStart and " +
"user.birthDate > :dateEnd and " +
"quest.ano = :ano and tipo.codigoSiges = :codigoSiges and fc.respondido = true" +
periodosQuery +
degreesQuery);
query.setDate("dateStart",dataQuestionario22.getTime());
query.setDate("dateEnd",dataQuestionario25.getTime());
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
 
docenteReport.idade23_25 = ((Long) query.uniqueResult()).intValue();
docenteReport.idade23_25Percent = (int)(((float)docenteReport.idade23_25) / ((float)docenteReport.inquiridosComResposta) * 100.0);
 
 
query = AbstractDao.getCurrentSession().createQuery(
"select count(distinct user.sigesCode) from " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where " +
"user.birthDate <= :dateStart and " +
"user.birthDate > :dateEnd and " +
"quest.ano = :ano and tipo.codigoSiges = :codigoSiges and fc.respondido = true " +
periodosQuery +
degreesQuery);
query.setDate("dateStart",dataQuestionario25.getTime());
query.setDate("dateEnd",dataQuestionario30.getTime());
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
 
docenteReport.idade26_30 = ((Long) query.uniqueResult()).intValue();
docenteReport.idade26_30Percent = (int)(((float)docenteReport.idade26_30) / ((float)docenteReport.inquiridosComResposta) * 100.0);
 
 
query = AbstractDao.getCurrentSession().createQuery(
"select count(distinct user.sigesCode) from " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where " +
"user.birthDate <= :dateStart and " +
"quest.ano = :ano and tipo.codigoSiges = :codigoSiges and fc.respondido = true " +
periodosQuery +
degreesQuery);
query.setDate("dateStart",dataQuestionario30.getTime());
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
 
docenteReport.idadeM30 = ((Long) query.uniqueResult()).intValue();
docenteReport.idadeM30Percent = (int)(((float)docenteReport.idadeM30) / ((float)docenteReport.inquiridosComResposta) * 100.0);
}
 
public static void countTiposAlunosComRespostas(String teacherCode, String anoLectivo, DocenteReport docenteReport, String[] periodos, String[] degrees) {
 
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
Query query;
Object result;
 
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct user.sigesCode) " +
"FROM " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where quest.ano = :ano and tipo.codigoSiges = :codigoSiges and fc.respondido = true and user.tipoAlunoTrabalhadorEstudante = true " +
periodosQuery +
degreesQuery
);
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
result = query.uniqueResult();
docenteReport.tipoAlunosTrabalhadorEstudanteComResposta = ((Long) result).intValue();
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct user.sigesCode) " +
"FROM " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where quest.ano = :ano and tipo.codigoSiges = :codigoSiges and fc.respondido = true and user.tipoAlunoErasmus = true " +
periodosQuery +
degreesQuery);
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
result = query.uniqueResult();
docenteReport.tipoAlunosErasmusComResposta = ((Long) result).intValue();
 
docenteReport.tipoAlunosNormalComResposta = docenteReport.inquiridosComResposta - docenteReport.tipoAlunosErasmusComResposta - docenteReport.tipoAlunosTrabalhadorEstudanteComResposta;
 
docenteReport.tipoAlunosErasmusComRespostaPercent = (int)((((float)docenteReport.tipoAlunosErasmusComResposta) / ((float) docenteReport.inquiridosComResposta)) * 100.0);
docenteReport.tipoAlunosTrabalhadorEstudanteComRespostaPercent = (int)((((float)docenteReport.tipoAlunosTrabalhadorEstudanteComResposta) / ((float) docenteReport.inquiridosComResposta)) * 100.0);
docenteReport.tipoAlunosNormalComRespostaPercent = (int)((((float)docenteReport.tipoAlunosNormalComResposta) / ((float) docenteReport.inquiridosComResposta)) * 100.0);
}
 
public static void countAlunosQueResponderam(String teacherCode, String anoLectivo, DocenteReport docenteReport, String[] periodos, String[] degrees) {
 
String periodosQuery = QueryDaoUtils.createPeriodosQuery(periodos, "quest", true);
String degreesQuery = QueryDaoUtils.createDegreesQuery(degrees, "curso", true);
 
/***** HOMENS MULHERES QUE RESPONDERAM ********/
Query query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct user.sigesCode) " +
"FROM " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where " +
"quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges " +
"and fc.respondido = true " +
"and user.sex='M'" +
periodosQuery +
degreesQuery
);
 
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
Object result = query.uniqueResult();
docenteReport.masculinoComResposta = ((Long) result).intValue();
 
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct user.sigesCode) " +
"FROM " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges " +
"and fc.respondido = true " +
"and user.sex='F'" +
periodosQuery +
degreesQuery);
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
result = query.uniqueResult();
docenteReport.femininoComResposta = ((Long) result).intValue();
 
//BASTA TER UMA RESPOSTA CONSIDERA-SE QUE RESPONDEU AOS QUESTIONARIOS
docenteReport.inquiridosComResposta = docenteReport.masculinoComResposta + docenteReport.femininoComResposta;
docenteReport.masculinoComRespostaPercent = (int)((((float)docenteReport.masculinoComResposta) / ((float) docenteReport.inquiridosComResposta)) * 100.0);
docenteReport.femininoComRespostaPercent = (int)((((float)docenteReport.femininoComResposta) / ((float) docenteReport.inquiridosComResposta)) * 100.0);
 
/*TAXA DE RESPOSTA NAO SE PODE RETIRAR OS ALUNOS SEM RESPOSTA PORQUE PODEM REPETIR NO CASO DE TEREM RESPONDIDO A UMAS E NAO A OUTRAS*/
query = AbstractDao.getCurrentSession().createQuery("" +
"SELECT " +
"count(distinct user.sigesCode) " +
"FROM " + OlapStarFactQuestionario.class.getName() + " fc " +
"JOIN fc.olapQuestionario quest " +
"JOIN fc.olapTipologia tipo " +
"JOIN fc.olapPerfilUser user " +
"JOIN fc.olapCurso curso " +
"where quest.ano = :ano " +
"and tipo.codigoSiges = :codigoSiges" +
periodosQuery +
degreesQuery);
query.setString("codigoSiges",teacherCode);
query.setString("ano",anoLectivo);
result = query.uniqueResult();
docenteReport.inquiridosTotal = ((Long) result).intValue();
docenteReport.inquiridosNaoResponderam = docenteReport.inquiridosTotal - docenteReport.inquiridosComResposta;
}
}