On 9/19/20 17:22, DaveB wrote:
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

Personally, I think this is a bug. In Debian 64 bit, what you have found gives the same error for versions, 6.2.8, 6.3.6, and 7.0.1.

Dan



--
To unsubscribe e-mail to: users+unsubscr...@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

Reply via email to