Hi Nick, To the best of my knowledge, no function supported by POI outputs areas of values. AreaEvalBase is an abstract class and that's what I tried to do. You can see my implementation at http://pastebin.com/5WfrkjBw - I create an instance of AreaEvalBase (line 41) and I implement the method getRelativeValue therein. That should work... but it doesn't!
Best, Pantelis On Thu, 2012-04-26 at 11:54 +0100, Nick Burch wrote: > On Thu, 26 Apr 2012, Pantelis Sopasakis wrote: > > So far I am able to read the input as an object of type AreaEval but I'm > > still having a hard time returning the output properly. Yegol Kozlov > > mentioned in a previous email that I should return an object of type > > AreaEval as well but I haven't found out how to construct it properly. > > So if anyone can help... I would appreciate it. > > Eclipse tells me that the abstract class AreaEvalBase implements AreaEval, > and LazyAreaEval extends from that and can be instantiated. Did you try > with that? > > Also, as a general rule, it's worth trying to find similar excel functions > (in terms of input and output) which have been implemented in POI, and see > how they're done. > > Nick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
