File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -851,7 +851,7 @@ for a working example of this code.
851
851
### listWorksheetInfo
852
852
853
853
The ` listWorksheetInfo() ` method returns a nested array, with each entry
854
- listing the name and dimensions for a worksheet:
854
+ listing the name, dimensions and state for a worksheet:
855
855
856
856
``` php
857
857
$reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
@@ -865,7 +865,8 @@ foreach ($worksheetData as $worksheet) {
865
865
echo 'Rows: ', $worksheet['totalRows'],
866
866
' Columns: ', $worksheet['totalColumns'], '<br />';
867
867
echo 'Cell Range: A1:',
868
- $worksheet['lastColumnLetter'], $worksheet['totalRows'];
868
+ $worksheet['lastColumnLetter'], $worksheet['totalRows'], '<br />';
869
+ echo 'Sheet state: ', $worksheet['sheetState'];
869
870
echo '</li >';
870
871
}
871
872
echo '</ol >';
You can’t perform that action at this time.
0 commit comments