ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
PHPExcel_Shared_OLE_PPS_Root Class Reference
+ Inheritance diagram for PHPExcel_Shared_OLE_PPS_Root:
+ Collaboration diagram for PHPExcel_Shared_OLE_PPS_Root:

Public Member Functions

 __construct ($time_1st, $time_2nd, $raChild)
 
 save ($filename)
 Method for saving the whole OLE container (including files). More...
 
 _calcSize (&$raList)
 Calculate some numbers. More...
 
 _saveHeader ($iSBDcnt, $iBBcnt, $iPPScnt)
 Save OLE header. More...
 
 _saveBigData ($iStBlk, &$raList)
 Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) More...
 
 _makeSmallData (&$raList)
 get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) More...
 
 _savePps (&$raList)
 Saves all the PPS's WKs. More...
 
 _saveBbd ($iSbdSize, $iBsize, $iPpsCnt)
 Saving Big Block Depot. More...
 
- Public Member Functions inherited from PHPExcel_Shared_OLE_PPS
 __construct ($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children)
 The constructor. More...
 
 _DataLen ()
 Returns the amount of data saved for this PPS. More...
 
 _getPpsWk ()
 Returns a string with the PPS's WK (What is a WK?) More...
 

Protected Attributes

 $_tmp_dir = NULL
 

Static Private Member Functions

static _adjust2 ($i2)
 Helper function for caculating a magic value for block sizes. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from PHPExcel_Shared_OLE_PPS
static _savePpsSetPnt (&$raList, $to_save, $depth=0)
 Updates index and pointers to previous, next and children PPS's for this PPS. More...
 
- Data Fields inherited from PHPExcel_Shared_OLE_PPS
 $No
 
 $Name
 
 $Type
 
 $PrevPps
 
 $NextPps
 
 $DirPps
 
 $Time1st
 
 $Time2nd
 
 $_StartBlock
 
 $Size
 
 $_data
 
 $children = array()
 
 $ole
 

Detailed Description

Definition at line 30 of file Root.php.

Constructor & Destructor Documentation

◆ __construct()

PHPExcel_Shared_OLE_PPS_Root::__construct (   $time_1st,
  $time_2nd,
  $raChild 
)
Parameters
integer$time_1stA timestamp
integer$time_2ndA timestamp

Definition at line 43 of file Root.php.

44 {
46
47 parent::__construct(
48 null,
49 PHPExcel_Shared_OLE::Asc2Ucs('Root Entry'),
51 null,
52 null,
53 null,
54 $time_1st,
55 $time_2nd,
56 null,
57 $raChild);
58 }
static sys_get_temp_dir()
Get the systems temporary directory.
Definition: File.php:135
static Asc2Ucs($ascii)
Utility function to transform ASCII text to Unicode.
Definition: OLE.php:446
const OLE_PPS_TYPE_ROOT
Definition: OLE.php:40

References PHPExcel_Shared_OLE\Asc2Ucs(), PHPExcel_Shared_OLE\OLE_PPS_TYPE_ROOT, and PHPExcel_Shared_File\sys_get_temp_dir().

+ Here is the call graph for this function:

Member Function Documentation

◆ _adjust2()

static PHPExcel_Shared_OLE_PPS_Root::_adjust2 (   $i2)
staticprivate

Helper function for caculating a magic value for block sizes.

@access public

Parameters
integer$i2The argument
See also
save()
Returns
integer

Definition at line 166 of file Root.php.

167 {
168 $iWk = log($i2)/log(2);
169 return ($iWk > floor($iWk))? floor($iWk)+1:$iWk;
170 }

◆ _calcSize()

PHPExcel_Shared_OLE_PPS_Root::_calcSize ( $raList)

Calculate some numbers.

@access public

Parameters
array$raListReference to an array of PPS's
Returns
array The array of numbers

Definition at line 127 of file Root.php.

128 {
129 // Calculate Basic Setting
130 list($iSBDcnt, $iBBcnt, $iPPScnt) = array(0,0,0);
131 $iSmallLen = 0;
132 $iSBcnt = 0;
133 $iCount = count($raList);
134 for ($i = 0; $i < $iCount; ++$i) {
135 if ($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE) {
136 $raList[$i]->Size = $raList[$i]->_DataLen();
137 if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) {
138 $iSBcnt += floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE)
139 + (($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)? 1: 0);
140 } else {
141 $iBBcnt += (floor($raList[$i]->Size / $this->_BIG_BLOCK_SIZE) +
142 (($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)? 1: 0));
143 }
144 }
145 }
146 $iSmallLen = $iSBcnt * $this->_SMALL_BLOCK_SIZE;
147 $iSlCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE);
148 $iSBDcnt = floor($iSBcnt / $iSlCnt) + (($iSBcnt % $iSlCnt)? 1:0);
149 $iBBcnt += (floor($iSmallLen / $this->_BIG_BLOCK_SIZE) +
150 (( $iSmallLen % $this->_BIG_BLOCK_SIZE)? 1: 0));
151 $iCnt = count($raList);
152 $iBdCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_PPS_SIZE;
153 $iPPScnt = (floor($iCnt/$iBdCnt) + (($iCnt % $iBdCnt)? 1: 0));
154
155 return array($iSBDcnt, $iBBcnt, $iPPScnt);
156 }
const OLE_DATA_SIZE_SMALL
Definition: OLE.php:43
const OLE_PPS_TYPE_FILE
Definition: OLE.php:42
const OLE_PPS_SIZE
Definition: OLE.php:45
const OLE_LONG_INT_SIZE
Definition: OLE.php:44
$i
Definition: disco.tpl.php:19

References $i, PHPExcel_Shared_OLE\OLE_DATA_SIZE_SMALL, PHPExcel_Shared_OLE\OLE_LONG_INT_SIZE, PHPExcel_Shared_OLE\OLE_PPS_SIZE, and PHPExcel_Shared_OLE\OLE_PPS_TYPE_FILE.

Referenced by save().

+ Here is the caller graph for this function:

◆ _makeSmallData()

PHPExcel_Shared_OLE_PPS_Root::_makeSmallData ( $raList)

get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)

@access public

Parameters
array&$raListReference to array of PPS's

Definition at line 307 of file Root.php.

308 {
309 $sRes = '';
310 $FILE = $this->_FILEH_;
311 $iSmBlk = 0;
312
313 $iCount = count($raList);
314 for ($i = 0; $i < $iCount; ++$i) {
315 // Make SBD, small data string
316 if ($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE) {
317 if ($raList[$i]->Size <= 0) {
318 continue;
319 }
320 if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) {
321 $iSmbCnt = floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE)
322 + (($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)? 1: 0);
323 // Add to SBD
324 $jB = $iSmbCnt - 1;
325 for ($j = 0; $j < $jB; ++$j) {
326 fwrite($FILE, pack("V", $j+$iSmBlk+1));
327 }
328 fwrite($FILE, pack("V", -2));
329
331 //if ($raList[$i]->_PPS_FILE) {
332 // fseek($raList[$i]->_PPS_FILE, 0); // To The Top
333 // while ($sBuff = fread($raList[$i]->_PPS_FILE, 4096)) {
334 // $sRes .= $sBuff;
335 // }
336 //} else {
337 $sRes .= $raList[$i]->_data;
338 //}
339 if ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE) {
340 $sRes .= str_repeat("\x00",$this->_SMALL_BLOCK_SIZE - ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE));
341 }
342 // Set for PPS
343 $raList[$i]->_StartBlock = $iSmBlk;
344 $iSmBlk += $iSmbCnt;
345 }
346 }
347 }
348 $iSbCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE);
349 if ($iSmBlk % $iSbCnt) {
350 $iB = $iSbCnt - ($iSmBlk % $iSbCnt);
351 for ($i = 0; $i < $iB; ++$i) {
352 fwrite($FILE, pack("V", -1));
353 }
354 }
355 return $sRes;
356 }

References $i, PHPExcel_Shared_OLE\OLE_DATA_SIZE_SMALL, PHPExcel_Shared_OLE\OLE_LONG_INT_SIZE, and PHPExcel_Shared_OLE\OLE_PPS_TYPE_FILE.

Referenced by save().

+ Here is the caller graph for this function:

◆ _saveBbd()

PHPExcel_Shared_OLE_PPS_Root::_saveBbd (   $iSbdSize,
  $iBsize,
  $iPpsCnt 
)

Saving Big Block Depot.

@access public

Parameters
integer$iSbdSize
integer$iBsize
integer$iPpsCnt

Definition at line 387 of file Root.php.

388 {
389 $FILE = $this->_FILEH_;
390 // Calculate Basic Setting
391 $iBbCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;
392 $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;
393
394 $iBdExL = 0;
395 $iAll = $iBsize + $iPpsCnt + $iSbdSize;
396 $iAllW = $iAll;
397 $iBdCntW = floor($iAllW / $iBbCnt) + (($iAllW % $iBbCnt)? 1: 0);
398 $iBdCnt = floor(($iAll + $iBdCntW) / $iBbCnt) + ((($iAllW+$iBdCntW) % $iBbCnt)? 1: 0);
399 // Calculate BD count
400 if ($iBdCnt >$i1stBdL) {
401 while (1) {
402 ++$iBdExL;
403 ++$iAllW;
404 $iBdCntW = floor($iAllW / $iBbCnt) + (($iAllW % $iBbCnt)? 1: 0);
405 $iBdCnt = floor(($iAllW + $iBdCntW) / $iBbCnt) + ((($iAllW+$iBdCntW) % $iBbCnt)? 1: 0);
406 if ($iBdCnt <= ($iBdExL*$iBbCnt+ $i1stBdL)) {
407 break;
408 }
409 }
410 }
411
412 // Making BD
413 // Set for SBD
414 if ($iSbdSize > 0) {
415 for ($i = 0; $i < ($iSbdSize - 1); ++$i) {
416 fwrite($FILE, pack("V", $i+1));
417 }
418 fwrite($FILE, pack("V", -2));
419 }
420 // Set for B
421 for ($i = 0; $i < ($iBsize - 1); ++$i) {
422 fwrite($FILE, pack("V", $i+$iSbdSize+1));
423 }
424 fwrite($FILE, pack("V", -2));
425
426 // Set for PPS
427 for ($i = 0; $i < ($iPpsCnt - 1); ++$i) {
428 fwrite($FILE, pack("V", $i+$iSbdSize+$iBsize+1));
429 }
430 fwrite($FILE, pack("V", -2));
431 // Set for BBD itself ( 0xFFFFFFFD : BBD)
432 for ($i = 0; $i < $iBdCnt; ++$i) {
433 fwrite($FILE, pack("V", 0xFFFFFFFD));
434 }
435 // Set for ExtraBDList
436 for ($i = 0; $i < $iBdExL; ++$i) {
437 fwrite($FILE, pack("V", 0xFFFFFFFC));
438 }
439 // Adjust for Block
440 if (($iAllW + $iBdCnt) % $iBbCnt) {
441 $iBlock = ($iBbCnt - (($iAllW + $iBdCnt) % $iBbCnt));
442 for ($i = 0; $i < $iBlock; ++$i) {
443 fwrite($FILE, pack("V", -1));
444 }
445 }
446 // Extra BDList
447 if ($iBdCnt > $i1stBdL) {
448 $iN=0;
449 $iNb=0;
450 for ($i = $i1stBdL;$i < $iBdCnt; $i++, ++$iN) {
451 if ($iN >= ($iBbCnt - 1)) {
452 $iN = 0;
453 ++$iNb;
454 fwrite($FILE, pack("V", $iAll+$iBdCnt+$iNb));
455 }
456 fwrite($FILE, pack("V", $iBsize+$iSbdSize+$iPpsCnt+$i));
457 }
458 if (($iBdCnt-$i1stBdL) % ($iBbCnt-1)) {
459 $iB = ($iBbCnt - 1) - (($iBdCnt - $i1stBdL) % ($iBbCnt - 1));
460 for ($i = 0; $i < $iB; ++$i) {
461 fwrite($FILE, pack("V", -1));
462 }
463 }
464 fwrite($FILE, pack("V", -2));
465 }
466 }

References $i, and PHPExcel_Shared_OLE\OLE_LONG_INT_SIZE.

Referenced by save().

+ Here is the caller graph for this function:

◆ _saveBigData()

PHPExcel_Shared_OLE_PPS_Root::_saveBigData (   $iStBlk,
$raList 
)

Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)

@access public

Parameters
integer$iStBlk
array&$raListReference to array of PPS's

Definition at line 258 of file Root.php.

259 {
260 $FILE = $this->_FILEH_;
261
262 // cycle through PPS's
263 $iCount = count($raList);
264 for ($i = 0; $i < $iCount; ++$i) {
265 if ($raList[$i]->Type != PHPExcel_Shared_OLE::OLE_PPS_TYPE_DIR) {
266 $raList[$i]->Size = $raList[$i]->_DataLen();
267 if (($raList[$i]->Size >= PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) ||
268 (($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_ROOT) && isset($raList[$i]->_data)))
269 {
270 // Write Data
271 //if (isset($raList[$i]->_PPS_FILE)) {
272 // $iLen = 0;
273 // fseek($raList[$i]->_PPS_FILE, 0); // To The Top
274 // while($sBuff = fread($raList[$i]->_PPS_FILE, 4096)) {
275 // $iLen += strlen($sBuff);
276 // fwrite($FILE, $sBuff);
277 // }
278 //} else {
279 fwrite($FILE, $raList[$i]->_data);
280 //}
281
282 if ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE) {
283 fwrite($FILE, str_repeat("\x00", $this->_BIG_BLOCK_SIZE - ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)));
284 }
285 // Set For PPS
286 $raList[$i]->_StartBlock = $iStBlk;
287 $iStBlk +=
288 (floor($raList[$i]->Size / $this->_BIG_BLOCK_SIZE) +
289 (($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)? 1: 0));
290 }
291 // Close file for each PPS, and unlink it
292 //if (isset($raList[$i]->_PPS_FILE)) {
293 // fclose($raList[$i]->_PPS_FILE);
294 // $raList[$i]->_PPS_FILE = null;
295 // unlink($raList[$i]->_tmp_filename);
296 //}
297 }
298 }
299 }
const OLE_PPS_TYPE_DIR
Definition: OLE.php:41

References $i, PHPExcel_Shared_OLE\OLE_DATA_SIZE_SMALL, PHPExcel_Shared_OLE\OLE_PPS_TYPE_DIR, and PHPExcel_Shared_OLE\OLE_PPS_TYPE_ROOT.

Referenced by save().

+ Here is the caller graph for this function:

◆ _saveHeader()

PHPExcel_Shared_OLE_PPS_Root::_saveHeader (   $iSBDcnt,
  $iBBcnt,
  $iPPScnt 
)

Save OLE header.

@access public

Parameters
integer$iSBDcnt
integer$iBBcnt
integer$iPPScnt

Definition at line 180 of file Root.php.

181 {
182 $FILE = $this->_FILEH_;
183
184 // Calculate Basic Setting
185 $iBlCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;
186 $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;
187
188 $iBdExL = 0;
189 $iAll = $iBBcnt + $iPPScnt + $iSBDcnt;
190 $iAllW = $iAll;
191 $iBdCntW = floor($iAllW / $iBlCnt) + (($iAllW % $iBlCnt)? 1: 0);
192 $iBdCnt = floor(($iAll + $iBdCntW) / $iBlCnt) + ((($iAllW+$iBdCntW) % $iBlCnt)? 1: 0);
193
194 // Calculate BD count
195 if ($iBdCnt > $i1stBdL) {
196 while (1) {
197 ++$iBdExL;
198 ++$iAllW;
199 $iBdCntW = floor($iAllW / $iBlCnt) + (($iAllW % $iBlCnt)? 1: 0);
200 $iBdCnt = floor(($iAllW + $iBdCntW) / $iBlCnt) + ((($iAllW+$iBdCntW) % $iBlCnt)? 1: 0);
201 if ($iBdCnt <= ($iBdExL*$iBlCnt+ $i1stBdL)) {
202 break;
203 }
204 }
205 }
206
207 // Save Header
208 fwrite($FILE,
209 "\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1"
210 . "\x00\x00\x00\x00"
211 . "\x00\x00\x00\x00"
212 . "\x00\x00\x00\x00"
213 . "\x00\x00\x00\x00"
214 . pack("v", 0x3b)
215 . pack("v", 0x03)
216 . pack("v", -2)
217 . pack("v", 9)
218 . pack("v", 6)
219 . pack("v", 0)
220 . "\x00\x00\x00\x00"
221 . "\x00\x00\x00\x00"
222 . pack("V", $iBdCnt)
223 . pack("V", $iBBcnt+$iSBDcnt) //ROOT START
224 . pack("V", 0)
225 . pack("V", 0x1000)
226 . pack("V", $iSBDcnt ? 0 : -2) //Small Block Depot
227 . pack("V", $iSBDcnt)
228 );
229 // Extra BDList Start, Count
230 if ($iBdCnt < $i1stBdL) {
231 fwrite($FILE,
232 pack("V", -2) // Extra BDList Start
233 . pack("V", 0) // Extra BDList Count
234 );
235 } else {
236 fwrite($FILE, pack("V", $iAll+$iBdCnt) . pack("V", $iBdExL));
237 }
238
239 // BDList
240 for ($i = 0; $i < $i1stBdL && $i < $iBdCnt; ++$i) {
241 fwrite($FILE, pack("V", $iAll+$i));
242 }
243 if ($i < $i1stBdL) {
244 $jB = $i1stBdL - $i;
245 for ($j = 0; $j < $jB; ++$j) {
246 fwrite($FILE, (pack("V", -1)));
247 }
248 }
249 }

References $i, and PHPExcel_Shared_OLE\OLE_LONG_INT_SIZE.

Referenced by save().

+ Here is the caller graph for this function:

◆ _savePps()

PHPExcel_Shared_OLE_PPS_Root::_savePps ( $raList)

Saves all the PPS's WKs.

@access public

Parameters
array$raListReference to an array with all PPS's

Definition at line 364 of file Root.php.

365 {
366 // Save each PPS WK
367 $iC = count($raList);
368 for ($i = 0; $i < $iC; ++$i) {
369 fwrite($this->_FILEH_, $raList[$i]->_getPpsWk());
370 }
371 // Adjust for Block
372 $iCnt = count($raList);
373 $iBCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_PPS_SIZE;
374 if ($iCnt % $iBCnt) {
375 fwrite($this->_FILEH_, str_repeat("\x00",($iBCnt - ($iCnt % $iBCnt)) * PHPExcel_Shared_OLE::OLE_PPS_SIZE));
376 }
377 }
_getPpsWk()
Returns a string with the PPS's WK (What is a WK?)
Definition: PPS.php:170

References $i, PHPExcel_Shared_OLE_PPS\_getPpsWk(), and PHPExcel_Shared_OLE\OLE_PPS_SIZE.

Referenced by save().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

PHPExcel_Shared_OLE_PPS_Root::save (   $filename)

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.

Parameters
string | resource$filenameThe name of the file or stream where to save the OLE container. @access public
Returns
mixed true on success

Definition at line 71 of file Root.php.

72 {
73 // Initial Setting for saving
74 $this->_BIG_BLOCK_SIZE = pow(2,
75 ((isset($this->_BIG_BLOCK_SIZE))? self::_adjust2($this->_BIG_BLOCK_SIZE) : 9));
76 $this->_SMALL_BLOCK_SIZE= pow(2,
77 ((isset($this->_SMALL_BLOCK_SIZE))? self::_adjust2($this->_SMALL_BLOCK_SIZE): 6));
78
79 if (is_resource($filename)) {
80 $this->_FILEH_ = $filename;
81 } else if ($filename == '-' || $filename == '') {
82 if ($this->_tmp_dir === NULL)
84 $this->_tmp_filename = tempnam($this->_tmp_dir, "OLE_PPS_Root");
85 $this->_FILEH_ = fopen($this->_tmp_filename,"w+b");
86 if ($this->_FILEH_ == false) {
87 throw new PHPExcel_Writer_Exception("Can't create temporary file.");
88 }
89 } else {
90 $this->_FILEH_ = fopen($filename, "wb");
91 }
92 if ($this->_FILEH_ == false) {
93 throw new PHPExcel_Writer_Exception("Can't open $filename. It may be in use or protected.");
94 }
95 // Make an array of PPS's (for Save)
96 $aList = array();
97 PHPExcel_Shared_OLE_PPS::_savePpsSetPnt($aList, array($this));
98 // calculate values for header
99 list($iSBDcnt, $iBBcnt, $iPPScnt) = $this->_calcSize($aList); //, $rhInfo);
100 // Save Header
101 $this->_saveHeader($iSBDcnt, $iBBcnt, $iPPScnt);
102
103 // Make Small Data string (write SBD)
104 $this->_data = $this->_makeSmallData($aList);
105
106 // Write BB
107 $this->_saveBigData($iSBDcnt, $aList);
108 // Write PPS
109 $this->_savePps($aList);
110 // Write Big Block Depot and BDList and Adding Header informations
111 $this->_saveBbd($iSBDcnt, $iBBcnt, $iPPScnt);
112
113 if (!is_resource($filename)) {
114 fclose($this->_FILEH_);
115 }
116
117 return true;
118 }
_saveBigData($iStBlk, &$raList)
Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)
Definition: Root.php:258
_savePps(&$raList)
Saves all the PPS's WKs.
Definition: Root.php:364
_calcSize(&$raList)
Calculate some numbers.
Definition: Root.php:127
_saveHeader($iSBDcnt, $iBBcnt, $iPPScnt)
Save OLE header.
Definition: Root.php:180
_saveBbd($iSbdSize, $iBsize, $iPpsCnt)
Saving Big Block Depot.
Definition: Root.php:387
_makeSmallData(&$raList)
get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)
Definition: Root.php:307
static _savePpsSetPnt(&$raList, $to_save, $depth=0)
Updates index and pointers to previous, next and children PPS's for this PPS.
Definition: PPS.php:203

References $filename, _calcSize(), _makeSmallData(), _saveBbd(), _saveBigData(), _saveHeader(), _savePps(), PHPExcel_Shared_OLE_PPS\_savePpsSetPnt(), and PHPExcel_Shared_File\sys_get_temp_dir().

+ Here is the call graph for this function:

Field Documentation

◆ $_tmp_dir

PHPExcel_Shared_OLE_PPS_Root::$_tmp_dir = NULL
protected

Definition at line 37 of file Root.php.


The documentation for this class was generated from the following file: