Use cell format from XLS
Status: Alpha
Brought to you by:
borkutip
Hi,
I noticed that antiexcel is not using the current format defined for each cell in the XLS file. For instance, if a cell is defined as a % value, the script still outputs the value as a float-point numeric value.
This can be fixed replacing the following lines:
if ($cell->{Type} eq 'Numeric' ){ $mycell=$cell->{Val}; } else { $mycell=$cell->Value; };
with:
$mycell=$cell->value();
Thanks for the great work. Antiexcel is very useful.
Hi Marcelo,
Thank you for the feedback and the fix. I applied it. You can see it on github:
https://github.com/peterborkuti/antiexcel
I will upload a new version soon.
ps. I totally forgot this app (and I had not use perl in the last 5 years), so now I am very happy that there are users who use this and report bugs and send fixes!
Nice! I'm using it a lot with mutt.
On 05/12/2013, at 19:38, "Peter Borkuti" borkutip@users.sf.net wrote:
Related
Bugs: #3
I upload antiexcel-1-2.tgz which has your fix.