Docs For Class PHPExcel_Writer_Excel5_BIFFwriter

PHPExcel_Writer_Excel5

# Class: PHPExcel_Writer_Excel5_BIFFwriter

Source Location: /PHPExcel/Writer/Excel5/BIFFwriter.php

### Class Overview

PHPExcel_Writer_Excel5_BIFFwriter

#### Author(s):

#### Copyright:

- Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

### Variables

- $_BIFF_version
- $_data
- $_datasize
- $_limit

### Methods

- __construct
- getByteOrder
- writeData
- writeEof

### Child classes:

PHPExcel_Writer_Excel5_Workbook
  PHPExcel_Writer_Excel5_Workbook

PHPExcel_Writer_Excel5_Worksheet
  PHPExcel_Writer_Excel5_Worksheet

### Class Details

[line 70]
PHPExcel_Writer_Excel5_BIFFwriter

#### Tags:

copyright: | Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

[ Top ]

### Class Variables

#### $_BIFF_version = 0x0500

[line 76]

The BIFF/Excel version (5).

#### Tags:

access: | public

Type: | integer

[ Top ]

#### $_data =

[line 88]

The string containing the data of the BIFF stream

#### Tags:

access: | public

Type: | string

[ Top ]

#### $_datasize =

[line 94]

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

#### Tags:

access: | public

Type: | integer

[ Top ]

#### $_limit =

[line 101]

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

#### Tags:

see: | _addContinue()
access: | public

Type: | integer

[ Top ]

### Class Methods

### static method getByteOrder [line 119]

`static int getByteOrder( )`

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

#### Tags:

access: | public

[ Top ]

### constructor __construct [line 106]

`PHPExcel_Writer_Excel5_BIFFwriter __construct( )`

Constructor

#### Tags:

access: | public

Overridden in child classes as:

PHPExcel_Writer_Excel5_Workbook::__construct()
  Class constructor

PHPExcel_Writer_Excel5_Worksheet::__construct()
  Constructor

[ Top ]

### method writeData [line 161]

`string writeData( string $data)`

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

#### Tags:

access: | public

#### Parameters:

string | $data | binary data to write

[ Top ]

### method writeEof [line 224]

`void writeEof( )`

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

#### Tags:

access: | public

[ Top ]

Documentation generated on Sun, 27 Feb 2011 16:28:33 -0800 by phpDocumentor 1.4.3