mikew01 wrote:
Hi,I have used iText to generate a report which uses nested tables which works fine but has left me with a niggling problem. When I nest a table within a PdfPCell and the nested table is too large to fit on the remainder of the page, iText starts a new page for the nested table, however if the nested table will fit on the page iText starts the nested table straight after the previous cell which is where I want it to be. Any ideas?
This problem is similar to a problem posted in the holidays. In my opinion the solution is to use setSplitLate(false); but the specific requirement of the OP was more complex (he wanted to be able to use setSplitLate at the cell level instead of on the table level). Please consult the mailing list archives: http://www.nabble.com/Problem-with-splitting-cells-to14476456.html http://thread.gmane.org/gmane.comp.java.lib.itext.general/34974/ ... The code snippet I added in my first response should do the trick. br, Bruno
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/