Technologies XML / XSL-FO / Référence / Attributs de XSL-FO / ends-row

(Extrait de « XSL-FO ― Die Referenz » de 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

Section de la recommandation : 7.28.11

Catégorie : 7.28 Propriétés des tableaux

Description

Définie sur une cellule (<fo:table:cell>), cette propriété termine la ligne après cette cellule. Si le tableau contient <fo:table:row>, qui regroupe normalement les cellules en lignes et contrôle les changements de ligne, cet élément est toujours prioritaire.

Valeurs

true

Cette valeur confirme la fin de la ligne du tableau.

false

Cette valeur empêche la fin de la ligne du tableau.

Valeur par défaut : false

Version XSL-FO : 1.0

Autorisé dans :

<fo:table-cell>

Cet élément place les données dans une cellule du tableau.

Prise en charge :

Niveau de conformité

Antenna House

FOP

RenderX XEP

Altsoft XML2PDF

Compart DocBridge

Étendu

O

O

O

O

O

Exemple XSL-FO :

<fo:root font-family="Arial" font-size="10pt" 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="Inhalt-Seiten" margin="0mm 0mm 0mm
                      0mm" page-height="297mm" page-width="210mm">
<fo:region-body margin="26mm 25mm 41mm
                        25mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Inhalt-Seiten">
<fo:flow flow-name="xsl-region-body" font-family="Arial Unicode MS">
<fo:table>
<fo:table-column column-width="25%"/>
<fo:table-column column-width="25%"/>
<fo:table-column column-width="25%"/>
<fo:table-column column-width="25%"/>
<fo:table-header background-color="#4F491D">
<fo:table-cell text-align="center" border="black solid
                      1pt" color="#FFFFFF">
<fo:block>
Kopfzelle 1
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt" color="#FFFFFF">
<fo:block>
Kopfzelle 2
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt" color="#FFFFFF">
<fo:block>
Kopfzelle 3
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" ends-row="true" border="black solid
                      1pt" color="#FFFFFF">
<fo:block>
Kopfzelle 4
<fo:block/>
ends-row="true"
</fo:block>
</fo:table-cell>
</fo:table-header>
<fo:table-body background-color="#F38222">
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 1
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 2
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt" ends-row="true">
<fo:block>
Zelle 3
<fo:block/>
ends-row="true"
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" ends-row="true" border="black solid
                      1pt">
<fo:block>
Zelle 4
<fo:block/>
ends-row="true"
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 5
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 6
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 7
</fo:block>
</fo:table-cell>
<fo:table-cell ends-row="true" text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 8
<fo:block/>
ends-row="true"
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 9
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 10
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zelle 11
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" ends-row="true" border="black solid
                      1pt">
<fo:block>
Zelle 12
<fo:block/>
ends-row="true"
</fo:block>
</fo:table-cell>
</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>

Télécharger les exemples

Dans la sortie :

Extrait de la recommandation du W3C :

Informations complémentaires en ligne sur

Présentation de la propriété dans la référence XSL-FO

haut de page