You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/03/07 01:02:56 UTC
DO NOT REPLY [Bug 46818] New: Hyperlink function support for Formula
Evaluation
https://issues.apache.org/bugzilla/show_bug.cgi?id=46818
Summary: Hyperlink function support for Formula Evaluation
Product: POI
Version: 3.5-dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: wayne.clingingsmith@trintech.com
org.apache.poi.hssf.record.formula.functions.Hyperlink is not implemented yet
I think the result needing to be returned is just the hyperlink label...
Here is code I used fir this function
public class Hyperlink implements Function {
public Eval evaluate(Eval[] operands, int srcRow, short srcCol) {
if (operands.length < 2) {
return ErrorEval.VALUE_INVALID;
}
ValueEval retval = null;
try {
retval = OperandResolver.getSingleValue(operands[1], srcRow,
srcCol);
} catch (EvaluationException e) {
return e.getErrorEval();
}
return retval;
}
}
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 46818] Hyperlink function support for Formula
Evaluation
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46818
Josh Micich <jo...@gildedtree.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Josh Micich <jo...@gildedtree.com> 2009-03-30 23:10:08 PST ---
Applied in svn r760343 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=760343 )
(with some minor modifications)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org