@mikekaganski
Sorry about the late response. Life intrudes.
I like LO and have liked it since I first began using it. So my comments are about a product I like, they are not a criticism of the product or the many hardworking people that have made the product successful.
Letâs look at what I see when I click on fx->HYPERLINK. I see two text boxes, URL and Cell text. Typing in a correctly formatted URL gives me an error. To me, looking at this, I see that I have followed directions and provided correct input, but my input is not correct and yields an Err 511 in the Result text box. I then go to LO 7.2 help for HYPERLINK and see
Syntax
HYPERLINK(âURLâ [; âCellTextâ])
The URL is not what fx->HYPERLINK asked for, itâs âURLâ. So this is my question. Why doesnât LO use the legend âURLâ for the input text box, automatically insert the double quotes (") as appropriate, or eliminate the double quotes as a valid URL? Giving an error indication (Err 511) for an appropriately formatted input is confusing.
A similar issue exists for text. If you input text you get a #NAME Result, and error. If you input âtextâ it works correctly. Why not eliminate the double quotes (") or provide a legend, Cell âtextâ or insert double quotes surrounding the text as needed?
For ctl_k it is even more confusing. ctl_k does not act like =HYPERLINK() (this has been brought up in this messaging stream). Instead, ctl_k allows both double quoted and non-quoted parameters. But there is another difference. The double quotes surrounding the text (âtextâ) is visible. But in =HYPERLINK() the double quotes surrounding the text (âtextâ) is not visible.
In ctl-k and =HYPERLINK() when the text is a number double quotes are not necessary.
One last thing, in =HYPERLINK() a double quoted number (â1234â) can be formatted, I tried Format->Cell->[currency and number], but in ctl-k the cell can not be formatted. This behavior is not documented.
Couldnât ctl-k and =HYPERLINK() be constructed so that their functioning is identical? And why does âtextâ need a double quote but number (1234) not need one? Shouldnât the input formats be the same?
The âhyperlinkâ help file has some issues. Nowhere does it identify when double quotes are needed, and although the functionality is global, no constraints on use by LO category (calc, writer, âŚ) are mentioned.
So my thought is that there is a bug in the help file, text box legends, or implementation, that there is no way to determine what ctl-k does different from =HYPERLINK(), and it should do the same thing as =HYPERLINK(). I do note that there is an Insert->Hyperlink (Ctl-K)
So I get confused.
Evaluating the URL in a calc cell provides another point of confusion. My guess is that the cell parser does not look at context, so when it sees â//â in âhttp://URL.comâ it says that there is no valid arithmetic construct which has â//â in it, therefor this is wrong and the correct solution is to remove one of the forward slashes. But this is not an arithmetic construct. It is a parameter to the =HYPERLINK() function. Ignoring this leads to an incorrect assessment of fault and an incorrect display of a fix. Then, after the fix, calc attempts to evaluate =HYPERLINK() and finds an ill-formed URL So if you donât fix it, itâs an error, and if you do fix it, itâs an error. I think that this is a bug. The cell parser should evaluate cell contents in the framework of any functions. When a function is seen, argument evaluation should proceed according to function requirements.
Now this all is probably a lot of work. But if you accept the notion that something should be done, then put it onto either the BUG list or the ENHANCEMENT list. Sooner or later it will be time to address it. Otherwise, oh well, LO is a great product w/wo any modification.
art