UNO: how to focus a slide

asked 2019-08-18 04:14:39 +0100

Hi-Angel gravatar image

Note, this is different from this question.

It seems, like focusing slide pages is handled differently from everything else. If I manually click on "Slides" panel the current slide, an option "Edit → Copy" would get highlighted, so I know I can copy it. However, if I print property desktop.CurrentComponent.CurrentSelection, it would be empty (unless you have selected an object in slide before, which then would be there).

So, then, how do I programmatically select a slide in "Slides" panel, so I could copy it?

edit retag flag offensive close merge delete