List of usage examples for com.itextpdf.text.pdf PdfPCell setColspan
public void setColspan(int colspan)
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_profesores_nivel() throws Exception { PdfPTable tabla_num = new PdfPTable(3); int anio = 0, anio_fin = 0; tabla_num.setWidths(new int[] { 2, 2, 2 }); PdfPCell Titulo_tabla = new PdfPCell( new Phrase("Lista de profesores participantes para este periodo", encabezadost)); PdfPCell profesor = new PdfPCell(new Phrase("Nmero de empleado")); PdfPCell nivel = new PdfPCell(new Phrase("Nivel de beca (Preliminar)")); PdfPCell periodo = new PdfPCell(new Phrase("Periodo")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(5); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla);//from ww w . j a v a2 s .c o m profesor.setHorizontalAlignment(Element.ALIGN_CENTER); profesor.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(profesor); nivel.setHorizontalAlignment(Element.ALIGN_CENTER); nivel.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(nivel); periodo.setHorizontalAlignment(Element.ALIGN_CENTER); periodo.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(periodo); /*Aqui van las consultas de las Actividades del profesor*/ ResultSet rs, rperiodo; int periodo_actual = 0; rperiodo = lb.executeQuery("SELECT * FROM evaluador"); while (rperiodo.next()) { periodo_actual = rperiodo.getInt("periodo_actual"); } rs = lb.executeQuery("SELECT * FROM profesor WHERE periodo = " + periodo_actual); while (rs.next()) { tabla_num.addCell(rs.getString("id_usuario")); tabla_num.addCell(rs.getString("nivel")); if (rs.getInt("periodo") == 1) { anio = 2017; anio_fin = 2018; } else if (rs.getInt("periodo") == 2) { anio = 2018; anio_fin = 2019; } else if (rs.getInt("periodo") == 3) { anio = 2019; anio_fin = 2020; } else if (rs.getInt("periodo") == 4) { anio = 2020; anio_fin = 2021; } tabla_num.addCell(anio + " - " + anio_fin); } return tabla_num; }
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_alumnos() throws Exception { PdfPTable tabla_num = new PdfPTable(4); int a = 0, b = 0, c = 0, d = 0, e = 0; String numberAsString;//ww w . j ava 2 s. c om tabla_num.setWidths(new int[] { 2, 2, 2, 2 }); PdfPCell Titulo_tabla = new PdfPCell(new Phrase("Alumnos BEIFI y de SS", encabezadost)); PdfPCell BEIFI_Acep = new PdfPCell(new Phrase("BEIFI aceptados")); PdfPCell BEIFI_No = new PdfPCell(new Phrase("BEIFI no aceptados")); PdfPCell SS_Acep = new PdfPCell(new Phrase("SS aceptados")); PdfPCell SS_No = new PdfPCell(new Phrase("SS no aceptados")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(5); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla); BEIFI_Acep.setHorizontalAlignment(Element.ALIGN_CENTER); BEIFI_Acep.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(BEIFI_Acep); BEIFI_No.setHorizontalAlignment(Element.ALIGN_CENTER); BEIFI_No.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(BEIFI_No); SS_Acep.setHorizontalAlignment(Element.ALIGN_CENTER); SS_Acep.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(SS_Acep); SS_No.setHorizontalAlignment(Element.ALIGN_CENTER); SS_No.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(SS_No); //we get the four numbers for students a = getNum2_1(2); numberAsString = Integer.toString(a); tabla_num.addCell(numberAsString); b = getNum2_1(3); numberAsString = Integer.toString(b); tabla_num.addCell(numberAsString); c = getNum2_1(4); numberAsString = Integer.toString(c); tabla_num.addCell(numberAsString); d = getNum2_1(5); numberAsString = Integer.toString(d); tabla_num.addCell(numberAsString); return tabla_num; }
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_publicaciones() throws Exception { PdfPTable tabla_num = new PdfPTable(5); int a = 0, b = 0, c = 0, d = 0, e = 0; String numberAsString;/*from w ww . jav a 2 s. c o m*/ tabla_num.setWidths(new int[] { 2, 2, 2, 2, 2 }); PdfPCell Titulo_tabla = new PdfPCell(new Phrase("Publicaciones aceptadas", encabezadost)); PdfPCell boletin = new PdfPCell(new Phrase("Boletnes")); PdfPCell sin_nacional = new PdfPCell(new Phrase("Sin arbitraje, Nacional")); PdfPCell sin_inter = new PdfPCell(new Phrase("Sin abitraje, Internacional")); PdfPCell con_nacional = new PdfPCell(new Phrase("Con arbitraje, Nacional")); PdfPCell con_inter = new PdfPCell(new Phrase("Con arbitraje, Internacional")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(5); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla); boletin.setHorizontalAlignment(Element.ALIGN_CENTER); boletin.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(boletin); sin_nacional.setHorizontalAlignment(Element.ALIGN_CENTER); sin_nacional.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(sin_nacional); sin_inter.setHorizontalAlignment(Element.ALIGN_CENTER); sin_inter.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(sin_inter); con_nacional.setHorizontalAlignment(Element.ALIGN_CENTER); con_nacional.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(con_nacional); con_inter.setHorizontalAlignment(Element.ALIGN_CENTER); con_inter.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(con_inter); /*Aqui van las consultas de las Actividades del profesor*/ a = getNum2_2(2); numberAsString = Integer.toString(a); tabla_num.addCell(numberAsString); b = getNum2_2(3); numberAsString = Integer.toString(b); tabla_num.addCell(numberAsString); c = getNum2_2(4); numberAsString = Integer.toString(c); tabla_num.addCell(numberAsString); d = getNum2_2(5); numberAsString = Integer.toString(d); tabla_num.addCell(numberAsString); e = getNum2_2(6); numberAsString = Integer.toString(e); tabla_num.addCell(numberAsString); return tabla_num; }
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_eventos() throws Exception { PdfPTable tabla_num = new PdfPTable(3); int a = 0, b = 0, c = 0, d = 0; String numberAsString;/*from w ww . jav a 2s . co m*/ tabla_num.setWidths(new int[] { 2, 2, 2 }); PdfPCell Titulo_tabla = new PdfPCell(new Phrase("Eventos aceptados", encabezadost)); PdfPCell sin_ponencia = new PdfPCell(new Phrase("Institucional sin ponencia publicada")); PdfPCell resumen_pub = new PdfPCell(new Phrase("Institucional con resumen publicado")); PdfPCell pub_exten = new PdfPCell(new Phrase("Institucional publicado en extenso")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(5); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla); sin_ponencia.setHorizontalAlignment(Element.ALIGN_CENTER); sin_ponencia.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(sin_ponencia); resumen_pub.setHorizontalAlignment(Element.ALIGN_CENTER); resumen_pub.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(resumen_pub); pub_exten.setHorizontalAlignment(Element.ALIGN_CENTER); pub_exten.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(pub_exten); a = getNum2_3(2); numberAsString = Integer.toString(a); tabla_num.addCell(numberAsString); b = getNum2_3(3); numberAsString = Integer.toString(b); tabla_num.addCell(numberAsString); c = getNum2_3(4); numberAsString = Integer.toString(c); tabla_num.addCell(numberAsString); return tabla_num; }
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_proyectos() throws Exception { PdfPTable tabla_num = new PdfPTable(2); int a = 0, b = 0; String numberAsString;//from w ww .j av a 2 s .c o m tabla_num.setWidths(new int[] { 2, 2 }); PdfPCell Titulo_tabla = new PdfPCell(new Phrase("Proyectos SIP aceptados y no acpetados", encabezadost)); PdfPCell aceptados = new PdfPCell(new Phrase("Aceptados")); PdfPCell no_aceptados = new PdfPCell(new Phrase("No aceptados")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(5); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla); aceptados.setHorizontalAlignment(Element.ALIGN_CENTER); aceptados.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(aceptados); no_aceptados.setHorizontalAlignment(Element.ALIGN_CENTER); no_aceptados.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(no_aceptados); /*Aqui van las consultas de las Actividades del profesor*/ a = getNum2_4(2); numberAsString = Integer.toString(a); tabla_num.addCell(numberAsString); b = getNum2_4(3); numberAsString = Integer.toString(b); tabla_num.addCell(numberAsString); return tabla_num; }
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_obras() throws Exception { PdfPTable tabla_num = new PdfPTable(12); int a = 0, b = 0, c = 0, d = 0, e, f, g, h, i, j, k, l; String numberAsString;/*from www . j av a2s .com*/ tabla_num.setWidths(new int[] { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 }); PdfPCell Titulo_tabla = new PdfPCell(new Phrase("Obras con derecho de autor aceptadas", encabezadost)); PdfPCell artis = new PdfPCell(new Phrase("O. A.")); PdfPCell arqui = new PdfPCell(new Phrase("O. Arqui.")); PdfPCell fotogra = new PdfPCell(new Phrase("O. Foto.")); PdfPCell apuntes = new PdfPCell(new Phrase("Manual")); PdfPCell cine = new PdfPCell(new Phrase("O. Cine.")); PdfPCell multimedia = new PdfPCell(new Phrase("Multimedia")); PdfPCell tv_show = new PdfPCell(new Phrase("Tv. show")); PdfPCell dis_graf = new PdfPCell(new Phrase("Dis. Gra.")); PdfPCell compilacion = new PdfPCell(new Phrase("O. Compi.")); PdfPCell libro = new PdfPCell(new Phrase("Ed. Libro")); PdfPCell computo = new PdfPCell(new Phrase("P. Com.")); PdfPCell digital = new PdfPCell(new Phrase("Ma. Dig.")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(12); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla); artis.setHorizontalAlignment(Element.ALIGN_CENTER); artis.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(artis); arqui.setHorizontalAlignment(Element.ALIGN_CENTER); arqui.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(arqui); fotogra.setHorizontalAlignment(Element.ALIGN_CENTER); fotogra.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(fotogra); apuntes.setHorizontalAlignment(Element.ALIGN_CENTER); apuntes.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(apuntes); cine.setHorizontalAlignment(Element.ALIGN_CENTER); cine.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(cine); multimedia.setHorizontalAlignment(Element.ALIGN_CENTER); multimedia.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(multimedia); tv_show.setHorizontalAlignment(Element.ALIGN_CENTER); tv_show.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(tv_show); dis_graf.setHorizontalAlignment(Element.ALIGN_CENTER); dis_graf.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(dis_graf); compilacion.setHorizontalAlignment(Element.ALIGN_CENTER); compilacion.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(compilacion); libro.setHorizontalAlignment(Element.ALIGN_CENTER); libro.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(libro); computo.setHorizontalAlignment(Element.ALIGN_CENTER); computo.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(computo); digital.setHorizontalAlignment(Element.ALIGN_CENTER); digital.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(digital); /*Aqui van las consultas de las Actividades del profesor*/ a = getNum2_5(2); numberAsString = Integer.toString(a); tabla_num.addCell(numberAsString); b = getNum2_5(3); numberAsString = Integer.toString(b); tabla_num.addCell(numberAsString); c = getNum2_5(4); numberAsString = Integer.toString(c); tabla_num.addCell(numberAsString); d = getNum2_5(5); numberAsString = Integer.toString(d); tabla_num.addCell(numberAsString); e = getNum2_5(6); numberAsString = Integer.toString(e); tabla_num.addCell(numberAsString); f = getNum2_5(7); numberAsString = Integer.toString(f); tabla_num.addCell(numberAsString); g = getNum2_5(8); numberAsString = Integer.toString(g); tabla_num.addCell(numberAsString); h = getNum2_5(9); numberAsString = Integer.toString(h); tabla_num.addCell(numberAsString); i = getNum2_5(10); numberAsString = Integer.toString(i); tabla_num.addCell(numberAsString); j = getNum2_5(11); numberAsString = Integer.toString(j); tabla_num.addCell(numberAsString); k = getNum2_5(12); numberAsString = Integer.toString(k); tabla_num.addCell(numberAsString); l = getNum2_5(13); numberAsString = Integer.toString(l); tabla_num.addCell(numberAsString); return tabla_num; }
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_TT() throws Exception { PdfPTable tabla_num = new PdfPTable(2); int a = 0, b = 0, c = 0, d = 0; String numberAsString;// w ww .j a v a 2s . c o m tabla_num.setWidths(new int[] { 2, 2 }); PdfPCell Titulo_tabla = new PdfPCell(new Phrase("TT o tesis aceptados y rechazados", encabezadost)); PdfPCell aceptado = new PdfPCell(new Phrase("Aceptados")); PdfPCell no_aceptado = new PdfPCell(new Phrase("No aceptados")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(5); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla); aceptado.setHorizontalAlignment(Element.ALIGN_CENTER); aceptado.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(aceptado); no_aceptado.setHorizontalAlignment(Element.ALIGN_CENTER); no_aceptado.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(no_aceptado); /*Aqui van las consultas de las Actividades del profesor*/ a = getNum2_11(2); numberAsString = Integer.toString(a); tabla_num.addCell(numberAsString); b = getNum2_11(3); numberAsString = Integer.toString(b); tabla_num.addCell(numberAsString); return tabla_num; }
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_plan_estu() throws Exception { PdfPTable tabla_num = new PdfPTable(8); int a = 0, b = 0, c = 0, d = 0, e, f, g, h; String numberAsString;/*from w ww. jav a 2 s.c o m*/ tabla_num.setWidths(new int[] { 2, 2, 2, 2, 2, 2, 2, 2 }); PdfPCell Titulo_tabla = new PdfPCell(new Phrase("Participaciones aceptadas", encabezadost)); PdfPCell coor_1 = new PdfPCell(new Phrase("Coord 1")); PdfPCell coor_2 = new PdfPCell(new Phrase("Corrd 2")); PdfPCell parti_1 = new PdfPCell(new Phrase("Parti 1")); PdfPCell parti_2 = new PdfPCell(new Phrase("Parti 2")); PdfPCell coor_1_1 = new PdfPCell(new Phrase("Coord 1 1")); PdfPCell coor_1_2 = new PdfPCell(new Phrase("Coord 1 2")); PdfPCell parti_1_1 = new PdfPCell(new Phrase("Parti 1 1")); PdfPCell parti_1_2 = new PdfPCell(new Phrase("Parti 1 2")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(8); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla); coor_1.setHorizontalAlignment(Element.ALIGN_CENTER); coor_1.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(coor_1); coor_2.setHorizontalAlignment(Element.ALIGN_CENTER); coor_2.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(coor_2); parti_1.setHorizontalAlignment(Element.ALIGN_CENTER); parti_1.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(parti_1); parti_2.setHorizontalAlignment(Element.ALIGN_CENTER); parti_2.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(parti_2); coor_1_1.setHorizontalAlignment(Element.ALIGN_CENTER); coor_1_1.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(coor_1_1); coor_1_2.setHorizontalAlignment(Element.ALIGN_CENTER); coor_1_2.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(coor_1_2); parti_1_1.setHorizontalAlignment(Element.ALIGN_CENTER); parti_1_1.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(parti_1_1); parti_1_2.setHorizontalAlignment(Element.ALIGN_CENTER); parti_1_2.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(parti_1_2); /*Aqui van las consultas de las Actividades del profesor*/ a = getNum2_12(2); numberAsString = Integer.toString(a); tabla_num.addCell(numberAsString); b = getNum2_12(3); numberAsString = Integer.toString(b); tabla_num.addCell(numberAsString); c = getNum2_12(4); numberAsString = Integer.toString(c); tabla_num.addCell(numberAsString); d = getNum2_12(5); numberAsString = Integer.toString(d); tabla_num.addCell(numberAsString); e = getNum2_12(6); numberAsString = Integer.toString(e); tabla_num.addCell(numberAsString); f = getNum2_12(7); numberAsString = Integer.toString(f); tabla_num.addCell(numberAsString); g = getNum2_12(8); numberAsString = Integer.toString(g); tabla_num.addCell(numberAsString); h = getNum2_12(9); numberAsString = Integer.toString(h); tabla_num.addCell(numberAsString); return tabla_num; }
From source file:PDF.Reporte_Final.java
private PdfPTable tabla_acota1() throws Exception { PdfPTable tabla_num = new PdfPTable(2); int a = 0, b = 0, c = 0, d = 0, e, f, g, h; String numberAsString;//from w w w . j ava2 s . c om tabla_num.setWidths(new int[] { 1, 5 }); PdfPCell Titulo_tabla = new PdfPCell(new Phrase("Acotaciones de Participaciones", encabezadost)); PdfPCell abre = new PdfPCell(new Phrase("Abreviatura")); PdfPCell signi = new PdfPCell(new Phrase("Significado")); Titulo_tabla.setHorizontalAlignment(Element.ALIGN_CENTER); Titulo_tabla.setVerticalAlignment(Element.ALIGN_MIDDLE); Titulo_tabla.setBackgroundColor(new BaseColor(153, 0, 76)); Titulo_tabla.setColspan(8); Titulo_tabla.setExtraParagraphSpace(15f); tabla_num.addCell(Titulo_tabla); abre.setHorizontalAlignment(Element.ALIGN_CENTER); abre.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(abre); signi.setHorizontalAlignment(Element.ALIGN_CENTER); signi.setVerticalAlignment(Element.ALIGN_MIDDLE); tabla_num.addCell(signi); /*Aqui van las consultas de las Actividades del profesor*/ tabla_num.addCell("Coord 1"); tabla_num.addCell("Coordinacin en la elaboracin de un plan de estudios"); tabla_num.addCell("Coor 2"); tabla_num.addCell("Coordinacin en la actualizacin de un plan de estudios"); tabla_num.addCell("Parti 1"); tabla_num.addCell("Participacin en la elaboracin de un plan de estudios"); tabla_num.addCell("Parti 2"); tabla_num.addCell("Participacin en la actualizacin de un plan de estudios"); tabla_num.addCell("Coor 1 1"); tabla_num.addCell("Coordinacin en la elaboracin de un programa de estudios"); tabla_num.addCell("Coor 1 2"); tabla_num.addCell("Coordinacin en la actualizacin de un programa de estudios"); tabla_num.addCell("Parti 1 1"); tabla_num.addCell("Participacin en la elaboracin de un programa de estudios"); tabla_num.addCell("Parti 1 2"); tabla_num.addCell("Participacin en la actualizacin de un programa de estudios"); return tabla_num; }
From source file:pipe.PdfMaker.java
/** * Creates new cells//from w w w.j a v a2s . com * * @param colspan * @param rowspan * @return */ private PdfPCell createCell(int colspan, int rowspan) { PdfPCell cell = new PdfPCell(); cell.setPadding(0); cell.setBorderWidth(0.3f); cell.setColspan(colspan); cell.setRowspan(rowspan); return cell; }