John MacFarlane
098c48d79f
RTF reader: fix tables parsed as deeply nested tables.
...
Closes #11682 .
Fixes two bugs that caused a simple table to be read as a cascade of
nested tables:
* `\plain` reset the entire property record (including the in-table
flag) via `const def`. When a cell paragraph used `\plain` after
`\intbl`, the in-table flag was cleared, so the next `\cell` closed
the partially-built table and embedded it inside a new cell. Per the
RTF spec, `\plain` should reset only character formatting, so it now
preserves paragraph/context properties (in-table, list level, outline
level, hyperlink, anchor).
* `\row` was ignored and only `\trowd` started a new row. Real-world
RTF often emits a single `\trowd` and separates rows with `\row`, so
every cell ended up in one row. Both `\trowd` and `\row` now begin a
fresh row (only when the current one has cells), and empty trailing
rows are dropped when closing the table.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-06-03 16:36:29 +02:00
..
2026-06-03 16:36:29 +02:00
2026-03-14 20:12:34 +00:00
2024-01-27 10:34:00 -08:00
2023-01-13 09:13:27 -08:00
2022-11-02 09:23:09 -07:00
2026-02-16 13:54:34 +01:00
2026-01-14 11:14:30 +01:00
2025-11-24 22:37:39 +01:00
2026-06-03 12:23:44 +02:00
2026-05-14 11:58:19 +02:00
2025-09-15 12:45:28 +02:00
2025-11-24 23:10:33 +01:00
2024-11-11 16:00:47 -08:00
2024-11-11 16:00:47 -08:00
2025-11-29 17:04:42 +01:00
2025-11-29 17:04:42 +01:00
2025-11-29 17:04:42 +01:00
2025-11-30 11:08:32 +01:00
2024-02-13 23:10:42 -08:00
2025-10-27 22:25:18 +01:00
2026-01-03 12:36:19 -05:00
2026-01-03 12:36:19 -05:00
2023-03-22 08:32:48 -07:00
2024-09-14 10:21:53 -07:00
2023-08-05 11:54:31 -07:00
2023-08-05 11:54:31 -07:00
2024-11-06 10:04:33 -08:00
2024-11-06 10:04:33 -08:00
2024-03-19 07:58:42 -07:00
2024-03-19 07:58:42 -07:00
2024-03-19 07:58:42 -07:00
2024-03-19 07:58:42 -07:00
2025-08-26 18:22:16 +02:00
2026-05-30 19:11:14 +02:00
2025-03-14 15:07:16 -07:00
2022-07-30 08:56:44 -07:00
2025-02-07 14:04:12 -08:00
2025-01-15 12:07:26 -08:00
2024-12-27 11:10:48 -08:00
2024-10-15 23:16:11 -07:00
2022-07-30 08:56:44 -07:00
2026-05-02 12:43:40 +02:00
2026-05-26 22:44:17 +02:00
2026-05-07 12:39:06 +02:00
2025-05-20 10:18:32 -07:00
2023-07-06 08:52:12 -07:00
2025-11-05 12:49:46 +01:00
2022-06-21 10:22:34 -07:00
2024-05-31 09:38:34 -06:00
2022-11-29 09:43:11 -08:00
2022-11-29 09:43:11 -08:00
2025-05-28 12:46:00 -07:00
2024-06-07 12:15:40 -07:00
2024-06-07 12:15:40 -07:00
2025-10-06 23:04:40 +02:00
2025-03-23 10:29:17 -07:00
2024-04-25 14:26:17 -07:00
2022-11-11 10:12:07 -08:00
2025-03-23 10:29:17 -07:00
2025-05-28 12:46:00 -07:00
2025-05-20 10:18:32 -07:00
2023-01-13 09:13:27 -08:00
2024-06-07 14:22:50 -07:00
2024-10-08 21:58:25 -07:00
2025-09-15 12:45:28 +02:00
2025-11-24 23:10:33 +01:00
2023-01-13 09:13:27 -08:00
2023-11-15 10:06:22 -08:00
2023-06-22 10:53:15 -07:00
2023-06-22 10:53:15 -07:00
2022-06-10 11:29:00 +02:00
2022-06-10 11:29:00 +02:00
2025-02-09 11:43:38 -08:00
2024-07-03 15:45:52 -06:00
2025-12-14 22:42:47 +01:00
2023-07-06 12:20:20 -07:00
2025-10-26 22:43:18 +01:00
2025-02-07 14:04:12 -08:00
2025-12-28 07:21:35 -07:00
2025-12-28 07:21:35 -07:00
2025-11-05 12:49:46 +01:00
2024-05-30 11:35:47 -06:00
2024-09-02 11:08:13 -07:00
2025-06-16 13:15:12 -07:00
2025-06-16 13:15:12 -07:00
2024-09-21 16:58:01 -07:00
2023-01-13 09:13:27 -08:00
2026-05-07 12:39:06 +02:00
2026-05-07 12:39:06 +02:00
2026-03-06 13:59:04 +01:00
2026-03-06 13:59:04 +01:00
2026-03-06 13:59:04 +01:00
2023-01-13 09:13:27 -08:00
2026-03-22 10:36:15 +01:00
2026-03-22 15:41:37 +01:00
2026-03-20 11:39:01 +01:00
2025-07-22 19:07:08 +02:00
2026-01-24 14:53:08 +00:00
2025-03-29 22:39:38 -07:00
2023-01-13 09:13:27 -08:00
2023-01-13 09:13:27 -08:00
2026-05-27 17:35:39 +02:00
2026-03-20 11:39:01 +01:00
2025-08-06 12:54:12 -07:00
2026-03-20 11:39:01 +01:00
2024-10-01 09:19:53 -07:00
2023-01-13 09:13:27 -08:00
2023-01-13 09:13:27 -08:00
2024-05-15 18:08:13 -07:00
2023-01-13 09:13:27 -08:00
2026-03-19 09:17:46 +01:00
2025-09-15 12:45:28 +02:00
2023-01-13 09:13:27 -08:00
2023-01-13 09:13:27 -08:00
2024-05-30 11:35:47 -06:00
2026-03-22 10:36:15 +01:00