nolly: (Default)
[personal profile] nolly
I need a Perl module, or at least a module which can be called from Perl, which will generate Word docs on a non-MS platform. I could've sworn this existed, but I can't find it now. Basically, the Word equivalent of Spreadsheet::WriteExcel. Anyone?

Date: 2003-03-04 04:50 pm (UTC)
From: [identity profile] dafydd.livejournal.com
At the risk of asking a really dumb question, have you tried searching CPAN?

Date: 2003-03-04 04:53 pm (UTC)
From: [identity profile] nolly.livejournal.com
Of course. Using various search terms and browsing the module list.

Date: 2003-03-04 04:57 pm (UTC)
From: [identity profile] dafydd.livejournal.com
I figured it was a dumb question... ;-)

OLE::Storage?

Date: 2003-03-05 01:01 am (UTC)
From: [identity profile] voider.livejournal.com
http://www.perl.com/CPAN/modules/by-module/OLE/OLE-Storage-0.386.readme

I haven't used it myself, but the readme claims that it allows access to the "raw data streams" of Microsoft Word type documents. Looks like it might only support older versions of Word, though.

Re: OLE::Storage?

Date: 2003-03-05 09:46 am (UTC)
From: [identity profile] nolly.livejournal.com
Older is OK, but it doesn't support actual document creation, which is what I need.

maybe you can fake it...

Date: 2003-03-06 05:09 pm (UTC)
From: [identity profile] pbaylies.livejournal.com
All you'd need would be a blank Word document, right?

There's also Win32::OLE, but it looks like that's more for automating a real copy of Word to do things...

Good luck!

Re: maybe you can fake it...

Date: 2003-03-06 05:18 pm (UTC)
From: [identity profile] nolly.livejournal.com
No, that one will let you do minimal mods in place, but you can't change the doc size. So no real editing.
Page generated Feb. 24th, 2026 05:38 pm
Powered by Dreamwidth Studios