Nice solution for powerpoint.
For Excel, though, I'd recommend using SpreadSheet::WriteExcel (by jmcnamara) instead, though. It's much simpler to use, and the system the script runs on doesn't need Excel installed. In fact, it doesn't even need to have Windows installed; I generate spreadsheets from unix systems every day.
For word files, there are a few different RTF generators available, which also won't require Word to be installed on the system doing the generating. RTF::Document looks a bit simpler to use than RTF::Writer, but I haven't played with either much.
--
Mike | [reply] |
Thanks for the code. :)
Here are some alternative solutions (for those on
other platforms besides Win32):
- Powerpoint? nahh, just use
XML::Handler::AxPoint instead
- Word documents? Well, i recently had to convert some
70 or so Word documents into HTML on my Linux box. I did
some searching and found the
wvWare library. I didn't
like the HTML that the wvHTML tool produced, but
wvText did a very good job of producing text,
which i was able to convert to HTML via the shabby but
very handy HTML::FromText module.
jeffa
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
| [reply] |