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);
|
throw new FileNotFoundException($pFilename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
try {
|
try {
|
||||||
// Use ParseXL for the hard work.
|
// Use ParseXL for the hard work.
|
||||||
$ole = new OLERead();
|
$ole = new OLERead();
|
||||||
|
|
@ -411,6 +412,11 @@ class PowerPoint97 implements ReaderInterface
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
$ole = new OLERead();
|
||||||
|
|
||||||
|
return $ole->read($pFilename);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -432,6 +432,13 @@ class Xls extends BaseReader
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Use ParseXL for the hard work.
|
||||||
|
$ole = new OLERead();
|
||||||
|
|
||||||
|
// get excel data
|
||||||
|
return $ole->read($filename);
|
||||||
|
|
||||||
|
/*
|
||||||
try {
|
try {
|
||||||
// Use ParseXL for the hard work.
|
// Use ParseXL for the hard work.
|
||||||
$ole = new OLERead();
|
$ole = new OLERead();
|
||||||
|
|
@ -443,6 +450,7 @@ class Xls extends BaseReader
|
||||||
} catch (PhpSpreadsheetException $e) {
|
} catch (PhpSpreadsheetException $e) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCodepage(string $codepage): void
|
public function setCodepage(string $codepage): void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user