|
以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XSL/XSLT/XSL-FO/CSS 』 (http://bbs.xml.org.cn/list.asp?boardid=8) ---- 求助,如何对fo:table 中的内容进行自动换行? (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=14080) |
|
-- 作者:HPAkula -- 发布时间:1/28/2005 10:21:00 AM -- 求助,如何对fo:table 中的内容进行自动换行? 我新建了一个table表,在其中定义了数个table-cell,每个table-cell都是直接从xml文件中取值的,但是现在遇到一个问题,那就是table-cell中的值经常顶出整个table-cell的范围,而不是在cell中分行显示。xsl-fo的文件片断如下: 新建table表: <fo:table width="100%" table-layout="fixed"> <fo:table-column > <fo:table-body> <fo:table-row width="100%" keep-together="always" table-layout="fixed" height="15mm" space-before.optimum="2mm" space-after.optimum="2mm"> <fo:table-cell padding-start="2pt" display-align="before" text-align="center" border-style="solid" border-width="1pt" border-color="white" width="100%" padding-before="1mm"> <fo:block font-size="8pt"> <xsl:number value="PartDescription"> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> |
|
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
3,998.047ms |