Hello to all,

 

this is just to understand how to "register" a newly implemented function that 
is not supported in POI.

 

As the pages of POI say on the developer guide ("Walkthrough of an evaluate() 
implementatio", http://poi.apache.org/spreadsheet/eval-devguide.html), you 
should create a new Function, say SQRTPI, write the code for evaluate() and 
then register it to the WorkbookEvaluator:

 

WorkbookEvaluator.registerFunction("SQRTPI", SQRTPI);

 

I copied the example of SQRTPI into my code and tried to register this 
function, but this does not work. 

 

This seems to be because the method registerFunction() is not existent in class 
WorkbookEvaluator, though the Javadocs still show this method. 

 

Can someone help and perhaps just show what to do to implement one of the 
not-implemented functions in POI? 

 

Thx, 

Christian

Reply via email to