private function PHPExcel_Reader_Excel5::_includeCellRangeFiltered in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php \PHPExcel_Reader_Excel5::_includeCellRangeFiltered()
1 call to PHPExcel_Reader_Excel5::_includeCellRangeFiltered()
- PHPExcel_Reader_Excel5::_readMergedCells in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel5.php - * MERGEDCELLS * * This record contains the addresses of merged cell ranges * in the current sheet. * * -- "OpenOffice.org's Documentation of the Microsoft * Excel File Format"
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel5.php, line 4433
Class
- PHPExcel_Reader_Excel5
- PHPExcel_Reader_Excel5
Code
private function _includeCellRangeFiltered($cellRangeAddress) {
$includeCellRange = true;
if ($this
->getReadFilter() !== NULL) {
$includeCellRange = false;
$rangeBoundaries = PHPExcel_Cell::getRangeBoundaries($cellRangeAddress);
$rangeBoundaries[1][0]++;
for ($row = $rangeBoundaries[0][1]; $row <= $rangeBoundaries[1][1]; $row++) {
for ($column = $rangeBoundaries[0][0]; $column != $rangeBoundaries[1][0]; $column++) {
if ($this
->getReadFilter()
->readCell($column, $row, $this->_phpSheet
->getTitle())) {
$includeCellRange = true;
break 2;
}
}
}
}
return $includeCellRange;
}