使用 AH Formatter V6.6 (我没有安装 V5.3),如果您为表格列指定宽度(使用fo:column
and column-width
)并设置height="100%"
在fo:block-container
在列中。
下面的屏幕截图来自启用了“显示边框”选项的 AH Formatter GUI,以便您可以查看区域的范围并查看fo:block-container
第二个表格标题单元格中的(旋转)高度。
<fo:table start-indent="0" end-indent="0">
<fo:table-column column-width="50pt" />
<fo:table-column column-width="50pt" />
<fo:table-header>
<fo:table-row>
<fo:table-cell display-align="after" padding="6pt">
<fo:block-container reference-orientation="90" display-align="center">
<fo:block>Text</fo:block>
</fo:block-container>
</fo:table-cell>
<fo:table-cell display-align="after" padding="6pt">
<fo:block-container height="100%" reference-orientation="90" display-align="center">
<fo:block>Text</fo:block>
</fo:block-container>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding="6pt">
<fo:block>Text</fo:block>
</fo:table-cell>
<fo:table-cell padding="6pt">
<fo:block>Text</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>