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_Shared_OLE
  • PHPExcel_Shared_OLE_ChainedBlockStream
  • PHPExcel_Shared_OLE_PPS
  • PHPExcel_Shared_OLE_PPS_File
  • PHPExcel_Shared_OLE_PPS_Root
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Shared_OLE_ChainedBlockStream

PHPExcel_Shared_OLE_ChainedBlockStream

Stream wrapper for reading data stored in an OLE file. Implements methods for PHP's stream_wrapper_register(). For creating streams using this wrapper, use PHPExcel_Shared_OLE_PPS_File::getStream().

Package: PHPExcel\Shared\OLE
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2007 Christian Schmidt
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Shared/OLE/ChainedBlockStream.php
Methods summary
public boolean
# stream_open( string $path, string $mode, integer $options, string & $openedPath )

Implements support for fopen(). For creating streams using this wrapper, use OLE_PPS_File::getStream().

Implements support for fopen(). For creating streams using this wrapper, use OLE_PPS_File::getStream().

Parameters

$path

resource name including scheme, e.g. ole-chainedblockstream://oleInstanceId=1

$mode
only "r" is supported
$options
mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH
$openedPath
$openedPath absolute path of the opened stream (out parameter)

Returns

boolean
true on success
public
# stream_close( )

Implements support for fclose().

Implements support for fclose().

public string
# stream_read( integer $count )

Implements support for fread(), fgets() etc.

Implements support for fread(), fgets() etc.

Parameters

$count
maximum number of bytes to read

Returns

string
public boolean
# stream_eof( )

Implements support for feof().

Implements support for feof().

Returns

boolean
TRUE if the file pointer is at EOF; otherwise FALSE
public integer
# stream_tell( )

Returns the position of the file pointer, i.e. its offset into the file stream. Implements support for ftell().

Returns the position of the file pointer, i.e. its offset into the file stream. Implements support for ftell().

Returns

integer
public boolean
# stream_seek( integer $offset, integer $whence )

Implements support for fseek().

Implements support for fseek().

Parameters

$offset
byte offset
$whence
SEEK_SET, SEEK_CUR or SEEK_END

Returns

boolean
public array
# stream_stat( )

Implements support for fstat(). Currently the only supported field is "size".

Implements support for fstat(). Currently the only supported field is "size".

Returns

array
Properties summary
public OLE $ole

The OLE container of the file that is being read.

The OLE container of the file that is being read.

#
public array $params

Parameters specified by fopen().

Parameters specified by fopen().

#
public string $data

The binary data of the file.

The binary data of the file.

#
public integer $pos

The file pointer.

The file pointer.

#
Autene API documentation generated by ApiGen