[iText-questions] Add a new Page to RTF document

2010-01-13 Thread Me Simple
I am using iText 2.0.8 version. Is there a way to create a RTF Table in a new page or add a blank page in the RTF document. Basically, I am creating RTFTables in a loop and trying to create a RTF Table in a new page. I tried adding document.newPage() , but it didn't work. Please give a way to do

[iText-questions] Trouble rendering HTML strings with "font-size: small"

2009-01-08 Thread Me Simple
Hi, I am facing a problem when parsing a HTML string and adding it in a RTF Table cell. I have the below sample strings. When I parse these and add them in the a RTF TableCell, they appear as dotted lines (Text with size as 1). It can be viewed only if we increase the size. Is there a way t

[iText-questions] Add HTML string to RTF table's cell

2008-05-27 Thread Me Simple
Hi, I want to add parsed html content into a RTF table cell. I saw the API com.lowagie.text.html.HtmlParser.parse(doc, reader), which works perfectly, but it only adds the html into the document directly. What I need is to add the HTML string inside a table cell. I tried HTMLWorker, but I loose

[iText-questions] Split RTFTables dynamically based on height between pages

2008-02-27 Thread Me Simple
Hi, I am creating a RTF document using IText 2.0.8 version. I am inserting new RTFtables inside a loop and each RTFTable has variable number of rows. The default behaviour of iText is if the table height increases(when more rows are added dynamically) beyond the current page height, table spills

[iText-questions] '?' appears in generated RTF document for '\r'

2008-02-27 Thread Me Simple
HI, I recently upgraded from iText 1.3 to iText 2.0.8 version. I am generating a RTF document with tables. However, I get a '?' characted for every '\r' character encounterd in the input string. The same code used to work for iText 1.3 version. Attaching the generated RTF and the code. Kindly h