No description, website, or topics provided.
Shell C Makefile Perl6 M4
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
lib/Parser/FreeXL get name of distro a little simpler Nov 30, 2016
stub initial commit Nov 28, 2016
t initial commit Nov 28, 2016
.gitignore ignore build stuff Nov 28, 2016
.travis.yml initial commit Nov 28, 2016
Build.pm modify prefix dir Nov 28, 2016
LICENSE initial commit Nov 28, 2016
META6.json add source Nov 29, 2016
README.md show windows info in readme Nov 30, 2016

README.md

Build Status

NAME

Parser::FreeXL::Native - wrapper for freexl parsing .xls files

SYNOPSIS

use Parser::FreeXL::Native;

my Parser::FreeXL::Native $parser .= new;
$parser.open('file.xls');

my $sheet_count = $parser.sheet_count;

$parser.select_sheet(1);
$parser.select_sheet('sheet_1');

my @sheet_names = $parser.sheet_names;

my ($max_row, $max_col) = $parser.sheet_dimensions;

for ^$max_row -> $row {
    for ^$max_col -> $col {
        my $cell  = $parser.get_cell($row, $col);
        # types: <int double text date datetime time>, Nil
        my $type  = $cell.type;
        my $value = $cell.value;

        # do something with type and value
    }
}

DESCRIPTION

Parser::FreeXL::Native is a parser for xls using the freexl c library

Windows support is planned. Currently the dll is missing.

AUTHOR

spebern bernhard@specht.net

COPYRIGHT AND LICENSE

Copyright 2016 spebern

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.