Page Summary
-
Scripts using the documented methods require authorization with either the
https://www.googleapis.com/auth/documents.currentonlyorhttps://www.googleapis.com/auth/documentsscopes. -
Methods are available to insert and remove elements like tables within the document body.
-
Text content can be manipulated by replacing text patterns using regular expressions.
-
Various attributes, including formatting and margins, can be set for elements and headings within the document body.
-
Page dimensions such as height and width can be adjusted.
The content of a tab in a Google Docs document. The Body may contain ListItem,
Paragraph, Table, and TableOfContents elements. For more information on
document structure, see the guide to
extending Google Docs.
The Body typically contains the full tab's contents except for the