How do I find the size of the work area in Impress?

How to I find the size of the work area (area in green) in LibreOffice using the API or a Dispatch Command?

I can get the slide size but the area outside the slide I have no clue.

The work area is derived from the slide size. Horizontally you get one slide width left and one slide width right. So the total width of the work area is 3 * slide width. Vertically you get a half slide height above and a half slide height below. So the total height of the work area is 2 * slide height.
The enhancement request to increase at least the height is in https://bugs.documentfoundation.org/show_bug.cgi?id=140381

3 Likes

This is useful information. Thank you for that.
However this is not exaclty what I was looking for.
I should have been more clear.

I wanted to move the mouse (using automation) off the Slide and into the work area to draw shape.
I found a resonable solution. You can see this in the draw_dispatcher module of my ooo-dev-tools-gui-win project.