Skip Menu |

This queue is for tickets about the Excel-Template CPAN distribution.

Report information
The Basics
Id: 65764
Status: resolved
Priority: 0/
Queue: Excel-Template

People
Owner: rbo [...] cpan.org
Requestors: bdulfer [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.32
Fixed in: 0.33



Subject: enable cell-comments
I needed to create an Excel with comments, so I patched Excel::Template::Element::Cell accordingly. Here is the patch: --- Cell.pm Wed Feb 16 09:22:18 2011 +++ Cell.pm i Tue Feb 15 15:51:10 2011 @@ -99,6 +99,16 @@ $context->active_format, ); + if (my $comment = $context->get($self, 'COMMENT')) + { + $context->active_worksheet->write_comment( + $row, $col, + $comment, + ) if $comment gt ' '; + } + return 1; } Hope something like this makes it into the next release. Best regards, Bernd
Fixed in version 0.33, is uploaded.