keep service table together within page

This commit is contained in:
skyanth 2019-06-21 15:23:23 +02:00
parent 6d30c1406e
commit 61efe15dd4
2 changed files with 3 additions and 3 deletions

View File

@ -500,7 +500,7 @@
</fo:list-block> </fo:list-block>
</xsl:when> </xsl:when>
<xsl:when test="@format = 'table'"> <xsl:when test="@format = 'table'">
<fo:table xsl:use-attribute-sets="breakdowntable"> <fo:block xsl:use-attribute-sets="keep-together"><fo:table xsl:use-attribute-sets="breakdowntable">
<fo:table-column column-width="proportional-column-width(6)" <fo:table-column column-width="proportional-column-width(6)"
xsl:use-attribute-sets="borders"/> xsl:use-attribute-sets="borders"/>
<fo:table-column column-width="proportional-column-width(2)" <fo:table-column column-width="proportional-column-width(2)"
@ -616,7 +616,7 @@
</fo:table-cell> </fo:table-cell>
</fo:table-row> </fo:table-row>
</fo:table-body> </fo:table-body>
</fo:table> </fo:table></fo:block>
<xsl:if test="$serviceNodeSet/entry/@estimate = true()"> <xsl:if test="$serviceNodeSet/entry/@estimate = true()">

View File

@ -18,7 +18,7 @@
<!-- User-accessible classes --> <!-- User-accessible classes -->
<xsl:attribute-set name="keep-together"> <xsl:attribute-set name="keep-together">
<xsl:attribute name="keep-together">always</xsl:attribute> <xsl:attribute name="keep-together.within-page">always</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>
<!-- Common settings --> <!-- Common settings -->