Thanks for your help, however, your comments only apply to the first row of the table. 
 Subsequent rows seem to have huge amounts of space between them (I used a table 
offset of -30)

"Zhang, Bo" <[EMAIL PROTECTED]> wrote:

>The table.setOffset(0) only help you to remove the leading of your current
>table. However, the leading from previous element (paragraph, chunk, etc) is
>still in effect. What you need to do is to offset that leading to. For
>example:
>
>...
>document.add(table1);
>document.add(paragraph);
>//here we add the second table with no space.
>table2.setOffset(0 - paragraph.leading());
>document.add(table2).
>
>This should give you the effect you need.
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 21, 2002 12:39 PM
>To: [EMAIL PROTECTED]
>Subject: RE: [iText-questions] Table spacing
>
>
>I set the offset to 0 as the tutorial does, but it has no effect. �When I
>looked witha debugger, I saw that cells themselves have offset values. �How
>do I change those - I want all table, cell, row, column, and any other
>offsets to be 0 unless i manually add an additional paragraph.
>
>"Zhang, Bo" <[EMAIL PROTECTED]> wrote:
>
>>This has been discussed in Tutorial Chapter 5. Please refer to Table Offset
>>section for more detail.
>>
>>
>>
>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, August 20, 2002 5:10 PM
>>To: [EMAIL PROTECTED]
>>Subject: [iText-questions] Table spacing
>>
>>
>>How do I chnage the spacing around my tables? It seems like there is a
>large
>>amount of spacing around the tables, and I would to have as little as
>>possible or no space at all between the table and the next element, which
>>might be a chunk of text, another table, etc..
>>
>>I have played around with the paragraph "leading", but thsi does not seem
>to
>>affect the table leading.
>>
>>
>>__________________________________________________________________
>>Your favorite stores, helpful shopping tools and great gift ideas.
>>Experience the convenience of buying online with Shop@Netscape!
>>http://shopnow.netscape.com/
>>
>>Get your own FREE, personal Netscape Mail account today at
>>http://webmail.netscape.com/
>>
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by: OSDN - Tired of that same old
>>cell phone? �Get a new here for FREE!
>>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>>_______________________________________________
>>iText-questions mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>
>
>__________________________________________________________________
>Your favorite stores, helpful shopping tools and great gift ideas.
>Experience the convenience of buying online with Shop@Netscape!
>http://shopnow.netscape.com/
>
>Get your own FREE, personal Netscape Mail account today at
>http://webmail.netscape.com/
>


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to