$readDataOnly
$readDataOnly : boolean
Read data only? Identifies whether the Reader should only read data values for cells, and ignore any formatting information; or whether it should read both data and formatting.
$readFilter : \PhpOffice\PhpSpreadsheet\Reader\IReadFilter
IReadFilter instance.
$securityScanner : \PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner
setReadDataOnly(boolean $pValue) : \PhpOffice\PhpSpreadsheet\Reader\IReader
Set read data only Set to true, to advise the Reader only to read data values for cells, and to ignore any formatting information.
Set to false (the default) to advise the Reader to read both data and formatting for cells.
boolean | $pValue |
setReadEmptyCells(boolean $pValue) : \PhpOffice\PhpSpreadsheet\Reader\IReader
Set read empty cells Set to true (the default) to advise the Reader read data values for all cells, irrespective of value.
Set to false to advise the Reader to ignore cells containing a null value or an empty string.
boolean | $pValue |
getIncludeCharts() : boolean
Read charts in workbook? If this is true, then the Reader will include any charts that exist in the workbook.
Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. If false (the default) it will ignore any charts defined in the workbook file.
setIncludeCharts(boolean $pValue) : \PhpOffice\PhpSpreadsheet\Reader\IReader
Set read charts in workbook Set to true, to advise the Reader to include any charts that exist in the workbook.
Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. Set to false (the default) to discard charts.
boolean | $pValue |
setLoadSheetsOnly(mixed $value) : \PhpOffice\PhpSpreadsheet\Reader\IReader
Set which sheets to load.
mixed | $value | This should be either an array of worksheet names to be loaded, or a string containing a single worksheet name. If NULL, then it tells the Reader to read all worksheets in the workbook |
setLoadAllSheets() : \PhpOffice\PhpSpreadsheet\Reader\IReader
Set all sheets to load Tells the Reader to load all worksheets from the workbook.
getReadFilter() : \PhpOffice\PhpSpreadsheet\Reader\IReadFilter
Read filter.
setReadFilter(\PhpOffice\PhpSpreadsheet\Reader\IReadFilter $pValue) : \PhpOffice\PhpSpreadsheet\Reader\IReader
Set read filter.
\PhpOffice\PhpSpreadsheet\Reader\IReadFilter | $pValue |
load(string $pFilename) : \PhpOffice\PhpSpreadsheet\Spreadsheet
Loads Spreadsheet from file.
string | $pFilename |
loadIntoExisting(string $pFilename, \PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet) : \PhpOffice\PhpSpreadsheet\Spreadsheet
Loads PhpSpreadsheet from file into PhpSpreadsheet instance.
string | $pFilename | |
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet |