ooodev.adapter.reflection.type_description_partial module

class ooodev.adapter.reflection.type_description_partial.TypeDescriptionPartial(component, interface=com.sun.star.reflection.XTypeDescription)[source]

Bases: object

Partial class for XTypeDescription.

Parameters:
  • component (XTypeDescription) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.reflection.XTypeDescription)[source]

Constructor

Parameters:
  • component (XTypeDescription) – UNO Component that implements com.sun.star.reflection.XTypeDescription interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XTypeDescription.

Return type:

None

get_name()[source]

Returns the fully qualified name of the UNOIDL entity.

Return type:

str

get_type_class()[source]

Returns the type class of the reflected UNOIDL entity.

Returns:

The type class of the reflected UNOIDL entity.

Return type:

TypeClass

Hint

  • TypeClass is an enum and can be imported from ooo.dyn.uno.type_class.