PHPExcel_Reader

# Class: PHPExcel_Reader_Excel2007 Source Location: /PHPExcel/Reader/Excel2007.php
### Class Overview
PHPExcel_Reader_Excel2007 #### Author(s): #### Copyright: Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) Implements interfaces: PHPExcel_Reader_IReader | ### Variables $_loadSheetsOnly $_readDataOnly $_readFilter | ### Methods __construct array_item canRead dir_add getLoadSheetsOnly getReadDataOnly getReadFilter load setLoadAllSheets setLoadSheetsOnly setReadDataOnly setReadFilter toCSSArray _castToBool _castToError _castToFormula _castToString _getFromZipArchive _parseRichText _readBorder _readColor _readStyle
### Class Details [line 99] PHPExcel_Reader_Excel2007 PHPExcel_Reader_Excel2007 #### Tags:
copyright: | Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Variables #### $_loadSheetsOnly = null [line 113] Restict which sheets should be loaded? Restict which sheets should be loaded? #### Tags:
access: | private
Type: | array
[ Top ] #### $_readDataOnly = false [line 106] Read data only? Read data only? #### Tags:
access: | private
Type: | boolean
[ Top ] #### $_readFilter = null [line 120] PHPExcel_Reader_IReadFilter instance PHPExcel_Reader_IReadFilter instance #### Tags:
access: | private
Type: | PHPExcel_Reader_IReadFilter
[ Top ] ### Class Methods ### static method array_item [line 1595]
`static void array_item( $array, [ $key = 0])`
#### Tags:
access: | private
#### Parameters:
| $array |
| $key |
[ Top ] ### static method dir_add [line 1599]
`static void dir_add( $base, $add)`
#### Tags:
access: | private
#### Parameters:
| $base |
| $add |
[ Top ] ### static method toCSSArray [line 1603]
`static void toCSSArray( $style)`
#### Tags:
access: | private
#### Parameters:
| $style |
[ Top ] ### constructor __construct [line 199]
`PHPExcel_Reader_Excel2007 __construct( )`
Create a new PHPExcel_Reader_Excel2007 instance Create a new PHPExcel_Reader_Excel2007 instance #### Tags:
access: | public
[ Top ] ### method canRead [line 209]
`boolean canRead( $pFilename, string $pFileName)`
Can the current PHPExcel_Reader_IReader read the file? Can the current PHPExcel_Reader_IReader read the file? #### Tags:
access: | public
Implementation of: PHPExcel_Reader_IReader::canRead() Can the current PHPExcel_Reader_IReader read the file? #### Parameters:
string | $pFileName |
| $pFilename |
[ Top ] ### method getLoadSheetsOnly [line 147]
`mixed getLoadSheetsOnly( )`
Get which sheets to load Get which sheets to load #### Tags:
access: | public
[ Top ] ### method getReadDataOnly [line 127]
`boolean getReadDataOnly( )`
Read data only? Read data only? #### Tags:
access: | public
[ Top ] ### method getReadFilter [line 181]
`PHPExcel_Reader_IReadFilter getReadFilter( )`
Read filter Read filter #### Tags:
access: | public
[ Top ] ### method load [line 335]
`void load( string $pFilename)`
Loads PHPExcel from file Loads PHPExcel from file #### Tags:
throws: | Exception
access: | public
Implementation of: PHPExcel_Reader_IReader::load() Loads PHPExcel from file #### Parameters:
string | $pFilename |
[ Top ] ### method setLoadAllSheets [line 170]
`PHPExcel_Reader_Excel2007 setLoadAllSheets( )`
Set all sheets to load Set all sheets to load #### Tags:
access: | public
[ Top ] ### method setLoadSheetsOnly [line 158]
`PHPExcel_Reader_Excel2007 setLoadSheetsOnly( [mixed $value = null])`
Set which sheets to load Set which sheets to load #### Tags:
access: | public
#### Parameters:
mixed | $value |
[ Top ] ### method setReadDataOnly [line 137]
`PHPExcel_Reader_Excel2007 setReadDataOnly( [boolean $pValue = false])`
Set read data only Set read data only #### Tags:
access: | public
#### Parameters:
boolean | $pValue |
[ Top ] ### method setReadFilter [line 191]
`PHPExcel_Reader_Excel2007 setReadFilter( PHPExcel_Reader_IReadFilter $pValue)`
Set read filter Set read filter #### Tags:
access: | public
#### Parameters:
PHPExcel_Reader_IReadFilter | $pValue |
[ Top ] ### method _castToBool [line 230]
`void _castToBool( $c)`
#### Tags:
access: | private
#### Parameters:
| $c |
[ Top ] ### method _castToError [line 243]
`void _castToError( $c)`
#### Tags:
access: | private
#### Parameters:
| $c |
[ Top ] ### method _castToFormula [line 253]
`void _castToFormula( $c, $r, &$cellDataType, &$value, &$calculatedValue, &$sharedFormulas, $castBaseType)`
#### Tags:
access: | private
#### Parameters:
| $c |
| $r |
| &$cellDataType |
| &$value |
| &$calculatedValue |
| &$sharedFormulas |
| $castBaseType |
[ Top ] ### method _castToString [line 248]
`void _castToString( $c)`
#### Tags:
access: | private
#### Parameters:
| $c |
[ Top ] ### method _getFromZipArchive [line 302]
`void _getFromZipArchive( $archive, [ $fileName = ''])`
#### Tags:
access: | public
#### Parameters:
ZipArchive | $archive |
| $fileName |
[ Top ] ### method _parseRichText [line 1536]
`void _parseRichText( [ $is = null])`
#### Tags:
access: | private
#### Parameters:
| $is |
[ Top ] ### method _readBorder [line 1527]
`void _readBorder( $docBorder, $eleBorder)`
#### Tags:
access: | private
#### Parameters:
| $docBorder |
| $eleBorder |
[ Top ] ### method _readColor [line 1394]
`void _readColor( $color)`
#### Tags:
access: | private
#### Parameters:
| $color |
[ Top ] ### method _readStyle [line 1402]
`void _readStyle( $docStyle, $style)`
#### Tags:
access: | private
#### Parameters:
| $docStyle |
| $style |
[ Top ] Documentation generated on Mon, 11 Jan 2010 08:09:18 +0100 by phpDocumentor 1.4.1