Sirs

I am currently using itext and get some questions:

1. I am going to display the document with label and data line by line inside the document. The data will be in vector format. However, i got the alignment problem because there will have one label if the data is repeating item:

Label1                data1
Lable2                data2
Label3                data31
                data32
                data33

Is it possible to generate a real time table with 2 columns, fixed length and no border so that I may make the data left-align?

2. I will have a title: Document. I am using the syntax like


However can I make it centralize?

3. After generating the document, I found there may have more than one page, can I make the footer like Page 1 of 2, Page 2 of 2, depending on total no. of page and current page


        document.add(new Paragraph((String) aVector.get(i), new Font(Font.TIMES_NEW_ROMAN, 12, Font.NORMAL)));

Thank you for your attention

Timothy Ma

Reply via email to