Re: [iText-questions] HTMLWorker and support for lettered lists

2010-04-16 Thread Joke Pol
Sorry for the bad layout, another attempt: if (tag.equals("ol")) { if (pendingLI) endElement("li"); skipText = true; cprops.addToChain(tag, h); com.lowagie.text.List list = new com.lowagie.text.List(true

[iText-questions] HTMLWorker and support for lettered lists

2010-04-16 Thread Joke Pol
Hello I noticed the HTMLWorker does not support lettered lists. I needed them and discovered the following change did the job for me: if (tag.equals("ol")) {if (pendingLI) endElement("li");skipText = true; cprops.addT

[iText-questions] Row height in parsed html snippets

2010-04-16 Thread Joke Pol
Hello I'm using html template snippets to generate a pdf document. I managed to controll the width of cells with colspans. But I did not find a style or attribute to reduce the default height of the cells. Here a stripped example of my code. It produces a simple table: a b X Y I want les