class PHPExcel_Shared_OLE_PPS_File extends PHPExcel_Shared_OLE_PPS

Class for creating File PPS's for OLE containers

Properties

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

Methods

__construct(string $name)

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.

mixed
init()

Initialization method. Has to be called right after OLEPPSFile().

append(string $data)

Append data to PPS

resource
getStream()

Returns a stream for reading this file using fread() etc.

Details

at line 48
__construct(string $name)

The constructor

Parameters

string $name The PPS name

See also

OLE::Asc2Ucs()

integer _DataLen()

Returns the amount of data saved for this PPS

Return Value

integer The amount of data (in bytes)

string _getPpsWk()

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

Return Value

string The binary string

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

at line 59
mixed init()

Initialization method. Has to be called right after OLEPPSFile().

Return Value

mixed true on success

at line 70
append(string $data)

Append data to PPS

Parameters

string $data The data to append

at line 79
resource getStream()

Returns a stream for reading this file using fread() etc.

Return Value

resource a read-only stream