Impress Macro: getting a view cursor?

Hello,

For an Impress macros, is there a way to get a View Cursor when editing a text object?

In writer one can execute: ThisComponent.currentController.getViewCursor(). However, currentController in Impress does not have this method.

I can get a Text Cursor (com.sun.star.text.XTextCursor) with:

dim oSel as Object

dim oTextCursor as Object

oSel = ThisComponent.getCurrentSelection()

oTextCursor = oSel.getText().CreateTextCursorByRange(oSel.getStart())

However; I want to know the selected text’s position on the page, and hence I believe I need a View Cursor to call its getPosition() method.

Thank you for your help!