Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • PHPExcel_Writer_Excel5
  • PHPExcel_Writer_Excel5_BIFFwriter
  • PHPExcel_Writer_Excel5_Escher
  • PHPExcel_Writer_Excel5_Font
  • PHPExcel_Writer_Excel5_Parser
  • PHPExcel_Writer_Excel5_Workbook
  • PHPExcel_Writer_Excel5_Worksheet
  • PHPExcel_Writer_Excel5_Xf
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Writer_Excel5_BIFFwriter

PHPExcel_Writer_Excel5_BIFFwriter

Direct known subclasses

PHPExcel_Writer_Excel5_Workbook, PHPExcel_Writer_Excel5_Worksheet
Package: PHPExcel\Writer\Excel5
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Writer/Excel5/BIFFwriter.php
Methods summary
public
# __construct( )

Constructor

Constructor

public static integer
# getByteOrder( )

Determine the byte order and store it as class data to avoid recalculating it for each call to new().

Determine the byte order and store it as class data to avoid recalculating it for each call to new().

Returns

integer
public
# _append( string $data )

General storage function

General storage function

Parameters

$data
binary data to append
public string
# writeData( string $data )

General storage function like _append, but returns string instead of modifying $this->_data

General storage function like _append, but returns string instead of modifying $this->_data

Parameters

$data
binary data to write

Returns

string
public
# _storeBof( integer $type )

Writes Excel BOF record to indicate the beginning of a stream or sub-stream in the BIFF file.

Writes Excel BOF record to indicate the beginning of a stream or sub-stream in the BIFF file.

Parameters

$type

Type of BIFF file to write: 0x0005 Workbook, 0x0010 Worksheet.

public
# _storeEof( )

Writes Excel EOF record to indicate the end of a BIFF stream.

Writes Excel EOF record to indicate the end of a BIFF stream.

public
# writeEof( )

Writes Excel EOF record to indicate the end of a BIFF stream.

Writes Excel EOF record to indicate the end of a BIFF stream.

public string
# _addContinue( string $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.

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.

Parameters

$data
The original binary data to be written

Returns

string
A very convenient string of continue blocks
Properties summary
private static integer $_byte_order

The byte order of this architecture. 0 => little endian, 1 => big endian

The byte order of this architecture. 0 => little endian, 1 => big endian

#
public string $_data

The string containing the data of the BIFF stream

The string containing the data of the BIFF stream

#
public integer $_datasize

The size of the data in bytes. Should be the same as strlen($this->_data)

The size of the data in bytes. Should be the same as strlen($this->_data)

#
public integer $_limit

The maximum length for a BIFF record (excluding record header and length field). See _addContinue()

The maximum length for a BIFF record (excluding record header and length field). See _addContinue()

See

PHPExcel_Writer_Excel5_BIFFwriter::_addContinue()
# 8224
Autene API documentation generated by ApiGen