xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander, Stefan" <ssan...@microstrategy.com>
Subject Table inside a Table?
Date Wed, 31 Jan 2001 12:54:25 GMT
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
 

Mime
View raw message