| 1 | package Data::Grid::Excel::XLSX; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.014; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 0 | ▶ | use Spreadsheet::ParseXLSX; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 10 | |||
| 11 | extends 'Data::Grid::Excel'; | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Data::Grid::Excel::XLSX - OOXML standard Excel driver for Data::Grid | ||
| 16 | |||
| 17 | =head1 VERSION | ||
| 18 | |||
| 19 | Version 0.06 | ||
| 20 | |||
| 21 | =cut | ||
| 22 | |||
| 23 | our $VERSION = '0.06'; | ||
| 24 | |||
| 25 | sub _init { | ||
| 26 | my ($self, $options) = @_; | ||
| 27 | |||
| 28 | my $driver = Spreadsheet::ParseXLSX->new(%$options); | ||
| 29 | $driver->parse($self->fh) or Carp::croak($driver->error); | ||
| 30 | } | ||
| 31 | |||
| 32 | |||
| 33 | =head1 AUTHOR | ||
| 34 | |||
| 35 | Dorian Taylor, C<< <dorian at cpan.org> >> | ||
| 36 | |||
| 37 | =head1 SEE ALSO | ||
| 38 | |||
| 39 | =over 4 | ||
| 40 | |||
| 41 | =item | ||
| 42 | |||
| 43 | L<Data::Grid> | ||
| 44 | |||
| 45 | =item | ||
| 46 | |||
| 47 | L<Data::Grid::Excel> | ||
| 48 | |||
| 49 | =item | ||
| 50 | |||
| 51 | L<Spreadsheet::XLSX> | ||
| 52 | |||
| 53 | =back | ||
| 54 | |||
| 55 | =head1 COPYRIGHT & LICENSE | ||
| 56 | |||
| 57 | Copyright 2010-2018 Dorian Taylor. | ||
| 58 | |||
| 59 | Licensed under the Apache License, Version 2.0 (the "License"); you | ||
| 60 | may not use this file except in compliance with the License. You may | ||
| 61 | obtain a copy of the License at | ||
| 62 | L<http://www.apache.org/licenses/LICENSE-2.0>. | ||
| 63 | |||
| 64 | Unless required by applicable law or agreed to in writing, software | ||
| 65 | distributed under the License is distributed on an "AS IS" BASIS, | ||
| 66 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
| 67 | implied. See the License for the specific language governing | ||
| 68 | permissions and limitations under the License. | ||
| 69 | |||
| 70 | =cut | ||
| 71 | |||
| 72 | 1; # End of Data::Grid::Excel | ||