Copy Paste Operation in framework

Post here questions and problems related to oXygen frameworks/document types.
Johann
Posts: 240
Joined: Wed Jun 17, 2015 12:46 pm

Copy Paste Operation in framework

Post 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
cristi_talau
Posts: 517
Joined: Thu Sep 04, 2014 4:22 pm

Re: Copy Paste Operation in framework

Post 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
Post Reply