Laurent Godard wrote: > Hi > >> The problem is that I'ld like to forbit copying data from OOo to >> external applications (for a specific use). >> > > perharps intercept the dispatcher call .uno:copy like paolo did for its > macro recorder ?
That should work pretty well - basically. But the problem is that you must have some implementation you can call in your interceptor. And here we currently only have some support in Writer for the API I mentioned. It could basically be used to implement a simple Clipboard, but IIRC the implementatio doesn't cover everything in Writer. But even if my memory fooled me we wouldn't have anything in Calc or Impress. So you won't get anything done without changing the core components. OTOH exchanging the clipboard service by something else (implemented in C++, Java or Python) would enable you to reach your goal even without an interceptot. As the clipboard service is a real UNO service the replacement could be done as an extension. It also quite some work though. I don't remember exactly which services you have to implement, but we could dig it out. Ciao, 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]