W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2001

FOP -> PDF: Spanning Tables across multiple pages

From: Patrick Hogarty <hogartyp@yahoo.ie>
Date: Wed, 18 Jul 2001 13:46:34 +0100 (BST)
Message-ID: <20010718124634.2009.qmail@web11707.mail.yahoo.com>
To: www-xsl-fo@w3.org
Hello, 

I am currently using fop v0.19 to convert an xml/xsl
pair into a pdf document. 

The document will contain large tables and what
happens is, the table gets cut at the bottom of the
page and then disappears forever. It doesn't actually
continue onto the next page. 

I have this set up in my XSL file for the page layout:

================================== 
<fo:layout-master-set> 
<!--Landscape--> 
<fo:simple-page-master 
master-name="main" 
margin-left="0.5in" 
margin-right="0.5in" 
page-height="8.5in" 
page-width="11in"> 

<fo:region-start extent="1.0in"/> 
<fo:region-before extent="1.0in"/> 
<fo:region-body margin-bottom="1.0in"
margin-top="0.5in"/> 
<fo:region-end extent="2.0in"/> 
<fo:region-after extent="1.0in"/> 

</fo:simple-page-master> 
</fo:layout-master-set> 
====================================== 

I have tried the 
"<fo:sequence-specification> 
<fo:sequence-specifier-alternating
page-master-first="main" page-master-odd="main"
page-master-even="main" /> 
</fo:sequence-specification> " 
but this only throws up exceptions and ignores them!
Im not even trying to be fancy, with different styles
for each page!!! 

I have found one company who have developed the XEP
Rendering engine. they show examples of headers and
footers and spanning tables. I cant really afford to
buy this product so surely there must be a simpler
alternative. more code...more time...etc I can put up
with to get this done, but not more money! Not for
something which should be handy enough??? 

This is where someone out there comes in!  Has anyone
come accross this before, did you solve it? Can you
tell me how you did it? 

Is there something I need to put into my <fo:table...>
to achieve this? 
Current: 
"<fo:table space-before.optimum="12pt"
border-width="0.5mm" border-style="solid"
background-color="lightgrey">" 

I hope someone can assist me!

Thank you in advance for any help you can give

======
Hoggie
======





____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
Received on Wednesday, 18 July 2001 08:46:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT