Continued Labels

Top Previous Topic Next Topic  Print this topic

Sometimes is necessary to display a "Continued from the previous page" text whenever a page break occurs.

This behavior can be achieved using the xf:continued-label element:

 

...

<fo:table>

  <fo:table-column column-width="proportional-column-width(1)"/>

  <fo:table-header>

       <fo:table-row>

               <fo:table-cell background-color="rgb(153,204,255)"

                                                       font-weight="bold">

                       <fo:block>Header

                       <xf:continued-label xmlns:xf="http://www.ecrion.com/xf/1.0">

                               (Continued)

                       </xf:continued-label>

                       </fo:block>

               </fo:table-cell>

       </fo:table-row>

  </fo:table-header>

  <fo:table-body>

       <fo:table-row>

               <fo:table-cell>

                       <fo:block>

                               Row 1

                       </fo:block>

               </fo:table-cell>

       </fo:table-row>

       <fo:table-row>

               <fo:table-cell>

                       <fo:block>

                               Row 2

                       </fo:block>

               </fo:table-cell>

       </fo:table-row>

       <fo:table-row>

               <fo:table-cell>

                       <fo:block>

                               Row 3

                       </fo:block>

               </fo:table-cell>

       </fo:table-row>

  </fo:table-body>

</fo:table>

...

 

 

The rendering result is displayed in the next figure:

continued_table