class PHPExcel_Shared_OLE_PPS

Class for creating PPS's for OLE containers

Properties

integer $No The PPS index
string $Name The PPS name (in Unicode)
integer $Type The PPS type. Dir, Root or File
integer $PrevPps The index of the previous PPS
integer $NextPps The index of the next PPS
integer $DirPps The index of it's first child if this is a Dir or Root PPS
integer $Time1st A timestamp
integer $Time2nd A timestamp
integer $_StartBlock Starting block (small or big) for this PPS's data inside the container
integer $Size The size of the PPS's data (in bytes)
string $_data The PPS's data (only used if it's not using a temporary file)
array $children Array of child PPS's (only used by Root and Dir PPS's)
OLE $ole Pointer to OLE container

Methods

__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

integer
_DataLen()

Returns the amount of data saved for this PPS

string
_getPpsWk()

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

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

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.

Details

at line 134
__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

at line 159
integer _DataLen()

Returns the amount of data saved for this PPS

Return Value

integer The amount of data (in bytes)

at line 179
string _getPpsWk()

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

Return Value

string The binary string

at line 212
static integer _savePpsSetPnt($raList, $to_save, $depth)

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

Return Value

integer The index for this PPS