Read style format
Last updated
$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);
$excel->openFile('source.xlsx')->openSheet();
$row = $excel->nextRowWithFormula();
$sid = $row[0]['style_id'];
print_r($excel->getStyleFormat($sid));
// Array
// (
// [num_fmt_id] => 14
// [category] => date
// [format_string] => m/d/yyyy
// [font] => Array ( [name] => Calibri [size] => 11 ... )
// [fill] => Array ( [pattern_type] => solid [fg_color] => FFFFFF00 ... )
// [border] => Array ( [left] => Array ( [style] => thin [color] => FF000000 ) ... )
// [alignment] => Array ( [horizontal] => center [vertical] => center ... )
// [protection] => Array ( [locked] => 1 [hidden] => 0 )
// )