$No
$No : int
The PPS index.
Class for creating Root PPS's for OLE containers.
$No : int
The PPS index.
$Name : string
The PPS name (in Unicode).
$Type : int
The PPS type. Dir, Root or File.
$PrevPps : int
The index of the previous PPS.
$NextPps : int
The index of the next PPS.
$DirPps : int
The index of it's first child if this is a Dir or Root PPS.
$Time1st : int
A timestamp.
$Time2nd : int
A timestamp.
$startBlock : int
Starting block (small or big) for this PPS's data inside the container.
$Size : int
The size of the PPS's data (in bytes).
$_data : string
The PPS's data (only used if it's not using a temporary file).
$children : array
Array of child PPS's (only used by Root and Dir PPS's).
$ole : \PhpOffice\PhpSpreadsheet\Shared\OLE
Pointer to OLE container.
$fileHandle : resource
$smallBlockSize : int
$bigBlockSize : int
savePpsSetPnt(array $raList, mixed $to_save, mixed $depth) : int
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.
array | $raList | Reference to the array of PPS's for the whole OLE container |
mixed | $to_save | |
mixed | $depth |
The index for this PPS
save(resource $fileHandle) : bool
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.
resource | $fileHandle | the name of the file or stream where to save the OLE container |
true on success