Stephan,
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."
i know, filled a issue <https://bugs.freedesktop.org/show_bug.cgi?id=66762>
but who knows the alternative, its now impossible to find the screen
size for machine who runs LO ! when using big dialogs its a absolute
must have !
using the toolkit
otoolkit = createUnoService("com.sun.star.awt.Toolkit")
aWorkRect = otoolkit.getWorkArea()
is also a deadlock because the workarea is empty (4 x0)
greetz
Fernand
Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice