Hello,

 

I have an issue with Tables in my FOP when using FOP 0.95Beta instead of
0.94

 

None of my Tables work in my FO when using FOP 0.95, i get the following
ClassCastExecption:

                               

java.lang.ClassCastException: org.apache.fop.fo.flow.table.TableCell
cannot be cast to org.apache.fop.fo.flow.table.ColumnNumberManagerHolder

        at
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)

        at
org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)

        at org.apache.fop.cli.Main.startFOP(Main.java:166)

        at org.apache.fop.cli.Main.main(Main.java:197)

                               

                

This is an example how i insert a table in the FO:

                

                                               <fo:table
border-collapse="separate" border-style="none" padding="2pt"
table-layout="fixed" width="100%">

 
<fo:table-column column-number="1" column-width="100%"/>

 
<fo:table-body>

 
<fo:table-row>

 
<fo:table-cell vertical-align="top">

 
<fo:block column-number="1" font-size="x-large" font-weight="bold"
text-align="left">Name1</fo:block>                                    

 
</fo:table-cell>

 
</fo:table-row>

 
</fo:table-body>

                                               </fo:table>

 

It is working well in 0.94 and I want to upgrade to 0.95 because of the
updated keep-together features. What could be a possible Reason?

                                               

regards,

Alexander

Reply via email to