  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Question about splitCharacter | Question about splitCharacter 2007-11-12 - By Tom Tolman
Back
I apologize since listing out the cases was not a very good way to describe my question. What I was hoping to find out is the answer to the following question:
Can I get i-text to consider some characters to be allowed to only split on the end of the line, such as ')' and other characters to only split at the start of the line, such as '('?
I am inferring that the answer to this is no- one can designate a split character based on context, but once you designate it as a split character i-text will decide to put this either on the end or the start of the line depending on what fits in the available space. However, one could presumably emulate this behavior by measuring chunks for a given cell adding characters one at a time and then introducing line breaks where appropriate.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- 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 iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |