Data::TableReader::Decoder::Spreadsheet(3pm)

Data::TableReader::Decoder::Spreadsheet3pm

Base class for implementing spreadsheet decoders

Version

version 0.021

Overview

This is a base class for any file format that exposes a spreadsheet API compatible with Spreadsheet::ParseExcel.

Attributes

See attributes from parent class: Data::TableReader::Decoder.

workbook

This is an instance of Spreadsheet::ParseExcel, Spreadsheet::ParseXLSX, or Spreadsheet::XLSX (which all happen to have the same API). Subclasses can lazy-build this from the "file_handle".

sheet

This is either a sheet name, a regex for matching a sheet name, or a parser's worksheet object. It is also optional; if not set, all sheets will be iterated.

xls_formatter

An optional object that is passed to Excel parsers Spreadsheet::ParseXLSX and Spreadsheet::ParseExcel. It governs how raw data in cells is formatted into values depending on the type of the cell. The parsers create one of their own if none is provided, usually Spreadsheet::ParseExcel::FmtDefault.

Note that it does not work for Spreadsheet::XLSX, which hardcodes the formatter as Spreadsheet::XLSX::Fmt2007.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

Michael Conrad <[email protected]>

From libdata-tablereader-perl 0.021-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.