20_Read_Gnumeric.php 329 B

12345678910111213
  1. <?php
  2. use PhpOffice\PhpSpreadsheet\IOFactory;
  3. require __DIR__ . '/../Header.php';
  4. $filename = __DIR__ . '/../templates/GnumericTest.gnumeric';
  5. $callStartTime = microtime(true);
  6. $spreadsheet = IOFactory::load($filename);
  7. $helper->logRead('Gnumeric', $filename, $callStartTime);
  8. // Save
  9. $helper->write($spreadsheet, __FILE__);