Skip Menu |
 

This queue is for tickets about the Spreadsheet-WriteExcel-Styler CPAN distribution.

Report information
The Basics
Id: 81909
Status: resolved
Priority: 0/
Queue: Spreadsheet-WriteExcel-Styler

People
Owner: Nobody in particular
Requestors: stephenclouse [...] gmail.com
Cc: jmcnamara [...] cpan.org
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Support Excel::Writer::XLSX
Download (untitled) / with headers
text/plain 281b
Right now an error is thrown if !$workbook->isa('Spreadsheet::WriteExcel') Spreadsheet::WriteExcel has been superseded by Excel::Writer::XLSX, according to its author. The two are fully API-compatible, so all that's really necessary for Styler to work is adjusting the isa check.
RT-Send-CC: jmcnamara [...] cpan.org
Download (untitled) / with headers
text/plain 845b
Le Mar 11 Déc 2012 13:52:50, SCLOUSE a écrit : Show quoted text
> Right now an error is thrown if !$workbook->isa
('Spreadsheet::WriteExcel') Show quoted text
> > Spreadsheet::WriteExcel has been superseded by Excel::Writer::XLSX, > according to its author. The two are fully API-compatible, so all > that's really necessary for Styler to work is adjusting the isa check.
Hi, Thanks for the suggestion; fixed in v1.02 (now we just check if the workbook object received as argument has an 'add_format' method). I hesitated to also rename the module so that it would sit in the new Excel::* namespace, but for now I left it as is. @John : if you are inclined to it, feel free to borrow the code and incorporate it directly within Excel::Writer. This would be probably more convenient for users, and then I would mark my module as obsolete. Best regards, Laurent Dami


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.