LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides a function to retrieve a special purpose interface dependent on the user interface element type. More...
import"XUIElement.idl";
Public Member Functions | |
::com::sun::star::uno::XInterface | getRealInterface () |
returns an interface to get access to user interface type specific functions. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Public Attributes | |
::com::sun::star::frame::XFrame | Frame |
determines the document frame to which this element is bound to. More... | |
string | ResourceURL |
a resource URL which is a unique identifier of a user interface element. More... | |
short | Type |
determines the type of the user interface element. More... | |
provides a function to retrieve a special purpose interface dependent on the user interface element type.
The type of the interface depends on the real type of the user interface element. A menubar user interface element provides access to its com::sun::star::awt::XSystemDependentMenuBarPeer which supports to retrieve the system dependent menu handle. A floating window or a toolbar user interface element return a com::sun::star::awt::XWindow interface.
::com::sun::star::uno::XInterface getRealInterface | ( | ) |
returns an interface to get access to user interface type specific functions.
|
attributereadonly |
determines the document frame to which this element is bound to.
The life time of a user interface element does not explicitly depend on the frame itself but on the visible component attached to the frame. It is possible to exchange the visible component of a frame and that will lead to the end of life of all user interface elements.
|
attributereadonly |
a resource URL which is a unique identifier of a user interface element.
|
attributereadonly |
determines the type of the user interface element.