Thank you for this answer, it makes things clear. I've indeed fixed the problem by using the recalculate function of the XCalculatable interface.
Mikael On Thu, 2007-06-14 at 21:48 +0200, Niklas Nebel wrote: > Mikael De Bie wrote: > > I'm using a XChartDataChangeEventListener to listen the changes of a > > cell. But this cell depends on a lot of others, and it seems that not > > all the OLE-objects are loaded. So, my listener doesn't work all the > > time. > > Cell formulas are no OLE objects. It's a matter of formulas that are > marked for recalculation but haven't been calculated yet. In most cases, > a listener would query the formula's value, causing it to calculate. > That's why this hasn't been noticed before. Calling calculate (as > mentioned on the graphics-dev list) is a workaround, but it should also > work without that, we'll have to fix it in Calc. > > Niklas > > --------------------------------------------------------------------- > 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]
