From dd4f5252ea735ecad309fd3b6678503925d55f59 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Fri, 14 Jan 2011 18:01:41 +0000 Subject: [PATCH] Added BAHTTEXT to reader/writer list of Excel functions, though not supported in the calculation engine yet git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66898 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Reader/Excel5.php | 1 + Classes/PHPExcel/Writer/Excel5/Parser.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Classes/PHPExcel/Reader/Excel5.php b/Classes/PHPExcel/Reader/Excel5.php index 4dba0205..191f5790 100644 --- a/Classes/PHPExcel/Reader/Excel5.php +++ b/Classes/PHPExcel/Reader/Excel5.php @@ -5200,6 +5200,7 @@ class PHPExcel_Reader_Excel5 implements PHPExcel_Reader_IReader case 352: $function = 'DATESTRING'; $args = 1; break; case 353: $function = 'NUMBERSTRING'; $args = 2; break; case 360: $function = 'PHONETIC'; $args = 1; break; + case 368: $function = 'BAHTTEXT'; $args = 1; break; default: throw new Exception('Unrecognized function in formula'); break; diff --git a/Classes/PHPExcel/Writer/Excel5/Parser.php b/Classes/PHPExcel/Writer/Excel5/Parser.php index 83fd9823..911c7078 100644 --- a/Classes/PHPExcel/Writer/Excel5/Parser.php +++ b/Classes/PHPExcel/Writer/Excel5/Parser.php @@ -510,6 +510,7 @@ class PHPExcel_Writer_Excel5_Parser 'VARPA' => array( 365, -1, 0, 0 ), 'STDEVA' => array( 366, -1, 0, 0 ), 'VARA' => array( 367, -1, 0, 0 ), + 'BAHTTEXT' => array( 368, 1, 0, 0 ), ); }