Eike Rathke wrote: > Hi Mathias, > > On Wednesday, 2006-10-11 19:42:41 +0200, Mathias Bauer wrote: > >> We already have such conditional items. Some functions are available >> only if CTL is enabled. These items are removed by sending a special >> status update, perhaps you can find it in the code (grep for >> "SfxVisibilityItem") in Calc or Writer. > > For that to work he'd had to integrate his component with the Calc code > base using the slot mechanism and add code to determine whether his > component is available during runtime. I think the idea was to avoid > that as much as possible.
OK, that wasn't mentioned here. It sounded that the component was integrated into the Calc code. We can add some code so that this status information can be handled differently, outside of Calc. Kohei, can you tell us more about the way how your component integrates with Calc? And how are they bound to the menu items you want to add? Are you using a protocol handler? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]