ooodev.adapter.xml.dom.node_list_comp module

class ooodev.adapter.xml.dom.node_list_comp.NodeListComp(component)[source]

Bases: ComponentProp, NodeListPartial

Class for managing NodeListPartial Component.

Parameters:

component (XNodeList) –

__init__(component)[source]

Constructor

Parameters:

component (NodeListPartial) – UNO Component that supports com.sun.star.util.NodeListPartial service.

Return type:

None

item(idx)[source]

Returns a node specified by index in the collection.

Parameters:

idx (int) – Index of node. When getting by index can be a negative value to get from the end.

Returns:

The node at the specified index.

Return type:

XNode

property component: com.sun.star.xml.dom.XNodeList

XNodeList Component

Return type:

XNodeList