cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos M. S. Bento Nogueira" <cm...@student.dei.uc.pt>
Subject Re: [jfor] tables causing nullpointerexception
Date Thu, 11 Aug 2005 17:28:00 GMT
Ola Antonio and other cocoon users!
Thanks for your reply.

I've been digging up information these past two days and found out that:

1- you're right, jfor will be part of fop in a "near future"
(see http://xml.apache.org/fop/output.html#rtf
and http://sourceforge.net/forum/forum.php?forum_id=126911 )

2- My NEP was already submitted at
http://sourceforge.net/tracker/index.php?func=detail&aid=823529&group_id=29441&atid=396239
but unfortunatly i'm facing the same problems. I'll cc this msg to
Bertrand and hope maybe he can give me some hints so i can correct the
problem.

3- Currently cocoon comes with jfor.jar version 0.7.1, that it is being
used to translate xsl-fo to RTF.
(Examples at : cocoon/samples/blocks/jfor/welcome )
So i though that if i solve the nested table
problems and built a new jar, i could solve my problem.
Anyway if i can't solve things by the end of the day, i guess i'll have to
try itext.

Greetings,
CarlosN.

ps: "Ola" stands for Hello :))


On Thu, 11 Aug 2005, Antonio Gallardo wrote:

> 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: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>

-- 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message