import java.io.FileOutputStream;
import java.io.IOException;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.GreekList;
import com.lowagie.text.ListItem;
import com.lowagie.text.RomanList;
import com.lowagie.text.ZapfDingbatsList;
import com.lowagie.text.ZapfDingbatsNumberList;
import com.lowagie.text.pdf.PdfWriter;
//
publicclass RomanListsPDF {
publicstaticvoid main(String[] args) {
Document document = new Document();
try {
PdfWriter.getInstance(document, new FileOutputStream("RomanListsPDF.pdf"));
document.open();
RomanList roman = new RomanList(35);
roman.setRomanLower(true);
roman.add(new ListItem("first item"));
roman.add(new ListItem("Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text "));
document.add(roman);
} catch (Exception ioe) {
System.err.println(ioe.getMessage());
}
document.close();
}
}