I have a problem while adding a table into a  RTF doc.

This happens while document.add(table)
in   RtfWriter.getInstance(document, new FileOutputStream("MyFileName.rtf")
The number of cells inserted  are less than total number of cells in  the
table.
(Total number of Cell/No of Column)?


The following error gets reported :
Exception in thread "main" java.lang.NullPointerException
at com.lowagie.text.rtf.RtfRow.importRow(Unknown Source)
at com.lowagie.text.rtf.RtfTable.importTable(Unknown Source)
at com.lowagie.text.rtf.RtfWriter.writeTable(Unknown Source)
at com.lowagie.text.rtf.RtfWriter.addElement(Unknown Source)
 at com.lowagie.text.rtf.RtfWriter.add(Unknown Source)
 at com.lowagie.text.Document.add(Unknown Source)
 at MyWriter.writeTable(MyWriter.java:167)
 at Comp.main(Comp.java:53)


Please help me ,
With Thanks and Regards
manu


_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to