CellInfo

Trans. CellInfo

Manage cell's additional informations

Constructor

new CellInfo()

Description:
  • Handle cell level information

Source:
Since:
  • 4.4.4

Methods

delete(key, file, row, col) → {Boolean}

Description:
  • Delete cell information

Source:
Parameters:
Name Type Description
key String

The key to delete

file String

The file ID

row Number

The row number

col Number

The column number

Returns:
  • True if success
Type
Boolean

deleteRow(file, row) → {Boolean}

Description:
  • Delete row information

Source:
Parameters:
Name Type Description
file String

The file ID

row Number

The row number

Returns:
  • True if success
Type
Boolean

get(key, file, row, col) → {*}

Description:
  • Get configuration of a cell

Source:
Parameters:
Name Type Description
key String

The key to get

file String

The file ID

row Number

The row number

col Number

The column number

Returns:
  • The value of the key
Type
*

getAll(file) → {Array}

Description:
  • Get all cell information

Source:
Parameters:
Name Type Description
file String

The file ID

Returns:
  • The cell information
Type
Array

getBestCellInfo(file, row, key) → {Object}

Description:
  • Get the best translation cell information

Source:
Parameters:
Name Type Description
file String

The file ID

row Number

The row number

key String

The key to get

Returns:
  • The cell information
Type
Object

getCell(file, row, col) → {Object}

Description:
  • Get cell information

Source:
Parameters:
Name Type Description
file String

The file ID

row Number

The row number

col Number

The column number

Returns:
  • The cell information
Type
Object

getRow(file, row) → {Array}

Description:
  • Get row information

Source:
Parameters:
Name Type Description
file String

The file ID

row Number

The row number

Returns:
  • The row information
Type
Array

set(key, value, file, row, col) → {Boolean}

Description:
  • Set cell information

Source:
Parameters:
Name Type Description
key String

The key to set

value *

The value to set

file String

The file ID

row Number

The row number

col Number

The column number

Returns:
  • True if success
Type
Boolean