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_PPS_Root

Class for creating Root PPS's for OLE containers

PHPExcel_Shared_OLE_PPS
Extended by PHPExcel_Shared_OLE_PPS_Root
Package: PHPExcel\Shared\OLE
Category: PHPExcel
Author: Xavier Noguer xnoguer@php.net
Located at controlador/include/phpexcel/PHPExcel/Shared/OLE/PPS/Root.php
Methods summary
public
# __construct( integer $time_1st, integer $time_2nd, integer $raChild )

Parameters

$time_1st
A timestamp
$time_2nd
A timestamp
$raChild
$type The PPS type. Dir, Root or File

Overrides

PHPExcel_Shared_OLE_PPS::__construct()
public mixed
# save( string|resource $filename )

Method for saving the whole OLE container (including files). In fact, if called with an empty argument (or '-'), it saves to a temporary file and then outputs it's contents to stdout. If a resource pointer to a stream created by fopen() is passed it will be used, but you have to close such stream by yourself.

Method for saving the whole OLE container (including files). In fact, if called with an empty argument (or '-'), it saves to a temporary file and then outputs it's contents to stdout. If a resource pointer to a stream created by fopen() is passed it will be used, but you have to close such stream by yourself.

Parameters

$filename
The name of the file or stream where to save the OLE container.

Returns

mixed
true on success
public array
# _calcSize( array & $raList )

Calculate some numbers

Calculate some numbers

Parameters

$raList
Reference to an array of PPS's

Returns

array
The array of numbers
private static integer
# _adjust2( integer $i2 )

Helper function for caculating a magic value for block sizes

Helper function for caculating a magic value for block sizes

Parameters

$i2
The argument

Returns

integer

See

PHPExcel_Shared_OLE_PPS_Root::save()
public
# _saveHeader( integer $iSBDcnt, integer $iBBcnt, integer $iPPScnt )

Save OLE header

Save OLE header

Parameters

$iSBDcnt
$iBBcnt
$iPPScnt
public
# _saveBigData( integer $iStBlk, array & $raList )

Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)

Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)

Parameters

$iStBlk
$raList
$raList Reference to array of PPS's
public
# _makeSmallData( array & $raList )

get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)

get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)

Parameters

$raList
$raList Reference to array of PPS's
public
# _savePps( array & $raList )

Saves all the PPS's WKs

Saves all the PPS's WKs

Parameters

$raList
Reference to an array with all PPS's
public
# _saveBbd( integer $iSbdSize, integer $iBsize, integer $iPpsCnt )

Saving Big Block Depot

Saving Big Block Depot

Parameters

$iSbdSize
$iBsize
$iPpsCnt
Methods inherited from PHPExcel_Shared_OLE_PPS
_DataLen(), _getPpsWk(), _savePpsSetPnt()
Properties summary
protected string $_tmp_dir

Directory for temporary files

Directory for temporary files

# NULL
Properties inherited from PHPExcel_Shared_OLE_PPS
$DirPps, $Name, $NextPps, $No, $PrevPps, $Size, $Time1st, $Time2nd, $Type, $_StartBlock, $_data, $children, $ole
Autene API documentation generated by ApiGen