[Libreoffice-bugs] [Bug 134456] Hyperlink colours cannot be changed by changing Hyperlink style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 9 07:25:46 UTC 2020


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

--- Comment #9 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Heiko Tietze from comment #7)
> Sorry, but I don't get the point of cell formatting with hyperlink style.
> Sure, I can enter www.foo.bar and undo the auto formatting (links are shown
> in lighter blue without underlining) and apply the cell style.

No it's not for this use case at all. The style is not for a random cell where
you put an URL, and artificially disable URL recognition. It's (as other styles
in Calc) for potentially huge ranges of cells with structured data (here:
formulas).

Imagine a spreadsheet with goods of this company; in column A, there's an ID;
then its name in B, price in C, and clickable URL in D. How would those URLs in
D be created? There are maybe tens of thousands of rows - would you type
"http://www.thisfictionalcompany.com/?id=1234" by hand ten thousand times? No,
you will use a formula which would take the id from A, like this (in D2):

>  =HYPERLINK("http://www.thisfictionalcompany.com/?id=" & A2; "Click to see full description for " & B2)

Try this formula yourself, and see how it creates a clickable cell ("Ctrl+Click
to go to ..."), which you can expand (copy to 1000s of rows) in usual Calc's
ways (e.g., auto-filling, etc) - but it doesn't get coloured as hyperlink!

Are you suggesting to apply direct formatting to those 1000s of cells? The
style is to select D, and apply the style. Is it wrong?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200709/fd01e8b9/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list