|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
Interface to reflect types. More...
import "XIdlReflection.idl";
Public Member Functions | |
| com::sun::star::reflection::XIdlClass | forName ([in] string aTypeName) |
| Obtaining a reflection interface for a type. | |
| com::sun::star::reflection::XIdlClass | getType ([in] any aObj) |
| Obtaining a reflection interface for an object. | |
| 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. | |
Interface to reflect types.
| com::sun::star::reflection::XIdlClass forName | ( | [in] string | aTypeName | ) |
Obtaining a reflection interface for a type.
You specify the type by its name. If the given type name can not be reflected, then a null-reference is returned.
| aTypeName | the type's name |
| com::sun::star::reflection::XIdlClass getType | ( | [in] any | aObj | ) |
Obtaining a reflection interface for an object.
This method takes the type of the object the any contains into account. If the any contains no object, then a null-reference is returned.
| aObj | an object |