Catalyst-View-XLSX
view release on metacpan or search on metacpan
$c->stash->{xlsx} = {
data => [
{ row => 0, col => 0, data => 'Hey! Look at me. I am A1', format => undef, value => undef },
{ row => 0, col => 1, data => 'People call me as B1', format => undef, value => undef }
],
filename => 'ExcelFile.xlsx'
};
#row,col -> represents the position on the Excel sheet
#data -> represents the content of the field
#value -> (OPTIONAL) it will hold the actual value when data has formula
#format -> (OPTIONAL) format of the cell, supports the following properties
#font => 'Times New Roman',
#size => '15',
#color => 'Black',
#bold => 1,
#italic => 0,
#underline => 0,
#font_strikeout => 0,
#font_script => 0,
$c->stash->{xlsx} = {
data => [
{ row => 0, col => 0, data => 'Hey! Look at me. I am A1', format => undef, value => undef },
{ row => 0, col => 1, data => 'People call me as B1', format => undef, value => undef }
],
filename => 'ExcelFile.xlsx'
};
#row,col -> represents the position on the Excel sheet
#data -> represents the content of the field
#value -> (OPTIONAL) it will hold the actual value when data has formula
#format -> (OPTIONAL) format of the cell, supports the following properties
#font => 'Times New Roman',
#size => '15',
#color => 'Black',
#bold => 1,
#italic => 0,
#underline => 0,
#font_strikeout => 0,
#font_script => 0,
lib/Catalyst/View/XLSX.pm view on Meta::CPAN
$c->stash->{xlsx} = {
data => [
{ row => 0, col => 0, data => 'Hey! Look at me. I am A1', format => undef, value => undef },
{ row => 0, col => 1, data => 'People call me as B1', format => undef, value => undef }
],
filename => 'ExcelFile.xlsx'
};
#row,col -> represents the position on the Excel sheet
#data -> represents the content of the field
#value -> (OPTIONAL) it will hold the actual value when data has formula
#format -> (OPTIONAL) format of the cell, supports the following properties
#font => 'Times New Roman',
#size => '15',
#color => 'Black',
#bold => 1,
#italic => 0,
#underline => 0,
#font_strikeout => 0,
#font_script => 0,
( run in 0.374 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )