On 19/09/2020 20:01, Robert Großkopf wrote:
Hi Dave,
I am trying to create a Writer document with a number of links to files
in the same directory as the odt file itself. Using absolute paths
everything works perfectly, but relative links (eg. file://abc.xyz)
always fail with a "not an *absolute* URL" error.
The links will be saved als relative links in the file. Try to move the
file to another folder - together with the other documents. It will work.
Have a look in the *.odt-file in content.xml:
<text:a xlink:type="simple" xlink:href="../LibreOffice/Bilder_gross.odt"
will open the document Bilder_gross.odt, which is in a subfolder of the
document I have created.
For documents you could set in the further settings for a Hyperlink:
Text: "My Document". Then there will be shown only the name "My
Document" for the document. Not the absolute path to the file, which is
saved only for the shown text in the document, not for the real path to
the file. This information of the path is misleading.
Regards
Robert
Hi Robert,
Many thanks for taking the time to reply.
If you look at my original post and my reply to Regina the odt file and
the hyperlinked files are are already in the same directory, so I see no
reason why moving them to another location would change anything.
It really doesn't matter what appears in content.xml. The critical point
is that keyboard Ctrl+click on the hyperlink in the odt file generates a
"not an *absolute* URL" error.
Sorry if I have misunderstood or misinterpreted the explanation you and
Regina have kindly given, but I need to clearly explain this for
inexperienced users in the next edition of the official LibreOffice
Writer Guide.
Kind Regards
Dave
--
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
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.