ooodev.adapter.xml.xpath.x_path_api_comp module

class ooodev.adapter.xml.xpath.x_path_api_comp.XPathAPIComp(component)[source]

Bases: ComponentProp, XPathAPIPartial

Class for managing XXPathAPI Component.

Parameters:

component (XXPathAPI) –

__init__(component)[source]

Constructor

Parameters:

component (XPathAPI) – UNO Component that supports com.sun.star.xml.xpath.XPathAPI service.

Return type:

None

classmethod from_lo(lo_inst=None)[source]

Creates an instance from the Lo.

Parameters:

lo_inst (LoInst, optional) – LoInst, Defaults to Lo.current_lo.

Returns:

The instance.

Return type:

XPathAPIComp

property component: XPathAPIComp

XPathAPIComp Component

Return type:

XPathAPIComp