|
ILIAS
eassessment Revision 61809
|
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). | |
| _calcSize (&$raList) | |
| Calculate some numbers. | |
| _saveHeader ($iSBDcnt, $iBBcnt, $iPPScnt) | |
| Save OLE header. | |
| _saveBigData ($iStBlk, &$raList) | |
| Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) | |
| _makeSmallData (&$raList) | |
| get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) | |
| _savePps (&$raList) | |
| Saves all the PPS's WKs. | |
| _saveBbd ($iSbdSize, $iBsize, $iPpsCnt) | |
| Saving Big Block Depot. | |
Public Member Functions inherited from PHPExcel_Shared_OLE_PPS | |
| __construct ($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children) | |
| The constructor. | |
| _DataLen () | |
| Returns the amount of data saved for this PPS. | |
| _getPpsWk () | |
| Returns a string with the PPS's WK (What is a WK?) | |
| _savePpsSetPnt (&$pps_array) | |
| Updates index and pointers to previous, next and children PPS's for this PPS. | |
Protected Attributes | |
| $_tmp_dir = '' | |
Static Private Member Functions | |
| static | _adjust2 ($i2) |
| Helper function for caculating a magic value for block sizes. | |
Additional Inherited Members | |
Data Fields inherited from PHPExcel_Shared_OLE_PPS | |
| $No | |
| $Name | |
| $Type | |
| $PrevPps | |
| $NextPps | |
| $DirPps | |
| $Time1st | |
| $Time2nd | |
| $_StartBlock | |
| $Size | |
| $_data | |
| $children = array() | |
| $ole | |
| PHPExcel_Shared_OLE_PPS_Root::__construct | ( | $time_1st, | |
| $time_2nd, | |||
| $raChild | |||
| ) |
| integer | $time_1st | A timestamp |
| integer | $time_2nd | A timestamp |
Definition at line 43 of file Root.php.
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:
|
staticprivate |
| PHPExcel_Shared_OLE_PPS_Root::_calcSize | ( | & | $raList | ) |
Calculate some numbers.
public
| array | $raList | Reference to an array of PPS's |
Definition at line 125 of file Root.php.
References PHPExcel_Shared_OLE\OLE_DATA_SIZE_SMALL, PHPExcel_Shared_OLE\OLE_LONG_INT_SIZE, OLE_PPS_SIZE, and PHPExcel_Shared_OLE\OLE_PPS_TYPE_FILE.
Referenced by save().
Here is the caller graph for this function:| PHPExcel_Shared_OLE_PPS_Root::_makeSmallData | ( | & | $raList | ) |
get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)
public
| array | &$raList | Reference to array of PPS's |
Definition at line 305 of file Root.php.
References 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:| PHPExcel_Shared_OLE_PPS_Root::_saveBbd | ( | $iSbdSize, | |
| $iBsize, | |||
| $iPpsCnt | |||
| ) |
Saving Big Block Depot.
public
| integer | $iSbdSize | |
| integer | $iBsize | |
| integer | $iPpsCnt |
Definition at line 385 of file Root.php.
References OLE_LONG_INT_SIZE, and PHPExcel_Shared_OLE\OLE_LONG_INT_SIZE.
Referenced by save().
Here is the caller graph for this function:| PHPExcel_Shared_OLE_PPS_Root::_saveBigData | ( | $iStBlk, | |
| & | $raList | ||
| ) |
Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)
public
| integer | $iStBlk | |
| array | &$raList | Reference to array of PPS's |
Definition at line 256 of file Root.php.
References 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:| PHPExcel_Shared_OLE_PPS_Root::_saveHeader | ( | $iSBDcnt, | |
| $iBBcnt, | |||
| $iPPScnt | |||
| ) |
Save OLE header.
public
| integer | $iSBDcnt | |
| integer | $iBBcnt | |
| integer | $iPPScnt |
Definition at line 178 of file Root.php.
References OLE_LONG_INT_SIZE, and PHPExcel_Shared_OLE\OLE_LONG_INT_SIZE.
Referenced by save().
Here is the caller graph for this function:| PHPExcel_Shared_OLE_PPS_Root::_savePps | ( | & | $raList | ) |
Saves all the PPS's WKs.
public
| array | $raList | Reference to an array with all PPS's |
Definition at line 362 of file Root.php.
References PHPExcel_Shared_OLE_PPS\_getPpsWk(), OLE_PPS_SIZE, 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:| 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.
| string | resource | $filename | The name of the file or stream where to save the OLE container. public |
Definition at line 71 of file Root.php.
References $filename, _calcSize(), _makeSmallData(), _saveBbd(), _saveBigData(), _saveHeader(), _savePps(), and PHPExcel_Shared_OLE_PPS\_savePpsSetPnt().
Here is the call graph for this function: