Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.