Nanook

Nanook

  • Docs
  • API
  • GitHub

›Importer xlsx

Logger

  • Logger Interface
  • Logger Memory

Model

  • Table Interface
  • Testcase Definition Interface
  • Todo Meta
  • Todo Static
  • Todo Generator
  • Todo Reference

Model Decision

  • Base Section Definition
  • Base Single Row Section Definition
  • Execute Section Definition
  • Never Execute Section Definition
  • Multiplicity Section Definition
  • Summary Section Definition
  • Field Section Definition
  • Field Sub Section Definition
  • Multi Row Section Definition
  • Tag Section Definition
  • Filter Section Definition
  • Generator Switch Section Definition
  • Testcase Definition Decision
  • Table Decision
  • Section Types
  • Validate Double
  • Validate Helper
  • Validate Missing

Model Matrix

  • Testcase Definition Matrix
  • Table Matrix

Importer xlsx

  • Importer xlsx

File Processor

  • Importer Interface
  • Parser Interface
  • Interface Filter
  • Simple Array Filter
  • Simple Array Ignore Filter
  • Parser Constants
  • Parser Decision Constants
  • Parser Decision
  • Parser Matrix Constants
  • Parser Matrix
  • Parser Specification Constants
  • Parser Specification
  • Parser Specification Converter

Data Generator

  • Data Generator Interface
  • Data Generator Base
  • Service Registry
  • Generator Faker

Processor

  • Interface Processor
  • Interface Writer
  • Node
  • Reference
  • Testcase Data
  • Processor
  • writeMetaData
  • writeStaticData
  • utilCartesian

Importer xlsx

ImporterXlsx

An importer to load Excel Spreadsheets. This importer is used by the file processor. So it is possible to create importer for different kind of files.

Kind: global class

  • ImporterXlsx
    • .sheets
    • .converter
    • .sheetNames ⇒ array
    • .clear()
    • .loadFile(fileName)
    • .cellValue(sheetName, column, row) ⇒ string

importerXlsx.sheets

{Map} Stores the sheets by there name

Kind: instance property of ImporterXlsx

importerXlsx.converter

A converter to map Excel columns to numbers. The first column starts with '0'

Kind: instance property of ImporterXlsx

importerXlsx.sheetNames ⇒ array

Returns the list with the names of the loaded sheet in the original order

Kind: instance property of ImporterXlsx
Returns: array - sheets A list of sheet names

importerXlsx.clear()

Frees some memory. Cleats the existing loaded sheets

Kind: instance method of ImporterXlsx

importerXlsx.loadFile(fileName)

Opens the Spreadsheet file and loads it.

Kind: instance method of ImporterXlsx

ParamTypeDescription
fileNamestringThe file to open

importerXlsx.cellValue(sheetName, column, row) ⇒ string

Returns the Cell value from a given sheet

Kind: instance method of ImporterXlsx
Returns: string - value The Cell value

ParamTypeDescription
sheetNamestringThe name of the sheet
columnnumberThe column number start with '0'
rownumberThe row number start with '0'
← Table MatrixImporter Interface →
  • ImporterXlsx
    • importerXlsx.sheets
    • importerXlsx.converter
    • importerXlsx.sheetNames ⇒ array
    • importerXlsx.clear()
    • importerXlsx.loadFile(fileName)
    • importerXlsx.cellValue(sheetName, column, row) ⇒ string
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io