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 Alex McLintock <al...@yahoo.com> on 2001/04/05 14:56:47 UTC

Status of Tables

Hi folks, 

I am getting some strange results with tables within tables and was wondering 
what people thought the current status of that code is in Fop 0.18-1 Dev

For example I currently have a two column table with one row. On the left is
a graph (previously a bitmap - now an SVG). On the right is another table 
giving statistics about the graph. (All within another table)

My problem is that something is confusing the rows of this second table on the right.

Rather than producing something like this

------ RowText0
|    | RowText1
|    | RowText2
------ RowText3

It is actually doing something like this.

------ RowText0
|    |         
|    | 
------ 
Page Break
       RowText1
       RowText2
       RowText3

One thing which appears weird is that the SVG Graphic does not appear to make the 
cell on the left the right size. Might it be affecting things outside the table-cell 
it is in?

Any suggestions on how to debug this sort of thing...?

Make a simpler and simpler version until it is small enough to post here?

Alex

=====
Alex McLintock        alex@OWAL.co.uk

OpenWeb Analysts Ltd, http://www.OWAL.co.uk/
Software for Complex Websites.

Publisher of       http://www.DiverseBooks.com
                   http://www.galactic-guide.com/

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Status of Tables

Posted by Steven Lane <sl...@mail.fmpro.com>.
>Alex,
>
>This sounds like the same problem a few other people have seen. I am
>working on a fix which doesn't break other things. Hopefully it will
>show up this weekend. It should also improve table cell borders.
>
>Patience...
>Karen Lease


Here's something I found just recently. I created a table with five
columns. In the first row, I have five cells. In the second row, I have one
cell with a span of five columns. Without other adjustment, this looks fine
-- all the outer borders are aligned.

Now I add a "padding-left" to the single cell of the second row. Suddenly
the cell, and hence the row, is wider, and its border juts well out past
that of the first row.

Now I break the second row into two cells, one with a span of 4, and one
with a span of 1. I leave the padding attribute on the first one. Now it
looks fine. Well, almost. The overall row is now *shorter* than the one
above by a couple of pixels.

I'm still tinkering with this, but I could use a general sense of whether
the table and cell/border handling in FOP is stable yet. My application
really needs to be able to nail some fairly complicated forms. Am I likely
to find workarounds for some of these things, or should I just check back
around FOP 0.2 or 0.5 and look elsewhere for now? I think FOP is a great
tool, I'm just trying to get a sense of how much work it will be to get it
to work for these tables I need.

-- sgl

----------
Steve Lane
Senior Project Manager
Chris Moyer Consulting, Inc.
833 West Chicago Ave Suite 203
(312) 433-2421
http://www.fmpro.com



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Status of Tables

Posted by Karen Lease <kl...@club-internet.fr>.
Alex,

This sounds like the same problem a few other people have seen. I am
working on a fix which doesn't break other things. Hopefully it will
show up this weekend. It should also improve table cell borders.

Patience...
Karen Lease


Alex McLintock wrote:
> 
> Hi folks,
> 
> I am getting some strange results with tables within tables and was wondering
> what people thought the current status of that code is in Fop 0.18-1 Dev
> 
> For example I currently have a two column table with one row. On the left is
> a graph (previously a bitmap - now an SVG). On the right is another table
> giving statistics about the graph. (All within another table)
> 
> My problem is that something is confusing the rows of this second table on the right.
> 
> Rather than producing something like this
> 
> ------ RowText0
> |    | RowText1
> |    | RowText2
> ------ RowText3
> 
> It is actually doing something like this.
> 
> ------ RowText0
> |    |
> |    |
> ------
> Page Break
>        RowText1
>        RowText2
>        RowText3
> 
> One thing which appears weird is that the SVG Graphic does not appear to make the
> cell on the left the right size. Might it be affecting things outside the table-cell
> it is in?
> 
> Any suggestions on how to debug this sort of thing...?
> 
> Make a simpler and simpler version until it is small enough to post here?
> 
> Alex
> 
> =====
> Alex McLintock        alex@OWAL.co.uk
> 
> OpenWeb Analysts Ltd, http://www.OWAL.co.uk/
> Software for Complex Websites.
> 
> Publisher of       http://www.DiverseBooks.com
>                    http://www.galactic-guide.com/
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org