Spreads...Fmt2007(3)
π NAME π
okay so bestie, this is the Spreads...Fmt2007(3) page, and weβre hanging out in the User Contributed Perl Documentation section. Itβs all about Spreadsheet::XLSX::Fmt2007 β literally A class for Cell formats. slay. β¨
β¨ SYNOPSIS β¨
First things first: See the documentation of Spreadsheet::XLSX.
Then the vibe is this little snippet, reproduced exactly:
my $cell = $myworkbook->worksheet->{Cells}[$row][$col]
my $type = $cell->{Type}; # Date, Text, or Numeric
my $disp_value = $cell->Value; # displayed (formatted) value set in XLSX by $myFmt2007->ValFmt($cell, $workbook)
my $fund_value = $cell->{Val}; # fundemental (underlying) value
my $formatter;
if( $myworkbook->excel07 ) {
$formatter = Spreadsheet::XLSX::Fmt2007->new();
} else {
$formatter = Spreadsheet::ParseExcel::FmtDefault->new();
}
my $format_string = $formatter->FmtString($cell, $self->workbook);
πΈ DESCRIPTION πΈ
This module is used in conjunction with Spreadsheet::XLSX. See the documentation for Spreadsheet::XLSX. no cap, thatβs the whole friend group. π«Ά
This code is adapted for Excel 2007 from Spreadsheet::ParseExcel::FmtDefault by Kawai, Takanori (Hippo2000) 2001-02-02. iconic lineage, honestly. π
β οΈ This Program is ALPHA version. So yeah, keep that in mind, bestie β itβs giving experimental main character energy. π
π«Ά AUTHOR π«Ά
See the documentation for Spreadsheet::XLSX. Thatβs the author tea, fr fr. β
π COPYRIGHT π
See the documentation for Spreadsheet::XLSX. Same energy, same place, periodt. π
mwah π this page is brought to you by perl v5.42.0, dated 2024-03-22 β bye bestie, go format some Cells! π¦
π¦ where this page comes from
- opensuse-leap 16.0: perl-Spreadsheet-XLSX 0.180.0-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms