Apache OpenOffice (AOO) Bugzilla – Issue 70305
Inability to refer to other files using relative urls
Last modified: 2006-12-19 15:24:58 UTC
It is not possible on Linux and Windows to use a relative link to refer to other documents. It may be possible to do so on Mac computers. Such a feature is necessary when preparing a set of interlinking documents for distribution to others. It was possible, evidently, in version 1.1.5. On Linux, such a reference would be in the form ~/<container folder>/filename.
Relative links are the default, although they look like being absolute. Perhaps you have changed the settings? Look at Tools > Options > Load/Save; Part "Save URLs relative to".
I filed this issue in response to postings on the users' list and in the forum. I have the option in question selected. The following in a spreadsheet cell works: =HYPERLINK("file:///home/terry/Data/Work/Spending.ods#A.A1";"spending") This does not: =HYPERLINK("file:///~/Data/Work/Spending.ods#A.A1";"spending") One forum thread on the issue is http://www.oooforum.org/forum/viewtopic.phtml?t=37541 The effect is that interlinking documents must use absolute references which are broken, obviously, when the files are distributed to others.
In the forum the reference in question is in the DDE-function. For DDE-function it is a known problen, see issue 70305. The other cases, direct reference and HYPERLINK, work in OOo2.0.4rc3 on Windows. Have you tried them with the newest version for Linux? You can reopen the issue, if you find a bug there. *** This issue has been marked as a duplicate of 49362 ***
one case duplicate, the other cases workforme
I may have chosen the category "framework" wrongly but my intention was to make this issue broader than one application. Although my examples related to the spreadsheet, the problem affects users of Impress quite acutely as demonstrated in the following message on the Users' list: http://www.openoffice.org/servlets/ReadMsg?list=users&msgNo=130528
I cannot reproduce the problem. Please give a step by step description how you set the link and - what is more importend - how you have tested, that the link is absolute. Please remember, you cannot _see_ it, because all links are shown, as if they where absolute. I have put the document which contains the link and the document to which the link refers into the same folder and then moved the folder to a new place. The link is still working then. I used a picture in an impress-document with an interaction "jump to document".
You are correct. That is a lesson for me. Thanks for your attention to the issue. Next time, I'll check someone else's assertions before adopting the cause. Sorry to have taken your time.
closed due to 'Additional comments from contender Thu Oct 12 05:29:09 -0700 2006'
closed