Constants

BIG_BLOCK_SIZE

BIG_BLOCK_SIZE = 512

SMALL_BLOCK_SIZE

SMALL_BLOCK_SIZE = 64

PROPERTY_STORAGE_BLOCK_SIZE

PROPERTY_STORAGE_BLOCK_SIZE = 128

SMALL_BLOCK_THRESHOLD

SMALL_BLOCK_THRESHOLD = 4096

NUM_BIG_BLOCK_DEPOT_BLOCKS_POS

NUM_BIG_BLOCK_DEPOT_BLOCKS_POS = 44

ROOT_START_BLOCK_POS

ROOT_START_BLOCK_POS = 48

SMALL_BLOCK_DEPOT_BLOCK_POS

SMALL_BLOCK_DEPOT_BLOCK_POS = 60

EXTENSION_BLOCK_POS

EXTENSION_BLOCK_POS = 68

NUM_EXTENSION_BLOCK_POS

NUM_EXTENSION_BLOCK_POS = 72

BIG_BLOCK_DEPOT_BLOCKS_POS

BIG_BLOCK_DEPOT_BLOCKS_POS = 76

SIZE_OF_NAME_POS

SIZE_OF_NAME_POS = 64

TYPE_POS

TYPE_POS = 66

START_BLOCK_POS

START_BLOCK_POS = 116

SIZE_POS

SIZE_POS = 120

Properties

$wrkbook

$wrkbook : 

Type

$summaryInformation

$summaryInformation : 

Type

$documentSummaryInformation

$documentSummaryInformation : 

Type

$data

$data : 

Type

$numBigBlockDepotBlocks

$numBigBlockDepotBlocks : integer

Type

integer

$rootStartBlock

$rootStartBlock : integer

Type

integer

$sbdStartBlock

$sbdStartBlock : integer

Type

integer

$extensionBlock

$extensionBlock : integer

Type

integer

$numExtensionBlocks

$numExtensionBlocks : integer

Type

integer

$bigBlockChain

$bigBlockChain : string

Type

string

$smallBlockChain

$smallBlockChain : string

Type

string

$entry

$entry : string

Type

string

$rootentry

$rootentry : integer

Type

integer

$props

$props : array

Type

array

Methods

read()

read(  $pFilename) 

Read the file.

Parameters

$pFilename

string Filename

Throws

\PhpOffice\PhpSpreadsheet\Reader\Exception

getStream()

getStream(integer  $stream) : string

Extract binary stream data.

Parameters

integer $stream

Returns

string

_readData()

_readData(integer  $bl) : string

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

Parameters

integer $bl

Sector ID where the stream starts

Returns

string —

Data for standard stream

readPropertySets()

readPropertySets() 

Read entries in the directory stream.

getInt4d()

getInt4d(string  $data, integer  $pos) : integer

Read 4 bytes of data at specified position.

Parameters

string $data
integer $pos

Returns

integer