ILIAS
Release_4_0_x_branch Revision 61816
|
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(), PHPExcel_Writer_Excel5_Worksheet\_append(), and writeData().
PHPExcel_Writer_Excel5_BIFFwriter::_append | ( | $data | ) |
General storage function.
string | $data | binary data to append private |
Reimplemented in PHPExcel_Writer_Excel5_Worksheet.
Definition at line 146 of file BIFFwriter.php.
References $data, and _addContinue().
Referenced by PHPExcel_Writer_Excel5_Workbook\_storeAllFonts(), PHPExcel_Writer_Excel5_Workbook\_storeAllXfs(), _storeBof(), PHPExcel_Writer_Excel5_Workbook\_storeBoundsheet(), PHPExcel_Writer_Excel5_Workbook\_storeCodepage(), PHPExcel_Writer_Excel5_Workbook\_storeDatemode(), _storeEof(), PHPExcel_Writer_Excel5_Workbook\_storeExterncount(), PHPExcel_Writer_Excel5_Workbook\_storeExternsheet(), PHPExcel_Writer_Excel5_Workbook\_storeNameLong(), PHPExcel_Writer_Excel5_Workbook\_storeNameShort(), PHPExcel_Writer_Excel5_Workbook\_storeNumFormat(), PHPExcel_Writer_Excel5_Workbook\_storePalette(), PHPExcel_Writer_Excel5_Workbook\_storeStyle(), and PHPExcel_Writer_Excel5_Workbook\_storeWindow1().
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, _append(), and elseif().
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, and elseif().
Referenced by PHPExcel_Writer_Excel5_Parser\_convertNumber(), PHPExcel_Writer_Excel5_Worksheet\_storeMarginBottom(), PHPExcel_Writer_Excel5_Worksheet\_storeMarginLeft(), PHPExcel_Writer_Excel5_Worksheet\_storeMarginRight(), PHPExcel_Writer_Excel5_Worksheet\_storeMarginTop(), PHPExcel_Writer_Excel5_Worksheet\_storeSetup(), and PHPExcel_Writer_Excel5_Worksheet\_writeNumber().
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 PHPExcel_Writer_Excel5_Workbook\_writeAllDefinedNamesBiff8(), PHPExcel_Writer_Excel5_Workbook\_writeCountry(), PHPExcel_Writer_Excel5_Workbook\_writeExternsheetBiff8(), PHPExcel_Writer_Excel5_Workbook\_writeMsoDrawingGroup(), PHPExcel_Writer_Excel5_Workbook\_writeRecalcId(), PHPExcel_Writer_Excel5_Workbook\_writeSharedStringsTable(), PHPExcel_Writer_Excel5_Workbook\_writeSupbookInternal(), and 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().