  | 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 | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | JSP - A mailing list about Java Server Pages specification and reference | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Word wrap | Word wrap 2006-09-07 - By Frank Starsinic
Back I have a one page PDF with many fields. A few of the fields can accept multiple lines of text. When the form is populated, however, the text is vertically aligned in the middle and extends beyond the end of the of the form field boundries. Is there an iText solution that will enable word wrap and force the text to be aligned at the top instead of the center of this multi-line field?
Graphically, the field looks like this...
==========================
Now is the time for all good men to
==========================
instead of...
========================== Now is the time for all good men to come to the aid of their country.
==========================
Thanks, Frank
-- -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- Hand Crafted Magic http://www.theambitiouscard.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
I have a one page PDF with many fields. A few of the fields can accept multiple lines of text.<br>When the form is populated, however, the text is vertically aligned in the middle and extends beyond the end of the <br>of the form field boundries. Is there an iText solution that will enable word wrap and force the <br>text to be aligned at the top instead of the center of this multi-line field?<br><br>Graphically, the field looks like this...<br><br>================ ==========<br><br>Now is the time for all good men to<br><br>=================== ======= <br><br>instead of...<br><br>==========================<br> Now is the time for all good men to<br>come to the aid of their country.<br> <br> ==========================<br> <br><br><br>Thanks,<br>Frank<br><br clear="all"><br>-- <br>-- ---- ---- ---- -- -- ---- ---- ---- ---- ---- ---- ---- ---- ---<br>Hand Crafted Magic<br><a href= "http://www.theambitiouscard.com/">http://www.theambitiouscard.com/ </a><br>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|
 |