John MacFarlane and Claude
008afcaba1
OpenDocument writer: reuse identical automatic paragraph styles.
...
Every blockquote, every explicitly aligned table cell, and every
direction-adjusted style got a fresh `Pn` automatic style, even when
an identical one already existed. A document with many of them paid
for a style definition each time, and the style list that gets walked
when emitting `office:automatic-styles` grew with it.
Key the styles on their attributes and paragraph properties and reuse
a match. The direction cache added for RTL support is subsumed by
this one and goes away.
The test output changes only by dropping duplicate definitions:
`writer.opendocument` had three identical `Quotations` styles and
6792.md two identical centred table-cell styles.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-10-01 05:18:49 +00:00
..
2026-10-01 05:18:49 +00:00
2026-09-30 08:53:55 -07:00
2026-09-23 18:14:44 -07:00
2026-07-12 12:51:11 +02:00
2026-08-18 10:24:49 -07:00
2026-06-03 12:23:44 +02:00
2026-09-24 23:43:02 -07:00
2026-09-18 10:42:27 -07:00
2026-09-18 10:42:27 -07: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
2026-09-28 08:08:34 -07:00
2026-09-28 08:45:30 -07:00
2026-01-03 12:36:19 -05:00
2026-01-03 12:36:19 -05:00
2026-09-10 17:06:11 -07:00
2026-09-10 17:06:11 -07:00
2026-05-30 19:11:14 +02:00
2026-09-12 20:02:41 -07:00
2026-09-12 20:02:41 -07:00
2026-09-12 20:02:41 -07:00
2026-08-26 09:51:03 -07:00
2026-05-26 22:44:17 +02:00
2026-08-26 09:51:03 -07:00
2026-08-26 09:51:03 -07:00
2026-07-08 00:41:30 +02:00
2026-07-12 12:50:54 +02:00
2026-09-07 04:55:13 +00:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-09-26 15:49:54 -07:00
2026-09-26 15:49:54 -07:00
2026-07-09 01:12:18 +02:00
2026-09-28 09:20:42 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-08-16 16:25:00 -07:00
2026-08-26 09:51:03 -07:00
2026-08-26 09:51:03 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-08-31 18:12:23 -07:00
2026-08-31 18:12:23 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-14 17:34:15 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-10-01 05:18:49 +00:00
2026-07-01 11:17:21 +02:00
2026-09-20 10:28:30 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-08 00:41:30 +02:00
2026-07-12 12:50:54 +02:00
2026-09-14 13:45:54 -07:00
2026-07-11 10:57:33 +02:00
2026-07-01 11:17:21 +02:00
2026-09-04 09:37:08 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-03-22 10:36:15 +01:00