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?

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.

Profile

nolly: (Default)
nolly

December 2011

S M T W T F S
     123
45678910
11121314 151617
18192021 222324
25262728293031

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 24th, 2026 04:22 pm
Powered by Dreamwidth Studios