|
LibreOffice
LibreOffice 25.2 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. More... | |
| com::sun::star::reflection::XIdlClass | getType ([in] any aObj) |
| Obtaining a reflection interface for an object. 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... | |
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 |
1.8.14