https://bugs.documentfoundation.org/show_bug.cgi?id=121099

--- Comment #7 from Justin L <[email protected]> ---
(In reply to Aron Budea from comment #0)
> => (it's likely lost upon import).
Yes, it appears that way. No fields/bookmarks seen in the navigator or when
saved to docx format.

(In reply to Justin L from comment #6)
> -and when LO round-trips the file, MS Word 2010 complains about opening it.
MS Word 2024 also complains about all kinds of things.

However, DOCX import seems to work fine if MS Word round-trips it. But export
from LO is not ok:
-DOC: still all messed up in MS Word
-DOCX: works in LO, but broken reference to 'Text1' in MS Word (because the
field is 'Text1' and the bookmark is 'Text1_Copy_1').


This is different from bug 120225, which doesn't have a bookmark at all. So I
assume that in MS Word a REF can access earlier fields by name, but not later
fields? So I'd guess that in their implementation, they also created a
bookmark, and the REF actually references the bookmark (which apparently it can
reference following bookmarks). But LO doesn't allow these duplicate names, so
things break in MS Word.

I don't see a way out of this. The only way would be during import to recognise
that the bookmark is connected to the field (because of the same name), and
then to change the REF to Text1_Copy_1. That sounds like a recipe for
disaster...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to