To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90501
                 Issue #|90501
                 Summary|relative hyperlink is lost during save/load if 'Save U
                        |RLs relative' option is not set
               Component|Word processor
                 Version|OOo 2.4.0
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|save-export
             Assigned to|mru
             Reported by|aharnack





------- Additional comments from [EMAIL PROTECTED] Sun Jun  8 21:59:33 +0000 
2008 -------
- Open the OpenOffice Writer or a new Writer document
- check that "Tools" > "Options..." > "Load/Store" > "General" > "Save URLs
relative to" options are both not set
- insert a Hyperlink (Insert > Hyperlink from the menu bar or Hyperlink from the
Toolbar)
- chose type document and enter a relative path starting with the current
directory (like ./file.txt)
- Apply and Close the hyperlink dialogue
- open the Navigator, open the hyperlink just created and check the document
path: it should still be as entered
- Save and close the document
- reopen the document
- open the Navigator and check for hyperlinks: the hyperlink is gone!

The "content.xml" in the document.odt file contains a line that reads:

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

If the document is saved as HTML the link looks OK:

<P STYLE="margin-bottom: 0cm"><A HREF="./file.txt">./file.txt</A></P>

The problem does not occur if the “Save URLs relative” options are set.
Apparently it is the “Save URLs relative to file system” option that matters.
Apparently it doesn't matter if the file targeted actually exist or not.

---------------------------------------------------------------------
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]

Reply via email to