Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

dami (6728)

  (email not shown publicly)

Journal of dami (6728)

Wednesday January 07, 2009
11:05 PM

Server-side MsWord document generation

[ #38234 ]

I've been using the wonderful Spreadsheet::WriteExcel for a while, and was annoyed of not having an equivalent module for server-side MsWord document generation.

Now I finally found a solution : compose the doc. in HTML, add some MsWord-specific markup for page setup, wrap the whole thing in a MIME-multipart file ... and there it is, a document generated without MsOffice, but nevertheless with headers, footers, pagination, etc.

This has been wrapped in an initial module MsOffice::Word::HTML::Writer. Still lacking tests and examples, but already functional. Improvement suggestions are welcome!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • ... to reduce the development costs for projects producing this weird document format.

    That will either result in higher margins for us, lower costs for customers or ideally both... thanks!