| View previous topic :: View next topic |
| Author |
Message |
vol General User

Joined: 11 May 2007 Posts: 15
|
Posted: Sun May 13, 2007 4:41 am Post subject: Capturing paste event in Writer |
|
|
Hi, all,
I would like to capture the paste text event to do something with the copyied text,
say, transform it into hyperlink.
Is it possible in OO? I guess, that can be done throught an action listener, but I cannot find a proper one..
cheers,
vol |
|
| Back to top |
|
 |
Villeroy Super User


Joined: 04 Oct 2004 Posts: 10065 Location: Germany
|
|
| Back to top |
|
 |
vol General User

Joined: 11 May 2007 Posts: 15
|
Posted: Wed May 16, 2007 6:12 am Post subject: |
|
|
| Thanks for quick and comprehensive reply! |
|
| Back to top |
|
 |
vol General User

Joined: 11 May 2007 Posts: 15
|
Posted: Thu May 17, 2007 3:05 am Post subject: |
|
|
This is OK, but what about the case, when user drags text from anywhere and drops it on OO document. Can it be intercepted the similar way? |
|
| Back to top |
|
 |
pitonyak Administrator


Joined: 09 Mar 2004 Posts: 3618 Location: Columbus, Ohio, USA
|
Posted: Sat May 19, 2007 8:12 pm Post subject: |
|
|
I have never seen a drag/drop handler written for OOo. You might want to ask that on the Dev mailing list. If you can not find the mailing list,. send me a personal email (which I might not see for a few days because I am traveling). _________________ --
Andrew Pitonyak
http://www.pitonyak.org/oo.php |
|
| Back to top |
|
 |
|