Edit
by Piyush Saraf - 10 years ago (2014-12-06)
I need the script to get the data from db and place it to a .doc
| I need the script to get the data from db and place it to a word file which get's downloaded at the end of the day |
- 1 Clarification request
1.
by Manuel Lemos - 10 years ago (2014-12-08) Reply
That seems like a trivial job. There are plenty of classes to access databases or write to files. What do you want to do that you are not able to do with existing classes or even code without classes?
Ask clarification
1 Recommendation
MsDoc Generator: Create Microsoft Word document without COM objects
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.
| by Manuel Lemos 26695 - 10 years ago (2014-12-14) Comment
Fetching data from a database is relatively easy.
So if you use a class like this you can generate Microsoft Word documents from the data you obtained from the database. |