You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Kevin Flanagan <KW...@us.fortis.com> on 1999/11/30 19:53:26 UTC

aligning tables -Reply

This sounds great, especially if you needed to offset the first column,
where it sounds as though you don't have this capability currently.

>>> "James Tauber" <jt...@jtauber.com> 11/29/99 10:42pm >>>
Eric,

As you know, TableCells get told their start offset by the TableRow
calling
cell.setStartOffset(widthOfCellsSoFar)

What if TableRow had a field "firstColumnOffset"?
TableRow would then call cell.setStartOffset(firstColumnOffset +
widthOfCellsSoFar)

TableRow could have a method "setFirstColumnOffset" called by
TableBody.
TableBody could also have a method "setFirstColumnOffset" called by
Table.

I can implement this and put it in CVS if you (or others) think it is a good
idea (although only Eric may know the layout code well enough to
understand
what I am talking about! :-)

James


****************************************************************
			Please Note
The information in this E-mail message is legally privileged
and confidential information intended only for the use of the
individual(s) named above. If you, the reader of this message,
are not the intended recipient, you are hereby notified that 
you should not further disseminate, distribute, or forward this
E-mail message. If you have received this E-mail in error,
please notify the sender. Thank you
*****************************************************************