https://bugs.freedesktop.org/show_bug.cgi?id=66762
Priority: medium
Bug ID: 66762
Keywords: regression
Assignee: [email protected]
Summary: Other: com.sun.star.awt.DisplayAccess removed without
alternative
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 4.0.1.2 release
Component: BASIC
Product: LibreOffice
as found out after ailing with Noel Gradin
the com.sun.star.awt.DisplayAccess was removed by Noel
http://cgit.freedesktop.org/libreoffice/core/commit/?id=dde234b6955a421d51d2b37e4fc3972c660146f0
but since there is no alternative to find oud the screen size of the machine
where LO is runnning
the proposed solution:
otoolkit = createUnoService("com.sun.star.awt.Toolkit")
aWorkRect = otoolkit.getWorkArea()
is not working because empty values in the WorkArea
so please make
oDisplayAccess= createUnoService("com.sun.star.awt.DisplayAccess")
oDisplayInfo = oDisplayAccess.getByIndex(0)
aScreenArea = oDisplayInfo.ScreenArea
iScreenW = aScreenArea.Width
iScreenH = aScreenArea.Height
working again
Operating System: All
Version: 4.0.1.2 release
Last worked in: 4.0.4.2 release
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs