LibreOffice
LibreOffice 24.2 SDK API Reference
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XToolkit Interface Referencepublished

specifies a factory interface for the window toolkit. More...

Inheritance diagram for XToolkit:
XInterface XToolkit2 XToolkit3 Toolkit XToolkitExperimental

Public Member Functions

com::sun::star::awt::XWindowPeer getDesktopWindow ()
 returns the desktop window.
 
com::sun::star::awt::Rectangle getWorkArea ()
 For LibreOffice versions < 4.1, this method just returned an empty rectangle.
 
com::sun::star::awt::XWindowPeer createWindow ([in] com::sun::star::awt::WindowDescriptor Descriptor) raises ( com::sun::star::lang::IllegalArgumentException )
 creates a new window using the given descriptor.
 
sequence< com::sun::star::awt::XWindowPeercreateWindows ([in] sequence< com::sun::star::awt::WindowDescriptor > Descriptors) raises ( com::sun::star::lang::IllegalArgumentException )
 returns a sequence of windows which are newly created using the given descriptors.
 
com::sun::star::awt::XDevice createScreenCompatibleDevice ([in] long Width, [in] long Height)
 creates a virtual device that is compatible with the screen.
 
com::sun::star::awt::XRegion createRegion ()
 creates a region.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 

Detailed Description

specifies a factory interface for the window toolkit.

This is similar to the abstract window toolkit (AWT) in Java.

Developers Guide
Office Development - Java Window Integration

Member Function Documentation

◆ createRegion()

com::sun::star::awt::XRegion createRegion ( )

creates a region.

◆ createScreenCompatibleDevice()

com::sun::star::awt::XDevice createScreenCompatibleDevice ( [in] long  Width,
[in] long  Height 
)

creates a virtual device that is compatible with the screen.

◆ createWindow()

creates a new window using the given descriptor.

◆ createWindows()

returns a sequence of windows which are newly created using the given descriptors.

◆ getDesktopWindow()

com::sun::star::awt::XWindowPeer getDesktopWindow ( )

returns the desktop window.

◆ getWorkArea()

For LibreOffice versions < 4.1, this method just returned an empty rectangle.

After that, it started returning a valid value.

Returns
the size and position of the primary display

The documentation for this interface was generated from the following file: