https://bugs.documentfoundation.org/show_bug.cgi?id=122279

Regina Henschel <rb.hensc...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.hensc...@t-online.de

--- Comment #1 from Regina Henschel <rb.hensc...@t-online.de> ---
The dialog is confusing, but it generates the links correctly, if you use the
dialog this way:

If you want to link to a local file, then do not choose the category
"internet", but use category "document". Then the main part changes. You will
get a section "document" with a "path" field.

Do not enter anything directly into the "path" field, but use the file picker
icon at the right side to choose the file. You will get an entry in the field,
which looks like an absolute link. But as long as the linked file is on the
same drive as the document, which gets the link, the link will be saved
relative.

In case the linked file has a suitable part, you can choose it in the section
"Target in document". Again, do not enter anything directly into the field, but
use the icon on the right side. It opens a window, where you can choose the
target. It will be added with #. For example, if your htm-file has an element
with id-attribute, this id will be listed under "bookmark".

Besides that, you need to have the option "save URLs relative to file system"
checked in Tools > Options > Load/Save > General.

The request, to let the user decide relative vs absolute for each individual
link is already in bug 111957. Please have a look. I guess, that the proposals
there will cover your request.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to