https://bugs.documentfoundation.org/show_bug.cgi?id=172333

--- Comment #1 from nobu <[email protected]> ---
I don't know whether this script is correct, but I do know a silly workaround.

``` py
    # A simple and silly workaround
    doc.getCurrentController().select(xRange)
    frame = desktop.getCurrentFrame()
    disp = smgr.createInstanceWithContext('com.sun.star.frame.DispatchHelper',
ctx)
    disp.executeDispatch(frame, '.uno:Copy', '', 0, ())
    disp.executeDispatch(frame, '.uno:Paste', '', 0, ())
```

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to