Catalyst-View-Spreadsheet-Template
view release on metacpan or search on metacpan
my $font = $format->{Font};
is($font->{Name}, 'Calibri');
{ local $TODO = "defaults don't work properly yet";
is($font->{Height}, 12);
}
is($font->{Color}, '#000000');
}
{
my $cell = $ws->get_cell(5, 1);
is($cell->unformatted, "<< formula cell");
is($cell->value, "<< formula cell");
is($cell->type, 'Text');
is($cell->{Formula}, undef);
my $format = $cell->get_format;
is($format->{AlignH}, 3);
is($format->{AlignV}, 2);
ok(!$format->{Wrap});
is_deeply($format->{Fill}, [1, '#EEECE1', '#FFFFFF']);
is_deeply($format->{BdrStyle}, [(0) x 4]);
is_deeply($format->{BdrColor}, [(undef) x 4]);
t/lib/MyApp/root/index.json view on Meta::CPAN
"type" : "number"
},
{},
{},
{},
{}
],
[
{
"contents" : 60,
"formula" : "SUM(A3:A5)",
"type" : "number"
},
{
"contents" : "<< formula cell",
"format" : {
"align" : "right",
"bg_color" : "#EEECE1",
"color" : "#F79646",
"pattern" : "solid",
"size" : 12
},
"type" : "string"
},
{},
t/lib/MyUTF8App/root/index.json view on Meta::CPAN
"type" : "number"
},
{},
{},
{},
{}
],
[
{
"contents" : 60,
"formula" : "SUM(A3:A5)",
"type" : "number"
},
{
"contents" : "« formula cell",
"format" : {
"align" : "right",
"bg_color" : "#EEECE1",
"color" : "#F79646",
"pattern" : "solid",
"size" : 12
},
"type" : "string"
},
{},
my $font = $format->{Font};
is($font->{Name}, 'Calibri');
{ local $TODO = "defaults don't work properly yet";
is($font->{Height}, 12);
}
is($font->{Color}, '#000000');
}
{
my $cell = $ws->get_cell(5, 1);
is($cell->unformatted, "« formula cell");
is($cell->value, "« formula cell");
is($cell->type, 'Text');
is($cell->{Formula}, undef);
my $format = $cell->get_format;
is($format->{AlignH}, 3);
is($format->{AlignV}, 2);
ok(!$format->{Wrap});
is_deeply($format->{Fill}, [1, '#EEECE1', '#FFFFFF']);
is_deeply($format->{BdrStyle}, [(0) x 4]);
is_deeply($format->{BdrColor}, [(undef) x 4]);
( run in 0.799 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )