XML-Technologien / XSL-FO / Referenz / Antenna House Formatter XSL Extensions / Elements / table-cell-repeated-marker

(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Table

Common Usage:

Specifies the contents to be displayed in the split cell. V6.3[no-LT]

Areas:

This element does not generate a region directly.

Constraints:

Available to specify only one as a first child (except for a marker) of fo:table-cell.

Contents:

(#PCDATA|%inline;|%block;)*

When axf:repeat-cell-content-at-break="true" is specified and <axf:table-cell-repeated-marker> is contained in the cell, the contents of <axf:table-cell-repeated-marker> is used instead of the contents of the cell. This element is not available with AH Formatter V6.3 Lite.

XSL-FO sample:

<fo:root font-size="12pt" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">
<axf:document-info name="author" value="Alex Critchfield, Antenna House"/>
<axf:document-info name="keywords" value="extensions, table, cell, repeat, sample, example"/>
<axf:document-info name="subject" value="cell repeat marker extension"/>
<axf:document-info name="title" value="cell repeat marker extensions example"/>
<fo:layout-master-set>
<fo:simple-page-master page-width="8.5in" page-height="11in" master-name="main">
<fo:region-body region-name="body" margin-top="1in" margin-bottom="1in" margin-left=".75in" margin-right=".75in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:declarations>
<axf:space-after-punctuation code="." space="2in" language="en"/>
</fo:declarations>
<fo:page-sequence master-reference="main">
<fo:flow flow-name="body">
<fo:block span="all">
This page has a table that breaks across columns. The cell thats that are broken display the contents of the repeat marker after the break.
</fo:block>
<fo:block/>
<fo:block space-before="6in">
<fo:table width="4in" table-layout="fixed">
<fo:table-body>
<fo:table-row>
<fo:table-cell border="1pt solid black" padding="5pt" axf:repeat-cell-content-at-break="true">
<axf:table-cell-repeated-marker>
<fo:block>
<fo:inline>
[[see previous page]]
</fo:inline>
</fo:block>
</axf:table-cell-repeated-marker>
<fo:block>
cell with continued marker
</fo:block>
</fo:table-cell>
<fo:table-cell border="1pt solid black" padding="5pt" axf:repeat-cell-content-at-break="true">
<fo:block>
cell without continued marker
</fo:block>
</fo:table-cell>
<fo:table-cell border="1pt solid black" padding="5pt">
<fo:block>
 cell without repeat cell contents at break property cell without repeat cell contents at break property cell without repeat cell contents at break property cell without repeat cell contents at break property cell without repeat cell contents at break property cell without repeat cell contents at break property cell without repeat cell contents at break property cell without repeat cell contents at break property cell without repeat cell contents at break property cell without repeat cell contents at break property 
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

Download der Beispiele

Output:

page 2

nach oben