Google Apps Script API
    Preparing search index...

    An element representing a mathematical expression. An Equation may contain EquationFunction, EquationSymbol, and Text elements. For more information on document structure, see the guide to extending Google Docs.

    interface Equation {
        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;
        clear(): GoogleAppsScript.Document.Equation;
        copy(): GoogleAppsScript.Document.Equation;
        editAsText(): GoogleAppsScript.Document.Text;
        findElement(elementType: ElementType, from?: RangeElement): RangeElement;
        findText(searchPattern: string, from?: RangeElement): RangeElement;
        getAttributes(): any;
        getChild(childIndex: number): GoogleAppsScript.Document.Element;
        getChildIndex(child: GoogleAppsScript.Document.Element): number;
        getLinkUrl(): string;
        getNextSibling(): GoogleAppsScript.Document.Element;
        getNumChildren(): number;
        getParent(): ContainerElement;
        getPreviousSibling(): GoogleAppsScript.Document.Element;
        getText(): string;
        getTextAlignment(): TextAlignment;
        getType(): ElementType;
        isAtDocumentEnd(): boolean;
        merge(): GoogleAppsScript.Document.Equation;
        removeFromParent(): GoogleAppsScript.Document.Equation;
        replaceText(
            searchPattern: string,
            replacement: string,
        ): GoogleAppsScript.Document.Element;
        setAttributes(attributes: any): GoogleAppsScript.Document.Equation;
        setLinkUrl(url: string): GoogleAppsScript.Document.Equation;
        setTextAlignment(
            textAlignment: TextAlignment,
        ): GoogleAppsScript.Document.Equation;
    }

    Hierarchy (View Summary)

    Index

    Methods