Ask Your Question

assigning font colors to specific, singular Hyperlinks

asked 2015-12-30 12:58:07 +0200

Joe Koenig gravatar image

updated 2015-12-30 14:08:47 +0200

Alex Kemp gravatar image

Hi y'all,

what seems to be the deal with assigning font colors to specific, singular Hyperlinks?

I'm not asking about the general default appearance of Hyperlinks. I guess that can be configured via Tools > Options > LibreOffice > Appearance

I don't want to change that. I just want to change the font color of some specific, singular Hyperlinks. I.e.: highlight/markup the link and thereafter hit the "Font Color" button or go via "Format > Character".

Please don't dismiss this for not being able to reconstruct this at once. I can't seem to able to do this myself. Sometimes it works right ahead, other times I have to do it several times over.

In order to reconstruct this, try

  • adding characters before/after the Hyperlink
  • markup/highlight portions of text before/after the Hyperlink
  • add linebreaks before/after the Hyperlink

I can't see a pattern there. It's kind of a haphazard style of word processing.

A little pic to help along: image image [/image]



$ libreoffice --version LibreOffice 420m0(Build:2)

$ uname -a Linux Jessi 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:02 UTC 2015 i686 athlon i686 GNU/Linux

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2015-12-31 10:49:34 +0200

Joe Koenig gravatar image

[quote] trigger a new attempt [/quote]

I'm fine with that. I DO want that trigger. I DO want that URL recognition. I DON'T want to change this. I DON'T want to meddle with this in any kind of way.

For once and all: I markup/highlight the Hyperlink and thereafter hit the "Font Color" button.

Am I not making myself clear? I've even included a picture. What more can I do?

edit flag offensive delete link more


@Joe Koenig: You surely are looking for volunteers trying to help you. They might judge a phrase like "once and for all" a bit lordly in this context.
Did you read and understand every word and sentence I posted? OK, I cannot change properties of the software, and there is no option influencing its respective behaviour except switching off the URL recognition. Thus you need to set your different font colour after any editing in immediate contact with the URL. Afraid of otherwise no way.

Lupp gravatar imageLupp ( 2015-12-31 12:31:24 +0200 )edit

Beforehand: Happy New Years to all y'all!

@Lupp: You are right. I should be more sensible. Nevertheless (in no way to lessen my previous statement) you did read the topic line of my OP, didn't you? It clearly states "assigning font colors to specific, singular Hyperlinks" What, on god's green earth, could lead you to believe that I haven't tried changing the font color after having entered the hyperlink?

And bringing up the version issue ...

Joe Koenig gravatar imageJoe Koenig ( 2016-01-01 11:57:51 +0200 )edit

Guys? Anyone still talking to me?

In case you want to know: The issue remain the same: "I can't (reliably) change the foreground color to any color I'd like (e.g.: "gray 6"")

That's it. Plain and simple. It has nothing to do with "URL recognition" or the like. It's about me editing the text/hyperlink afterwards.

Upps, I've almost forgot to thanks @Lupp Thanks! Truth be told: I'm a little confused by this board's structure, so I might not have taken all your insights into considerat

Joe Koenig gravatar imageJoe Koenig ( 2016-01-09 22:27:09 +0200 )edit

"maximum text length exceeded" ?! What is this? "SMS-Nation"? "Over!" [almost out]

Joe Koenig gravatar imageJoe Koenig ( 2016-01-09 22:48:08 +0200 )edit

Another blooper from myself: It actually seems to be possible to change the font-color of hyperlinks by just placing the cursor/pointer somewhere in between the hyperlink and only then going for "Format -> Character". Instead of marking up the whole area and Rightlick-formatting it. My bad. Stupid, right? (Let's just hope that this was all there was to it...)

@Lupp: No bad feelings. right?

Joe Koenig gravatar imageJoe Koenig ( 2016-01-10 15:04:07 +0200 )edit

Was skiing for 6 days. Feeling well.

Lupp gravatar imageLupp ( 2016-01-10 17:18:58 +0200 )edit

Glad to read it. Although we're tipping into OT-land, here, I guess. Looking forward reading you, buddy!

Joe Koenig gravatar imageJoe Koenig ( 2016-01-12 11:16:25 +0200 )edit

answered 2015-12-30 15:03:36 +0200

pierre-yves samyn gravatar image


As @Lupp said the Issue comes from the automatic recognition of Url.

You can disable this option: uncheck ToolsAutoCorrect OptionsOptions tab▸URL Recognition


edit flag offensive delete link more

answered 2015-12-30 14:51:49 +0200

Lupp gravatar image

updated 2016-02-14 14:03:28 +0200

(V4.2.8 is nearly 2 years old now. Current version is 5.0.4; V5.1.0 coming soon, RC1 available already.)

I tried with 4.2.8 Portable and with 5.0.4 installed. There was no striking difference.

As far as I understand the issue you experience should not be due to haphazard behaviour. Inserting a space, a hard line break or a new paragraph (or a punctuation character followed by one of these special delimiters) immediately at the end of your automatically recognised link will simply trigger a new attempt to recognise the text in front as a possible link by its syntactical appearance. If "recognition" succeeds the predefined link style will be applied anew. This behaviour may not look optimal to you. It does not look "crazy" to me.

(Editing with respect to the "commenting dialogue" appended to the "answer" by the OP himself:)
I still cannot understand the attitude of the OP. Of course I read the subject and every word of the question. I also tried to view the images, but simply clicking the links I did not get anything useful - and researching about how to use the next upload service every other day is something I exempt me of.
What I posted above was derived from my experiences. It did, of course, not cover every aspect of them as I have used (due to my frequent contributions in fora) nearly every release since the LibO branch was created.
There also is some behaviour of recognised URL (presently with LibO V5.0.4 for me) I also would call haphazard. This mainly with respect to displaying the state of being 'visited'.
As far as the individual font colouring of URL was concerned I got the expected results. This may depend on the version or/and the OS or even the state of the OpenGL option (again possibly depending on ...). My experience is reduced to a "works for me" then. I cannot reduce the excessive complexity of the world software has to live in.
See attached for a few more details: ask62509individualURLfontColour001.odt
However, I tried to guess a possible cause for unexpected behaviour, and this seemed to be (simplified) the insertion of a space behind the URL in immediate contact. If the OP can exclude this cause... Well. That is just a fact. No reason to teach me "once and for all" how to try helping.
There are bugs, a lot of, in any version of LibO. (I remember a really annoying one in 4.2.8 Calc). No contributor here can actually help with this respect.
Bugs and feature requests are discussed here.
(2016-02-14: Came back to eliminate a few typos, then tried the above linked example again. Report:)
The behaviour of Writer with this respect was obviously changed.Opening the above linked example with the most recent version LibO V5.1.0.3 I got the same view I had when I saved it: The singular hyperlink concerning ' ... (more)

edit flag offensive delete link more


Right now, aka 5.1.0 is out.

rautamiekka gravatar imagerautamiekka ( 2016-02-14 05:22:11 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-12-30 12:58:07 +0200

Seen: 651 times

Last updated: Feb 14 '16