Footer rows 2006-08-17 - By Ken
Back I want to print a running footer with 3 rows of text, plus the "Page X of Y". I've copied the tutorial code and the "Page X of Y" prints fine, but I only get 2 footer rows, even when I call setFooterRows() or sethHeaderRows() on my footer. I've also tried adjusting the bottom margin in foot.writeSelectedRows(0, -1, document.leftMargin(), document.bottomMargin(), writer.getDirectContent()); but that cause the first of the three footer rows to print on top of data near the bottom of the page. What do I need to do to force the 3-line footer to print? Ken -- ---- ---- ---- ---- ---- ----- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. I want to print a running footer with 3 rows of text, plus the "Page X of Y". I've copied the tutorial code and the "Page X of Y" prints fine, but I only get 2 footer rows, even when I call setFooterRows() or sethHeaderRows() on my footer. I've also tried adjusting the bottom margin in <br> <br> foot .writeSelectedRows(0, -1, document.leftMargin(), document.bottomMargin(),<br> writer.getDirectContent()); <br> <br> but that cause the first of the three footer rows to print on top of data near the bottom of the page. What do I need to do to force the 3-line footer to print?<br> <br> Ken<br> <p>  <hr size=1>How low will we go? Check out Yahoo! Messenger?s low <a href="http ://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/ *http://voice.yahoo.com"> PC-to-Phone call rates. -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- 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
|
|