PHPExcel_Shared
[ class tree: PHPExcel_Shared ] [ index: PHPExcel_Shared ] [ all elements ]

Class: PHPExcel_Shared_String

Source Location: /PHPExcel/Shared/String.php

Class Overview


PHPExcel_Shared_String


Author(s):

Copyright:

  • Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)

Methods



Class Details

[line 36]
PHPExcel_Shared_String

PHPExcel_Shared_String




Tags:

copyright:  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)


[ Top ]


Class Methods


static method ControlCharacterOOXML2PHP [line 52]

static string ControlCharacterOOXML2PHP( [string $value = ''])

Convert from OpenXML escaped control character to PHP control character Excel 2007 team: ---------------- That's correct, control characters are stored directly in the shared-strings table.

Convert from OpenXML escaped control character to PHP 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.




Tags:

access:  public


Parameters:

string   $value   Value to unescape

[ Top ]

static method ControlCharacterPHP2OOXML [line 76]

static string ControlCharacterPHP2OOXML( [string $value = ''])

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.

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.




Tags:

access:  public


Parameters:

string   $value   Value to escape

[ Top ]

static method FormatNumber [line 102]

static string FormatNumber( mixed $value)

Formats a numeric value as a string for output in various output writers

Formats a numeric value as a string for output in various output writers




Tags:

access:  public


Parameters:

mixed   $value  

[ Top ]

static method IsUTF8 [line 92]

static boolean IsUTF8( [string $value = ''])

Check if a string contains UTF8 data

Check if a string contains UTF8 data




Tags:

access:  public


Parameters:

string   $value  

[ Top ]


Documentation generated on Mon, 25 Aug 2008 13:50:06 +0200 by phpDocumentor 1.4.1