23 require_once(
'PEAR.php');
24 require_once(
'classes/OLE/OLE.php');
126 $this->PrevPps = $prev;
127 $this->NextPps = $next;
128 $this->DirPps =
$dir;
129 $this->Time1st = $time_1st;
130 $this->Time2nd = $time_2nd;
131 $this->_data =
$data;
134 $this->Size = strlen(
$data);
149 if (!isset($this->_data)) {
152 if (isset($this->_PPS_FILE))
154 fseek($this->_PPS_FILE, 0);
155 $stats = fstat($this->_PPS_FILE);
159 return strlen($this->_data);
172 for ($i = 0; $i < (64 - strlen($this->Name)); $i++) {
175 $ret .= pack(
"v", strlen($this->Name) + 2)
176 . pack(
"c", $this->Type)
178 . pack(
"V", $this->PrevPps)
179 . pack(
"V", $this->NextPps)
180 . pack(
"V", $this->DirPps)
188 . pack(
"V", isset($this->_StartBlock)?
189 $this->_StartBlock:0)
190 . pack(
"V", $this->Size)
206 $pps_array[count($pps_array)] = &$this;
207 $this->No = count($pps_array) - 1;
208 $this->PrevPps = 0xFFFFFFFF;
209 $this->NextPps = 0xFFFFFFFF;
210 if (count($this->children) > 0) {
211 $this->DirPps = $this->children[0]->_savePpsSetPnt($pps_array);
214 $this->DirPps = 0xFFFFFFFF;