apache - XSL FO - Respect the padding -


on except page-1 table not pad tell to. have "first" , "rest" defined as

<!-- layout 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 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> 

but, don't see how affect padding.

<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> 

note padding-left attribute. why doesn't respected on first page?

update
noticed happens on "overflow pages". when table has enough data wrap page. if new table, problem goes away.

this limitation of xsl fo processor implementation, apache fop. contact them.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -