01hanstu Posted September 25, 2009 Share Posted September 25, 2009 Hi, We currently have in place a helpdesk solution intergrated into our intranet, Users are able to login and place a call/Ticket. What i want to know is if we are able to click on a button in the admin side of the system saying print job sheet, and it will print a job sheet that have been made in word, and fill in the form details from mysql to the word automatically Thanks Stu Link to comment https://forums.phpfreaks.com/topic/175549-php-word/ Share on other sites More sharing options...
cwarn23 Posted September 25, 2009 Share Posted September 25, 2009 From my knowledge of Microsoft Word it is closed source which means nobody except Microsoft can translate the document code. I believe however it is possible to translate an rtf file into a mysql database or html file using php. Not sure how but read about it somewhere. Link to comment https://forums.phpfreaks.com/topic/175549-php-word/#findComment-925096 Share on other sites More sharing options...
01hanstu Posted September 26, 2009 Author Share Posted September 26, 2009 Hi, Not too worried if it is not a word document. The problem is that i need to create a fixed document of any type, that will automatically put the data on the page, as people will just modify the form, so that the form can be printed and used. Is this just stupid? Thanks Stuart Link to comment https://forums.phpfreaks.com/topic/175549-php-word/#findComment-925514 Share on other sites More sharing options...
Mark Baker Posted September 26, 2009 Share Posted September 26, 2009 From my knowledge of Microsoft Word it is closed source which means nobody except Microsoft can translate the document code. I believe however it is possible to translate an rtf file into a mysql database or html file using php. Not sure how but read about it somewhere.This is a common myth - but it is a myth. None of the core MS Office products are "closed source": details of the proprietary format is published on MSN for anybody that wants to read it. Details of the Object Model reference are also publicly available. But I'm not aware of anybody that has actually written a .doc reader for PHP, only .docx Link to comment https://forums.phpfreaks.com/topic/175549-php-word/#findComment-925516 Share on other sites More sharing options...
corbin Posted September 26, 2009 Share Posted September 26, 2009 Mark, if I remember correctly, at one point the specifications were not available; a court ruling made them release the specifications. But hey, they're out there now . Link to comment https://forums.phpfreaks.com/topic/175549-php-word/#findComment-925526 Share on other sites More sharing options...
Mark Baker Posted September 26, 2009 Share Posted September 26, 2009 Mark, if I remember correctly, at one point the specifications were not available; a court ruling made them release the specifications. But hey, they're out there now .You're partly right, the documents weren't always available. I don't believe the courts enforced publication, but recommended... and MS acquiesced. But I could be wrong about that... I was just glad when the details were actually published, and they've made my own developments a great deal easier. Regardless of that, I don't know of any PHP readers for Word .doc format. For the OP, phpdocx may be an option: not everybody has Office 2007 to read docx files, but there is a "compatibility pack" for earlier versions of Word that will allow them to read and write docx. An alternative might be to use pdf to produce the job document Link to comment https://forums.phpfreaks.com/topic/175549-php-word/#findComment-925530 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.