Loading ...
Sorry, an error occurred while loading the content.
 

Table-header not flowing into the next page

Expand Messages
  • Praveen Sam
    Hi, I have a page that is dynamically populated with the data. It has a header(region-before), body(region-body) and a footer(region-after). The body has a
    Message 1 of 1 , Apr 2, 2003
      Hi,

      I have a page that is dynamically populated with the data. It has a
      header(region-before), body(region-body) and a footer(region-after).

      The body has a table which has a header and the body of the table is
      dynamic. For some reason when the data on the first page changes -
      the header does not always show up in the next page. I have tried
      different ways - so that the header(which has 3 rows) stays together
      and flows into the next page when it reaches a certain point in the
      page. Used a <fo:block keep-together.within-page="always">
      encompassing this table of the header.

      Also tried to use Keep-with-previous and keep-with-next for the rows
      of the header but still does not carry over the header(all the 3
      rows). Looks like the formatter thinks it has formatted the header
      on the first page and starts with the 3rd row on the next page.

      Any one has any ideas or am I missing something here. We are using a
      landscape - layout for our model.

      Any ideas or suggestions would be grealy appreciated.

      Thanks
      <!-- Layout master set -->


      <fo:layout-master-set>
      <fo:simple-page-master
      margin-right="1.5cm"
      margin-left="1.5cm"
      margin-bottom=".5cm"
      margin-top="1cm"
      page-width="27.5cm"
      page-height="24.5cm">
      <fo:region-before extent="6.3cm"/>
      <fo:region-body margin-top="6.3cm" margin-
      bottom="3.5cm"/>
      <fo:region-after extent="2.5cm"/>
      </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence>


      <!-- Sample of the header -->

      <fo:table width="27.5cm" border-width="0.5pt">
      <fo:table-column column-width="3.25cm"/>
      <fo:table-column column-width="4cm"/>
      <fo:table-column column-width="4cm"/>
      <fo:table-column column-width="1.75cm"/>
      <fo:table-column column-width="1.75cm"/>
      <fo:table-column column-width="1.75cm"/>
      <fo:table-column column-width="1.75cm"/>
      <fo:table-column column-width="1.75cm"/>
      <fo:table-column column-width="1.75cm"/>
      <fo:table-column column-width="1.75cm"/>
      <fo:table-column column-width="1.75cm"/>

      <fo:table-header >
      <fo:table-row >
      <fo:table-cell >
    Your message has been successfully submitted and would be delivered to recipients shortly.