xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keiron Liddle <kei...@aftexsw.com>
Subject Re: Table inside a Table?
Date Wed, 31 Jan 2001 23:16:31 GMT
Looks like you have a table column inside the table body which is incorrect.
It doesn't check properly (at the moment) but I think the error is in 
your xsl:fo file.

Sander, Stefan wrote:

> Hi all,
> 
> I am trying to create a table inside a table to emulate tabstops in a 
> Page Header, can this work at all?
> 
>  I am trying to split the header into 3 sections (outer table) and 
> depending on data I am dividing those sections into small parts to 
> have the data aligned (inner table)
> 
> 
> 
> Structure:
> fo:static-content
>   fo:block
>     fo:table
>       fo:table-column (3x)
>       fo:table-body
>         fo:table-row
>           fo:table-cell
>             fo:block         
>               fo:table
>                 fo:table-column (2x)
>                 fo:table-body
>                   fo:table-row
>                   fo:table-cell
>                   fo:block
>                     "Text"
> ...
> 
> 
> FOP (16) returns a Fatal Error when reaching the second table.
>  
> org.apache.fop.fo.flow.TableColumn
> java.lang.classCastException: org.apache.fop.fo.flow.Table Column
> at org.apache.fop.fo.flow.TableBody.layout(TableBody.java:188)
> at org.apache.fop.fo.flow.Table.layout(Table.java:262)
> at org.apache.fop.fo.flow.Block.layout(Block.java:360)
> at org.apache.fop.fo.flow.TableCell.layout(TableCell.java:280)
> at org.apache.fop.fo.flow.TableRow.layout(TableRow.java:473)
> at org.apache.fop.fo.flow.TableBody.layout(TableBody.java:202)
> at org.apache.fop.fo.flow.Table.layout(Table.java:262)
> at org.apache.fop.fo.flow.Block.layout(Block.java:360)
> at org.apache.fop.fo.flow.StaticContent.layout(StaticContent.java:116)
> ...
> 
> 
> Any input??
> 
> Regs,
> Stefan
>  
> 



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


Mime
View raw message