Class WorkbookProtection

Provides information about the types of changes that are disabled when the associated Workbook is protected.

see

Workbook.hasProtectionPassword

see

Workbook.isProtected

see

Workbook.protection

see

Workbook.protect

see

Workbook.unprotect

Hierarchy

  • Base
    • WorkbookProtection

Constructors

constructor

  • Parameters

    Returns WorkbookProtection

Properties

$type

$type: Type

Static $t

$t: Type = markType(WorkbookProtection, 'WorkbookProtection')

Static nextHashCode

nextHashCode: number

Accessors

allowEditStructure

  • get allowEditStructure(): boolean
  • set allowEditStructure(a: boolean): void
  • Returns a boolean indicating if the sheets displayed may be modified when the Workbook is protected.

    Returns boolean

  • Returns a boolean indicating if the sheets displayed may be modified when the Workbook is protected.

    Parameters

    • a: boolean

    Returns void

allowEditWindows

  • get allowEditWindows(): boolean
  • set allowEditWindows(a: boolean): void
  • Returns a boolean indicating if the Workbook windows may be modified when the Workbook is protected.

    Returns boolean

  • Returns a boolean indicating if the Workbook windows may be modified when the Workbook is protected.

    Parameters

    • a: boolean

    Returns void

Methods

equals

  • equals(other: any): boolean
  • Parameters

    • other: any

    Returns boolean

getHashCode

  • getHashCode(): number
  • Returns number

memberwiseClone

  • memberwiseClone(): Base
  • Returns Base

Static compare

  • compare(item1: any, item2: any): number
  • Parameters

    • item1: any
    • item2: any

    Returns number

Static compareSimple

  • compareSimple(item1: any, item2: any): number
  • Parameters

    • item1: any
    • item2: any

    Returns number

Static equalsSimple

  • equalsSimple(item1: any, item2: any): boolean
  • Parameters

    • item1: any
    • item2: any

    Returns boolean

Static equalsStatic

  • equalsStatic(a: any, b: any): boolean
  • Parameters

    • a: any
    • b: any

    Returns boolean

Static getArrayOfProperties

  • getArrayOfProperties(obj: any): any[]
  • Parameters

    • obj: any

    Returns any[]

Static getArrayOfValues

  • getArrayOfValues(obj: any): any[]
  • Parameters

    • obj: any

    Returns any[]

Static getHashCodeStatic

  • getHashCodeStatic(obj: any): number
  • Parameters

    • obj: any

    Returns number

Static referenceEquals

  • referenceEquals(a: any, b: any): boolean
  • Parameters

    • a: any
    • b: any

    Returns boolean