\PHPExcel_Shared_OLE_PPS

Class for creating PPS's for OLE containers

Summary

Methods
Properties
Constants
__construct()
_DataLen()
_getPpsWk()
_savePpsSetPnt()
$No
$Name
$Type
$PrevPps
$NextPps
$DirPps
$Time1st
$Time2nd
$_StartBlock
$Size
$_data
$children
$ole
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$No

$No : integer

The PPS index

Type

integer

$Name

$Name : string

The PPS name (in Unicode)

Type

string

$Type

$Type : integer

The PPS type. Dir, Root or File

Type

integer

$PrevPps

$PrevPps : integer

The index of the previous PPS

Type

integer

$NextPps

$NextPps : integer

The index of the next PPS

Type

integer

$DirPps

$DirPps : integer

The index of it's first child if this is a Dir or Root PPS

Type

integer

$Time1st

$Time1st : integer

A timestamp

Type

integer

$Time2nd

$Time2nd : integer

A timestamp

Type

integer

$_StartBlock

$_StartBlock : integer

Starting block (small or big) for this PPS's data inside the container

Type

integer

$Size

$Size : integer

The size of the PPS's data (in bytes)

Type

integer

$_data

$_data : string

The PPS's data (only used if it's not using a temporary file)

Type

string

$children

$children : array

Array of child PPS's (only used by Root and Dir PPS's)

Type

array

$ole

$ole : \OLE

Pointer to OLE container

Type

\OLE

Methods

__construct()

__construct(integer  $No, string  $name, integer  $type, integer  $prev, integer  $next, integer  $dir, integer  $time_1st, integer  $time_2nd, string  $data, array  $children) 

The constructor

Parameters

integer $No

The PPS index

string $name

The PPS name

integer $type

The PPS type. Dir, Root or File

integer $prev

The index of the previous PPS

integer $next

The index of the next PPS

integer $dir

The index of it's first child if this is a Dir or Root PPS

integer $time_1st

A timestamp

integer $time_2nd

A timestamp

string $data

The (usually binary) source data of the PPS

array $children

Array containing children PPS for this PPS

_DataLen()

_DataLen() : integer

Returns the amount of data saved for this PPS

Returns

integer —

The amount of data (in bytes)

_getPpsWk()

_getPpsWk() : string

Returns a string with the PPS's WK (What is a WK?)

Returns

string —

The binary string

_savePpsSetPnt()

_savePpsSetPnt(  $raList,   $to_save,   $depth) : integer

Updates index and pointers to previous, next and children PPS's for this PPS. I don't think it'll work with Dir PPS's.

Parameters

$raList
$to_save
$depth

Returns

integer —

The index for this PPS