[Solved] Determine location for Paste operation
Posted: Mon Nov 07, 2022 12:57 pm
I'd like to use UNO with JAVA to copy some contents from one doc to another like this:
But I didn't find a convenient way to locate my "Paste" position,except ".uno:GoToNextPara",".uno:JumpToNextPara"and so on.
And I don't know how the interface is implemented.So I don't know these ".uno:GoToxxxx" API influence which cursor.
Thus I want to know:
1、Can I use just an UNO command with some information to make it paste to the desired position?
2、I didn't find a detialed description with UNO command besides "https://wiki.openoffice.org/wiki/Framew ... x_Commands"
,but it didn't describe parameters.Please show me a link.
I really appreciate your help.
Code: Select all
xDispatchHelper.executeDispatch(xDispatchProvider, ".uno:Paste", "", 0, new PropertyValue[]{new PropertyValue()});
And I don't know how the interface is implemented.So I don't know these ".uno:GoToxxxx" API influence which cursor.
Thus I want to know:
1、Can I use just an UNO command with some information to make it paste to the desired position?
2、I didn't find a detialed description with UNO command besides "https://wiki.openoffice.org/wiki/Framew ... x_Commands"
,but it didn't describe parameters.Please show me a link.
I really appreciate your help.