Hi, I'm looking for the documentation of Uno:paste, and what arguments
that this function can take. I'm hoping it could solve some problems
that I have.

Or if someone maybe knows the solution, pleas tell me.

I'm inserting a bookmark into a document, then pasting from clipboard.
The problem is that the bookmark is moved to the end of the pasted
content. I want the inserted text to come after the bookmark.

ThisComponent.Text.insertTextContent(ViewCursor, Bookmark, False)
VireCursor.gotoRange(ThisComponent.Bookmarks.getByName("Bookmark").getAnchor(),
False)
oDispatcher.executeDispatch(ThisComponent.CurrentController.Frame,
".uno:Paste", "", 0, Array())



--
Knut Olav Bøhmer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to