Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

StructuralElement

import type { StructuralElement } from "https://googleapis.deno.dev/v1/docs:v1.ts";

A StructuralElement describes content that provides structure to the document.

interface StructuralElement {
endIndex?: number;
paragraph?: Paragraph;
sectionBreak?: SectionBreak;
startIndex?: number;
table?: Table;
tableOfContents?: TableOfContents;
}

§Properties

§
endIndex?: number
[src]

The zero-based end index of this structural element, exclusive, in UTF-16 code units.

§
paragraph?: Paragraph
[src]

A paragraph type of structural element.

§
sectionBreak?: SectionBreak
[src]

A section break type of structural element.

§
startIndex?: number
[src]

The zero-based start index of this structural element, in UTF-16 code units.

§
table?: Table
[src]

A table type of structural element.

§
tableOfContents?: TableOfContents
[src]

A table of contents type of structural element.