| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 209 lines (7 kb) |
| Included or required: | 3 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
BIFFWriter:: (7 methods):
BIFFwriter()
_set_byte_order()
_prepend()
_append()
_store_bof()
_store_eof()
_add_continue()
Class: BIFFWriter - X-Ref
Class for writing Excel BIFF records.| BIFFwriter() X-Ref |
| Constructor |
| _set_byte_order() 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 |
| _store_bof($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, 0x0010 Worksheet. |
| _store_eof() X-Ref |
| Writes Excel EOF record to indicate the end of a BIFF stream. |
| _add_continue($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 |