List of usage examples for com.itextpdf.text Element PARAGRAPH
int PARAGRAPH
To view the source code for com.itextpdf.text Element PARAGRAPH.
Click Source Link
Element
. From source file:org.fatec.lpbd.projetocurriculo.controller.CurriculoHelper.java
public static Paragraph simpleText(String text) { Font f = new Font(FontFamily.COURIER, 10, Font.NORMAL); Paragraph p = new Paragraph(text, f); p.setAlignment(Element.PARAGRAPH); return p;//w ww . j a va 2s. co m }