Hi Carlos:

Seems to me that jfor is no longer in development. AFAIK, it is or was added to Apache FOP. I am not sure if FOP already support RTF format at all. BTW, I believe Bertrand can tell you much more about the current jfor status. ;-)

Best Regards,

Antonio Gallardo.


Carlos M. S. Bento Nogueira wrote:

Hi!! I'm a newbie in jfor. The following code is causing nullpointerexception in jfor.0.7.1 when i don't have the fo:table commented as it is now. Any ideas to correct it would be great.
I'm also sending a copy to the cocoon users lists as i'm planning
to use jfor together with cocoon. If this is a deprecated approach
for transforming xsl-fo to rtf i would appreciate some advice.

TIA,
CarlosN.


Code snippet:(also available at http://pastebin.com/332516 )


<fo:table-cell role="td">
<fo:block>

<!-- <fo:table table-layout="fixed" width="100%" role="table"> -->
    <fo:table-column column-width="0.62cm" role="col"/>
    <fo:table-column column-width="0.62cm" role="col"/>
    <fo:table-column column-width="0.62cm" role="col"/>

<fo:table-body start-indent="0pt" end-indent="0pt" text-indent="0pt" last-line-end-indent="0pt" text-align="start">

    <fo:table-row role="tr">
        <fo:table-cell role="td">
            <fo:block>
                <fo:list-block>
                    <fo:list-item role="li">
<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
                            <fo:block>
<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
                                font-family="ZapfDingbats">?</fo:inline>
                            </fo:block>
                        </fo:list-item-label>

                        <fo:list-item-body start-indent="body-start()">
                            <fo:block>Anos</fo:block>
                        </fo:list-item-body>

                    </fo:list-item>
                </fo:list-block>
            </fo:block>
        </fo:table-cell>


        <fo:table-cell role="td">
            <fo:block>
                <fo:list-block>
                    <fo:list-item role="li">

<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
                        <fo:block>
<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
                            font-family="ZapfDingbats">?</fo:inline>
                        </fo:block>
                    </fo:list-item-label>

                    <fo:list-item-body start-indent="body-start()">
                        <fo:block>Meses</fo:block>
                    </fo:list-item-body>
                </fo:list-item>
            </fo:list-block>
        </fo:block>
        </fo:table-cell>


        <fo:table-cell role="td">
        <fo:block>
                <fo:list-block>
                    <fo:list-item role="li">
<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
                            <fo:block>
<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
                                font-family="ZapfDingbats">?</fo:inline>
                            </fo:block>
                        </fo:list-item-label>

                        <fo:list-item-body start-indent="body-start()">
                            <fo:block>Dias</fo:block>
                        </fo:list-item-body>

                    </fo:list-item>
                </fo:list-block>
            </fo:block>
        </fo:table-cell>

        </fo:table-row>


        </fo:table-body>
<!--        </fo:table> -->

        </fo:block>
        </fo:table-cell>


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



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

Reply via email to