2010-02-09 44 views
7

在XLS-FO FOP 0.94總結選項連同使用保共同=「包裝」忽略換行選項?有沒有辦法讓他們都工作?XLS-FO FOP 0.94總結選項=使用保一起「打包」

<fo:table-row border="1pt solid black" keep-together="always"> 
     <fo:table-cell> 
      <fo:block overflow="scroll" wrap-option="wrap"> 
      This is a long text It is desired that this text be wrapped in the table cell but just can not make it happen! 
      </fo:block> 
     </fo:table-cell> 
    </fo:table-row> 

回答

8

keep-together =「always」隱式設置keep-together.within-line =「always」,它基本上禁止換行。改爲使用keep-together.within-column =「always」!

參見:http://xmlgraphics.apache.org/fop/faq.html#keep-together

BWT,溢出= 「滾動」 不FOP支持。這隻與瀏覽器模式下的XSL-FO相關。你不能在紙上滾動。