PHP Word to PDF Sample code that applies template data to an existing word file, then renders the output to PDF.