iText ListItem and List class in java

I want to use iText to create a PDF. I want to create a ordered list. However, I want the way elements are marked to be:

a)
b)
c)
d)
etc...

iText doesn't support that kind of marking, as it has several of his own, predefined. Is there a way to create my own marker (e.g. constructing a string of elements and passing it to the correct method/constructor), or is the only way to tamper with the iText's core files?

The lists I intend using it on has only up to 5 elements, so the lenght of the alphabet is not a problem...

Answers


What about:

List list = new List(List.ORDERED, List.ALPHABETICAL); 
list.setLowercase(List.LOWERCASE);
list.setPostSymbol(") "); 
// use list 

see List source


Need Your Help

reorder of rows in each subject using R

r dataset order

I had a problem to deal with the reordering of rows in a dataset.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.