Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

ANNOUNCE: Spreadsheet::WriteExcel 2.10
========================================
==============================
ANNOUNCE

Spreadsheet::WriteExcel version 2.10 has been uploaded to CPAN.

http://search.cpan.org/~jmcnamara/S...heet-WriteExcel

 ========================================
==============================
NAME

Spreadsheet::WriteExcel - Write formatted text and numbers to a
cross-platform Excel binary file.

 ========================================
==============================
CHANGES

2.10 September 23 2004 - Major

+ Added chart support via external templates.
Added Chart.pm and add_chart_ext() method to Workbook object.
Added /charts directory with examples and documentation

+ Added write_date_time() worksheet method for writing dates
and times in Excel date format.
Added date_time.pl example.

+ Added automatic Unicode handling via utf8 in perl 5.8 and
later. Thanks Mark Fowler.
Added several unicode_*.pl examples in different encodings.
Thanks to Sean Burke for the sample encodings.

+ Added write_to_scalar.pl example in order to answer frequently
asked question about writing an Excel file to a scalar.

 ========================================
==============================
DESCRIPTION

The Spreadsheet::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 spreadsheet applications Gnumeric and OpenOffice.org.

This module cannot be used to read an Excel file. See
Spreadsheet::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 worksheet in an Excel workbook called perl.xls:

use Spreadsheet::WriteExcel;

# Create a new Excel workbook
my $workbook = Spreadsheet::WriteExcel->new("perl.xls");

# 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
$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)');

 ========================================
==============================
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)

--



Report this thread to moderator Post Follow-up to this message
Old Post
John McNamara
09-29-04 09:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Modules archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:44 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.