PhpSpreadsheet/samples/Basic/20_Read_Gnumeric.php

14 lines
329 B
PHP
Raw Permalink Normal View History

<?php
use PhpOffice\PhpSpreadsheet\IOFactory;
2017-10-01 08:48:59 +00:00
require __DIR__ . '/../Header.php';
2017-10-01 08:48:59 +00:00
$filename = __DIR__ . '/../templates/GnumericTest.gnumeric';
$callStartTime = microtime(true);
$spreadsheet = IOFactory::load($filename);
$helper->logRead('Gnumeric', $filename, $callStartTime);
// Save
$helper->write($spreadsheet, __FILE__);