Save as .doc file compatible with 2003 Word

Oct 3, 2012 at 9:05 AM
Edited Oct 3, 2012 at 9:09 AM

Hi,

I need to save the file in .doc format or in .rtf

This works fine:
$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007');
$objWriter->save('myDoc.docx');

but, this doesn't
$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2003');
$objWriter->save('myDoc.doc');
 

Thanks in Advance..