我对一个小表格使用了两列布局。
<fo:block-container column-count="2">
<fo:table border-bottom="solid" border-bottom-width=".5pt"
border-top="solid" table-layout="fixed" table-omit-header-at-break="false"
table-omit-footer-at-break="true" text-align="start" white-space-treatment="preserve"
width="4in" hyphenate="true" cols="4">
<fo:table-column column-number="1" column-width="30%"/>
<fo:table-column column-number="2" column-width="20%"/>
<fo:table-column column-number="3" column-width="20%"/>
<fo:table-column column-number="4" column-width="20%"/>
<fo:table-header>
<xsl:call-template name="NI-HEADER"/>
</fo:table-header>
<fo:table-body>
<xsl:call-template name="SortParts"/>
</fo:table-body>
</fo:table>
</fo:block-container>这很好用,除了最后一页只有十行,而且它被分成两列。有没有办法强制最后一页在进入下一列之前先填满第一列?

https://stackoverflow.com/questions/44546250
复制相似问题