Files
PhpSpreadsheet/samples
oleibman 97aa5260d4 Ods Reader Style Support Part 3 - Borders
Continuing the work of PR #4810 and PR #4813. All "real" borders are implemented. Pseudo-borders (outline, vertical, horizontal, inside, and allBorders) are not because I'm not really sure how, or even if, Ods handles them. However, Sample20_Read_Ods demonstrates a way to emulate `outline` using just the real borders. In template OOCalcTest.ods cells B18:C19 are merged, and the merged cell has multi-colored borders, something which `outline` isn't able to do. Ods Reader handles this by assigning the border style first to cell B18 (which is what Ods wants, and it doesn't hurt Xlsx/Xls) and then to cells B18:C19 (which is what Xlsx and Xls want, and it doesn't hurt Ods).

Ods Reader changes still to come
- Style applied to entire row
- Style applied to entire column
- Parent styles?

Ods Writer changes still to come
- Style applied to entire row
- Style applied to entire column
- Parent styles?

Not currently on my to-do list
- Pseudo-borders
- Subscript and superscript fonts (these really only make sense for RichText, and I'm not sure how Ods handles RichText)
- Default border, alignment, and protection. I'm not convinced there's a use case. Ods handles its defaults in two different manners, and I don't want to spend the time trying to understand it without justification.
2026-02-19 17:54:39 -08:00
..
2025-12-04 17:55:18 -08:00
2025-05-20 22:54:08 -07:00
2025-08-27 18:18:40 -07:00
2026-02-16 01:19:26 -08:00
2025-08-27 18:18:40 -07:00
2026-02-11 17:15:52 -08:00
2025-04-05 13:54:20 -07:00
2025-06-03 21:36:05 -07:00
2025-04-05 13:54:20 -07:00
2025-04-05 13:54:20 -07:00
2025-04-05 13:54:20 -07:00
2025-12-04 17:55:18 -08:00
2025-04-05 13:54:20 -07:00
2025-04-05 13:54:20 -07:00
2025-04-05 13:54:20 -07:00
2025-04-05 13:54:20 -07:00
2025-04-05 13:54:20 -07:00
2025-04-05 13:54:20 -07:00
2025-04-05 13:54:20 -07:00
2026-01-15 22:37:44 -08:00
2025-12-13 10:24:07 -08:00
2026-01-26 21:08:46 -08:00
2025-12-04 17:55:18 -08:00
2025-04-05 13:54:20 -07:00
2025-12-26 18:21:37 -08:00
2025-03-05 21:59:54 -08:00
2025-04-05 13:54:20 -07:00