On Thu, 29 Nov 2018, Greg Woolsey wrote:
The first argument to the function is the target URL, the second argument
is optional display text.
The current implementation returns the display text, if present, as the
function value. This is correct, as that's the value displayed, but if you
want to actually implement a link, one needs the URL argument also.
I'd lean towards one of:
* ThreadLocal that the hyperlink function checks (with helpful setter and
clearer on it) to toggle between returning the text or link
* setter on FormulaEvaluator that lets you toggle, then pass that
somehow to the hyperlink function
* subclass of FormulaEvaluator with extra evaluateCell method that
returns the link, plus similar to above way to pass flag to function
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org