To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=61943 Issue #:|61943 Summary:|Relative hyperlinks are corrupted: name of current |document added as parent path Component:|Word processor Version:|current Platform:|PC URL:| OS/Version:|Linux Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P2 Subcomponent:|open-import Assigned to:|mru Reported by:|frankdelange
------- Additional comments from [EMAIL PROTECTED] Sat Feb 11 17:41:57 -0800 2006 ------- Relative hyperlinks in writer (possibly also in other apps, did not test) are butchered on document load or import. Tested with OO.o-dev 2.0 (680_m156) on Linux. Reproduce: 1 - create a new document in writer. I call it '/tmp/Test.odt' 2 - in this document, create a hyperlink to 'Test2.odt'. (As already known and reported elsewhere the hyperlink dialog is not very helpful here as it tries to auto-correct the link target to an existing file. Correct the dialog's autocorrection so the link actually points to 'Test2.odt'...) 3 - hover mouse over the link. The tooltip says 'Test2.odt'. 4 - save the document as '/tmp/Test.odt' 5 - copy '/tmp/Test.odt' to '/tmp/Test2.odt' to make sure the link target exists 6 - reload the document (File->Reload) 7 - hover mouse over link. The tooltip now says 'file:///tmp/Test.odt/Test2.odt' 8 - select the link and open the hyperlink dialog (Insert->Hyperlink). The link now points to 'file:///tmp/Test.odt/Test2.odt' 9 - activate the link by clicking on it. OO.o asks whether you really want to open '/tmp/Test.odt/Test2.odt'. Say 'Yes'. Watch the error dialog telling you that it could not open this non-existing file. 10 - unzip '/tmp/Test.odt' and study the content.xml file. It contains the correct relative link: <text:p text:style-name="Standard">Link to <text:a xlink:type="simple" xlink:href="Test2.odt">Test2.odt</text:a></text:p> The main problem here is that when OO.o reads or imports a file with relative links it adds the name of the referring document as a parent path to the link. It should not do that... This problem also occurs when importing eg. Microsoft Word files with relative links. It also shows when exporting to PDF or html (have not tried other export options). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
