Hi everybody, My question is about XChartDataChangeEventListener.
The wiki (http://wiki.services.openoffice.org/wiki/Chart2) explains that a listener may have some problems if some data are not visible : When an OLE-object is loaded, it only shows the replacement image. This state is called the "LOADED" state. This means only a small "stub" is loaded, not the entire object. The XModel of an object (including the entirely applied content of the XML-streams) is loaded in the "RUNNING" state. So when all charts would initially be set into the RUNNING state, this would ensure the existence of all XModels, which would allow the listening to work. 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. What I should do is to keep the whole depending cells in "always_running" state. I think it can be done by setting the used XChartData object to the "always_running" state which tells the OLE-cache not to remove those objects. But I don't know how to do that... Does anyone know how to initially set the whole object into the RUNNING state ? Thanks in advance, Mikael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
