开发者

Implementing Excel Function in POI API

How can I implemen开发者_开发技巧t an unimplemented Excel function in the POI API without recreating the jars to change the FunctionEval class and possibly some other classes?

Can I just create a function and register it somehow?


Depends on what kind of formula function you're adding

For User Defined Functions, you can register them. See the User Defined Functions page for details on both writing them and registering them

For regular built in functions which are missing / not implemented, your best bet is to knock up a implementation and submit it as a patch to be included in POI itself :)

For some more details on writing functions, and how it all works, see this talk that was given at ApacheCon last year.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜