Cedric Bosdonnat wrote: > Hi all, > > I would like to change the behaviour of the standard copy and paste > commands. In fact I would like to avoid using the System clipboard or > put some unreadable things (for applications other than OOo) inside.
This is a bad idea. "Copy" and "paste" must use the system clipboard. What you can do is providing additional commands that use an internal clipboard only. But perhaps you should explain what you want to achieve and why think that the system clipboard is a problem for you. > Do you have any idea of how to do this ? Of course, the challenge is to > package all these changes into an extension, not providing a different > build of OOo. Are there some usable hooks ? could we reuse the OOo > XTransferable and a new XClipboard ? What is the GenericClipboard for ? We already have an API to transport clipboard content (XTransferable). It can be used to transport the content to an "internal clipboard" (you be a container of a simple holder of such content) and then get it back from there. There is an interface XTransferableSupplier that is thought to retrieve content from and paste it into a view represented by a Controller service. It's currently implemented only in Writer. 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]