MichaelDaum / spreadsheet-parsexlsx

parse XLSX files
http://metacpan.org/release/Spreadsheet-ParseXLSX
1 stars 3 forks source link

NAME

Spreadsheet::ParseXLSX - parse XLSX files

VERSION

version 0.35

SYNOPSIS

use Spreadsheet::ParseXLSX;

my $parser = Spreadsheet::ParseXLSX->new;
my $workbook = $parser->parse("file.xlsx");
# see Spreadsheet::ParseExcel for further documentation

DESCRIPTION

This module is an adaptor for Spreadsheet::ParseExcel that reads XLSX files. For documentation about the various data that you can retrieve from these classes, please see Spreadsheet::ParseExcel, Spreadsheet::ParseExcel::Workbook, Spreadsheet::ParseExcel::Worksheet, and Spreadsheet::ParseExcel::Cell.

METHODS

new(%opts)

Returns a new parser instance. Takes a hash of parameters:

parse($file, $formatter)

Parses an XLSX file. Parsing errors throw an exception. $file can be either a filename or an open filehandle. Returns a Spreadsheet::ParseExcel::Workbook instance containing the parsed data. The $formatter argument is an optional formatter class as described in Spreadsheet::ParseExcel.

INCOMPATIBILITIES

This module returns data using classes from Spreadsheet::ParseExcel, so for the most part, it should just be a drop-in replacement. That said, there are a couple areas where the data returned is intentionally different:

BUGS

In addition, there are still a few areas which are not yet implemented (the XLSX spec is quite large). If you run into any of those, bug reports are quite welcome.

Please report any bugs to GitHub Issues at https://github.com/MichaelDaum/spreadsheet-parsexlsx/issues.

SEE ALSO

Spreadsheet::ParseExcel: The equivalent, for XLS files.

Spreadsheet::XLSX: An older, less robust and featureful implementation.

SUPPORT

You can find this documentation for this module with the perldoc command.

perldoc Spreadsheet::ParseXLSX

You can also look for information at:

SPONSORS

Parts of this code were paid for by

AUTHOR

Jesse Luehrs doy@tozt.net

CONTRIBUTORS

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Jesse Luehrs.

This is free software, licensed under:

The MIT (X11) License