What do you mean " floating out of the PdfPCell rather than by expanding it"?
Paulo ----- Original Message ----- From: "davidfossil" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, August 21, 2007 10:52 AM Subject: [iText-questions] Capturing the overflow from PdfPCell > > When adding a Phrase with a long text string to a narrow PdfPCell the text > is > automatically wrapped into several lines. In the project I am working on I > want the text to wrap, by floating out of the PdfPCell rather than by > expanding it. As I read the source code this is not possible what-so-ever. > > As a workaround I have set a fixed height on the PdfPCell, causing the > text > to wrap "into nowhere". My idea here is to then catch the overflown text, > to > manually add it to the cell below. From the iText source I have found that > PdfLine.add() and PdfChunk.split() seems that seems to do the actual line > splitting, but unfortunately its all package private and I can not seem to > find any "entraces" other than compiling my own modified iText. > > I have really tried to solve this one myself be investigating the iText > source code, but know solution has turned up yet. I hope someone here is > able to help me out. Alternative solutions to the original problem are > very > welcome as well. > > Thanks in advance. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
