/*******************************************************************************

    Author ......... Simon Newell
    Contact ........ simonnew@speedymail.org
    Home Site ...... http://sourceforge.net/projects/attachment-doc/
    Plugin ......... Document Attachment To Html Converter (attachment_doc)
    Version ........ 1.2
    Purpose ........ Allows you to convert your document attachments 
                     (.doc, .pdf, .sxw) 
                     to html and view them in a browser.

*******************************************************************************/

Features
========

  * Display attachment of mime type "application/msword" in HTML format.
  * Display attachment of mime type "application/pdf" in HTML format.
  * Display attachment of mime type "application/octet-stream" for OpenOffice .sxw format in HTML format.
  * wvHtml, pdftohtml and OpenOffice2html: much of the hard work is performed by these folks. 

Description
===========

  Allows the user to view MS Word, PDF document and OpenOffice document attachments as HTML.  
  This feature is enabled as an option, the user clicks "view" to display the document as 
  HTML, or "download" to download and view it with the associated application.

  The mime types supported are: [application/msword]          (MS Word) 
                                [application/pdf]             (Adobe PDF)
                                [application/octet-stream]    (OpenOffice SXW)

Installation
============

  For more detailed explanations and important notes on installing this plugin,
  consult the INSTALL file.

To Do
============
  Support document attachments of other mime types. 

Change Log
============
  * ver1.0 2004-07-01: 
  	- Initial release.
  
  * ver1.1 2004-10-25: 
  	- Added the following lines to line 66 of view_doc.php to support SquirrelMail 1.5.1.
  		$message = &$messages[$mbx_response['UIDVALIDITY']]["$passed_id"];
  		+if (!is_object($message)) {
    	+	$message = sqimap_get_message($imapConnection, $passed_id, $mailbox);
			+}
			$message_ent = &$message->getEntity($ent_id);
		
		- Added the following translations to the plugin package.
			Bahasa Indonesia
			Brazil Protuguese
			Catalan
			Czech
			Finnish
			French
			German
			Hungarian
			Japanese
			Lithuanian
			Norwegian Bokml
			Norwegian Nynorsk
			Polish
			Russian
			Spanish
			Swedish

	* ver1.2 2005-04-10:
		- Added support for OpenOffice .sxw document format.