Constants

IDENTIFIER_OLE

IDENTIFIER_OLE = \IDENTIFIER_OLE

BIG_BLOCK_SIZE

BIG_BLOCK_SIZE = 0x200

SMALL_BLOCK_SIZE

SMALL_BLOCK_SIZE = 0x40

PROPERTY_STORAGE_BLOCK_SIZE

PROPERTY_STORAGE_BLOCK_SIZE = 0x80

SMALL_BLOCK_THRESHOLD

SMALL_BLOCK_THRESHOLD = 0x1000

NUM_BIG_BLOCK_DEPOT_BLOCKS_POS

NUM_BIG_BLOCK_DEPOT_BLOCKS_POS = 0x2c

ROOT_START_BLOCK_POS

ROOT_START_BLOCK_POS = 0x30

SMALL_BLOCK_DEPOT_BLOCK_POS

SMALL_BLOCK_DEPOT_BLOCK_POS = 0x3c

EXTENSION_BLOCK_POS

EXTENSION_BLOCK_POS = 0x44

NUM_EXTENSION_BLOCK_POS

NUM_EXTENSION_BLOCK_POS = 0x48

BIG_BLOCK_DEPOT_BLOCKS_POS

BIG_BLOCK_DEPOT_BLOCKS_POS = 0x4c

SIZE_OF_NAME_POS

SIZE_OF_NAME_POS = 0x40

TYPE_POS

TYPE_POS = 0x42

START_BLOCK_POS

START_BLOCK_POS = 0x74

SIZE_POS

SIZE_POS = 0x78

Properties

$wrkbook

$wrkbook

$summaryInformation

$summaryInformation

$documentSummaryInformation

$documentSummaryInformation

$data

$data

Methods

read()

read( $sFileName) : mixed

Read the file

Parameters

$sFileName

string Filename

Throws

\PHPExcel_Reader_Exception

Returns

mixed —

getStream()

getStream(mixed  $stream) : string

Extract binary stream data

Parameters

mixed $stream

Returns

string —

_readData()

_readData(int  $bl) : string

Read a standard stream (by joining sectors using information from SAT)

Parameters

int $bl

Sector ID where the stream starts

Returns

string —

Data for standard stream

_readPropertySets()

_readPropertySets() : mixed

Read entries in the directory stream.

Returns

mixed —

_GetInt4d()

_GetInt4d(string  $data, int  $pos) : int

Read 4 bytes of data at specified position

Parameters

string $data
int $pos

Returns

int —