ooodev.adapter.reflection.constant_type_description_partial module

class ooodev.adapter.reflection.constant_type_description_partial.ConstantTypeDescriptionPartial(component, interface=com.sun.star.reflection.XConstantTypeDescription)[source]

Bases: TypeDescriptionPartial

Partial class for XConstantTypeDescription.

Parameters:
  • component (XConstantTypeDescription) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

get_constant_value()[source]

Following types are allowed for constants:

Return type:

Any