logo       

unexpected spaces between to tables: msg#00168

java.lib.itext.general

Subject: unexpected spaces between to tables

I'm using the iText XML functions and I have some problems and would appreciate any help.
 
While using an xml code like this
 
 <table columns="4" widths="39;30;30;1" cellpadding="1">
  <row>
   <cell></cell>
   <cell top="true" left="true" bottom="true" fontstyle="bold"  horizontalalign="center" bgred="230" bgblue="230" bggreen="230">text 1</cell>
   <cell top="true" right="true" bottom="true" fontstyle="bold" horizontalalign="center" bgred="200" bgblue="200" bggreen="200">text 2</cell>
   <cell></cell>
  </row>
 </table>
 <table columns="4" widths="39;30;30;1" cellpadding="1">
  <row>
   <cell></cell>
   <cell top="true" left="true" bottom="true" fontstyle="bold"  horizontalalign="center" bgred="230" bgblue="230" bggreen="230">text 1</cell>
   <cell top="true" right="true" bottom="true" fontstyle="bold" horizontalalign="center" bgred="200" bgblue="200" bggreen="200">text 2</cell>
   <cell></cell>
  </row>
 </table>
 the the associated pdf contains an unexpected blank space between the two tables (may be the equivalent of two lines).
 
1/ How is it possible to keek the two tables closed together.
2/ How is it possible to change the Height of a row (if I just want to add a small space between two rows)
 
Thanks for any help
 
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise