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

            Bug ID: 114854
           Summary: FILEOPEN: DOCX: URL in comment imported as plain text
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jl...@mail.com

Created attachment 138904
  --> https://bugs.documentfoundation.org/attachment.cgi?id=138904&action=edit
tdf104707_urlComment.odt: ODT master for creating .doc and .docx copies.

URLs in comments in .docx format are imported as plain text, losing the URL
formatting/clickability.

See attachment 138876 from related bug 104707
URLinComment2003.docx: MS Word 2003 created test with URL in comment

.odt and .doc files don't have this problem. Look at
ww8par5.cxx:Read_F_Hyperlink for the function that creates the
SwFormatINetFormat attribute.

The problem code for docx is in DomainMapper_Impl:PopFieldContext() which
throws an exception when setting the "HyperLinkURL" property in the annotation.
The same code is used for setting the URL property in regular text and works
fine there. I'm stumped, but it should be an easy bug to solve for someone with
good understanding of how .docx importing works.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to