71 $this->readDataOnly = (bool) $pValue;
83 $this->readEmptyCells = (bool) $pValue;
95 $this->includeCharts = (bool) $pValue;
107 if ($value === null) {
111 $this->loadSheetsOnly = is_array($value) ? $value : [$value];
118 $this->loadSheetsOnly = null;
130 $this->readFilter = $pValue;
158 throw new ReaderException(
'Could not open file ' . $pFilename .
' for reading.');
getIncludeCharts()
Read charts in workbook? If this is true, then the Reader will include any charts that exist in the w...
getReadDataOnly()
Read data only? If this is true, then the Reader will only read data values for cells, it will not read any formatting information.
setReadFilter(IReadFilter $pValue)
Set read filter.
setReadEmptyCells($pValue)
Set read empty cells Set to true (the default) to advise the Reader read data values for all cells...
setIncludeCharts($pValue)
Set read charts in workbook Set to true, to advise the Reader to include any charts that exist in the...
setLoadSheetsOnly($value)
Set which sheets to load.
getReadFilter()
Read filter.
__construct()
IReader constructor.
getReadEmptyCells()
Read empty cells? If this is true (the default), then the Reader will read data values for all cells...
getLoadSheetsOnly()
Get which sheets to load Returns either an array of worksheet names (the list of worksheets that shou...
static assertFile($filename)
Assert that given path is an existing file and is readable, otherwise throw exception.
setLoadAllSheets()
Set all sheets to load Tells the Reader to load all worksheets from the workbook. ...
setReadDataOnly($pValue)
Set read data only Set to true, to advise the Reader only to read data values for cells...
openFile($pFilename)
Open file for reading.