This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Empty cells using FO stylesheets


Norm,


Thank, but I already tried that(i.e. removed the block which generates the
e(,) text). I couln't see any change to the CVS, so maybee I missed
something. The major problem is that somehow the info on col- and row sep
are lost.


If I have defined a table with two columns, the following code: 


   <row>
     <entry>Something</entry>
     <entry/>
   </row>

is correctly transformed  to:


   <fo:table-row>
     <fo:table-cell padding="2pt" 
                    border-right-width="0.5pt" 
                    border-right-style="solid" 
                    border-right-color="black" 
                    padding-right="2pt" 
                    border-bottom-width="0.5pt" 
                    border-bottom-style="solid" 
                    border-bottom-color="black" padding-bottom="2pt">
          <fo:block>Something</fo:block>
      </fo:table-cell>
      <fo:table-cell padding="2pt" 
                     border-right-width="0.5pt" 
                     border-right-style="solid" 
                     border-right-color="black" 
                     padding-right="2pt" 
                     border-bottom-width="0.5pt" 
                     border-bottom-style="solid" 
                     border-bottom-color="black" 
                     padding-bottom="2pt">
         <fo:block> </fo:block>
      </fo:table-cell>
  </fo:table-row>


But if I don't write the second entry element, 


   <row>
     <entry>Something</entry>
   </row>



I get the following


   <fo:table-row>
     <fo:table-cell padding="2pt" 
                    border-right-width="0.5pt" 
                    border-right-style="solid" 
                    border-right-color="black" 
                    padding-right="2pt" 
                    border-bottom-width="0.5pt" 
                    border-bottom-style="solid" 
                    border-bottom-color="black" padding-bottom="2pt">
        <fo:block>Something</fo:block>
     </fo:table-cell>
     <fo:table-cell text-align="center" display-align="center" padding="2pt"/>
  </fo:table-row>



BTW, why the two characters Hex: C2 A0 in the second col, from the first example ?


Regards


Jens






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]