Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | WW8: Relative hyperlinks exported as static links | ||||||
---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | Rainer Bielefeld <rainerbielefeld_ooo_qa> | ||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||
Status: | CONFIRMED --- | QA Contact: | |||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | dan, issues, michael.ruess, paul_henry | ||||
Version: | OOo 1.1.2 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
Rainer Bielefeld
2004-07-08 20:49:40 UTC
Created attachment 16334 [details]
I tested with that testkit, hyplerlinks in "navigation.doc" will not work on your PC
reassigned to ES. I replicated the bug with OOo 1.1.2, Microsoft Word 2002 build 10.2627.3311, and Windows XP Version 2002 Service Pack2. Here are the replication steps: 1.Create a folder in any directory. Name it “RelativeToAbsoluteâ€. <\RelativeToAbsolute\> 2.Create two sub folders in that folder. Name them “Sub1†and “Sub2†respectively. <\RelativeToAbsolute\Sub1\, \RelativeToAbsolute\Sub2\> 3.Create one text file in each sub folder. Name them “sub1.sxw†and “sub2.sxw†respectively. <\RelativeToAbsolute\Sub1\sub1.sxw, \RelativeToAbsolute\Sub2\sub2.sxw> 4.Also save these two files in Microsoft Word 97/2000/XP format with same name. <\RelativeToAbsolute\Sub1\sub1.sxw sub1.doc, \RelativeToAbsolute\Sub2\sub2.sxw sub2.doc> 5.Create a new text file in folder “RelativeToAbsoluteâ€. Name it “navigation.sxw†<\RelativeToAbsolute\navigation.sxw> 6.Insert four document hyperlinks into navigation.sxw. Each link refers to one file created above. <Insert -> hyperlink -> document -> path> 7.Save it as Microsoft Word 97/2000/XP format with the same name in the same folder. <\RelativeToAbsolute\navigation.sxw, navigation.doc> 8.Rename folder “RelativeToAbsolute†to “RRRRelativeToAbsoluteâ€. 9.Open “navigation.sxw†and test the document hyperlinks. All four documents can be opened via clicking on the hyperlinks. 10.Open “navigation.doc†using Microsoft Word 2002. None of the four documents can be opened via clicking on the hyperlinks. I further use OpenOffice to open the problematic word file. All four document hyperlinks work correctly. I also replicate the bug without renaming the folder. The bug exists only when user uses Microsoft Word to open a doc format file that is previously operated and saved by OpenOffice. I consider the main course of the bug is that Microsoft Word doesn't recognize the hyperlinks inserted by OpenOffice. @MRU: it looks like a Word export problem. As if we saved the path to hyperlink absolut when saving to .doc. Trying to dum up: - save document called "Navi.doc" in a dir called <anywhere_you_want>\BASEDIR\ - Insert a hyperlin in this doc pointing to an document like <anywhere_you_want>\BASEDIR\other.doc - save the navi.doc - close it - Rename BASEDIR to something else - Open the Navi.doc *in Word* -> the hyperlink still points to BASEDIR instead of the renamed directory. MRU->HBRINKM: as describe (and I also reproduced that with my own documents). Hyperlinks are exported static to WW8 format, not as relative links. It still does not work with OpenOffice 2.4. It is very easy to reproduce and does not require different directories. Just an ODT file reffering to a DOC-file in the same directory. While the former ODT-file is in OpenOffice format it contains a relative path. (And contains something like the following in the context.xml: <text:a xlink:type="simple" xlink:href="../other.doc#chapter-2-1-1">[2.1.1]</text:a> ) but after the ODT-file is saved to DOC-format the reference becomes absolute, which is abosultely weird (if you have two such files and want to publish them on web, or send to someone, then this unlucky someone will not be able to follow the reference.) The problem is obviously in the MSWord 97/2000 filter. Are there any plans to fix it? Or maybe there can be a workaround? *** Issue 122009 has been marked as a duplicate of this issue. *** Reset assigne to the default "issues@openoffice.apache.org". |