|
|
|
|
@ -8,8 +8,10 @@ import com.lowagie.text.*;
|
|
|
|
|
import com.lowagie.text.pdf.PdfWriter;
|
|
|
|
|
|
|
|
|
|
public class ExamePDF {
|
|
|
|
|
private static final Font FONT_BOLD = new Font( Font.TIMES_ROMAN, 9, Font.BOLD, new Color( 0, 0, 0 ) );
|
|
|
|
|
private static final Font FONT_NORMAL = new Font( Font.TIMES_ROMAN, 9, Font.NORMAL, new Color( 0, 0, 0 ) );
|
|
|
|
|
// private static final Font FONT_BOLD = new Font( Font.TIMES_ROMAN, 9, Font.BOLD, new Color( 0, 0, 0 ) );
|
|
|
|
|
// private static final Font FONT_NORMAL = new Font( Font.TIMES_ROMAN, 9, Font.NORMAL, new Color( 0, 0, 0 ) );
|
|
|
|
|
private static final Font FONT_BOLD = FontFactory.getFont( "Arial", 9, Font.BOLD );
|
|
|
|
|
private static final Font FONT_NORMAL = FontFactory.getFont( "Arial", 9, Font.NORMAL );
|
|
|
|
|
|
|
|
|
|
public ExamePDF()
|
|
|
|
|
{
|
|
|
|
|
@ -119,9 +121,11 @@ public class ExamePDF {
|
|
|
|
|
Paragraph conteudo = new Paragraph();
|
|
|
|
|
|
|
|
|
|
conteudo.add( new Chunk( "FICHA DE APTID\u00c3O\n",
|
|
|
|
|
new Font( Font.TIMES_ROMAN, 10, Font.BOLD, new Color( 0, 0, 0 ) ) ) );
|
|
|
|
|
// new Font( Font.TIMES_ROMAN, 10, Font.BOLD, new Color( 0, 0, 0 ) ) ) );
|
|
|
|
|
FontFactory.getFont( "Arial", 10, Font.BOLD ) ) );
|
|
|
|
|
conteudo.add( new Chunk( "(Portaria n\u00ba1031/2002, de 10 de Agosto)",
|
|
|
|
|
new Font( Font.TIMES_ROMAN, 7, Font.NORMAL, new Color( 0, 0, 0 ) ) ) );
|
|
|
|
|
// new Font( Font.TIMES_ROMAN, 7, Font.NORMAL, new Color( 0, 0, 0 ) ) ) );
|
|
|
|
|
FontFactory.getFont( "Arial", 7, Font.BOLD ) ) );
|
|
|
|
|
conteudo.setAlignment( Element.ALIGN_CENTER );
|
|
|
|
|
|
|
|
|
|
document.add( conteudo );
|
|
|
|
|
|