Whats te alternative for com.sun.star.awt.DisplayAccess ?
Stephan Bergmann
sbergman at redhat.com
Wed Jul 10 08:37:15 PDT 2013
On 07/04/2013 03:13 PM, Fernand Vanrie wrote:
> sinds 4.1
> com.sun.star.awt.DisplayAccess
>
> is no longer working
> oDisplayAccess = createUnoService("com.sun.star.awt.DisplayAccess")
> oDisplayAccess is empty ????
> oDisplayInfo = oDisplayAccess.getByIndex(0)
> aScreenArea = oDisplayInfo.ScreenArea
> iScreenW = aScreenArea.Width
> iScreenH = aScreenArea.Height
>
> This was always "undocumented" i hope there is a documented alternative ?
FWIW, it got removed with
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=dde234b6955a421d51d2b37e4fc3972c660146f0>
"fdo#46808, remove awt::DisplayAccess service."
Stephan
More information about the LibreOffice
mailing list