I am adding several large paragraphs of text of varying length to a
ColumnText object. However, I would like the paragraphs that contains more
than 5 lines of text to be automatically truncated after 5 lines (i.e. only
the 1st 5 lines of text in the paragraph should be rendered to the
ColumnText). 
My Questions:
1. Is there an existing iText API which will do this?   or
2. Would i have to extend the iText Paragragh class to do it? I know i would
have to take into consideration Font, font size, # of chars per line , etc
in order to calculate the available space.
-- 
View this message in context: 
http://www.nabble.com/Auto-Truncating-Paragraphs-tp19473682p19473682.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to