ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct () | |
Constructor. More... | |
_append ($data) | |
General storage function. More... | |
writeData ($data) | |
General storage function like _append, but returns string instead of modifying $this->_data. More... | |
_storeBof ($type) | |
Writes Excel BOF record to indicate the beginning of a stream or sub-stream in the BIFF file. More... | |
_storeEof () | |
Writes Excel EOF record to indicate the end of a BIFF stream. More... | |
writeEof () | |
Writes Excel EOF record to indicate the end of a BIFF stream. More... | |
_addContinue ($data) | |
Excel limits the size of BIFF records. More... | |
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(). More... | |
Data Fields | |
$_data | |
$_datasize | |
$_limit = 8224 | |
Static Private Attributes | |
static | $_byte_order |
Definition at line 70 of file BIFFwriter.php.
PHPExcel_Writer_Excel5_BIFFwriter::__construct | ( | ) |
Constructor.
Definition at line 100 of file BIFFwriter.php.
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 229 of file BIFFwriter.php.
References $_limit, $data, $header, and $i.
Referenced by _append(), and writeData().
PHPExcel_Writer_Excel5_BIFFwriter::_append | ( | $data | ) |
General storage function.
string | $data | binary data to append private |
Definition at line 139 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\_writeAutoFilterInfo(), PHPExcel_Writer_Excel5_Worksheet\_writeBlank(), PHPExcel_Writer_Excel5_Worksheet\_writeBoolErr(), PHPExcel_Writer_Excel5_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel5_Worksheet\_writeCFHeader(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), PHPExcel_Writer_Excel5_Worksheet\_writeColinfo(), PHPExcel_Writer_Excel5_Worksheet\_writeDataValidity(), PHPExcel_Writer_Excel5_Worksheet\_writeDefaultRowHeight(), PHPExcel_Writer_Excel5_Worksheet\_writeDefcol(), PHPExcel_Writer_Excel5_Worksheet\_writeDimensions(), PHPExcel_Writer_Excel5_Worksheet\_writeExterncount(), PHPExcel_Writer_Excel5_Worksheet\_writeExternsheet(), PHPExcel_Writer_Excel5_Worksheet\_writeFooter(), PHPExcel_Writer_Excel5_Worksheet\_writeFormula(), PHPExcel_Writer_Excel5_Worksheet\_writeGridset(), PHPExcel_Writer_Excel5_Worksheet\_writeGuts(), PHPExcel_Writer_Excel5_Worksheet\_writeHcenter(), PHPExcel_Writer_Excel5_Worksheet\_writeHeader(), PHPExcel_Writer_Excel5_Worksheet\_writeLabel(), PHPExcel_Writer_Excel5_Worksheet\_writeLabelSst(), PHPExcel_Writer_Excel5_Worksheet\_writeMarginBottom(), PHPExcel_Writer_Excel5_Worksheet\_writeMarginLeft(), PHPExcel_Writer_Excel5_Worksheet\_writeMarginRight(), PHPExcel_Writer_Excel5_Worksheet\_writeMarginTop(), PHPExcel_Writer_Excel5_Worksheet\_writeMergedCells(), PHPExcel_Writer_Excel5_Worksheet\_writeMsoDrawing(), PHPExcel_Writer_Excel5_Worksheet\_writeNote(), PHPExcel_Writer_Excel5_Worksheet\_writeNumber(), PHPExcel_Writer_Excel5_Worksheet\_writeObjectProtect(), PHPExcel_Writer_Excel5_Worksheet\_writeObjPicture(), PHPExcel_Writer_Excel5_Worksheet\_writePageLayoutView(), PHPExcel_Writer_Excel5_Worksheet\_writePanes(), PHPExcel_Writer_Excel5_Worksheet\_writePassword(), PHPExcel_Writer_Excel5_Worksheet\_writePrintGridlines(), PHPExcel_Writer_Excel5_Worksheet\_writePrintHeaders(), PHPExcel_Writer_Excel5_Worksheet\_writeProtect(), PHPExcel_Writer_Excel5_Worksheet\_writeRangeProtection(), PHPExcel_Writer_Excel5_Worksheet\_writeRichTextString(), PHPExcel_Writer_Excel5_Worksheet\_writeRow(), PHPExcel_Writer_Excel5_Worksheet\_writeScenProtect(), PHPExcel_Writer_Excel5_Worksheet\_writeSelection(), PHPExcel_Writer_Excel5_Worksheet\_writeSetup(), PHPExcel_Writer_Excel5_Worksheet\_writeSheetLayout(), PHPExcel_Writer_Excel5_Worksheet\_writeSheetProtection(), PHPExcel_Writer_Excel5_Worksheet\_writeStringRecord(), PHPExcel_Writer_Excel5_Worksheet\_writeUrlInternal(), PHPExcel_Writer_Excel5_Worksheet\_writeUrlWeb(), PHPExcel_Writer_Excel5_Worksheet\_writeVcenter(), PHPExcel_Writer_Excel5_Worksheet\_writeWindow2(), PHPExcel_Writer_Excel5_Worksheet\_writeWsbool(), PHPExcel_Writer_Excel5_Worksheet\_writeZoom(), and PHPExcel_Writer_Excel5_Worksheet\insertBitmap().
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 172 of file BIFFwriter.php.
References $data, $header, $type, $version, 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 195 of file BIFFwriter.php.
References $header, and _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 113 of file BIFFwriter.php.
Referenced by PHPExcel_Writer_Excel5_Parser\_convertNumber().
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 154 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 209 of file BIFFwriter.php.
References $header, and writeData().
Referenced by PHPExcel_Writer_Excel5_Workbook\writeWorkbook().
|
staticprivate |
Definition at line 76 of file BIFFwriter.php.
PHPExcel_Writer_Excel5_BIFFwriter::$_data |
Definition at line 82 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 88 of file BIFFwriter.php.
Referenced by PHPExcel_Writer_Excel5_Workbook\_calcSheetOffsets().
PHPExcel_Writer_Excel5_BIFFwriter::$_limit = 8224 |
Definition at line 95 of file BIFFwriter.php.
Referenced by _addContinue().