Andreas Harnack schrieb:
- create a new empty Writer document,
- insert a hypertext link (Insert > Hyperlink from the menu bar or Hyperlink from the Toolbar) - enter as target a relative URL starting with the current directory (like ./file.txt),
- Apply and Close the dialogue,
- open the Navigator and check the target URL of the link just created, it should be as entered,
- save and close the file (any name will do)
- reopen the file, open the Navigator and check the URL of the link you entered above: The URL as changed to something like file://C:/..../file.txt

There is another thing in this context. I tried to check the impact off the "Tools" > "Options..." > "Load/Store" > "General" > "Save URLs relative to" options. When creating and storing a file as described in the previous post with both options set, then the "content.xml" in the document.odt file contains a line that reads reads:

<text:a xlink:type="simple" xlink:href="../file.txt">./file.txt</text:a> .

If the test is repeated with both options turn off, the same line reads:

<text:a xlink:type="simple" xlink:href="">./file.txt</text:a>

If the document is opened again, the link is gone (can be checked in the Navigator). That looks definitely like a bug to me. It is reproducible. I used OpenOffice 2.4 on a W2k system. (Perhaps it should be mentioned that ./file.txt doesn't exist)

A slightly longer description can be found here:
http://user.services.openoffice.org/en/forum/viewtopic.php?f=5&t=6358


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to