  | 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
|
|
|
  | | | Subject: Writing text after ColumnText | Subject: Writing text after ColumnText 2007-11-01 - By Bogdan Munteanu
Back Hi all,
Yesterday I used iText for the first time to create a PDF document and of course encountered my first "not solvable by myself problem".
The document I want to create is a one page document with the following structure: -on top there are 3 columns with a height about 1/5 from total height -on middle there is lot of text but should not be columnized -on bottom another 5 columns
I've created the first 3 top columns using ColumnText and looks great. But when trying to add the next text in the middle comes the problem.
I use document.add(paragraph) and you can guess what happens. It is displayed starting from top of the page overlapping the 3 columns. After some documentation I realized that this is the correct behavior but I can't figure how to display the text starting right after the 3 top columns.
Thank you!
Hi all,<br><br>Yesterday I used iText for the first time to create a PDF document and of course encountered my first "not solvable by myself problem".<br><br>The document I want to create is a one page document with the following structure: <br>-on top there are 3 columns with a height about 1/5 from total height<br> -on middle there is lot of text but should not be columnized<br>-on bottom another 5 columns<br><br>I've created the first 3 top columns using ColumnText and looks great. But when trying to add the next text in the middle comes the problem. <br><br>I use document.add(paragraph) and you can guess what happens. It is displayed starting from top of the page overlapping the 3 columns. After some documentation I realized that this is the correct behavior but I can't figure how to display the text starting right after the 3 top columns. <br><br>Thank you!<br>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- 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/
|
|
 |