From d325cd0c69b7c0cc4f47105749a98995de81cc9d Mon Sep 17 00:00:00 2001 From: László Németh Date: Wed, 24 Feb 2021 15:05:38 +0100 Subject: tdf#115815 sw: fix lost annotation ranges of redlines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Annotations of tracked deletions lost their ranges during ODF export, according to the limitation of ODF or its recent implementation. As a workaround, save and restore the start of the annotation ranges using temporary bookmarks (which can be part of text:deletion). Note: maybe it's possible to split redline ranges regarding to the start of the annotation ranges, mixing tracked deletions with normal text or tracked insertions, but this would be a not backward compatible solution, because the ODF import of this file inserts extra (not tracked) spaces around the annotation, losing the original text content. Change-Id: I786993a05ee1683076e213374a92969d1856cf8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111489 Tested-by: László Németh Reviewed-by: László Németh --- sw/qa/extras/odfexport/data/tdf115815.odt | Bin 0 -> 9809 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 sw/qa/extras/odfexport/data/tdf115815.odt (limited to 'sw/qa/extras/odfexport/data/tdf115815.odt') diff --git a/sw/qa/extras/odfexport/data/tdf115815.odt b/sw/qa/extras/odfexport/data/tdf115815.odt new file mode 100644 index 000000000000..7c2aad0da638 Binary files /dev/null and b/sw/qa/extras/odfexport/data/tdf115815.odt differ -- cgit