PHP Classes

PHP MS Word: Edit Microsoft Word documents using COM objects

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 15,757 All time: 53 This week: 61Down
Version License PHP version Categories
mswordphp 1.0.0GNU General Publi...5PHP 5, Text processing, Windows
Description 

Author

This class can be used to edit Microsoft Word documents using COM objects.

It creates a COM object to communicate with an instance of Microsoft Word running on the same machine. Then it can execute several operations to manipulate Word documents.

Currently it can:

- Create a new document
- Open a document from an existing file
- Insert text in the current cursor position or at a given bookmark position
- Save the document to the current file or to a new file
- Close the document
- Close the Word instance

Picture of Neeraj Thakur
Name: Neeraj Thakur <contact>
Classes: 5 packages by
Country: India India
Age: 45
All time rank: 103 in India India
Week rank: 47 Down7 in India India Down

Details

Class : clsWord This class is really very helpful if we want to interact with Microsoft Application using PHP 5.1.4. It lets user insert text into MS Word in run time. It can also insert data in a specified location in MS Word Document using Bookmark feature. The class is under process of development furthermore we can also insert image in the word document in run time. Please feel free to contact me anytime on the following mentioned email ids. For Installaton .. 1. Unzip files under www or public_html folder. 2. Create one MS Word file name Doc1.doc under c:/ . Note : This location can be changed in index.php file as per your need. 3. Run index.php file from localhost or remote server as per your Apache configuration. About myself: I am a PHP programmer working as Sr. Developer. Please rate this class If you find it useful. Please feel free to contact me for queries related to this class. I would feel gratefull if i can sort out your issues related to PHP. Thanks in advance. Neeraj Thakur Sr.. Developer Emails: neerajth@gmail.com neeraj_th@yahoo.com

  Files folder image Files (3)  
File Role Description
Plain text file clsWord.php Class Class Source
Accessible without login Plain text file index.php Appl. default file
Accessible without login Plain text file readme.txt Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:15,757
This week:0
All time:53
This week:61Down
User Ratings User Comments (7)
 All time
Utility:78%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:65%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2256