Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • PHPExcel_Reader_Abstract
  • PHPExcel_Reader_CSV
  • PHPExcel_Reader_DefaultReadFilter
  • PHPExcel_Reader_Excel2003XML
  • PHPExcel_Reader_Excel2007
  • PHPExcel_Reader_Gnumeric
  • PHPExcel_Reader_HTML
  • PHPExcel_Reader_OOCalc
  • PHPExcel_Reader_SYLK

Interfaces

  • PHPExcel_Reader_IReader
  • PHPExcel_Reader_IReadFilter

Exceptions

  • PHPExcel_Reader_Exception
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Reader_Abstract

PHPExcel_Reader_Abstract

PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader

Direct known subclasses

PHPExcel_Reader_CSV, PHPExcel_Reader_Excel2003XML, PHPExcel_Reader_Excel2007, PHPExcel_Reader_Excel5, PHPExcel_Reader_Gnumeric, PHPExcel_Reader_HTML, PHPExcel_Reader_OOCalc, PHPExcel_Reader_SYLK
Abstract
Package: PHPExcel\Reader
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Reader/Abstract.php
Methods summary
public 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.

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.

Returns

boolean
public PHPExcel_Reader_IReader
# 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.

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.

Parameters

$pValue

Returns

PHPExcel_Reader_IReader
public boolean
# getIncludeCharts( )

Read charts in workbook? If this is true, then the Reader will include any charts that exist in the workbook. Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. If false (the default) it will ignore any charts defined in the workbook file.

Read charts in workbook? If this is true, then the Reader will include any charts that exist in the workbook. Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. If false (the default) it will ignore any charts defined in the workbook file.

Returns

boolean
public PHPExcel_Reader_IReader
# setIncludeCharts( boolean $pValue = FALSE )

Set read charts in workbook Set to true, to advise the Reader to include any charts that exist in the workbook. Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. Set to false (the default) to discard charts.

Set read charts in workbook Set to true, to advise the Reader to include any charts that exist in the workbook. Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. Set to false (the default) to discard charts.

Parameters

$pValue

Returns

PHPExcel_Reader_IReader
public 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.

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.

Returns

mixed
public PHPExcel_Reader_IReader
# setLoadSheetsOnly( mixed $value = NULL )

Set which sheets to load

Set which sheets to load

Parameters

$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

Returns

PHPExcel_Reader_IReader
public PHPExcel_Reader_IReader
# setLoadAllSheets( )

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

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

Returns

PHPExcel_Reader_IReader
public PHPExcel_Reader_IReadFilter
# getReadFilter( )

Read filter

Read filter

Returns

PHPExcel_Reader_IReadFilter
public PHPExcel_Reader_IReader
# setReadFilter( PHPExcel_Reader_IReadFilter $pValue )

Set read filter

Set read filter

Parameters

$pValue

Returns

PHPExcel_Reader_IReader
protected resource
# _openFile( string $pFilename )

Open file for reading

Open file for reading

Parameters

$pFilename

Returns

resource

Throws

PHPExcel_Reader_Exception
public boolean
# canRead( string $pFilename )

Can the current PHPExcel_Reader_IReader read the file?

Can the current PHPExcel_Reader_IReader read the file?

Parameters

$pFilename

Returns

boolean

Throws

PHPExcel_Reader_Exception

Implementation of

PHPExcel_Reader_IReader::canRead()
Methods inherited from PHPExcel_Reader_IReader
load()
Properties summary
protected boolean $_readDataOnly

Read data only? Identifies whether the Reader should only read data values for cells, and ignore any formatting information; or whether it should read both data and formatting

Read data only? Identifies whether the Reader should only read data values for cells, and ignore any formatting information; or whether it should read both data and formatting

# FALSE
protected boolean $_includeCharts

Read charts that are defined in the workbook? Identifies whether the Reader should read the definitions for any charts that exist in the workbook;

Read charts that are defined in the workbook? Identifies whether the Reader should read the definitions for any charts that exist in the workbook;

# FALSE
protected array $_loadSheetsOnly

Restrict which sheets should be loaded? This property holds an array of worksheet names to be loaded. If null, then all worksheets will be loaded.

Restrict which sheets should be loaded? This property holds an array of worksheet names to be loaded. If null, then all worksheets will be loaded.

# NULL
protected PHPExcel_Reader_IReadFilter $_readFilter

PHPExcel_Reader_IReadFilter instance

PHPExcel_Reader_IReadFilter instance

# NULL
protected $_fileHandle
# NULL
Autene API documentation generated by ApiGen