好日子 我有這個XSL-FO
XSL-FO適用半徑頂部邊框
<fo:table table-layout="fixed" border-width="0.2mm" border-color="#330099" border-style="groove"
border-collapse="separate" background-color="white" line-height="16pt" space-before.optimum="10pt"
space-after.optimum="6pt" text-align="left" >
<fo:table-column column-width="37mm"/>
<fo:table-column column-width="37mm"/>
<fo:table-column column-width="37mm"/>
<fo:table-column column-width="37mm"/>
<fo:table-column column-width="37mm"/>
<!-- <fo:table-column column-width="38mm"/> -->
<fo:table-body>
<fo:table-row>
<fo:table-cell border-width="0.01mm" border-color="#330099" border-style="groove" background-color="lightgrey">
<fo:block text-align="left" color="#000000" font-size="8pt" font-weight="bold">Account Number</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.01mm" border-color="#330099" border-style="groove" background-color="lightgrey">
<fo:block text-align="left" color="#000000" font-size="8pt" font-weight="bold">Customer Id</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.01mm" border-color="#330099" border-style="groove" background-color="lightgrey">
<fo:block text-align="left" color="#000000" font-size="8pt" font-weight="bold">Account Currency</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.01mm" border-color="#330099" border-style="groove" background-color="lightgrey">
<fo:block text-align="right" color="#000000" font-size="8pt" font-weight="bold">Opening Balance</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.01mm" border-color="#330099" border-style="groove" background-color="lightgrey">
<fo:block text-align="right" color="#000000" font-size="8pt" font-weight="bold">Closing Balance</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
我的問題是:我想申請圓棒邊框這個表
是可能的邊界半徑?
或任何其他方法?
你使用FOP嗎?請參閱http://xmlgraphics.apache.org/fop/trunk/extensions.html#rounded-corners和http://wiki.apache.org/xmlgraphics-fop/RoundedBorders(未經我測試)。 – mzjn