Forum Moderators: coopster
I'm having some trouble with one of my projects.
I have to read, and convert, .doc, .docx, .xls, and xlsx files to pdf.
In the end, they should all be together in 1 pdf file, so reading would be best. Though If this is not possible, I'd like for them to be converted to pdf, so i can open them using fpdf.
I got this working for xls and xlsx *conversion* but not for .doc and .docx. Does anyone know, how i can read word and excel files? "word (doc, docx) being most important right now"
Important note, I have to keep the styles. Like, images, text colour, bold, italic etc... The pdf, must be exactly the same as the .doc.
I already tried phplivedocx. Well.. I downloaded Zend, but I have no idea of where the file is, or how to use Zend. So yeah...
I really hope someone is able to help me.
solow.
Good luck,
[edited by: eelixduppy at 4:12 am (utc) on Jan. 25, 2010]
[edit reason] no promos please [/edit]
- setup apache on a windows box at your office running Ms office 2007
- call the server from your php script that
- calls a script to query word to produce the pdf
- grab the pdf off disk and send it back to your live online server
Sound complicated? Takes less than 5 seconds to do the above.
There are enough open source prgs out there - certainly no need to buy anything.