Interdependent change tracking, ODF proposal

Regina Henschel rb.henschel at t-online.de
Wed May 28 22:28:22 UTC 2025


Hi Miklos,

How is the hierarchy of the now two child elements of 
<text:changed-region> determined? Is it the element order in markup or 
the date in their <office:change-info> child element?

What should happen if the <dc:date> of the <office:change-info> elements 
are in contrast to the type of elements? For example there is a delete 
of content that is inserted later than the delete was made? Or there is 
a formatting on a content that was already deleted according to the 
<dc:date>?

Kind regards,
Regina

Miklos Vajna schrieb am 21.05.2025 um 14:38:
> Hi Regina,
> 
> I recently looked at the state of change tracking in Writer when 2
> tracked changes are on top of each other, see tdf#166319.
> 
> The ODF side of this is strange: e.g. delete on insert was implemented
> in openoffice times, see
> sw/source/filter/xml/XMLRedlineImportHelper.cxx:206 and core.git commit
> 52d244dee88b111631680d8cd4c8b922f9640c15 (- added: redline import,
> 2001-01-10), at the same time some other combinations didn't work
> previously.
> 
> Having researched this a bit, it seems Word supports 3 combinations and
> now I fixed the ODF filter to also handle these (see commits in the TDF
> bug). The old code had no tests, but now that I added tests for the
> newer combinations, I noticed that even the schema doesn't allow this
> markup, for something that OOo wrote since 2001.
> 
> Anyhow, I attach my proposal to fix this, could you please file an OASIS
> issue for this?
> 
> Thanks,
> 
> Miklos
> 



More information about the LibreOffice mailing list