Represents a range of one or more cells.

Hierarchy

Hierarchy

  • ValueType
    • SpreadsheetCellRange

Implements

Constructors

  • Parameters

    • firstRow: number
    • firstColumn: number

    Returns SpreadsheetCellRange

  • Parameters

    • firstRow: number
    • firstColumn: number
    • lastRow: number
    • lastColumn: number

    Returns SpreadsheetCellRange

  • Parameters

    • address: string

    Returns SpreadsheetCellRange

  • Returns SpreadsheetCellRange

  • Parameters

    • Rest ..._rest: any[]

    Returns SpreadsheetCellRange

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get firstColumn(): number
  • Returns the index of the first column in the range.

    Returns number

  • get firstRow(): number
  • Returns the index of the first row in the range.

    Returns number

  • get isEmpty(): boolean
  • Returns a boolean indicating if the structure represents a valid range.

    Returns boolean

  • get isSingleCell(): boolean
  • Returns a boolean indicating if the range represents a single cell.

    Returns boolean

  • get lastColumn(): number
  • Returns the index of the last column in the range.

    Returns number

  • get lastRow(): number
  • Returns the index of the last row in the range.

    Returns number

Methods

  • Returns a boolean indicating if the specified cell is within the range.

    Parameters

    Returns boolean

  • Returns a boolean indicating if the specified range is completely within this range.

    Parameters

    Returns boolean

  • Returns a boolean indicating if the specified cell is within the range.

    Parameters

    • row: number

      The row to evaluate

    • column: number

      The column to evaluate

    Returns boolean

  • Compares the value of this SheetCellRange instance to the specified [[SpreadsheetCellRange]].

    Parameters

    Returns boolean

  • Compares the specified [[SpreadsheetCellRange]] to this instance's values.

    Parameters

    • obj: any

      The object to compare to the current instance

    Returns boolean

  • Compares the specified [[SpreadsheetCellRange]] to this instance's values.

    Parameters

    • obj: any

      The object to compare to the current instance

    Returns boolean

  • Returns a hash value for the [[SpreadsheetCellRange]]

    Returns number

  • Returns a range that represents the common area within the current and specified range.

    Parameters

    Returns SpreadsheetCellRange

  • Returns a boolean indicating if the current and specified range overlap.

    Parameters

    Returns boolean

  • Returns Base

  • Returns a string representation of the [[SpreadsheetCellRange]]

    Returns string

  • Returns a string representation of the range using the specified mode.

    Parameters

    • mode: CellReferenceMode

      An enumeration used to indicate how references are represented

    Returns string

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Returns void