$readDataOnly
$readDataOnly : bool
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.
$readDataOnly : bool
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.
$readEmptyCells : bool
Read empty cells? Identifies whether the Reader should read data values for cells all cells, or should ignore cells containing null value or empty string.
$includeCharts : bool
Read charts that are defined in the workbook? Identifies whether the Reader should read the definitions for any charts that exist in the workbook;.
$loadSheetsOnly : array
Restrict which sheets should be loaded? This property holds an array of worksheet names to be loaded. If null, then all worksheets will be loaded.
$readFilter : \PhpOffice\PhpSpreadsheet\Reader\IReadFilter
IReadFilter instance.
$securityScanner : \PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner
$inputEncoding : string
Input encoding.
$sheetIndex : int
Sheet index to read.
$formats : array
Formats.
$format : int
Format Count.
$fonts : array
Fonts.
$fontcount : int
Font Count.
setReadDataOnly(mixed $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.
mixed | $pValue |
setReadEmptyCells(mixed $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.
mixed | $pValue |
getIncludeCharts() : bool
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(mixed $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.
mixed | $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 |
codeCoverageIgnore |
---|
listWorksheetInfo(string $pFilename) : array
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).
string | $pFilename |
None found |
load(string $pFilename) : \PhpOffice\PhpSpreadsheet\Spreadsheet
Loads PhpSpreadsheet from file.
string | $pFilename |
None found |
loadIntoExisting(string $pFilename, \PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet) : \PhpOffice\PhpSpreadsheet\Spreadsheet
Loads PhpSpreadsheet from file into PhpSpreadsheet instance.
string | $pFilename | |
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet |
None found |
None found |
setSheetIndex(int $pValue) : $this
Set sheet index.
int | $pValue | Sheet index |
None found |
None found |
None found |
processFormula(string $rowDatum, bool $hasCalculatedValue, string $cellDataFormula, string $row, string $column) : void
string | $rowDatum | |
bool | $hasCalculatedValue | |
string | $cellDataFormula | |
string | $row | |
string | $column |
None found |
processCRecord(array $rowData, \PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, string $row, string $column) : void
array | $rowData | |
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
string | $row | |
string | $column |
None found |
processCFinal(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, bool $hasCalculatedValue, string $cellDataFormula, string $cellData, string $coordinate) : void
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
bool | $hasCalculatedValue | |
string | $cellDataFormula | |
string | $cellData | |
string | $coordinate |
None found |
processFRecord(array $rowData, \PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, string $row, string $column) : void
array | $rowData | |
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
string | $row | |
string | $column |
None found |
styleSettings(string $rowDatum, array $styleData, string $fontStyle) : void
string | $rowDatum | |
array | $styleData | |
string | $fontStyle |
None found |
addFormats(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, string $formatStyle, string $row, string $column) : void
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
string | $formatStyle | |
string | $row | |
string | $column |
None found |
addFonts(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, string $fontStyle, string $row, string $column) : void
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
string | $fontStyle | |
string | $row | |
string | $column |
None found |
addStyle(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, array $styleData, string $row, string $column) : void
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
array | $styleData | |
string | $row | |
string | $column |
None found |
addWidth(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, string $columnWidth, string $startCol, string $endCol) : void
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
string | $columnWidth | |
string | $startCol | |
string | $endCol |
None found |
processPRecord(array $rowData, \PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet) : void
array | $rowData | |
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet |
None found |
processPColors(string $rowDatum, array $formatArray) : void
string | $rowDatum | |
array | $formatArray |
None found |
processPFontStyles(string $rowDatum, array $formatArray) : void
string | $rowDatum | |
array | $formatArray |
None found |
processPFinal(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, array $formatArray) : void
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
array | $formatArray |
None found |
columnRowFromRowData(array $rowData, string $column, string $row) : void
array | $rowData | |
string | $column | |
string | $row |
None found |