The below Lines of Code from my .fo file throw a message as "The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table." when converting the fo to PDF using Apache FOP
<fo:table-column column-width="5.82in" /><fo:table-column column-width="156pt" />
Removing the lines from .fo file and able to generate the PDF using Apache FOP successfully. What value should be given for column-width so my PDF is generated with out deleting the lines of code.
You have defined two columns, but the error message indicates that at least one table row either has more than two table cells or has an
fo:table-cellwithcolumn-numbergreater than2.Either add enough
fo:table-columnfor every column in the table or find the table row(s) with morefo:table-cellthan you expect.