[xsl] Re: XSL-FO question regarding continued on next page for tables

Subject: [xsl] Re: XSL-FO question regarding continued on next page for tables
From: "Mario Madunic mario.madunic@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Jun 2014 18:17:46 -0000
Sorry forgot this bit of code

<fo:table-cell><!-- This table-cell is part of the wrapper table -->

 <fo:block margin="0.00in" height="0.00in"><fo:marker
marker-class-name="{$MarkerName}">Continued on next page <xsl:value-of
select="@code" /></fo:marker></fo:block>
  <fo:table table-layout="fixed" margin="0.00in" width="100%">content
here</fo:table>
  <fo:block margin="0.00in" height="0.00in"><fo:marker
marker-class-name="{$MarkerName}"> </fo:marker></fo:block>

</fo:table-cell>

Mario

-----Original Message-----
From: Mario Madunic mario.madunic@xxxxxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, June 24, 2014 10:43 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] XSL-FO question regarding continued on next page for tables

Hi,

I'm having an issue with a continued on next page statement using markers and
fo:table-footer.

Decided to use a wrapper table because 3 table-cells can be of varying heights
sometimes the continued statement is not present when using the first cell and
one of the other two cells is of greater length. Hence the use of a wrapper
table that contains the table-footer with continued statement.

What is happening is that on occasion the statement appears at the bottom of
the page but is not related to the table row above it. Example

111 Last table row content
(blank space (0.25in) after the row which is part of the footer) Continued on
next page (222)
--- page break ---
222 content

The continued statement should not appear as it is not related to the last
table row on the page. There seems to be enough space for the content of 222
to appear on the preceding page.
All marker names a generated dynamically and called by the following statement
in the wrapper table. (it also appears as if the content of the blocks in the
table cells (not wrapper table) will not break over pages, do not know if this
info is helpful).

<fo:retrieve-table-marker retrieve-class-name="{$MarkerName}"
retrieve-position-within-table="last-ending" />

Have I gone about his wrong or is there any other attributes/values that I
should set?

Any help will be appreciated.

Thanks

Mario Madunic | Software Developer | AeroInfo Systems, A Boeing Company |
Desk: (604) 232 - 2752 | mario.madunic@xxxxxxxxxxxx | #200-13575 Commerce
Parkway | Richmond, BC, V6V 2L1, Canada | www.aeroinfo.com | www.boeing.com

Current Thread