Page 1 of 1

Copy Paste Operation in framework

Posted: Wed Apr 13, 2022 6:08 pm
by Johann
Hello,

I am using Oxygen component 24.1.0.0.

I want to be able to copy a fragment and paste it to another location through an operation configured in the framework (so without Java code)
I didn't find a CopyPasteOperation in the API.

What would be your suggestions to do this action? XSLTOperation ?

Thanks,

Johann

Re: Copy Paste Operation in framework

Posted: Wed Apr 13, 2022 8:08 pm
by cristi_talau
Hello,

If you want to interract with the user's clipboard, you will probably need to implement an action in JavaScript.
If you simply want to move an element around, you can use the ro.sync.ecss.extensions.commons.operations.MoveElementOperation [1].

Best,
Cristian

[1] https://www.oxygenxml.com/doc/versions/ ... toperation