I think that the CVS has a fix for that.

Paulo

----- Original Message ----- 
From: "Nicolas Poirier" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, June 02, 2006 3:14 PM
Subject: [iText-questions] Curious problem with generating pdf, xml to pdf


> Hello all,
>
>
> I have 2 table in my xml
>
> <DATA>
> Table 1
> Table2
> </DATA>
>
> My problem is the pdf: the first table and text are perfect but in the
> second table, the table is correct but text is shifted to the bottom of 
> 4-5
> centimeters, in some examples the text is in the bottom of page over the
> number of page ...
>
>
> The first table (header + data)
>
> The Header
> <table width="100%" TableFitsPage="true" cellsfitpage="true" 
> borderwidth="1"
> columns="7" widths="26;22;15;7;7;13;10" cellpadding="2" lastHeaderRow="0">
> <row>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" style="bold">Nom Service
> Etablis.</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" style="bold">Commune DPT
> Tel</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" 
> style="bold">Specialite</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" style="bold">Inv.</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" style="bold">Rep.</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10"
> style="bold">Prev/Val/Reel</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" style="bold">Montant</paragraph>
> </cell>
> </row>
>
> Onel Row
> <row>
> <cell left="true" right="true" top="true" bottom="false">
> <paragraph font="Times-roman" size="8" leading="9">TROUVE THUET MARIE
> HELENE</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="false">
> <paragraph font="Times-roman" size="8" leading="9">ARRAS</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true" rowspan="4">
> <paragraph font="Times-roman" size="8" 
> leading="9">Rhumatologie</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true" rowspan="4">
> <paragraph font="Times-roman" size="8" leading="9">A INV</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true" rowspan="4">
> <paragraph font="Times-roman" size="8" leading="9">Oui</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true" rowspan="2">
> <paragraph font="Times-roman" size="8" leading="9">0 /1 /0</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true" rowspan="4">
> <paragraph font="Times-roman" size="8" leading="9">0.0</paragraph>
> </cell>
> </row>
> <row>
> <cell left="true" right="true" top="false" bottom="false">
> <paragraph font="Times-roman" size="8" leading="9">null</paragraph>
> </cell>
> <cell left="true" right="true" top="false" bottom="false">
> <paragraph font="Times-roman" size="8" leading="9">null</paragraph>
> </cell>
> </row>
> <row>
> <cell left="true" right="true" top="false" bottom="false">
> <paragraph font="Times-roman" size="8" leading="9">null</paragraph>
> </cell>
> <cell left="true" right="true" top="false" bottom="false">
> <paragraph font="Times-roman" size="8" leading="9">Tel : null</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true" rowspan="2">
> <paragraph font="Times-roman" size="8" leading="9">
> ZVM-10101 </paragraph>
> </cell>
> </row>
>
> approx 30 rows in the table 1
>
> And second table:
>
> <table width="100%" TableFitsPage="true" cellsfitpage="true" 
> borderwidth="1"
> columns="4" widths="40;20;20;20" cellpadding="2" lastHeaderRow="0">
> <row>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10"
> style="bold">Participants</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" style="bold">Prevu</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" style="bold">Valide</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true"
> horizontalalign="center" width="" verticalalign="middle" header="true"
> backgroundcolor="#E5E8EF">
> <paragraph font="Times-roman" size="10" style="bold">Reel</paragraph>
> </cell>
> </row>
> <row>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">Hors Base 
> TVF</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">22</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> </row>
> <row>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">Laboratoire</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> </row>
> <row>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">Nominatif</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">20</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> </row>
> <row>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">Total</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">20</paragraph>
> </cell>
> <cell left="true" right="true" top="true" bottom="true">
> <paragraph font="Times-roman" size="8" leading="9">0</paragraph>
> </cell>
> </row>
> </table>
>
>
>
> Any ideas ?
>
> Thx
>
> NP
>


--------------------------------------------------------------------------------


>


--------------------------------------------------------------------------------


> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 



_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to