public static function PHPExcel_Shared_String::ControlCharacterPHP2OOXML in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php \PHPExcel_Shared_String::ControlCharacterPHP2OOXML()
* Convert from PHP control character to OpenXML escaped control character * * Excel 2007 team: * ---------------- * That's correct, control characters are stored directly in the shared-strings table. * We do encode characters that cannot be represented in XML using the following escape sequence: * _xHHHH_ where H represents a hexadecimal character in the character's value... * So you could end up with something like _x0008_ in a string (either in a cell value (<v>) * element or in the shared string <t> element. * *
Parameters
string $value Value to escape: * @return string
6 calls to PHPExcel_Shared_String::ControlCharacterPHP2OOXML()
- PHPExcel_Writer_Excel2007_Chart::_writeCatAx in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ Chart.php - Write Category Axis
- PHPExcel_Writer_Excel2007_Chart::_writeValAx in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ Chart.php - Write Value Axis
- PHPExcel_Writer_Excel2007_StringTable::writeRichText in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ StringTable.php - * Write Rich Text * *
- PHPExcel_Writer_Excel2007_StringTable::writeRichTextForCharts in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ StringTable.php - * Write Rich Text * *
- PHPExcel_Writer_Excel2007_StringTable::writeStringTable in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ StringTable.php - * Write string table to XML format * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ String.php, line 373
Class
- PHPExcel_Shared_String
- PHPExcel_Shared_String
Code
public static function ControlCharacterPHP2OOXML($value = '') {
return str_replace(array_values(self::$_controlCharacters), array_keys(self::$_controlCharacters), $value);
}