| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 238 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Spreadsheet_Excel_Writer_BIFFwriter:: (7 methods):
Spreadsheet_Excel_Writer_BIFFwriter()
_setByteOrder()
_prepend()
_append()
_storeBof()
_storeEof()
_addContinue()
Class: Spreadsheet_Excel_Writer_BIFFwriter - X-Ref
Class for writing Excel BIFF records.| Spreadsheet_Excel_Writer_BIFFwriter() X-Ref |
| Constructor |
| _setByteOrder() X-Ref |
| Determine the byte order and store it as class data to avoid recalculating it for each call to new(). |
| _prepend($data) X-Ref |
| General storage function param: string $data binary data to prepend |
| _append($data) X-Ref |
| General storage function param: string $data binary data to append |
| _storeBof($type) X-Ref |
| Writes Excel BOF record to indicate the beginning of a stream or sub-stream in the BIFF file. param: integer $type Type of BIFF file to write: 0x0005 Workbook, |
| _storeEof() X-Ref |
| Writes Excel EOF record to indicate the end of a BIFF stream. |
| _addContinue($data) X-Ref |
| Excel limits the size of BIFF records. In Excel 5 the limit is 2084 bytes. In Excel 97 the limit is 8228 bytes. Records that are longer than these limits must be split up into CONTINUE blocks. This function takes a long BIFF record and inserts CONTINUE records as necessary. param: string $data The original binary data to be written return: string A very convenient string of continue blocks |
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |