I would like to generate a PDF based on a .Doc file.
The prefered way of doing this is a PHP class called DOMPDF (http://www.digitaljunkies.ca/dompdf/). This class works pretty good, but please keep in mind that the emulation of the browser is not 100%. Things like floating and positioning are different than a normal webbrowser.
The whole DOC file needs to be converted to HTML, so it can be changed upon generating the document.