Google Apps Script API
    Preparing search index...

    A generic element. Document contents are represented as elements. For example, ListItem, Paragraph, and Table are elements and inherit all of the methods defined by Element, such as getType(). Implementing classes

    NameBrief description

    BodyAn element representing a document body.

    ContainerElementA generic element that may contain other elements.

    EquationAn element representing a mathematical expression.

    EquationFunctionAn element representing a function in a mathematical Equation.

    EquationFunctionArgumentSeparatorAn element representing a function separator in a mathematical Equation.

    EquationSymbolAn element representing a symbol in a mathematical Equation.

    FooterSectionAn element representing a footer section.

    FootnoteAn element representing a footnote.

    FootnoteSectionAn element representing a footnote section.

    HeaderSectionAn element representing a header section.

    HorizontalRuleAn element representing an horizontal rule.

    InlineDrawingAn element representing an embedded drawing.

    InlineImageAn element representing an embedded image.

    ListItemAn element representing a list item.

    PageBreakAn element representing a page break.

    ParagraphAn element representing a paragraph.

    TableAn element representing a table.

    TableCellAn element representing a table cell.

    TableOfContentsAn element containing a table of contents.

    TableRowAn element representing a table row.

    TextAn element representing a rich text region.

    UnsupportedElementAn element representing a region that is unknown or cannot be affected by a script, such as a page number.

    interface Element {
        asBody(): GoogleAppsScript.Document.Body;
        asDate(): GoogleAppsScript.Document.Date;
        asEquation(): GoogleAppsScript.Document.Equation;
        asEquationFunction(): EquationFunction;
        asEquationFunctionArgumentSeparator(): EquationFunctionArgumentSeparator;
        asEquationSymbol(): EquationSymbol;
        asFooterSection(): FooterSection;
        asFootnote(): GoogleAppsScript.Document.Footnote;
        asFootnoteSection(): FootnoteSection;
        asHeaderSection(): HeaderSection;
        asHorizontalRule(): GoogleAppsScript.Document.HorizontalRule;
        asInlineDrawing(): InlineDrawing;
        asInlineImage(): InlineImage;
        asListItem(): GoogleAppsScript.Document.ListItem;
        asPageBreak(): GoogleAppsScript.Document.PageBreak;
        asParagraph(): GoogleAppsScript.Document.Paragraph;
        asPerson(): GoogleAppsScript.Document.Person;
        asRichLink(): RichLink;
        asTable(): GoogleAppsScript.Document.Table;
        asTableCell(): GoogleAppsScript.Document.TableCell;
        asTableOfContents(): GoogleAppsScript.Document.TableOfContents;
        asTableRow(): GoogleAppsScript.Document.TableRow;
        asText(): GoogleAppsScript.Document.Text;
        copy(): GoogleAppsScript.Document.Element;
        getAttributes(): any;
        getNextSibling(): GoogleAppsScript.Document.Element;
        getParent(): ContainerElement;
        getPreviousSibling(): GoogleAppsScript.Document.Element;
        getType(): ElementType;
        isAtDocumentEnd(): boolean;
        merge(): GoogleAppsScript.Document.Element;
        removeFromParent(): GoogleAppsScript.Document.Element;
        setAttributes(attributes: any): GoogleAppsScript.Document.Element;
    }

    Hierarchy (View Summary)

    Index

    Methods