in reply to Re: Making MS Office compatible files on Linux machines with Perl.
in thread Making MS Office compatible files on Linux machines with Perl.

RTF::Document && RTF::Parser && RTF:: in general

I used RTF::Writer (I think) to do this a while ago. It was, um, not fun; after generating a few documents that wedged NT4/Office2k machines to the point that a hard reset was needed, I ended up generating most of the RTF by hand. It may have changed in the past two years or so since I had to use it, but I'd be careful.

--
F o x t r o t U n i f o r m
Found a typo in this node? /msg me
% man 3 strfry

  • Comment on Re^2: Making MS Office compatible files on Linux machines with Perl.

Replies are listed 'Best First'.
Re^3: Making MS Office compatible files on Linux machines with Perl.
by hardburn (Abbot) on Jun 18, 2004 at 13:27 UTC

    I'm not happy with the design of RTF::Writer, either. It'll take care of header information for you, but it doesn't properly abstract things that should be abstracted (like making a bold paragraph). I shouldn't have to know that '\fs20' is a 10-point font. I should be able tell RTF::Writer to put a 20-point font and it'll take care of the details. That's why you have a module to abstract these things. As it is, you end up writing a lot of the RTF by hand, anyway.

    ----
    send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.