首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >XSL-FO 1.0强制内容以两列格式填充第一列

XSL-FO 1.0强制内容以两列格式填充第一列
EN

Stack Overflow用户
提问于 2017-06-14 21:28:56
回答 0查看 861关注 0票数 0

我对一个小表格使用了两列布局。

代码语言:javascript
复制
<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>

这很好用,除了最后一页只有十行,而且它被分成两列。有没有办法强制最后一页在进入下一列之前先填满第一列?

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44546250

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档