DocumentListItemOutput interface

An object representing a list item in the document.

Properties

boundingRegions

Bounding regions covering the list item.

content

Content of the list item.

elements

Child elements of the list item.

level

Level of the list item (1-indexed).

spans

Location of the list item in the reading order concatenated content.

Property Details

boundingRegions

Bounding regions covering the list item.

boundingRegions?: BoundingRegionOutput[]

Property Value

content

Content of the list item.

content: string

Property Value

string

elements

Child elements of the list item.

elements?: string[]

Property Value

string[]

level

Level of the list item (1-indexed).

level: number

Property Value

number

spans

Location of the list item in the reading order concatenated content.

spans: DocumentSpanOutput[]

Property Value