2010-02-09 4 views
7

xls-fo fop 0.94 wrap-option = "wrap"과 함께 keep-together를 사용하면 줄 바꿈 옵션이 무시됩니까? 둘 다 작동하도록 할 수있는 방법이 있습니까?xls-fo fop 0.94 keep-together with wrap-option = "wrap"사용

<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

킵 함께이 = "항상"묵시적 세트는 유지 - together.within 라인을 = "항상"기본적으로 줄 바꿈을 금지한다. 대신 keep-together.within-column = "always"를 사용하십시오!

은 참조 : http://xmlgraphics.apache.org/fop/faq.html#keep-together

BWT, 오버 플로우 = FOP를 지원하지 않습니다 "스크롤". 이는 브라우저 모드의 XSL-FO에만 해당됩니다. 용지를 스크롤 할 수 없습니다.