Re: com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

glennr <[email protected]> Fri, 11 Dec 2015 06:30:02 -0800 (PST)
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <[email protected]>
I am getting the same error when I try to add multiple PdfPTable objects to a
document.

        doc.add(table1);
        doc.add(table2);
        doc.close();

The thread mentioned doing a cb.saveState() and a cb.restoreState().  What
is "cb"??  Thanks.



--
View this message in context: http://itext.2136553.n4.nabble.com/com-lowagie-text-exceptions-IllegalPdfSyntaxException-Unbalanced-save-restore-state-operators-tp4536784p4660955.html
Sent from the iText mailing list archive at Nabble.com.

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

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php