Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmcnamara/excel-writer-xlsx
Perl module to create Excel XLSX files.
https://github.com/jmcnamara/excel-writer-xlsx
perl xlsx xlsx-files xlsxwriter
Last synced: 12 days ago
JSON representation
Perl module to create Excel XLSX files.
- Host: GitHub
- URL: https://github.com/jmcnamara/excel-writer-xlsx
- Owner: jmcnamara
- License: other
- Created: 2010-08-28T00:26:49.000Z (about 14 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T22:36:46.000Z (23 days ago)
- Last Synced: 2024-10-22T18:53:01.548Z (22 days ago)
- Topics: perl, xlsx, xlsx-files, xlsxwriter
- Language: Perl
- Homepage: https://metacpan.org/pod/distribution/Excel-Writer-XLSX/lib/Excel/Writer/XLSX.pm
- Size: 18 MB
- Stars: 101
- Watchers: 17
- Forks: 51
- Open Issues: 13
-
Metadata Files:
- Readme: README
- Changelog: Changes
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE_Artistic_Perl
Awesome Lists containing this project
README
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 optionsExcel::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)');$workbook->close();
INSTALLATION
Use the standard Unix style installation.
Unzip and untar the module as follows:
tar -zxvf Excel-Writer-XLSX-1.14.tar.gz
The module can be installed using the standard Perl procedure:
perl Makefile.PL
make
make test
make install # As sudo/rootAUTHOR
John McNamara ([email protected])