https://bugs.freedesktop.org/show_bug.cgi?id=75946

--- Comment #3 from Artur Linhart <[email protected]> ---
Created attachment 95405
  --> https://bugs.freedesktop.org/attachment.cgi?id=95405&action=edit
Repaired document with removed invalid hyperlink tags

same error was also on the line 1444.

It seems this occurs every time, if I write the hyperlink paragraph and on the
same line behind the hyperlink I add also the text comment, which is not
formatted as hyperlink, but like the normal text, then still in the 
document.xml, there is generated a starting tag like

    <w:hyperlink r:id="rId31">

- it seems the procedure, creating the hyperlink tag automatically generates in
this case the start for new hyperlink in such case, but not always - in the
text lower there I can find it also correctly. But somehow it that way it can
be generated, I guess - just make in the paragraph the hyperlink and try to add
text behind the hyperlink into the same paragraph.

I have removed the lines with invalid hyperlink start before this simple text,
so it were the lines (in the previously uploaded document.xml):

            <w:hyperlink r:id="rId27">

            <w:hyperlink r:id="rId31">

            <w:hyperlink r:id="rId36">

            <w:hyperlink r:id="rId39">

            <w:hyperlink r:id="rId46">

            <w:hyperlink r:id="rId49">

            <w:hyperlink r:id="rId52">

And I have inserted the document.xml back to the original odt archive and now
it opens (There is also 1 Problem for me, because I have reformattted the
document.xml in order to be able to perform the repair, so it has inserted a
lot of <TAB> characters into the document, but this is not so big problem for
me.)

So, it seems, the problem is in the LibreOffice export procedure to docx, which
created the invalid document.xml file and the importer then does not import
anything, what is behind the first false (unfinished) hyperlink tag, what seems
to be the expected behavior for such cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to