|
From: Eric E. <eri...@na...> - 2009-11-23 22:51:27
|
Hi Roland, I only just noticed that we were cc-ing quantlib-dev here :) > if I want to expose more functionality to Calc (that is already > exposed to XL), does this mean I have to add <SupportedPlatform > name='Calc'/> to the desired functions in > QuantLibAddin/gensrc/metadata/functions/*.xml? Yes, that would be the very first step. But it would take a whole lot more work to get the Calc addin to the stage where it supports YieldTermStructures.xls and InterestRateDerivatives.xls. Setting <SupportedPlatform name='Calc'/> will tell gensrc to attempt to autogenerate the source code for the relevant function in the Calc addin. But for many functions, the autogenerated code will not compile, or will compile and then fail at runtime. The main things that are missing are conversion functions, plus various other features of ObjectHandler which are further advanced for Excel than for Calc. Regards, Eric |