Bart Aimar wrote:
I need to make full the screen (i.e. OO CAlc window)  with a given range.

In other word, I need to zooming (with macro) in manner that a given range fill the OO window.

Select the range in the view, and then set the property "ZoomType" to "OPTIMAL":

    oView.select(oRange)
    oView.ZoomType = com.sun.star.view.DocumentZoomType.OPTIMAL

After that, you can remove the selection again.

Niklas

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

Reply via email to