Page header overlap! 2006-07-24 - By mcevikce
Back
PDF file I create has a big table that spans multiple pages. And I am creating a page header and footer for every page but for some odd reason page headers are overlapping with the table rows. Here is the code that writes the header:
pdfPTable.writeSelectedRows(0, -1, a_document.leftMargin(), page.height() - a_document.topMargin() + pdfPTable.getTotalHeight(), a_writer.getDirectContent());
code that adds footer: pdfPTable.writeSelectedRows(0, -1, a_document.leftMargin(), a_document.bottomMargin(), a_writer.getDirectContent()); -- View this message in context: http://www.nabble.com/Page-header-overlap%21 -tf1995089.html#a5476133 Sent from the iText - General forum at Nabble.com.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|