Coder Social home page Coder Social logo

jed-giblin / excel-writer-xlsx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmcnamara/excel-writer-xlsx

0.0 1.0 0.0 13.73 MB

Perl module to create Excel XLSX files.

Home Page: http://search.cpan.org/dist/Excel-Writer-XLSX/lib/Excel/Writer/XLSX.pm

Perl 90.83% Perl 6 9.17%

excel-writer-xlsx's Introduction

NAME

    Excel::Writer::XLSX - Create a new file in the Excel 2007+ XLSX format.

DESCRIPTION

    The Excel::Writer::XLSX module can be used to create a new Excel file
    in the 2007+ XLSX format. 

    The module supports the following Excel features:

        * Multiple worksheets
        * Strings and numbers
        * Unicode text
        * Cell formatting
        * Formulas
        * Images
        * Charts
        * Autofilters
        * Data validation
        * Conditional formatting
        * Macros
        * Tables
        * Shapes
        * Sparklines
        * Hyperlinks
        * Rich string formats
        * Defined names
        * Grouping/Outlines
        * Cell comments
        * Panes
        * Page set-up and printing options

    Excel::Writer::XLSX uses the same interface as Spreadsheet::WriteExcel.


SYNOPSIS

    To write a string, a formatted string, a number and a formula to
    the first worksheet in an Excel XML spreadsheet called perl.xls:

        use Excel::Writer::XLSX;

        # Create a new Excel workbook
        my $workbook = Excel::Writer::XLSX->new('perl.xlsx');

        # Add a worksheet
        $worksheet = $workbook->add_worksheet();

        #  Add and define a format
        $format = $workbook->add_format(); # Add a format
        $format->set_bold();
        $format->set_color('red');
        $format->set_align('center');

        # Write a formatted and unformatted string, row and column notation.
        $col = $row = 0;
        $worksheet->write($row, $col, "Hi Excel!", $format);
        $worksheet->write(1,    $col, "Hi Excel!");

        # Write a number and a formula using A1 notation
        $worksheet->write('A3', 1.2345);
        $worksheet->write('A4', '=SIN(PI()/4)');


INSTALLATION

    Use the standard Unix style installation.

        Unzip and untar the module as follows:

            tar -zxvf Excel-Writer-XLSX-0.95.tar.gz

        The module can be installed using the standard Perl procedure:

            perl Makefile.PL
            make
            make test
            make install    # As sudo/root



AUTHOR

    John McNamara ([email protected])

excel-writer-xlsx's People

Contributors

davidclarke avatar dsteinbrunner avatar jmcnamara avatar kablamo avatar kiwiroy avatar neilb avatar schnell18 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.