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-02-25 11:45:30 +01:00
2026-05-27 17:35:39 +02:00
2025-12-10 23:55:08 +01:00
2026-03-20 11:39:01 +01:00
2026-05-13 17:15:34 +02:00
2026-05-01 00:15:40 +02:00
2026-01-15 10:55:58 +01:00
2026-03-20 11:39:01 +01:00
2025-09-15 10:50:04 +02:00
2025-10-16 11:17:35 +02:00
2026-01-23 23:28:02 +01:00
2025-10-06 23:04:40 +02:00
2025-11-03 20:30:33 +01:00
2026-05-07 12:10:23 +02:00
2026-01-23 23:28:02 +01:00
2026-05-13 17:15:34 +02:00
2026-01-31 10:54:59 +01:00
2026-01-31 10:54:59 +01:00
2026-01-31 10:54:59 +01:00
2026-05-27 17:35:39 +02:00
2025-10-06 23:04:40 +02:00
2025-09-16 12:46:25 +02:00
2025-12-28 07:21:35 -07:00
2025-12-27 22:42:22 -07:00
2026-05-30 19:11:14 +02:00
2026-05-17 11:02:34 +02:00
2025-12-09 19:11:47 +01:00
2025-12-10 23:55:08 +01:00
2025-11-30 13:49:58 +01:00
2026-05-27 17:35:39 +02:00
2026-03-20 11:39:01 +01:00
2026-02-14 16:19:41 +01:00
2025-10-06 23:04:40 +02:00
2025-10-04 19:21:18 +02:00
2025-10-05 16:33:03 +02:00
2026-04-13 12:04:02 +02:00
2025-10-05 16:33:03 +02:00
2026-03-22 10:36:15 +01:00
2026-04-04 15:12:23 -04:00
2026-01-27 12:44:43 +01:00
2025-11-04 14:08:57 +01:00
2025-09-20 21:05:29 +02:00
2025-09-29 11:53:24 +02:00
2025-11-30 13:20:30 +01:00
2025-12-09 19:11:47 +01:00
2025-12-05 11:14:11 +01:00
2026-05-27 17:35:39 +02:00
2025-10-02 13:37:53 +02:00
2026-01-02 11:43:15 -05:00
2026-04-15 22:25:11 +02:00
2025-09-15 10:50:04 +02:00
2025-09-18 11:52:22 +02:00
2025-09-24 21:32:31 +02:00
2025-10-18 17:35:23 +02:00
2025-10-13 12:11:29 +02:00
2025-10-13 20:23:22 +02:00
2025-11-03 23:16:48 +01:00
2025-11-02 15:37:54 +01:00
2025-11-04 14:30:05 +01:00
2025-12-30 12:11:46 -07:00
2025-12-13 22:28:59 +01:00
2025-11-30 12:16:40 +01:00
2025-12-02 12:04:36 +01:00
2025-12-05 10:46:24 +01:00
2025-12-11 11:30:38 +01:00
2025-12-11 19:57:54 +01:00
2025-12-14 16:46:31 +01:00
2025-12-27 23:10:22 -07:00
2025-12-29 10:11:41 -07:00
2026-01-03 11:20:28 -05:00
2026-01-08 11:41:35 +01:00
2026-01-21 17:04:49 +01:00
2026-01-25 13:53:38 +00:00
2026-01-27 10:20:31 +01:00
2026-02-14 14:22:15 +00:00
2026-02-12 21:21:14 +00:00
2026-02-13 11:01:37 +01:00
2026-02-18 10:21:41 +01:00
2026-02-25 11:45:30 +01:00
2026-02-27 11:51:35 +01:00
2026-03-03 15:38:51 +00:00
2026-03-03 22:31:55 +01:00
2026-03-03 22:31:55 +01:00
2026-03-09 14:10:53 +01:00
2026-03-17 19:37:08 +01:00
2026-03-20 11:39:01 +01:00
2026-04-04 15:27:01 -04:00
2026-04-09 10:51:15 +02:00
2026-04-15 22:25:11 +02:00
2026-04-18 13:05:35 +02:00
2026-04-18 23:19:15 +02:00
2026-04-24 10:55:52 +02:00
2026-05-01 00:15:40 +02:00
2026-05-02 13:07:00 +02:00
2026-05-30 19:11:14 +02:00
2026-05-23 18:09:46 +02:00
2026-05-30 19:11:14 +02:00
2026-06-03 16:36:29 +02:00
2026-03-27 23:56:08 -04:00
2026-01-24 14:53:08 +00:00
2026-05-28 00:07:29 +02:00
2025-11-04 09:42:27 +01:00
2025-12-20 21:27:28 -08:00
2026-03-22 10:36:15 +01:00
2025-12-07 17:07:05 +01:00
2025-10-14 19:07:02 +02:00
2026-05-27 17:35:39 +02:00
2025-10-30 20:02:28 +01:00
2026-02-14 16:19:41 +01:00
2026-02-14 16:19:41 +01:00
2026-04-15 22:25:11 +02:00