Class BuildImportArg

class ooodev.utils.builder.build_import_arg.BuildImportArg(ooodev_name, uno_name, optional, init_kind, check_kind)[source]
Parameters:
  • ooodev_name (str) –

  • uno_name (Tuple[str]) –

  • optional (bool) –

  • init_kind (InitKind) –

  • check_kind (CheckKind) –

check_kind: CheckKind

Specifies the check kind. Defaults to CheckKind.INTERFACE.

init_kind: InitKind

Specifies the import kind. Defaults to ImportKind.COMPONENT_INTERFACE.

ooodev_name: str

Ooodev name of the class such as ooodev.adapter.container.name_access_partial.NameAccessPartial.

optional: bool

Specifies if the import is optional. If optional the a check is done to see if the component implements the interface.

uno_name: Tuple[str]

Uno name of the class such as com.sun.star.container.XNameAccess.