<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Feature Request: Hyperlink creation dialog should have option to enter exact href= text that will remain unmodified"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122279">bug 122279</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>rb.henschel@t-online.de
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Feature Request: Hyperlink creation dialog should have option to enter exact href= text that will remain unmodified"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122279#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Feature Request: Hyperlink creation dialog should have option to enter exact href= text that will remain unmodified"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122279">bug 122279</a>
              from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
        <pre>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 <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Change the way to define relative vs absolute URLs"
   href="show_bug.cgi?id=111957">bug 111957</a>. Please have a look. I guess, that the proposals
there will cover your request.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>