Issue 70305 - Inability to refer to other files using relative urls
Summary: Inability to refer to other files using relative urls
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.0.4
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2006-10-11 13:20 UTC by terrynorth
Modified: 2006-12-19 15:24 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description terrynorth 2006-10-11 13:20:39 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.
Comment 1 Regina Henschel 2006-10-11 13:46:22 UTC
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".
Comment 2 terrynorth 2006-10-11 14:38:31 UTC
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.
Comment 3 Regina Henschel 2006-10-11 17:34:13 UTC
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 ***
Comment 4 Regina Henschel 2006-10-11 17:35:08 UTC
one case duplicate, the other cases workforme
Comment 5 terrynorth 2006-10-12 11:54:30 UTC
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
Comment 6 Regina Henschel 2006-10-12 12:27:01 UTC
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".

Comment 7 terrynorth 2006-10-12 13:29:09 UTC
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.
Comment 8 Rainer Bielefeld 2006-10-17 06:23:03 UTC
closed due to 'Additional comments from contender Thu Oct 12 05:29:09 -0700 2006'
Comment 9 thorsten.martens 2006-12-19 15:24:58 UTC
closed