This commit is contained in:
Dennis Eichhorn 2024-01-02 23:34:19 +00:00
parent 3011a504cd
commit fdec49b0fd
2 changed files with 14 additions and 0 deletions

View File

@ -401,6 +401,7 @@ class PowerPoint97 implements ReaderInterface
throw new FileNotFoundException($pFilename);
}
/*
try {
// Use ParseXL for the hard work.
$ole = new OLERead();
@ -411,6 +412,11 @@ class PowerPoint97 implements ReaderInterface
} catch (\Exception $e) {
return false;
}
*/
$ole = new OLERead();
return $ole->read($pFilename);
}
/**

View File

@ -432,6 +432,13 @@ class Xls extends BaseReader
return false;
}
// Use ParseXL for the hard work.
$ole = new OLERead();
// get excel data
return $ole->read($filename);
/*
try {
// Use ParseXL for the hard work.
$ole = new OLERead();
@ -443,6 +450,7 @@ class Xls extends BaseReader
} catch (PhpSpreadsheetException $e) {
return false;
}
*/
}
public function setCodepage(string $codepage): void