OLE_PPS_TYPE_ROOT
OLE_PPS_TYPE_ROOT = 5
OLE package base class.
$_file_handle : resource
The file handle for reading an OLE container.
$_list : array
Array of PPS's found on the OLE container.
$root : \PhpOffice\PhpSpreadsheet\Shared\OLE\PPS\Root
Root directory of OLE container.
$bbat : array
Big Block Allocation Table.
$sbat : array
Short Block Allocation Table.
$bigBlockSize : int
Size of big blocks. This is usually 512.
$smallBlockSize : int
Size of small blocks. This is usually 64.
$bigBlockThreshold : int
Threshold for big blocks.
getStream(int|\PhpOffice\PhpSpreadsheet\Shared\OLE\PPS $blockIdOrPps) : resource
Returns a stream for use with fread() etc. External callers should use \PhpOffice\PhpSpreadsheet\Shared\OLE\PPS\File::getStream().
int|\PhpOffice\PhpSpreadsheet\Shared\OLE\PPS | $blockIdOrPps | block id or PPS |
read-only stream
getData(int $index, int $position, int $length) : string
Gets data from a PPS If there is no PPS for the index given, it will return an empty string.
int | $index | The index for the PPS |
int | $position | The position from which to start reading (relative to the PPS) |
int | $length | The amount of bytes to read (at most) |
The binary string containing the data requested
ppsTreeComplete(int $index) : bool
It checks whether the PPS tree is complete (all PPS's read) starting with the given PPS (not necessarily root).
int | $index | The index of the PPS from which we are checking |
Whether the PPS tree for the given PPS is complete