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.');
An exception for terminatinating execution or to throw for unit testing.
setReadDataOnly($pValue)
Set read data only Set to true, to advise the Reader only to read data values for cells,...
getReadEmptyCells()
Read empty cells? If this is true (the default), then the Reader will read data values for all cells,...
setLoadAllSheets()
Set all sheets to load Tells the Reader to load all worksheets from the workbook.
setReadEmptyCells($pValue)
Set read empty cells Set to true (the default) to advise the Reader read data values for all cells,...
getIncludeCharts()
Read charts in workbook? If this is true, then the Reader will include any charts that exist in the w...
setIncludeCharts($pValue)
Set read charts in workbook Set to true, to advise the Reader to include any charts that exist in the...
getReadFilter()
Read filter.
setLoadSheetsOnly($value)
Set which sheets to load.
getReadDataOnly()
Read data only? If this is true, then the Reader will only read data values for cells,...
setReadFilter(IReadFilter $pValue)
Set read filter.
openFile($pFilename)
Open file for reading.
__construct()
IReader constructor.
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.