Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 5th, 2011, 06:49 PM
Authorized User
 
Join Date: Apr 2010
Posts: 61
Thanks: 12
Thanked 0 Times in 0 Posts
Default Table Printing On Two Pages Issue

Hello.

I have a PDF document which has many tables.
One of the tables (which has multiple rows) is printing on two pages.
The problem is that part of the table on the first page is printing in the footer area so it's being overwritten with the page footer information.

What can I do to cause the table to print correctly on the second page and not in the footer area of the first page?

Also, I'm trying to keep several rows together in this table with no success.
There are hundreds of lines of code so I can't include it here.

Is there a link to a good example that I can check out?
I've searched the web for several hours and so far am unable to resolve my issue.

I'm using FOP 0.20.5.

Code:
Here's the start of the table:
  <xsl:template match="PAYER">
    <!-- PAYER NAME -->
    <fo:block>
      <fo:table table-layout="fixed">
        <fo:table-column column-width="0.7cm"/>
        <fo:table-column column-width="4.5cm"/>
        <fo:table-body>
          <fo:table-row keep-together="always">
....
          <!-- PAYER ADDRESS1  -->
          <fo:table-row keep-together="always">
....
    <fo:table-row padding="1pt">
      <fo:table-cell>
        <fo:block> </fo:block>
      </fo:table-cell>
      <fo:table-cell number-columns-spanned="2">
        <fo:block display-align="before">
          <fo:inline font-weight="bold" font-style="italic">
            <fo:marker marker-class-name="table-continued">Continued on next page...</fo:marker>
          </fo:inline>
        </fo:block>
      </fo:table-cell>
    </fo:table-row>
   </fo:table-body>
 </fo:table>
</fo:block>
Any suggestions will be greatly appreciated!

Thanks,
Rita

Last edited by ritagr; October 5th, 2011 at 06:52 PM..
 
Old October 6th, 2011, 01:08 PM
Authorized User
 
Join Date: Apr 2010
Posts: 61
Thanks: 12
Thanked 0 Times in 0 Posts
Default Table Printing On Two Pages Issue

My problem was the margin-bottom in the region-body section. Once I set that correctly my problem was resolved!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Multiple Pages raja.tadi VB How-To 0 June 26th, 2006 05:19 PM
Printing pages ken killeen VB.NET 2002/2003 Basics 0 October 27th, 2004 07:31 AM
Printing Multiple Pages Louisa VB.NET 2002/2003 Basics 2 June 7th, 2004 09:17 AM
Printing Several Pages Louisa VB.NET 2002/2003 Basics 1 April 8th, 2004 09:26 AM
Printing Web Pages gaghazoul VBScript 0 February 5th, 2004 02:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.