I'd like to have a List without any symbol where any ListItem that wraps onto a second line is indented more than the first line. For example:
----- A short item * sub item * sub item A long item that takes up so much space it wraps onto a second line with extra indent * sub item * sub item ----- The following email indicates that if it is possible, I have to put the List in ColumnText. Is this possible? If so, what's the correct way to do it? http://article.gmane.org/gmane.comp.java.lib.itext.general/15092/match=indent I tried the following but it doesn't work. ----- ct.setSimpleColumn(document.left(), document.top(), document.right(), document.bottom()); ct.addText("Test Slide"); ct.go(); String longString = "A really, really, really, really long list item. So long it extends past the edge and wraps"; List list1 = new List(List.UNORDERED, 0); list1.setIndentationLeft(10); list1.setListSymbol(""); list1.add("The red fox"); list1.add("The lazy dog"); List list2 = new List(List.UNORDERED, 10); list2.setIndentationLeft(10); list2.add("A nesting hen"); list2.add(longString); list1.add(list2); list1.add(longString); ct.addElement(list1); ct.go(); ----- -- Stuart Jansen <[EMAIL PROTECTED]> Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/