This queue is for tickets about the Spreadsheet-WriteExcel CPAN distribution.
Maintainer(s)' notes
If you are reporting a bug in Spreadsheet::WriteExcel here are some pointers
1) State the issues as clearly and as concisely as possible. A simple program or Excel test file (see below) will often explain the issue better than a lot of text.
2) Provide information on your system, version of perl and module versions. The following program will generate everything that is required. Put this information in your bug report.
#!/usr/bin/perl -w
print "\n Perl version : $]";
print "\n OS name : $^O";
print "\n Module versions: (not all are required)\n";
my @modules = qw(
Spreadsheet::WriteExcel
Parse::RecDescent
File::Temp
OLE::Storage_Lite
IO::Stringy
Spreadsheet::ParseExcel
Scalar::Util
Unicode::Map
);
for my $module (@modules) {
my $version;
eval "require $module";
if (not $@) {
$version = $module->VERSION;
$version = '(unknown)' if not defined $version;
}
else {
$version = '(not installed)';
}
printf "%21s%-24s\t%s\n", "", $module, $version;
}
__END__
3) Upgrade to the latest version of Spreadsheet::WriteExcel (or at least test on a system with an upgraded version). The issue you are reporting may already have been fixed.
4) Create a small but complete example program that demonstrates your problem. The program should be as small as possible. At the same time it should be a complete program that generates an Excel file. If the Spreadsheet::WriteExcel section is part of a much larger program then simplify it down to the essentials. Simulate any DB reads with an array.
5) Say if you tested with Excel, OpenOffice, Gnumeric or something else. Say which version of that application you used.
6) If you are submitting a patch you should check with the author whether the issue has already been patched or if a fix is in the works. Patches should be accompanied by test cases.
Asking a question
If you would like to ask a more general question there is the Spreadsheet::WriteExcel Google Group.
Owner: |
jmcnamara [...] cpan.org
|
Requestors: |
ianburrell [...] gmail.com
|
Cc: |
|
AdminCc: |
|
|
Severity: |
Wishlist |
Broken in: |
2.17 |
Fixed in: |
(no value)
|
|
Tue Jun 27 18:27:37 2006
Guest - Ticket created
Images added with insert_bitmap are currently written uncompressed even
if the source file is in compressed format like PNG or GIF. With large
images, this results in large files. Writing compressed images has been
listed in the docs as a todo for a while.
OpenOffice.org and Gnumeric can insert compressed images. Currently, we
get around the size issue by loading the files in Excel and saving them
with a macro.
Is this a limitation of the version used by Spreadsheet::WriteExcel.
What is needed to get this support added? I would be interested in
working on getting this done since it is important for work. Where
would I look for information on implementing this?
Tue Jun 27 19:27:45 2006
jmcnamara [...] cpan.org - Taken
Tue Jun 27 19:27:52 2006
jmcnamara [...] cpan.org - Status changed from 'new' to 'open'
Tue Jun 27 19:36:59 2006
jmcnamara [...] cpan.org - Correspondence added
On Tue Jun 27 18:27:37 2006, guest wrote:
Show quoted text> Images added with insert_bitmap are currently written uncompressed even
> if the source file is in compressed format like PNG or GIF. With large
> images, this results in large files. Writing compressed images has been
> listed in the docs as a todo for a while.
I am currently in the middle of refactoring the image handling code in
Spreadsheet::WriteExcel.
The new implementation will allow you to insert PNG and JPEG files as
well as BMP.
I hope to release an early beta of this in the next few days.
See the Spreadsheet::WriteExcel Google Group for more information as it
becomes available.
http://groups.google.com/group/spreadsheet-writeexcel
and
http://groups.google.com/group/spreadsheet-writeexcel/browse_frm/thread/640c75737e76e929
John.
--
Tue Oct 09 04:24:12 2007
jmcnamara [...] cpan.org - Correspondence added
On Tue Jun 27 18:27:37 2006, guest wrote:
Show quoted text> Images added with insert_bitmap are currently written uncompressed even
> if the source file is in compressed format like PNG or GIF. With large
> images, this results in large files. Writing compressed images has been
> listed in the docs as a todo for a while.
This is now available via the insert_image() method in
Spreadsheet::WriteExcel version 2.20.
John.
--
Tue Oct 09 04:24:37 2007
jmcnamara [...] cpan.org - Status changed from 'open' to 'resolved'