前两天遇到个问题,郁闷了半天。简单的一个table 显示问题
<fo:block font-size="9pt" text-align="left">
<fo:table width="175mm" table-layout="fixed" border="solid">
<fo:table-column column-width="63mm"/>
<fo:table-column column-width="63mm"/>
<fo:table-column column-width="63mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border="solid" text-align="left">
<fo:block space-before="4mm" font-family="SimSun" start-indent="1mm" text-align="left" >
十年續保真智精選定期保險首年免繳附加契約
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid">
<fo:block space-before="4mm" font-family="SimSun" start-indent="1mm" text-align="left" >
十年續保真智精選定期保險首年免繳附加契約
</fo:block>
</fo:table-cell>
<fo:table-cell border="solid">
<fo:block space-before="4mm" font-family="SimSun" start-indent="1mm" text-align="left" >
十年續保真智精選定期保險首年免繳附加契約
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
生成的数据就是没有换行。
原来是少了一句:
<fo:block language="ZH">
加上后就可以换行了。