Technologies XML / XSL-FO / Référence / Attributs de XSL-FO / starts-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.15

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

Description

Définie sur une cellule (<fo:table:cell>), cette propriété commence une ligne après cette cellule. Elle s’applique uniquement si la cellule est définie directement dans l’en-tête (<fo:table-header>), le pied (<fo:table-footer>) ou le corps (<fo:table-body>). Un tableau peut ainsi être construit sans éléments <fo:table-row>.

Valeurs

true

Cette valeur impose le début d’une ligne de tableau.

false

Cette valeur n’impose pas de nouvelle ligne de 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="5mm 5mm 5mm
                      5mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Inhalt-Seiten">
<fo:flow flow-name="xsl-region-body">
<fo:table>
<fo:table-column column-width="20%"/>
<fo:table-column column-width="30%"/>
<fo:table-column column-width="20%"/>
<fo:table-column column-width="30%"/>
<fo:table-header background-color="#4F491D">
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenkopf
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenkopf
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenkopf
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenkopf
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" starts-row="true" border="black solid
                      1pt">
<fo:block>
Tabellenkopf
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenkopf
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenkopf
</fo:block>
</fo:table-cell>
<fo:table-cell ends-row="true" text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenkopf
</fo:block>
</fo:table-cell>
</fo:table-header>
<fo:table-footer background-color="#4F491D">
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenfuß
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenfuß
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenfuß
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenfuß
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" starts-row="true" border="black solid
                      1pt">
<fo:block>
Tabellenfuß
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenfuß
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenfuß
</fo:block>
</fo:table-cell>
<fo:table-cell ends-row="true" text-align="center" border="black solid
                      1pt">
<fo:block>
Tabellenfuß
</fo:block>
</fo:table-cell>
</fo:table-footer>
<fo:table-body background-color="#F38222">
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zeile 1
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zeile 1
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zeile 1
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zeile 1
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" starts-row="true" border="black solid
                      1pt">
<fo:block>
Zeile 2
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zeile 2
</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" border="black solid
                      1pt">
<fo:block>
Zeile 2
</fo:block>
</fo:table-cell>
<fo:table-cell ends-row="true" text-align="center" border="black solid
                      1pt">
<fo:block>
Zeile 2
</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