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
This commit is contained in:
Mark Baker 2011-01-14 18:01:41 +00:00
parent d154e853b2
commit dd4f5252ea
2 changed files with 2 additions and 0 deletions

View File

@ -5200,6 +5200,7 @@ class PHPExcel_Reader_Excel5 implements PHPExcel_Reader_IReader
case 352: $function = 'DATESTRING'; $args = 1; break; case 352: $function = 'DATESTRING'; $args = 1; break;
case 353: $function = 'NUMBERSTRING'; $args = 2; break; case 353: $function = 'NUMBERSTRING'; $args = 2; break;
case 360: $function = 'PHONETIC'; $args = 1; break; case 360: $function = 'PHONETIC'; $args = 1; break;
case 368: $function = 'BAHTTEXT'; $args = 1; break;
default: default:
throw new Exception('Unrecognized function in formula'); throw new Exception('Unrecognized function in formula');
break; break;

View File

@ -510,6 +510,7 @@ class PHPExcel_Writer_Excel5_Parser
'VARPA' => array( 365, -1, 0, 0 ), 'VARPA' => array( 365, -1, 0, 0 ),
'STDEVA' => array( 366, -1, 0, 0 ), 'STDEVA' => array( 366, -1, 0, 0 ),
'VARA' => array( 367, -1, 0, 0 ), 'VARA' => array( 367, -1, 0, 0 ),
'BAHTTEXT' => array( 368, 1, 0, 0 ),
); );
} }