Property | Type | Description | |
---|---|---|---|
$filePath | Path of the XLSX file being read | ||
$globalFunctionsHelper | Helper to work with global functions | ||
$options | Reader's current options | ||
$sharedStringsHelper | Helper to work with shared strings |
Method | Description | |
---|---|---|
__construct ( string $filePath, |
||
getSheets ( ) : |
Returns the sheets metadata of the file located at the previously given file path. |
Method | Description | |
---|---|---|
getSheetDataXMLFilePathForSheetId ( string $sheetId ) : string | ||
getSheetFromSheetXMLNode ( Box\Spout\Reader\Wrapper\XMLReader $xmlReaderOnSheetNode, integer $sheetIndexZeroBased ) : |
Returns an instance of a sheet, given the XML node describing the sheet - from "workbook.xml". |
public __construct ( string $filePath, |
||
$filePath | string | Path of the XLSX file being read |
$options | Reader's current options | |
$globalFunctionsHelper | Box\Spout\Common\Helper\GlobalFunctionsHelper |
protected getSheetDataXMLFilePathForSheetId ( string $sheetId ) : string | ||
$sheetId | string | The sheet ID, as defined in "workbook.xml" |
return | string | The XML file path describing the sheet inside "workbook.xml.res", for the given sheet ID |
protected getSheetFromSheetXMLNode ( Box\Spout\Reader\Wrapper\XMLReader $xmlReaderOnSheetNode, integer $sheetIndexZeroBased ) : |
||
$xmlReaderOnSheetNode | Box\Spout\Reader\Wrapper\XMLReader | XML Reader instance, pointing on the node describing the sheet, as defined in "workbook.xml" |
$sheetIndexZeroBased | integer | Index of the sheet, based on order of appearance in the workbook (zero-based) |
return | Sheet instance |
public getSheets ( ) : |
||
return | Sheets within the XLSX file |
protected $globalFunctionsHelper |