Hi everybody,

I am writing a Calc Add-on. I use a ChartDataChangeEventListener to
listen the changes of a cell.

But As it is said on the wiki
(http://wiki.services.openoffice.org/wiki/Chart2 , section 2.1.2), the
listener doesn't react if the whole data aren't loaded.

That is the problem I encountered.

The wiki says :
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.


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]

Reply via email to