  | 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
|
|
|
  | | | -none- | -none- 2007-10-07 - By Bruno Lowagie
Back Aaron Baff wrote: > This is where we had a slight misunderstanding. I am adding some text > at the bottom of each page in a PageEvent, however, I am also using > HeaderFooter object and calling .setFooter() on the Document object.
Why? HeaderFooter isn't mentioned in the book. It's still in iText, but it's not compatible with the concept of adding content at absolute positions (that's what you're doing when using MultiColumnText). Add your footer in a PageEvent too.
> The output from the HeaderFooter _is_ affected by the Document's > margins, and the MultiColumnText does _not_ seem to be taking into > account the height of the HeaderFooter object when it calculates where > to stop on a page.
You are mixing two different iText concepts. That's like putting chocolate sauce or whipped cream on steak and fries. br, Bruno
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- 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/
|
|
 |