getFilename(__FILE__, 'html'); $writer = new Html($spreadsheet); $callStartTime = microtime(true); $writer->setEmbedImages(true); $writer->save($filename); $helper->logWrite($writer, $filename, $callStartTime);