This project is read-only.

Save as .doc file compatable with 2003 Word

Jun 18, 2012 at 7:46 PM
Edited Jun 22, 2012 at 7:44 PM


I am newbie to phpword library. This is the wonderful library and i found all the feature that i need to generate my auto word document but except one. I need to save the file in .doc format and it should be in compliance with the 2003 Microsoft Office.

This works fine:
$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007');

but, this doesn't
$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2003');

Thanks in Advance..