2011-04-12 3 views
3

페이지 -1을 제외한 모든 부분에서 내 테이블에 내가 말한 것처럼 패드가 삽입되지 않습니다. 나는이 내 패딩에 영향을 미칠 표시되지 않습니다, 나는 "first"을 수행하고 "Rest"XSL FO - 패딩 존중

<!-- layout for the first page --> 
     <fo:simple-page-master master-name="first" 
       page-height="11in" 
       page-width="8.5in" 
       margin-top="1cm" 
       margin-bottom="2cm" 
       margin-left="2.5cm" 
       margin-right="2.5cm"> 
      <fo:region-body margin-top="3cm"/> 
      <fo:region-before extent="2cm"/> 
      <fo:region-after extent=".1cm"/> 
     </fo:simple-page-master> 

     <!-- layout for the other pages --> 
     <fo:simple-page-master master-name="rest" 
         page-height="11in" 
         page-width="8.5in" 
         margin-top="1cm" 
         margin-bottom="2cm" 
         margin-left="2.5cm" 
         margin-right="2.5cm"> 
      <fo:region-body margin-top="3cm"/> 
      <fo:region-before extent="2cm"/> 
      <fo:region-after extent=".1cm"/> 
     </fo:simple-page-master> 

로 정의하지만.

<fo:block> 
      <!-- table start --> 
      <fo:table table-layout="fixed" width="100%" border-collapse="separate" padding-after="1em"> 
       <fo:table-column column-width="15mm"/> 
       <fo:table-column column-width="46mm"/> 
       <fo:table-column column-width="28mm"/> 
       <fo:table-column column-width="22mm"/> 
       <fo:table-column column-width="19mm"/> 
       <fo:table-column column-width="30mm"/> 

       <fo:table-header> 
       <fo:table-cell> 
        <fo:block font-weight="bold" border-width="0.5mm" border-style="solid" > 
        <fo:inline padding-left="1mm">Model</fo:inline> 
        </fo:block> 
       </fo:table-cell> 
       <fo:table-cell> 
        <fo:block font-weight="bold" border-width="0.5mm" border-style="solid" border-left="none"> 
        <fo:inline padding-left="2mm">Description</fo:inline> 
        </fo:block> 
       </fo:table-cell> 
       <fo:table-cell> 
        <fo:block font-weight="bold" border-width="0.5mm" border-style="solid" padding-left=".1mm" border-left="none"> 
        <fo:inline padding-left="2mm">Material</fo:inline> 
        </fo:block> 
       </fo:table-cell> 

padding-left 속성에 유의하십시오. 첫 페이지를 제외한 모든 페이지에서 왜 존경을받지 못합니까?

업데이트
"오버플로 페이지"에서만 발생하는 것으로 나타났습니다. 내 테이블에 다른 페이지로 감쌀만큼 충분한 데이터가있을 때. 새로운 테이블이라면 문제는 사라집니다.

답변

1

이것은 아마도 XSL FO 프로세서 구현 인 APACHE FOP의 제한 사항입니다. 나는 그들에게 연락 할 것이다.

+0

최근 버전에서 해결 되었습니까? – csvan

+0

@csvan - 죄송합니다. 나는이 프로젝트에서 더 이상 일하지 않는다. –

+0

감사합니다. 대신 테이블 셀 노드에서 패딩을 설정하여 문제를 해결할 수있었습니다. – csvan

관련 문제