On 20/09/2020 01:07, Robert Funnell wrote:
FWIW, I just tried it in LO 6.1.5.2 under Debian Linux 10 and it worked as you said, without an
error message, and with the very misleading appearance of the absolute path in LO (but with the
relative path appearing in content.xml).
- Robert F.
On Sat, 19 Sep 2020, Regina Henschel wrote:
Hi Dave,
I have now used an English UI, and now the correct fields. Open Hyperlink-dialog, click Document. Click
"Open File" button at the ride side of the Document Path field.
I have tried with system open file dialog and with LO's own dialog. It works in both cases.
Ctrl-click opens e.g. a linked .odt file in LibreOffice.
I work on Windows 10. What OS do you use? Perhaps there is an error in Linux?
I just tried in UbuntuStudio 20.04.1 with LO 6.4.5.2 and the procedure works fine as Regina said.
But as Robert says, too, the path is indicated in the absolute form in the Document Path field.
Right clicking on the link and selecting Edit Hyperlink also shows an absolute path. But inspection
of content.xml confirms that the path is relative.
If the file with the hyperlink is moved to a different directory, the link updates showing again an
absolute path as though the linked file has also been moved. But, of course, the link no longer
works because it was relative and all the files concerned are no longer in the same directory.
I rechecked on a Windows10 box (up to date) with LO 6.3.5.2 and the behaviour is exactly the same,
showing an absolute path when really it is relative.
Indicating an absolute path in the linking dialogue is misleading.
Philip
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Re: [libreoffice-users] Create a relative hyperlink to file? · Stephan Bergmann
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.