XML-Technologien / XSL-FO / Referenz / Attribute in XSL-FO / retrieve-boundary-within-table

(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

Recommendationnummer: 7.25.2

Kategorie: 7.25 Properties for Markers

Beschreibung

Dieses Attribut bestimmt für einen Tabellenmarker (<fo:retrieve-table-marker>) einen Geltungsbereich. Ein Marker (<fo:marker>) wird nur aufgerufen, wenn er in diesem Geltungsbereich definiert wurde.

Werte

table

Der Geltungsbereich gilt für die gesamte Tabelle.

table-fragment

Der Geltungsbereich gilt für einen Teil der Tabelle.

page

Der Geltungsbereich gilt nur für die aktuelle Seite.

Standardwert: table

XSL-FO Version: 1.1

Erlaubt in:

<fo:retrieve-table-marker>

Das Element erlaubt es, in Zusammenarbeit mit <fo:marker> Wiederholungen von Bereichen in Tabellen zu erzielen.

Unterstützung:

Conformance Level

Antenna House

FOP

RenderX XEP

Altsoft XML2PDF

Compart DocBridge

Extended

J

N

-

J

J

XSL-FO Beispiel:

<fo:root font-family="Arial" font-size="9.5pt" line-height="1.2em" 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">
<fo:layout-master-set>
<fo:simple-page-master master-name="seite" margin="0mm 0mm 0mm
                      0mm" page-height="30mm" page-width="35mm">
<fo:region-body region-name="body" margin="2mm 2mm 2mm
                      2mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="seite">
<fo:flow flow-name="body">
<fo:table border="solid" border-width="0.5pt">
<fo:table-header>
<fo:table-row>
<fo:table-cell>
<fo:block>
Produkt
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Preis
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-footer>
<fo:retrieve-table-marker retrieve-class-name="subtotal" retrieve-boundary-within-table="table" retrieve-position-within-table="last-starting-within-page"/>
<fo:retrieve-table-marker retrieve-class-name="continued" retrieve-boundary-within-table="table" retrieve-position-within-table="last-starting-within-page"/>
</fo:table-footer>
<fo:table-body>
<fo:table-row>
<fo:marker marker-class-name="continued">
<fo:table-row>
<fo:table-cell border="solid" border-width="0.5pt" number-columns-spanned="2">
<fo:block font-size="7pt">
Weiter auf
                nächster Seite...
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:marker>
<fo:marker marker-class-name="subtotal">
<fo:table-row>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Zwischensumme:
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block text-align="right">
2,00 EUR
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:marker>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Schokolade
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block text-align="right">
2,00 EUR
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:marker marker-class-name="continued">
<fo:table-row>
<fo:table-cell border="solid" border-width="0.5pt" number-columns-spanned="2">
<fo:block font-size="7pt">
Weiter auf nächster Seite...
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:marker>
<fo:marker marker-class-name="subtotal">
<fo:table-row>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Zwischensumme:
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block text-align="right">
6,00 EUR
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:marker>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Eis
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block text-align="right">
4,00 EUR
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:marker marker-class-name="continued">
<fo:table-row>
<fo:table-cell border="solid" border-width="0.5pt" number-columns-spanned="2">
<fo:block font-size="7pt">
Weiter auf
                nächster Seite...
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:marker>
<fo:marker marker-class-name="subtotal">
<fo:table-row>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Zwischensumme:
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block text-align="right">
9,00 EUR
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:marker>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Butter
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block text-align="right">
3,00 EUR
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:marker marker-class-name="continued"/>
<fo:marker marker-class-name="subtotal">
<fo:table-row font-weight="bold">
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Gesamt:
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block text-align="right">
10,00 EUR
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:marker>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block>
Brot
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid" border-width="0.5pt">
<fo:block text-align="right">
1,00 EUR
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>

Download der Beispiele

In der Ausgabe:

Seite 2

Seite 3

Seite 4

Auszug aus der W3C recommendation:

Weitere Informationen online zu

Darstellung der Eigenschaft in der XSL-FO-Referenz

nach oben