mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-10 21:08:41 +00:00
update
This commit is contained in:
parent
3011a504cd
commit
fdec49b0fd
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user