On Sep 27, 2004, at 3:58 AM, James Steven wrote:
Hello
When processing xml using FOP 0.20.5rc3a the command keeps returning two
warnings. These are:

Is there a reason why you are not using fop-0.20.5?

[WARNING] current implementation of tables requires a table-column for each
column, indicating column-width

It means you must specify the fo:table-column in your tables:

<fo:table border="0pt" table-layout="fixed">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="13.6cm"/>
        <fo:table-column column-width="2.5cm"/>
        <fo:table-body>
                <fo:table-row>
                        <fo:table-cell>
                                <fo:block>Thing 1</fo:block>
                        </fo:table-cell>
                        <fo:table-cell>
                                <fo:block>Thing 2</fo:block>
                        </fo:table-cell>
                        <fo:table-cell>
                                <fo:block>Thing 3</fo:block>
                        </fo:table-cell>
                </fo:table-row>
        </fo:table-body>
</fo:table>

[WARNING] Some static content could not fit in the area.

This means that one (or more) of your table-cells were not wide enough to fit the content you are putting in there. Fortunately, it's a WARNING and not an ERROR. If it bothers you, then you'll be obliged to fix it. If it doesn't bother you, then you may be able to ignore it.


A pdf document is returned ok, but obviously there are formatting errors. I
am interested in what might be causing the first of these. There are
several tables in the xsl-fo which I have shown below and I have made sure
the number of table-columns and table-cells correspond and that each column
has a column width specified but this warning continues. What is it
referring to?

You may have a table which does not have a table-column element.

Thanks for any help.
James

Hope this helps!

Web Maestro Clay


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to