Issue 19655 - wrong link in MSOffice master document
Summary: wrong link in MSOffice master document
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC5
Hardware: PC Windows 2000
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-16 16:41 UTC by darios
Modified: 2017-05-20 11:20 UTC (History)
3 users (show)

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


Attachments
Source file with Hyperlink (32.00 KB, application/msword)
2003-09-23 15:23 UTC, michael.ruess
no flags Details
Destination file with Bookmark (28.50 KB, application/msword)
2003-09-23 15:24 UTC, michael.ruess
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description darios 2003-09-16 16:41:59 UTC
Opening a MSOffice97 master document with OpenOffice links to other (dependent)
files in the same directory do not works because a #masterFileName is appended
at the end.
Comment 1 darios 2003-09-16 16:51:43 UTC
Sorry, let me correct the above notice: what is added at the end is,
in fact, the bookmark in the referred document but the problem is that
it seems to be added to the file name since the error is 'file
fileName.doc#referenceName not found!'
And I am not sure if the reference should appear under bookmarks and
not under references.
Thanks.  Dario
Comment 2 jack.warchold 2003-09-16 18:38:24 UTC
reassigned to mru

can you please take a look at this issue?
Comment 3 michael.ruess 2003-09-23 11:13:02 UTC
Dario,
please attach an exaple file, which shows the problem you describe (or
give a detailed description, how to insert such a link in MS Word). At
the moment, I cannot imagin what kind of link you are talking about.
You can also send the file directly (mru@openoffice.org), for the case
it contains confidential data. Feel free to reopen this issue when
you've done.
Thanks for supporting us!
Comment 4 darios 2003-09-23 13:42:43 UTC
Ok, I sent example docs to mru@openoffice.org.
I verified that while the document works fine with MSWord it has the
problem with OpenOffice.
Dario
Comment 5 michael.ruess 2003-09-23 15:23:04 UTC
MRU->OS: the imported hyperlink looks good. But it can't find the
referred .doc file when the link also has a bookmark "#bookmarkname"
appended. Without the bookmark it works. Also when the hyperlink
refers to an .sxw including a bookmarkname.
I'll attach a short case without the confidential content.
Comment 6 michael.ruess 2003-09-23 15:23:50 UTC
Created attachment 9600 [details]
Source file with Hyperlink
Comment 7 michael.ruess 2003-09-23 15:24:36 UTC
Created attachment 9601 [details]
Destination file with Bookmark
Comment 8 Oliver Specht 2003-10-24 11:12:29 UTC
Everything in OOo is as it is in Word. 
The problem here is that the URL points to a non-OOo document and a
Windows call is used to load the document. This interface doesn't
allow a URL scheme containing a bookmark (which is not a valid URL
anyway).
An equivalent hyperlink in OOo pointing to an OOo document including a
bookmark works the same way as it works inside of Word. 

os->mba: The bookmark part of the URL should be cut off when using a
Windows API (as already discussed).
Comment 9 michael.ruess 2003-10-31 10:22:30 UTC
As long as there are some more important issues, this is re-targeted
to OO 2.0.
Comment 10 Mathias_Bauer 2004-10-21 16:54:39 UTC
retargetted due to heavy workload
Comment 11 Mathias_Bauer 2007-06-08 15:18:33 UTC
->hbrinkm
Comment 12 knobo 2010-10-20 12:13:43 UTC
The solution here is simple. It would take just a few lines of code to fix it.
When you already have opened a .doc file in OpenOffice.org, you would want the 
next .doc file to be opened in OpenOffice.org also. Don't let OpenOffice.org give 
the url to a .doc file to the OS as long as OpenOffice.org can handle it self.

It would be like opening a html file in firefox, even though IE is the standard 
html browser, and when you click on a link, firefox opens the html file in IE. 
Comment 13 michael.ruess 2010-10-20 13:23:52 UTC
MRU->knobo: if so, feel free to attach a patch proposal to this issue. We than
will change the target to an earlier point of time and implement your patch. Thanks!
Comment 14 Marcus 2017-05-20 11:20:10 UTC
Reset assigne to the default "issues@openoffice.apache.org".