A table consists of a series of embeded elements; the hyerarchy goes
somewhat like this (assume fo namespace):
      <table>
         <table-body>
            <table-row>
               <table-cell>
                  <block>here is the actual content</block>
               </table-cell>
            </table-row>
         </table-body>
      </table>
Since any of these elements can take borders, and they are inside one
another, you can end up with up to 5 glued borders - that's probably why
you perceive "lines of different width". Try adding margins to the elements
so you can see the borders separetely.
While "nice-looking" is a fairly subjective concept, try doing this:
1) use border-collapse="collapse" on the table element to make adjacent
borders overlap
2) use borders only in the table-cell to minimize confusion
I usually get "nice" tables, see the files attached. (Sorry if the FO is
not very readable, it was generated by XSLT. Try 'tidying' it.)
 (See attached file: gps_test.fo)(See attached file: gps_test.pdf)
Cheers.
=============================================
Marcelo Jaccoud Amaral
Petrobrás (http://www.petrobras.com.br)
mailto:[EMAIL PROTECTED]
voice: +55 21 2534-3485
fax: +55 21 2534-1809
=============================================
If brute force doesn't work, maybe you're not using enough brute force.




                                                                                       
                         
                      "Steve Cameron"                                                  
                         
                      <asc@fortiscleari        Para:     <[EMAIL PROTECTED]>      
                         
                      ng.com.au>               cc:                                     
                         
                                               Assunto:  uneven table borders          
                         
                      18/09/2002 21:48                                                 
                         
                      Favor responder a                                                
                         
                      fop-dev                                                          
                         
                                                                                       
                         
                                                                                       
                         




Can anyone provide me with an example of a 'nice' looking PDF table
generated with Fop. I have tried a few border options and end up with
lines of different width along different sides of the table and rows.

I do not have any more time to play with this and am hoping someone can
steer me in the right direction with an example or two.

thanks

Stephen Cameron
Systems Support Analyst
Fortis Clearing Sydney
phone: +61 2 9233 6497
email: [EMAIL PROTECTED]




=========================================================================
This e-mail is sent for the sole attention of the identified addressee
and its contents are provided for information purposes only. Fortis
Clearing Sydney Pty Ltd makes no warranty or representation as to the
accuracy and completeness of any information and does not assume whatever
commitment hereby. Legally binding obligations can only arise for, or be
entered into on behalf of, Fortis Clearing Sydney Pty Ltd by means of
a written instrument, signed by two duly authorised representatives of
Fortis Clearing Sydney Pty Ltd. Fortis Clearing Sydney Pty Ltd excludes
any liability whatsoever for any direct or consequential loss arising
from the use of, or reliance on, this e-mail or its contents.
=========================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Attachment: =?iso-8859-1?Q?gps=5Ftest.fo?=
Description: Binary data

Attachment: =?iso-8859-1?Q?gps=5Ftest.pdf?=
Description: Adobe PDF document

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to