如何将旧办公室兼容性添加到PHPExcel_Writer_CSV

2007 vs 2002 version 2007 vs 2002 version

For PHPExcel_Writer_Excel2007 this method is working, but for PHPExcel_Writer_CSV returns this error. And the file is not well formated in older version

  Fatal error:
 Call to undefined method PHPExcel_Writer_CSV::setOffice2003Compatibility()

And this is the code I use

  $objWriter = new PHPExcel_Writer_CSV($objPHPExcel);
  $objWriter->setDelimiter(',');
  $objWriter->setEnclosure('');
  $objWriter->setLineEnding("
");
  $objWriter->setSheetIndex(0);

Office 2003 compatibility is meaningless for a CSV file.

Office 2003 Compatibility relates to style elements that changed in the OfficeOpenXML file format between MS Excel 2007 and MS Excel 2003 with the compatibility pack. CSV files do not contain any style or format information, so the principle of Office 2003 compatibility for a CSV file is meaningless.

A CSV file is a CSV file irrespective of which versions of MS Excel you use to open it