| 1 |
<?php |
| 2 |
|
| 3 |
namespace TablePress\PhpOffice\PhpSpreadsheet\Reader; |
| 4 |
|
| 5 |
interface IReader2 extends IReader |
| 6 |
{ |
| 7 |
/** |
| 8 |
* Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns). |
| 9 |
* |
| 10 |
* @return array<int, array{worksheetName: string, lastColumnLetter: string, lastColumnIndex: int, totalRows: int, totalColumns: int, sheetState: string}> |
| 11 |
*/ |
| 12 |
public function listWorksheetInfo(string $filename): array; |
| 13 |
|
| 14 |
/** |
| 15 |
* Returns names of the worksheets from a file, |
| 16 |
* possibly without parsing the whole file to a Spreadsheet object. |
| 17 |
* |
| 18 |
* @return string[] |
| 19 |
*/ |
| 20 |
public function listWorksheetNames(string $filename): array; |
| 21 |
} |
| 22 |
|