Bonjour,
je rencontre avec XSL:FO et FOP un problème de création de page suivante en bas d'un tableau au contenu dynamique.
Voici le code du format de ma page :
et voici le code du tableau dynamique :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <fo:layout-master-set> <!-- Definition of a single master page. It is simple (no headers etc.) --> <fo:simple-page-master master-name="first" page-width="21cm" page-height="29.7cm" margin-left="1cm" margin-right="1cm" margin-bottom="0.5cm" margin-top="0.5cm" > <fo:region-body margin-top="1cm" margin-bottom="1cm" /> <fo:region-before extent="3cm" /> <fo:region-after extent="1.5cm" /> </fo:simple-page-master> </fo:layout-master-set>
Même avec le keep-together="always" dans mes lignes, le tableau déborde sur mon pied de page et ne crée pas de page suivante.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 <fo:block-container position="absolute" top="480pt" height="800pt" left="0pt" width="540pt" border-color="#000000" border-style="solid" border-width="0px"> <fo:table width="540pt" padding="0.3cm"> <fo:table-column column-width="265pt"/> <fo:table-column column-width="10pt"/> <fo:table-column column-width="265pt"/> <fo:table-body border-style="solid" border-color="#000000" border-width="0px"> <xsl:for-each select="//list[@id='tasks']/list[@id='line']"> <fo:table-row keep-together="always" height="60pt"> .../... </fo:table-row> <fo:table-row keep-together="always" height="10pt"></fo:table-row> </xsl:for-each> </fo:table-body> </fo:table> </fo:block-container> <!-- Fin de Bloc Formulaires Dynamiques -->
Merci d'avance
Partager