Apache OpenOffice (AOO) Bugzilla – Issue 101310
undocumented com.sun.star.awt.DisplayAccess
Last modified: 2009-04-24 09:12:55 UTC
Ariel Constenla-Haile pointed me to the undocumented com.sun.star.awt.DisplayAccess. Please make it Documented and think about using the more new service constructors - IMHO it has no sense to use css.beans.XPropertySet and css.beans.XPropertySetInfo in this case (all properties are read-only); so getter methods are better (and less error prone than css.beans.XPropertySet). There may even be a code issue: WorkArea and ScreenArea return the same on Linux (tested on Fedora 10 and Ubuntu Intrepid).
Created attachment 61760 [details] How DiplayAcces can work
Investigating
jsc: seems to be a duplicate. Why the service doesn't make use of the new style service constructors is unclear to me. Probably because it is context specific to impress. For the new style constructors you would need an appropriate context and that might be a problem here. I don't know the details here without further investigation. But it should at least documented. *** This issue has been marked as a duplicate of 83353 ***
jsc: one further comment, this kind of issues are better submitted as api or api -> sdk issues.