You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Derek Hohls <dh...@csir.co.za> on 2007/09/06 16:19:29 UTC

Creating and using RTF files with FO

Does anyone here have any experience with creating RTF files, 
using the FO/jfor approach?

I am struggling to get table formatting showing up properly 
in Word (2002)and/or Open Office and was wondering if 
there are any tweaks/tricks I need to know to get the serializer 
to work properly?

Thanks
Derek


-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


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


Re: Creating and using RTF files with FO

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 9/10/07, Derek Hohls <dh...@csir.co.za> wrote:

> ...Where I would find the future development plans (if any)
> for jfor?...

The jfor project itself is dormant since the code was donated to FOP,
and I don't think the rendering has evolved very much in FOP. There
have been some improvements though, so you might want to check the
status of the latest FOP RTF module, and I'm sure contributions would
be welcomed there.

-Bertrand

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


Re: Creating and using RTF files with FO

Posted by Derek Hohls <dh...@csir.co.za>.
Bertrand

I will look again but, no, I do not remember seeing it there.
Pity - I never realized that it was just a minimal implementation.

Where I would find the future development plans (if any) 
for jfor?

Derek

>>> "Bertrand Delacretaz" <bd...@apache.org> 2007/09/10 07:43 AM >>>
On 9/7/07, Derek Hohls <dh...@csir.co.za> wrote:

> ...On my machine, formatting of blocks work fine, but formatting of table-cells
> does not, despite what the spec says.   Perhaps I am missing something
> really simple?...

Did you compare with the examples mentioned in my last message?

If what you're using is not used in those examples, chances are that
it's not implemented, as those examples were created to demonstrate
everything that was implemented in jfor (which is quite far from the
full XSL-FO spec).

-Bertrand

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



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


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


Re: Creating and using RTF files with FO

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 9/7/07, Derek Hohls <dh...@csir.co.za> wrote:

> ...On my machine, formatting of blocks work fine, but formatting of table-cells
> does not, despite what the spec says.   Perhaps I am missing something
> really simple?...

Did you compare with the examples mentioned in my last message?

If what you're using is not used in those examples, chances are that
it's not implemented, as those examples were created to demonstrate
everything that was implemented in jfor (which is quite far from the
full XSL-FO spec).

-Bertrand

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


Re: Creating and using RTF files with FO

Posted by Derek Hohls <dh...@csir.co.za>.
Bertrand

I am struggling with setting table-cell attributes - they just do not seem 
to work.  Attached are two files, based on the test/samples files from the 
site below.

On my machine, formatting of blocks work fine, but formatting of table-cells
does not, despite what the spec says.   Perhaps I am missing something 
really simple?

Thanks
Derek

>>> "Bertrand Delacretaz" <bd...@apache.org> 2007/09/06 05:11 PM >>>
On 9/6/07, Derek Hohls <dh...@csir.co.za> wrote:
> ...Does anyone here have any experience with creating RTF files,
> using the FO/jfor approach?...

Yes - I wrote the original jfor code a looooooooooong time ago, it was
quite limited at the time.

I haven't followed the latest developments in FOP, but you might want
to look at the original jfor XSL-FO samples at

  http://jfor.cvs.sourceforge.net/jfor/jfor/samples/cocoon/ 

These were created and tweaked taking into account jfor's limitations,
so they are a good overview of what works. Stuff that's not in those
samples probably isn't implemented (or wasn't in the jfor times, again
I'm not sure about the status in FOP).

HTH,
-Bertrand

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



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


Re: Creating and using RTF files with FO

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 9/6/07, Derek Hohls <dh...@csir.co.za> wrote:
> ...Does anyone here have any experience with creating RTF files,
> using the FO/jfor approach?...

Yes - I wrote the original jfor code a looooooooooong time ago, it was
quite limited at the time.

I haven't followed the latest developments in FOP, but you might want
to look at the original jfor XSL-FO samples at

  http://jfor.cvs.sourceforge.net/jfor/jfor/samples/cocoon/

These were created and tweaked taking into account jfor's limitations,
so they are a good overview of what works. Stuff that's not in those
samples probably isn't implemented (or wasn't in the jfor times, again
I'm not sure about the status in FOP).

HTH,
-Bertrand

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


Re: Creating and using RTF files with FO

Posted by Philippe Gauthier - INSERM SIRH <ph...@tolbiac.inserm.fr>.
Hello,

I just know nested table are not supported.
If that was the case you should only use one big table with spanning cells.
Regards,

Derek Hohls a écrit :
> Does anyone here have any experience with creating RTF files, 
> using the FO/jfor approach?
>
> I am struggling to get table formatting showing up properly 
> in Word (2002)and/or Open Office and was wondering if 
> there are any tweaks/tricks I need to know to get the serializer 
> to work properly?
>
> Thanks
> Derek
>
>
>   


-- 
Philippe Gauthier
INSERM



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