You are here

private static function PHPExcel_Reader_Excel5::_readUnicodeStringLong in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php \PHPExcel_Reader_Excel5::_readUnicodeStringLong()

* Extracts an Excel Unicode long string (16-bit string length) * OpenOffice documentation: 2.5.3 * this function is under construction, needs to support rich text, and Asian phonetic settings * *

Parameters

string $subData: * @return array

9 calls to PHPExcel_Reader_Excel5::_readUnicodeStringLong()
PHPExcel_Reader_Excel5::_readBIFF8Constant in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* read BIFF8 constant value which may be 'Empty Value', 'Number', 'String Value', 'Boolean Value', 'Error Value' * section 2.5.7 * returns e.g. array('value' => '5',…
PHPExcel_Reader_Excel5::_readDataValidation in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* Read DATAVALIDATION record
PHPExcel_Reader_Excel5::_readExternalBook in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* Read EXTERNALBOOK record
PHPExcel_Reader_Excel5::_readFooter in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* Read FOOTER record
PHPExcel_Reader_Excel5::_readFormat in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* FORMAT * * This record contains information about a number format. * All FORMAT records occur together in a sequential list. * * In BIFF2-BIFF4 other records referencing a FORMAT record * contain a zero-based index into this list. From…

... See full list

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php, line 6599

Class

PHPExcel_Reader_Excel5
PHPExcel_Reader_Excel5

Code

private static function _readUnicodeStringLong($subData) {
  $value = '';

  // offset: 0: size: 2; length of the string (character count)
  $characterCount = self::_GetInt2d($subData, 0);
  $string = self::_readUnicodeString(substr($subData, 2), $characterCount);

  // add 2 for the string length
  $string['size'] += 2;
  return $string;
}