<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Stephan,<br>
</div>
<blockquote cite="mid:51DD7FAB.5090009@redhat.com" type="cite">On
07/04/2013 03:13 PM, Fernand Vanrie wrote:
<br>
<blockquote type="cite">sinds 4.1
<br>
com.sun.star.awt.DisplayAccess
<br>
<br>
is no longer working
<br>
oDisplayAccess =
createUnoService("com.sun.star.awt.DisplayAccess")
<br>
oDisplayAccess is empty ????
<br>
oDisplayInfo = oDisplayAccess.getByIndex(0)
<br>
aScreenArea = oDisplayInfo.ScreenArea
<br>
iScreenW = aScreenArea.Width
<br>
iScreenH = aScreenArea.Height
<br>
<br>
This was always "undocumented" i hope there is a documented
alternative ?
<br>
</blockquote>
<br>
FWIW, it got removed with
<a class="moz-txt-link-rfc2396E" href="http://cgit.freedesktop.org/libreoffice/core/commit/?id=dde234b6955a421d51d2b37e4fc3972c660146f0"><http://cgit.freedesktop.org/libreoffice/core/commit/?id=dde234b6955a421d51d2b37e4fc3972c660146f0></a>
"fdo#46808, remove awt::DisplayAccess service."
<br>
<br>
</blockquote>
i know, filled a <a
href="https://bugs.freedesktop.org/show_bug.cgi?id=66762">issue</a><br>
<br>
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 ! <br>
<br>
using the toolkit <br>
<br>
otoolkit = createUnoService("com.sun.star.awt.Toolkit")<br>
aWorkRect = otoolkit.getWorkArea()<br>
<br>
is also a deadlock because the workarea is empty (4 x0)<br>
<br>
greetz<br>
<br>
Fernand<br>
<br>
<br>
<blockquote cite="mid:51DD7FAB.5090009@redhat.com" type="cite">Stephan
<br>
<br>
_______________________________________________
<br>
LibreOffice mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/libreoffice">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a>
<br>
</blockquote>
<br>
</body>
</html>