Hi Mathias,
Mathias Bauer a écrit :
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.
The problem is that I'ld like to forbit copying data from OOo to
external applications (for a specific use).
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.
Yes, but is there any way to get a new clipboard without having to
redevelop one ?
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.
I'll have a look at this,
thanks,
Cedric
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]