PHP Classes
Icontem

Class: wordDocumentHandler


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Logan Dugenoux  >  wordDocumentHandler  >  Download  >  Support forum Support forum (5)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: wordDocumentHandler Support forum
Base name: logantools
Description: Convert and clean MSWord documents to HTML
Related top rated classes: , , ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 5667 users
All time rank: 223
Week users: 9 users
Week rank: 834
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Logan Dugenoux
Name: Logan Dugenoux <e-mail contact>
Published packages: 6 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Home page: http://www.peous.com/logan/
Age: ???
All time rank: 60
Week rank: 104

Groups

Group folder image HTML HTML generation and processing View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Windows Use of capabilities specific of the Windows operating systems View top rated classes

Detailed description

This class can be used to convert a Microsoft Word document to HTML, RTF or plain text using COM objects.

The input document formats can be Microsoft Word DOC, RTF and plain text.

The class can also clean the generated HTML to remove unnecessary markup that Microsoft Word adds.

Of course, you need MsWord installed on the server, and Windows OS.

It doesn't works ? Look below =>

1- your server must be running Win32
2- Microsoft Word must be installed on the server (I tested with Word2000)
3- readfile() is not available under PHP 4.3. You can use the following code to replace it with PHP<4.3
if (str_replace(".", "", phpversion())<"430")
{
function readFile( $f ) {
$out = ""; $lines = file ($f); foreach( $lines as $l ) $out .= $l."\n"; return $out;
}
}
4- try to not open a file on the netword (ie \\server\doc...) unless you fully understand the authentification process

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (59.6%)
Sufficient (63.5%)
-
Sufficient (71.2%)
-
-
Not sure (43.3%)
1643
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Ms Office Homepage of Ms Office
Ms Word Homepage of Ms Word
My website Logan Dugenoux website

Files

File Role Description
Plain text file wordDocumentHandler.php Class Source of the wordDocumentHandler class
Plain text file wordDocumentHandler_test_code.php Example Example of use of wordDocumentHandler class
Download all files: logantools.tar.gz logantools.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products