https://bugs.freedesktop.org/show_bug.cgi?id=55143
--- Comment #4 from Doug <[email protected]> 2012-09-20 19:33:31 UTC --- The 2d half of the file is not missing, just malformed. Was accessible by changing the extension to .zip and opening document.xml in text editor. The problem here is that LibreOffice saves html tags in an inartful way in .docx files. LibreOffice tries to do everything in the document.xml file. In the example I posted, the link was represented in the document as (forgive me it I mis-crop leading or trailing instructions): HYPERLINK "http://www.mass.gov/obcbbo/rpc8.htm" \l "Rule 8.4"</w:instrText></w:r><w:r><w:fldChar w:fldCharType="separate"/></w:r><w:r><w:rPr><w:rStyle w:val="style15"/></w:rPr><w:t>Rule 8.4 of the Rules of Professional Conduct</w:t></w:r><w:r><w:fldChar w:fldCharType="end"/></w:r></w:hyperlink> Something in that could not be parsed either by Word or LibreOffice on reopen. Word itself does not try to do this in the document.xml file. Instead, it inserts a bookmark with a reference to a different file in the compressed .docx structure: Word /document.xml : ><w:hyperlink r:id="rId4" w:anchor="Rule 8.4" >w:history="1"><w:r><w:rPr><w:rStyle w:val="Hyperlink"/></w:rPr><w:t>Rule 8.4 >of the Rules of Professional Conduct</w:t></w:r></w:hyperlink> Word /_rels/document.xml.rels : Target="fontTable.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="http://www.mass.gov/obcbbo/rpc8.htm" TargetMode="External"/></Relationships> LibreOffice does not attempt to use the "rels" folder/functionality in the .docx structure in connection with the hyperlinks. As a result, using html links and bookmarks in LibreOffice with .docx files is a problem waiting to happen. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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
