PHP Classes

MsDoc Generator: Create Microsoft Word document without COM objects

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (51)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 12,344 All time: 93 This week: 139Down
Version License PHP version Categories
msdocgenerator 1.0.0GNU General Publi...3HTML, Files and Folders
Description 

Author

This class can be used to generate documents in Microsoft Word .doc format without using COM objects so it can work under Linux or other non-Windows based servers.

It may be useful to generate and serve documents that may be edited by the end users using Microsoft Word or OpenOffice.

The class generates XHTML documents with special tags and attributes that Microsoft Word understands like any variant of the .doc format.

In Portuguese:

MsDocGenerator é uma classe para gerar arquivos DOC, sem utilizar objetos COM, o que permite sua utilização em servidores que não estão rodando o Windows.

A classe gera um documento HTML em um formato específico, que o MSWord interpreta como se este fosse um arquivo DOC.

Pode ser útil na geração de relatórios, os quais o usuário final queira fazer alterações usando o Word ou o OpenOffice.

Picture of Max S. Ferreira
Name: Max S. Ferreira <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 41
All time rank: 16911 in Brazil Brazil
Week rank: 368 Down27 in Brazil Brazil Down

Recommendations

fetch from database and dump that to a word file when clicked
I need the script to get the data from db and place it to a .doc

  Files folder image Files  
File Role Description
Plain text file clsMsDocGenerator.php Class the class main file
Accessible without login Plain text file sample6.php Example sample with images
Accessible without login Plain text file sample1.php Example sample with paragraph addition
Accessible without login Plain text file sample2.php Example sample with session changing
Accessible without login Plain text file sample3.php Example sample with table creation
Accessible without login HTML file sample4.php Example sample with page orientation and page paper type
Accessible without login Plain text file sample5.php Example sample with table without grid borders and font changes

 Version Control Unique User Downloads Download Rankings  
 0%
Total:12,344
This week:0
All time:93
This week:139Down
User Ratings User Comments (8)
 All time
Utility:92%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:92%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:723
 
Great!!
13 years ago (srikanth)
67%StarStarStarStar
Excellent alternative to the COM class!!! 100% recommended!!!!
14 years ago (Jonathan Nieto Lajo)
70%StarStarStarStar
SUPER!!!!!
14 years ago (Nikolay)
70%StarStarStarStar
This class works perfect.
14 years ago (Luis Carlos Solano)
70%StarStarStarStar
thank you.
15 years ago (steve)
70%StarStarStarStar
-
15 years ago (Marco Grieco)
70%StarStarStarStar
Easy to use, very well coded, high quality results.
15 years ago (John Creuziger)
67%StarStarStarStar
I like it very much.
15 years ago (acidsneaker)
70%StarStarStarStar