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...
List list = new List(List.ORDERED, List.ALPHABETICAL); list.setLowercase(List.LOWERCASE); list.setPostSymbol(") "); // use list
see List source