DocumentParagraphOutput interface

A paragraph object consisting with contiguous lines generally with common alignment and spacing.

Properties

boundingRegions

Bounding regions covering the paragraph.

content

Concatenated content of the paragraph in reading order.

role

Semantic role of the paragraph.

Possible values: "pageHeader", "pageFooter", "pageNumber", "title", "sectionHeading", "footnote", "formulaBlock"

spans

Location of the paragraph in the reading order concatenated content.

Property Details

boundingRegions

Bounding regions covering the paragraph.

boundingRegions?: BoundingRegionOutput[]

Property Value

content

Concatenated content of the paragraph in reading order.

content: string

Property Value

string

role

Semantic role of the paragraph.

Possible values: "pageHeader", "pageFooter", "pageNumber", "title", "sectionHeading", "footnote", "formulaBlock"

role?: string

Property Value

string

spans

Location of the paragraph in the reading order concatenated content.

spans: DocumentSpanOutput[]

Property Value