2016-08-31 16:15:54 +00:00
|
|
|
<?php
|
|
|
|
|
2017-05-17 22:02:17 +00:00
|
|
|
use PhpOffice\PhpSpreadsheet\IOFactory;
|
|
|
|
|
2016-08-31 16:15:54 +00:00
|
|
|
require __DIR__ . '/Header.php';
|
|
|
|
|
|
|
|
$filename = __DIR__ . '/templates/Excel2003XMLTest.xml';
|
|
|
|
$callStartTime = microtime(true);
|
2017-05-17 22:02:17 +00:00
|
|
|
$spreadsheet = IOFactory::load($filename);
|
2017-01-22 08:39:23 +00:00
|
|
|
$helper->logRead('Xml', $filename, $callStartTime);
|
2016-08-31 16:15:54 +00:00
|
|
|
|
|
|
|
// Save
|
|
|
|
$helper->write($spreadsheet, __FILE__);
|