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

Class: PHPExcel_Reader_Excel2007

Source Location: /PHPExcel/Reader/Excel2007.php

Class Overview


PHPExcel_Reader_Excel2007


Author(s):

Copyright:

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

Implements interfaces:

Methods



Class Details

[line 45]
PHPExcel_Reader_Excel2007



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 174]

PHPExcel_Reader_Excel2007 __construct( )

Create a new PHPExcel_Reader_Excel2007 instance



Tags:

access:  public


[ Top ]

method canRead [line 185]

boolean canRead( $pFilename, string $pFileName)

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 118]

mixed getLoadSheetsOnly( )

Get which sheets to load Returns either an array of worksheet names (the list of worksheets that should be loaded), or a null indicating that all worksheets in the workbook should be loaded.



Tags:

access:  public


[ Top ]

method getReadDataOnly [line 93]

boolean getReadDataOnly( )

Read data only? If this is true, then the Reader will only read data values for cells, it will not read any formatting information.

If false (the default) it will read data and formatting.




Tags:

access:  public


[ Top ]

method getReadFilter [line 156]

PHPExcel_Reader_IReadFilter getReadFilter( )

Read filter



Tags:

access:  public


[ Top ]

method listWorksheetNames [line 315]

void listWorksheetNames( string $pFilename)

Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object



Tags:

throws:  Exception
access:  public


Parameters:

string   $pFilename  

[ Top ]

method load [line 354]

void load( string $pFilename)

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 145]

PHPExcel_Reader_Excel2007 setLoadAllSheets( )

Set all sheets to load Tells the Reader to load all worksheets from the workbook.



Tags:

access:  public


[ Top ]

method setLoadSheetsOnly [line 132]

PHPExcel_Reader_Excel2007 setLoadSheetsOnly( [mixed $value = null])

Set which sheets to load



Tags:

access:  public


Parameters:

mixed   $value   This should be either an array of worksheet names to be loaded, or a string containing a single worksheet name. If NULL, then it tells the Reader to read all worksheets in the workbook

[ Top ]

method setReadDataOnly [line 106]

PHPExcel_Reader_Excel2007 setReadDataOnly( [boolean $pValue = false])

Set read data only Set to true, to advise the Reader only to read data values for cells, and to ignore any formatting information.

Set to false (the default) to advise the Reader to read both data and formatting for cells.




Tags:

access:  public


Parameters:

boolean   $pValue  

[ Top ]

method setReadFilter [line 166]

PHPExcel_Reader_Excel2007 setReadFilter( PHPExcel_Reader_IReadFilter $pValue)

Set read filter



Tags:

access:  public


Parameters:

PHPExcel_Reader_IReadFilter   $pValue  

[ Top ]

method _getFromZipArchive [line 290]

void _getFromZipArchive( $archive, [ $fileName = ''])



Tags:

access:  public


Parameters:

ZipArchive   $archive  
   $fileName  

[ Top ]


Documentation generated on Sun, 27 Feb 2011 16:31:27 -0800 by phpDocumentor 1.4.3