Files
PhpSpreadsheet/samples
oleibman 891180e13d Protect Sheet But Allow Sort
Fix #3951. When an Excel sheet is protected, even when sorting is explicitly allowed without a password, sorts are permitted only on "protected ranges" within the sheet. PhpSpreadsheet already supports protected ranges, and only minor tinkering is necessary for that (e.g. the protected range can have, but does not require, a password). The more important part of this change is documenting the far-from-intuitive way that Excel handles this. To that end, documentation is updated, and a new sample is added.

A new class, `Worksheet\ProtectedRange` is added in place of the string array which had been used. `Worksheet::getProtectedCells` is deprecated in favor of the new `Worksheet::getProtectedCellRanges`.
2024-03-20 07:04:24 -07:00
..
2023-12-09 16:47:25 +01:00
2024-02-04 10:29:41 -08:00
2024-02-03 07:25:29 -08:00
2024-02-04 10:29:41 -08:00
2024-02-03 07:25:29 -08:00
2024-03-20 07:04:24 -07:00
2024-02-04 10:29:41 -08:00
2024-02-03 07:25:29 -08:00
2024-02-03 07:25:29 -08:00
2024-02-03 07:25:29 -08:00
2024-02-03 07:25:29 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-01 11:26:22 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-04 10:29:41 -08:00
2024-02-01 11:26:22 -08:00
2024-02-03 07:25:29 -08:00
2024-02-03 07:25:29 -08:00
2024-02-04 10:29:41 -08:00
2024-02-01 11:26:22 -08:00
2023-09-13 10:26:51 +08:00
2021-11-24 09:12:46 +09:00
2023-09-06 22:51:47 +08:00