ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct () | |
Constructor. | |
_append ($data) | |
General storage function. | |
writeData ($data) | |
General storage function like _append, but returns string instead of modifying $this->_data. | |
_storeBof ($type) | |
Writes Excel BOF record to indicate the beginning of a stream or sub-stream in the BIFF file. | |
_storeEof () | |
Writes Excel EOF record to indicate the end of a BIFF stream. | |
writeEof () | |
Writes Excel EOF record to indicate the end of a BIFF stream. | |
_addContinue ($data) | |
Excel limits the size of BIFF records. |
Static Public Member Functions | |
static | getByteOrder () |
Determine the byte order and store it as class data to avoid recalculating it for each call to new(). |
Data Fields | |
$_BIFF_version = 0x0500 | |
$_data | |
$_datasize | |
$_limit |
Static Private Attributes | |
static | $_byte_order |
Definition at line 70 of file BIFFwriter.php.
PHPExcel_Writer_Excel5_BIFFwriter::__construct | ( | ) |
Constructor.
Definition at line 106 of file BIFFwriter.php.
Referenced by PHPExcel_Writer_Excel5_Workbook\__construct(), and PHPExcel_Writer_Excel5_Worksheet\__construct().
PHPExcel_Writer_Excel5_BIFFwriter::_addContinue | ( | $data | ) |
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.
string | $data | The original binary data to be written |
Definition at line 244 of file BIFFwriter.php.
References $_limit, and $data.
Referenced by _append(), and writeData().
PHPExcel_Writer_Excel5_BIFFwriter::_append | ( | $data | ) |
General storage function.
string | $data | binary data to append private |
Definition at line 146 of file BIFFwriter.php.
References $data, and _addContinue().
Referenced by _storeBof(), _storeEof(), PHPExcel_Writer_Excel5_Workbook\_writeAllFonts(), PHPExcel_Writer_Excel5_Workbook\_writeAllXfs(), PHPExcel_Writer_Excel5_Worksheet\_writeBlank(), PHPExcel_Writer_Excel5_Worksheet\_writeBoolErr(), PHPExcel_Writer_Excel5_Worksheet\_writeFormula(), PHPExcel_Writer_Excel5_Worksheet\_writeLabel(), PHPExcel_Writer_Excel5_Worksheet\_writeLabelSst(), PHPExcel_Writer_Excel5_Worksheet\_writeNote(), PHPExcel_Writer_Excel5_Worksheet\_writeNumber(), PHPExcel_Writer_Excel5_Worksheet\_writeStringRecord(), PHPExcel_Writer_Excel5_Worksheet\_writeUrlInternal(), and PHPExcel_Writer_Excel5_Worksheet\_writeUrlWeb().
PHPExcel_Writer_Excel5_BIFFwriter::_storeBof | ( | $type | ) |
Writes Excel BOF record to indicate the beginning of a stream or sub-stream in the BIFF file.
integer | $type | Type of BIFF file to write: 0x0005 Workbook, 0x0010 Worksheet. private |
Definition at line 179 of file BIFFwriter.php.
References $_BIFF_version, $data, $type, and _append().
Referenced by PHPExcel_Writer_Excel5_Worksheet\close(), and PHPExcel_Writer_Excel5_Workbook\writeWorkbook().
PHPExcel_Writer_Excel5_BIFFwriter::_storeEof | ( | ) |
Writes Excel EOF record to indicate the end of a BIFF stream.
private
Definition at line 211 of file BIFFwriter.php.
References _append().
Referenced by PHPExcel_Writer_Excel5_Worksheet\close().
|
static |
Determine the byte order and store it as class data to avoid recalculating it for each call to new().
Definition at line 119 of file BIFFwriter.php.
References $_byte_order.
Referenced by PHPExcel_Writer_Excel5_Parser\_convertNumber(), PHPExcel_Writer_Excel5_Worksheet\_writeMarginBottom(), PHPExcel_Writer_Excel5_Worksheet\_writeMarginLeft(), PHPExcel_Writer_Excel5_Worksheet\_writeMarginRight(), PHPExcel_Writer_Excel5_Worksheet\_writeMarginTop(), PHPExcel_Writer_Excel5_Worksheet\_writeNumber(), and PHPExcel_Writer_Excel5_Worksheet\_writeSetup().
PHPExcel_Writer_Excel5_BIFFwriter::writeData | ( | $data | ) |
General storage function like _append, but returns string instead of modifying $this->_data.
string | $data | binary data to write |
Definition at line 161 of file BIFFwriter.php.
References $data, and _addContinue().
Referenced by writeEof().
PHPExcel_Writer_Excel5_BIFFwriter::writeEof | ( | ) |
Writes Excel EOF record to indicate the end of a BIFF stream.
private
Definition at line 224 of file BIFFwriter.php.
References writeData().
Referenced by PHPExcel_Writer_Excel5_Workbook\writeWorkbook().
PHPExcel_Writer_Excel5_BIFFwriter::$_BIFF_version = 0x0500 |
Definition at line 76 of file BIFFwriter.php.
Referenced by _storeBof().
|
staticprivate |
Definition at line 82 of file BIFFwriter.php.
Referenced by getByteOrder().
PHPExcel_Writer_Excel5_BIFFwriter::$_data |
Definition at line 88 of file BIFFwriter.php.
Referenced by PHPExcel_Writer_Excel5_Worksheet\getData(), and PHPExcel_Writer_Excel5_Workbook\writeWorkbook().
PHPExcel_Writer_Excel5_BIFFwriter::$_datasize |
Definition at line 94 of file BIFFwriter.php.
Referenced by PHPExcel_Writer_Excel5_Workbook\_calcSheetOffsets().
PHPExcel_Writer_Excel5_BIFFwriter::$_limit |
Definition at line 101 of file BIFFwriter.php.
Referenced by _addContinue().