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

PageBreak

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

A ParagraphElement representing a page break. A page break makes the subsequent text start at the top of the next page.

interface PageBreak {
suggestedDeletionIds?: string[];
suggestedInsertionIds?: string[];
suggestedTextStyleChanges?: {
[key: string]: SuggestedTextStyle;
}
;
textStyle?: TextStyle;
}

§Properties

§
suggestedDeletionIds?: string[]
[src]

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

§
suggestedInsertionIds?: string[]
[src]

The suggested insertion IDs. A PageBreak may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion.

§
suggestedTextStyleChanges?: {
[key: string]: SuggestedTextStyle;
}
[src]

The suggested text style changes to this PageBreak, keyed by suggestion ID.

§
textStyle?: TextStyle
[src]

The text style of this PageBreak. Similar to text content, like text runs and footnote references, the text style of a page break can affect content layout as well as the styling of text inserted next to it.