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

InsertSectionBreakRequest

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

Inserts a section break at the given location. A newline character will be inserted before the section break.

interface InsertSectionBreakRequest {
endOfSegmentLocation?: EndOfSegmentLocation;
location?: Location;
sectionType?: "SECTION_TYPE_UNSPECIFIED" | "CONTINUOUS" | "NEXT_PAGE";
}

§Properties

§
endOfSegmentLocation?: EndOfSegmentLocation
[src]

Inserts a newline and a section break at the end of the document body. Section breaks cannot be inserted inside a footnote, header or footer. Because section breaks can only be inserted inside the body, the segment ID field must be empty.

§
location?: Location
[src]

Inserts a newline and a section break at a specific index in the document. The section break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Section breaks cannot be inserted inside a table, equation, footnote, header, or footer. Since section breaks can only be inserted inside the body, the segment ID field must be empty.

§
sectionType?: "SECTION_TYPE_UNSPECIFIED" | "CONTINUOUS" | "NEXT_PAGE"
[src]

The type of section to insert.