ANNOUNCE: Spread***::WriteExcel 2.04
From: John McNamara (jmcnamara_at_cpan.org)
Date: 08/19/04
- Next message: Icari: "Re: Net::SFTP ssh_args=>[ ] syntax question..."
- Previous message: Cosimo Streppone: "Device::Gsm v1.34 released to CPAN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 18 Aug 2004 23:05:26 GMT
======================================================================
ANNOUNCE
Spread***::WriteExcel version 2.04 has been uploaded to CPAN.
http://search.cpan.org/~jmcnamara/Spread***-WriteExcel
======================================================================
NAME
Spread***::WriteExcel - Write formatted text and numbers to a
cross-platform Excel binary file.
======================================================================
CHANGES
! Fixed handling of Euro symbol in num_format() strings.
! Renamed the Excel 5 style merge() format to the more correct
center_across(). Updated examples accordingly.
! Added bug warning about using merge formats outside of
merged ranges.
+ Fixed handling of double quotes in formula strings.
Thanks to a tip from merlyn.
+ The 2.xx versions are now compatible with MS Access. Removed
statements to the contrary.
======================================================================
DESCRIPTION
The Spread***::WriteExcel module can be used create a cross-
platform Excel binary file. Multiple worksheets can be added to a
workbook and formatting can be applied to cells. Text, numbers,
formulas and hyperlinks and images can be written to the cells.
The Excel file produced by this module is compatible with
Excel 97, 2000, 2002 and 2003.
The module will work on the majority of Windows, UNIX and
Macintosh platforms. Generated files are also compatible with the
Linux/UNIX spread*** applications Gnumeric and OpenOffice.org.
This module cannot be used to read an Excel file. See
Spread***::ParseExcel or look at the main documentation for some
suggestions.
This module cannot be used to write to an existing Excel file.
======================================================================
SYNOPSIS
To write a string, a formatted string, a number and a formula to
the first work*** in an Excel workbook called perl.xls:
use Spread***::WriteExcel;
# Create a new Excel workbook
my $workbook = Spread***::WriteExcel->new("perl.xls");
# Add a work***
$work*** = $workbook->add_work***();
# 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
$col = $row = 0;
$work***->write($row, $col, "Hi Excel!", $format);
$work***->write(1, $col, "Hi Excel!");
# Write a number and a formula using A1 notation
$work***->write('A3', 1.2345);
$work***->write('A4', '=SIN(PI()/4)');
======================================================================
REQUIREMENTS
This module requires Perl 5.005 (or later), Parse::RecDescent and
File::Temp
http://search.cpan.org/search?dist=Parse-RecDescent
http://search.cpan.org/search?dist=File-Temp
======================================================================
AUTHOR
John McNamara (jmcnamara@cpan.org)
--
- Next message: Icari: "Re: Net::SFTP ssh_args=>[ ] syntax question..."
- Previous message: Cosimo Streppone: "Device::Gsm v1.34 released to CPAN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]