Filewatcher File Search File Search
Content Search
» » » » »


module for writing MsWord documents in HTML format

MsOffice::Word::HTML-Writer is one way to programatically generate documents targeted for Microsoft Word (MsWord).

MsWord can read documents encoded in native binary format, in Rich Text Format (RTF), in WordML (an XML dialect), or -- maybe this is less known -- in HTML, with some special markup for pagination and other MsWord-specific features. Such HTML documents are often in several parts, because attachments like images or headers/footers need to be in separate files; however, since it is more convenient to carry all data in a single file, MsWord also supports the "MHTML" format (or "MHT" for short), i.e. an encapsulation of a whole HTML tree into a single file encoded in MIME multipart format. This format can be generated interactively from MsWord by calling the "SaveAs" menu and choosing the .mht extension.

MsOffice::Word::HTML::Writer helps you to programatically generate MsWord documents in MHT format. The advantage of this technique is that one can rely on standard HTML mechanisms for layout control, such as styles, tables, divs, etc -- of course this markup can be produced using your favorite HTML module. The added value of MsOffice::Word::HTML::Writer is to help building the MIME multipart file, and provide some abstractions for representing MsWord-specific features (headers, footers, fields, etc.). This is probably the most convenient way for programmatic document generation.

Package version:1.01-1


MsOffice::Word::HUser:Contributed PMsOffice::Word::HTML::Writer(3pm)

       MsOffice::Word::HTML::Writer - Writing documents for MsWord
       in HTML format

         use MsOffice::Word::HTML::Writer;
         my $doc = MsOffice::Word::HTML::Writer->new(
           title        => "My new doc",
           WordDocument => {View => 'Print'},



libmsoffice-word-html-writer-perl (1.01-1) unstable; urgency=low

  * New upstream release.
  * Move Module::Build from B-D-I to Build-Depends (needed during clean)
    and add newer perl as an alternative.

 -- gregor herrmann <>  Fri, 30 Sep 2011 17:04:28 +0200

libmsoffice-word-html-writer-perl (1.00-1) unstable; urgency=low

  * Initial release (closes: #638592).

 -- gregor h


Revision history for MsOffice-Word-HTML-Writer

1.01 29.09.2011
  - new 'left'/'right' args for page_break() and create_section(new_page=>)

1.00 13.08.2011
  - doc updates
  - bumped to 1.0 and removed the claim that it was "experimental"

0.07 06.01.2011
  - no "soft line breaks" in MIME encode_qp() -- see RT 63716

0.06 28.07.2010
  - new arg for new(): WordDocument properties




Browse inside libmsoffice-word-html-writer-perl_1.01-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libmsoffice-word-html-writer-perl_1.01-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017