0
我正在使用帶領導者的表格列(虛線)在不同單元格中的內容之間創建可視連接。 E.g:使用空表格單元格和領導者的XSL-FO
Text in col one..........Text in col two
我用一個「間隔」欄,以保持在不同的細胞中的文字和間隔器柱之間的空間有虛線的領導者。
我的問題是,根據在第一個欄的實際文本會有COLUMN2前柱1和領導者之後的空白,如
Text in col one..... .....Text in col two
有時不會有空間,但其他時間空間會有幾個像素。
示例代碼:
<fo:table table-layout="fixed" width="100%" margin-left="0"
margin-right="0" padding-before="0" padding-after="0"
border-width="0" font-family="Franklin" font-size="12pt">
<fo:table-column column-width="50mm" />
<fo:table-column column-width="10mm" />
<fo:table-column column-width="50mm" />
<fo:table-body>
<fo:table-row>
<fo:table-cell display-align="after">
<fo:block text-align-last="justify">
<xsl:text>Text in col1</xsl:text>
<fo:leader leader-pattern="dots" />
</fo:block>
</fo:table-cell>
<fo:table-cell display-align="after">
<fo:block text-align-last="justify">
<fo:leader leader-pattern="dots" />
</fo:block>
</fo:table-cell>
<fo:table-cell display-align="after">
<fo:block>
<xsl:text>Text in col2</xsl:text>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
有誰知道如何擺脫惱人的空間?