import java.io.FileOutputStream;
import com.lowagie.text.Document;
import com.lowagie.text.GreekList;
import com.lowagie.text.ListItem;
import com.lowagie.text.pdf.PdfWriter;
public class MainClass {
public static void main(String[] args) throws Exception {
Document document = new Document();
PdfWriter.getInstance(document, new FileOutputStream("2.pdf"));
document.open();
GreekList greeklist = new GreekList(20);
greeklist.setGreekLower(true);
greeklist.add(new ListItem("A"));
greeklist.add(new ListItem("B"));
document.add(greeklist);
document.close();
}
}
|