On 20-09-2020 09:01, Philip Jackson wrote:
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.
Is there someone able to shine a light on this subject?
Thing is that links break when mailing or moving and that is a serious flaw.
For example, I would expect a template name without path in a document 
xml, result in a search for that template in:
 * the designated template folder
 * the home folder
 * the folder where the document lives
Apparently this does not work, not even one folder is consulted.
Is there some sort of a search path available? A policy? It would really 
be helpful if this subject is discussed and I would love to see a 
contribution.
--
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.