Sorry! My bad!!! Thanks for your patience and help! Changing the end-tag to a start-tag on the row fixed the problem. So for this HTML code, this is the error iText gives.
Thanks again,
Bruno Lowagie <[EMAIL PROTECTED]> wrote:
i t wrote:> the following error :> > error = Insertion of illega
Thanks for the input Bruno! I hope to get a chance to work on it! Right now I have a bigger issue. The code I had working
HtmlParser.parse(document222, baisStrm2);
has quit working with the following error :
error = Insertion of illegal Element: 20
The HTML I am using is:
Temp tit
i t wrote:
the following error :
error = Insertion of illegal Element: 20
In this class you find the meaning of the number 20:
http://itext.sourceforge.net/src/com/lowagie/text/Element.java
public static final int CELL = 20
So you are trying to add a cell into an object that is not a row.
In y
Quoting i t <[EMAIL PROTECTED]>:
> Hello All,
>
> I now have the basic HTMLParser code working with a new document. What I
> need though is to be able to add regular iText elements to a document that is
> open and then add an "element" via the HTMLParser.parse to the same document.
Take a lo
Hello All,
I now have the basic HTMLParser code working with a new document. What I need though is to be able to add regular iText elements to a document that is open and then add an "element" via the HTMLParser.parse to the same document. Right now the way the HTMLParser opens/closes the doc