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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]