Hi there!
Well, I could bet, that this has already been an issue. however, I didn't
find anything in the archives. I'm trying to move an old piece-a-code from
fop 0.20 to fop 0.95. Here are the details:
- java v1.6.0
- fop 0.95
The stylesheet defines table rows like the following:
<xsl:template name="example_table">
<fo:table table-layout="fixed" font-size="...">
<fo:table-column column-width="..."/>
<fo:table-column column-width="..."/>
<fo:table-body>
<fo:table-row>
...
</fo:table-row>
<xsl:call-template name="example_row">
...
</xsl:call-template>
...
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template name="example_row">
<fo:table-row>
<fo:table-cell ...>...</fo:table-cell>
<fo:table-cell ...>...</fo:table-cell>
<fo:table-cell ...>...</fo:table-cell>
<fo:table-cell ...>...</fo:table-cell>
</fo:table-row>
</xsl:template>
As one can see, there is a table defined with two columns per row. The table
itself calls a template, which contains four columns per row. Using FOP
0.20, this works perfectly well. Using FOP 0.95, I get the following error:
Error(232/15): column-number or number of cells in the row overflows the
number of fo:table-column specified for the table.
Now, questions are:
- are there any settings, which allow to ignore such things?
- should they be ignored, at all?
One could imagine to fix the stylesheet. However, the stylesheet has a total
length of 6200 lines. It's quite painfull to fix it.
I'll appretiate your opinions.
--
View this message in context:
http://www.nabble.com/cell-number-overflow-tp21790992p21790992.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]