To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=81857
------- Additional comments from [EMAIL PROTECTED] Fri Oct 5 13:21:56 +0000 2007 ------- The changes on the calc cells are notified to the chart which than notifies the framework. The framework then requests a new image from the modified chart. This is why the charts are recreated and repainted after each according cell modification. There is an API to prevent the notification of changes for a while and thus do several changes at once and notify only afterwards. These are the methods lockControllers() and unlockControllers() at the interface com::sun::star::frame::XModel. I will added an according sub called 'lockCharts' to the macro in the attached example. The function does lock or unlock all charts in the spreadsheet. It is important to call lock and unlock in pairs, so be careful when using this new sub. But as far as I can see no new charts are created in this example. When you try the fixed macro which makes use of the locking API you will find it as fast or even faster in OOo 2.3 than before in OOo 2.2. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- 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]
