Ask Your Question
0

Editing multiple hyperlinks in LibreWriter

asked 2012-07-09 02:31:12 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated 2013-01-28 13:27:32 +0200

qubit gravatar image qubit flag of United States
5816 3 50 43

I am working with a fairly large document in LibreOffice Writer which incorporates many hyperlinks that direct to a website. My goal is to have the document be self-contained, so that all of the hyperlinks direct to the relevant portion of the document itself, so that it can be used offline, particularly on the Kindle. Is there any way that I could edit every instance of a given word/hyperlink so that they all direct to the same portion of the document, instead of having to go through each link one at a time?

delete close flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-02-19 21:25:06 +0200

qubit gravatar image qubit flag of United States
5816 3 50 43

Hmmm... one way of doing this would be to open the Writer document as text (unzip it, then work directly on the XML) and do a search-and-replace on the urls to convert them to local links.

That method could be a bit tricky, especially depending upon how internal links are represented.

link delete flag offensive edit

Comments

If the direct method doesn't work for you (or you'd like something a bit more polished, using a GUI :-), then please file an enhancement bug.

Please post a link to any bugs you file in a comment below using the format "fdo#123456".

Thanks!

qubit ( 2013-03-02 08:54:55 +0200 )edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-07-09 02:31:12 +0200

Seen: 122 times

Last updated: Feb 19