Ariel ,

thanks a lot , a shame that i discover this stuff until now :-)

I submit the issues

Fernand
Hello Fernand,

On Thursday 23 April 2009, 10:59, Fernand Vanrie wrote:
Hallo all,

I need API code to findout the screensize of the box where OO is running on

The OO-ContainerWindow-size of  a "maximum sized" Stardesktop is the
nearest i got.  The problem is that the Stardesktop must  been set at
maximum size by the user (topleft full square).

Can this setting "to maximum size" been done by API ?

Thanks for any hint

Fernand

you can get the screen size via the undocumented com.sun.star.awt.DisplayAccess
http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/vcl/source/components/display.cxx
I've CCed you with an ODT attached showing how to use it.

By the way, you can submit a documentation issue for making this service available, and please also ask them to use 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).

I'm not sure if you have to submit this to the framework project (toolkit/awt module belongs to Carsten) or gsl (this is inside the vcl module: vcl/source/components/).

Regards
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to