GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Spreadsheet::ParseODS(3) User Contributed Perl Documentation Spreadsheet::ParseODS(3)

Spreadsheet::ParseODS - read SXC and ODS files

  my $parser = Spreadsheet::ParseODS->new(
      line_separator => "\n", # for multiline values
  );
  my $workbook = $parser->parse("$d/$file");
  my $sheet = $workbook->worksheet('Sheet1');

This module is not yet API-compatible with Spreadsheet::ParseXLSX and Spreadsheet::ParseXLS. Method-level compatibility is planned, but there always be differences in the values returned, for example for the cell types.

Options
  • line_separator - the value to separate multi-line cell values with
  • readonly - create the sheet as readonly, sharing Cells between repeated rows. This uses less memory at the cost of not being able to modify the data structure.
  • NoTruncate - legacy option not to truncate the sheets by stripping empty columns from the right edge of a sheet. This option will likely be renamed or moved.
  • twig - a premade XML::Twig::XPath instance

    my $workbook = Spreadsheet::ParseODS->new()->parse( 'example.ods' );

Reads the spreadsheet into memory and returns the data as a Spreadsheet::ParseODS::Workbook object.

Options

inputtype - the type of file if passing a filehandle. Can be "ods", "sxc" , "fods" or "xml".

This method also takes the same options as the constructor.

The public repository of this module is <https://github.com/Corion/Spreadsheet-ReadSXC>.

The public support forum of this module is <https://perlmonks.org/>.

Please report bugs in this module via the Github bug queue at <https://github.com/Corion/Spreadsheet-ReadSXC/issues>

Max Maischein "corion@cpan.org"

H. Merijn Brand "hmbrand@cpan.org" Mohammad S Anwar "manwar@cpan.org"

Copyright 2019-2020 by Max Maischein "corion@cpan.org".

This module is released under the same terms as Perl itself.
2021-09-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.