#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Ireland
    Posts
    10
    Rep Power
    0

    Unhappy FOP -> PDF: Spanning Tables across multiple pages


    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, if no one can help in this forum, can you point me in the direction of somewhere that is dedicated to this topic? They aren't plotted about as plentiful as one would wish!

    Thank you in advance for any help you can give
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Ireland
    Posts
    10
    Rep Power
    0
    Got it!

    nevermind , not that anyone out there seemed to know?

    Cya

IMN logo majestic logo threadwatch logo seochat tools logo