Mikael Ståldal wrote: > That partly solves my problem. However, it truncates the text at word > boundary and I rather > want it to fit as many characters as possible into the cell. The long text is > an URL and the > wrapping-at-word-boundary algorithm doesn't work particually well.
I haven't written the book to gather dust in the book store. There's an example on how to handle URL splitting on page 119. This is the example that comes with the book: http://itext.ugent.be/itext-in-action/examples/chapter04/FoxDogSplit.java You really should consult the book; the questions you are asking aren't very challenging. I was hoping to get more interesting questions on this list, now that the book is available ;-) best regards, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/
