ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
PHPExcel_Reader_Excel5_Escher Class Reference
+ Collaboration diagram for PHPExcel_Reader_Excel5_Escher:

Public Member Functions

 __construct ($object)
 Create a new PHPExcel_Reader_Excel5_Escher instance.
 load ($data)
 Load Escher stream data.

Data Fields

const DGGCONTAINER = 0xF000
const BSTORECONTAINER = 0xF001
const DGCONTAINER = 0xF002
const SPGRCONTAINER = 0xF003
const SPCONTAINER = 0xF004
const DGG = 0xF006
const BSE = 0xF007
const DG = 0xF008
const SPGR = 0xF009
const SP = 0xF00A
const OPT = 0xF00B
const CLIENTTEXTBOX = 0xF00D
const CLIENTANCHOR = 0xF010
const CLIENTDATA = 0xF011
const BLIPJPEG = 0xF01D
const BLIPPNG = 0xF01E
const SPLITMENUCOLORS = 0xF11E
const TERTIARYOPT = 0xF122

Private Member Functions

 _readDefault ()
 Read a generic record.
 _readDggContainer ()
 Read DggContainer record (Drawing Group Container)
 _readDgg ()
 Read Dgg record (Drawing Group)
 _readBstoreContainer ()
 Read BstoreContainer record (Blip Store Container)
 _readBSE ()
 Read BSE record.
 _readBlipJPEG ()
 Read BlipJPEG record.
 _readBlipPNG ()
 Read BlipPNG record.
 _readOPT ()
 Read OPT record.
 _readTertiaryOPT ()
 Read TertiaryOPT record.
 _readSplitMenuColors ()
 Read SplitMenuColors record.
 _readDgContainer ()
 Read DgContainer record (Drawing Container)
 _readDg ()
 Read Dg record (Drawing)
 _readSpgrContainer ()
 Read SpgrContainer record (Shape Group Container)
 _readSpContainer ()
 Read SpContainer record (Shape Container)
 _readSpgr ()
 Read Spgr record (Shape Group)
 _readSp ()
 Read Sp record (Shape)
 _readClientTextbox ()
 Read ClientTextbox record.
 _readClientAnchor ()
 Read ClientAnchor record.
 _readClientData ()
 Read ClientData record.
 _readOfficeArtRGFOPTE ($data, $n)
 Read OfficeArtRGFOPTE table of property-value pairs.

Private Attributes

 $_data
 $_dataSize
 $_pos
 $_object

Detailed Description

Definition at line 35 of file Escher.php.

Constructor & Destructor Documentation

PHPExcel_Reader_Excel5_Escher::__construct (   $object)

Create a new PHPExcel_Reader_Excel5_Escher instance.

Parameters
mixed$object

Definition at line 89 of file Escher.php.

{
$this->_object = $object;
}

Member Function Documentation

PHPExcel_Reader_Excel5_Escher::_readBlipJPEG ( )
private

Read BlipJPEG record.

Holds raw JPEG image data

Definition at line 278 of file Escher.php.

References $data, $pos, PHPExcel_Reader_Excel5\_GetInt2d(), and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
// offset: 0; size: 2; recVer and recInstance
// bit: 4-15; mask: 0xFFF0; recInstance
$recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4;
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
$pos = 0;
// offset: 0; size: 16; rgbUid1 (MD4 digest of)
$rgbUid1 = substr($recordData, 0, 16);
$pos += 16;
// offset: 16; size: 16; rgbUid2 (MD4 digest), only if $recInstance = 0x46B or 0x6E3
if (in_array($recInstance, array(0x046B, 0x06E3))) {
$rgbUid2 = substr($recordData, 16, 16);
$pos += 16;
}
// offset: var; size: 1; tag
$tag = ord($recordData{$pos});
$pos += 1;
// offset: var; size: var; the raw image data
$data = substr($recordData, $pos);
$blip->setData($data);
$this->_object->setBlip($blip);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readBlipPNG ( )
private

Read BlipPNG record.

Holds raw PNG image data

Definition at line 319 of file Escher.php.

References $data, $pos, PHPExcel_Reader_Excel5\_GetInt2d(), and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
// offset: 0; size: 2; recVer and recInstance
// bit: 4-15; mask: 0xFFF0; recInstance
$recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4;
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
$pos = 0;
// offset: 0; size: 16; rgbUid1 (MD4 digest of)
$rgbUid1 = substr($recordData, 0, 16);
$pos += 16;
// offset: 16; size: 16; rgbUid2 (MD4 digest), only if $recInstance = 0x46B or 0x6E3
if ($recInstance == 0x06E1) {
$rgbUid2 = substr($recordData, 16, 16);
$pos += 16;
}
// offset: var; size: 1; tag
$tag = ord($recordData{$pos});
$pos += 1;
// offset: var; size: var; the raw image data
$data = substr($recordData, $pos);
$blip->setData($data);
$this->_object->setBlip($blip);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readBSE ( )
private

Read BSE record.

Definition at line 212 of file Escher.php.

References $reader, PHPExcel_Reader_Excel5\_GetInt2d(), and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
// offset: 0; size: 2; recVer and recInstance
// bit: 4-15; mask: 0xFFF0; recInstance
$recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4;
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
// add BSE to BstoreContainer
$this->_object->addBSE($BSE);
$BSE->setBLIPType($recInstance);
// offset: 0; size: 1; btWin32 (MSOBLIPTYPE)
$btWin32 = ord($recordData[0]);
// offset: 1; size: 1; btWin32 (MSOBLIPTYPE)
$btMacOS = ord($recordData[1]);
// offset: 2; size: 16; MD4 digest
$rgbUid = substr($recordData, 2, 16);
// offset: 18; size: 2; tag
$tag = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 18);
// offset: 20; size: 4; size of BLIP in bytes
$size = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 20);
// offset: 24; size: 4; number of references to this BLIP
$cRef = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 24);
// offset: 28; size: 4; MSOFO file offset
$foDelay = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 28);
// offset: 32; size: 1; unused1
$unused1 = ord($recordData{32});
// offset: 33; size: 1; size of nameData in bytes (including null terminator)
$cbName = ord($recordData{33});
// offset: 34; size: 1; unused2
$unused2 = ord($recordData{34});
// offset: 35; size: 1; unused3
$unused3 = ord($recordData{35});
// offset: 36; size: $cbName; nameData
$nameData = substr($recordData, 36, $cbName);
// offset: 36 + $cbName, size: var; the BLIP data
$blipData = substr($recordData, 36 + $cbName);
// record is a container, read contents
$reader->load($blipData);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readBstoreContainer ( )
private

Read BstoreContainer record (Blip Store Container)

Definition at line 194 of file Escher.php.

References $reader, and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
// record is a container, read contents
$this->_object->setBstoreContainer($bstoreContainer);
$reader = new PHPExcel_Reader_Excel5_Escher($bstoreContainer);
$reader->load($recordData);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readClientAnchor ( )
private

Read ClientAnchor record.

This record holds information about where the shape is anchored in worksheet

Definition at line 532 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt2d(), PHPExcel_Reader_Excel5\_GetInt4d(), and PHPExcel_Cell\stringFromColumnIndex().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
// offset: 2; size: 2; upper-left corner column index (0-based)
$c1 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 2);
// offset: 4; size: 2; upper-left corner horizontal offset in 1/1024 of column width
$startOffsetX = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 4);
// offset: 6; size: 2; upper-left corner row index (0-based)
$r1 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 6);
// offset: 8; size: 2; upper-left corner vertical offset in 1/256 of row height
$startOffsetY = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 8);
// offset: 10; size: 2; bottom-right corner column index (0-based)
$c2 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 10);
// offset: 12; size: 2; bottom-right corner horizontal offset in 1/1024 of column width
$endOffsetX = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 12);
// offset: 14; size: 2; bottom-right corner row index (0-based)
$r2 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 14);
// offset: 16; size: 2; bottom-right corner vertical offset in 1/256 of row height
$endOffsetY = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 16);
// set the start coordinates
$this->_object->setStartCoordinates(PHPExcel_Cell::stringFromColumnIndex($c1) . ($r1 + 1));
// set the start offsetX
$this->_object->setStartOffsetX($startOffsetX);
// set the start offsetY
$this->_object->setStartOffsetY($startOffsetY);
// set the end coordinates
$this->_object->setEndCoordinates(PHPExcel_Cell::stringFromColumnIndex($c2) . ($r2 + 1));
// set the end offsetX
$this->_object->setEndOffsetX($endOffsetX);
// set the end offsetY
$this->_object->setEndOffsetY($endOffsetY);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readClientData ( )
private

Read ClientData record.

Definition at line 586 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readClientTextbox ( )
private

Read ClientTextbox record.

Definition at line 515 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt2d(), and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
// offset: 0; size: 2; recVer and recInstance
// bit: 4-15; mask: 0xFFF0; recInstance
$recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4;
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readDefault ( )
private

Read a generic record.

Definition at line 143 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt2d(), and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
// offset 0; size: 2; recVer and recInstance
$verInstance = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos);
// offset: 2; size: 2: Record Type
$fbt = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos + 2);
// bit: 0-3; mask: 0x000F; recVer
$recVer = (0x000F & $verInstance) >> 0;
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readDg ( )
private

Read Dg record (Drawing)

Definition at line 426 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readDgContainer ( )
private

Read DgContainer record (Drawing Container)

Definition at line 408 of file Escher.php.

References $reader, and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
// record is a container, read contents
$dgContainer = new PHPExcel_Shared_Escher_DgContainer();
$this->_object->setDgContainer($dgContainer);
$escher = $reader->load($recordData);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readDgg ( )
private

Read Dgg record (Drawing Group)

Definition at line 182 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readDggContainer ( )
private

Read DggContainer record (Drawing Group Container)

Definition at line 164 of file Escher.php.

References $reader, and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
// record is a container, read contents
$dggContainer = new PHPExcel_Shared_Escher_DggContainer();
$this->_object->setDggContainer($dggContainer);
$reader = new PHPExcel_Reader_Excel5_Escher($dggContainer);
$reader->load($recordData);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readOfficeArtRGFOPTE (   $data,
  $n 
)
private

Read OfficeArtRGFOPTE table of property-value pairs.

Parameters
string$dataBinary data
int$nNumber of properties

Definition at line 601 of file Escher.php.

References $data, PHPExcel_Reader_Excel5\_GetInt2d(), and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by _readOPT().

{
$splicedComplexData = substr($data, 6 * $n);
// loop through property-value pairs
for ($i = 0; $i < $n; ++$i) {
// read 6 bytes at a time
$fopte = substr($data, 6 * $i, 6);
// offset: 0; size: 2; opid
// bit: 0-13; mask: 0x3FFF; opid.opid
$opidOpid = (0x3FFF & $opid) >> 0;
// bit: 14; mask 0x4000; 1 = value in op field is BLIP identifier
$opidFBid = (0x4000 & $opid) >> 14;
// bit: 15; mask 0x8000; 1 = this is a complex property, op field specifies size of complex data
$opidFComplex = (0x8000 & $opid) >> 15;
// offset: 2; size: 4; the value for this property
if ($opidFComplex) {
$complexData = substr($splicedComplexData, 0, $op);
$splicedComplexData = substr($splicedComplexData, $op);
// we store string value with complex data
$value = $complexData;
} else {
// we store integer value
$value = $op;
}
$this->_object->setOPT($opidOpid, $value);
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readOPT ( )
private

Read OPT record.

This record may occur within DggContainer record or SpContainer

Definition at line 360 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt2d(), PHPExcel_Reader_Excel5\_GetInt4d(), and _readOfficeArtRGFOPTE().

Referenced by load().

{
// offset: 0; size: 2; recVer and recInstance
// bit: 4-15; mask: 0xFFF0; recInstance
$recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4;
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
$this->_readOfficeArtRGFOPTE($recordData, $recInstance);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readSp ( )
private

Read Sp record (Shape)

Definition at line 498 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt2d(), and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
// offset: 0; size: 2; recVer and recInstance
// bit: 4-15; mask: 0xFFF0; recInstance
$recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4;
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readSpContainer ( )
private

Read SpContainer record (Shape Container)

Definition at line 466 of file Escher.php.

References $reader, and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// add spContainer to spgrContainer
$this->_object->addChild($spContainer);
// move stream pointer to next record
$this->_pos += 8 + $length;
// record is a container, read contents
$escher = $reader->load($recordData);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readSpgr ( )
private

Read Spgr record (Shape Group)

Definition at line 486 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readSpgrContainer ( )
private

Read SpgrContainer record (Shape Group Container)

Definition at line 438 of file Escher.php.

References $reader, and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
// context is either context DgContainer or SpgrContainer
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
// record is a container, read contents
if ($this->_object instanceof PHPExcel_Shared_Escher_DgContainer) {
// DgContainer
$this->_object->setSpgrContainer($spgrContainer);
} else {
// SpgrContainer
$this->_object->addChild($spgrContainer);
}
$reader = new PHPExcel_Reader_Excel5_Escher($spgrContainer);
$escher = $reader->load($recordData);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readSplitMenuColors ( )
private

Read SplitMenuColors record.

Definition at line 396 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::_readTertiaryOPT ( )
private

Read TertiaryOPT record.

Definition at line 379 of file Escher.php.

References PHPExcel_Reader_Excel5\_GetInt2d(), and PHPExcel_Reader_Excel5\_GetInt4d().

Referenced by load().

{
// offset: 0; size: 2; recVer and recInstance
// bit: 4-15; mask: 0xFFF0; recInstance
$recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4;
$length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4);
$recordData = substr($this->_data, $this->_pos + 8, $length);
// move stream pointer to next record
$this->_pos += 8 + $length;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHPExcel_Reader_Excel5_Escher::load (   $data)

Load Escher stream data.

May be a partial Escher stream.

Parameters
string$data

Definition at line 99 of file Escher.php.

References $_object, $data, PHPExcel_Reader_Excel5\_GetInt2d(), _readBlipJPEG(), _readBlipPNG(), _readBSE(), _readBstoreContainer(), _readClientAnchor(), _readClientData(), _readClientTextbox(), _readDefault(), _readDg(), _readDgContainer(), _readDgg(), _readDggContainer(), _readOPT(), _readSp(), _readSpContainer(), _readSpgr(), _readSpgrContainer(), _readSplitMenuColors(), and _readTertiaryOPT().

{
$this->_data = $data;
// total byte size of Excel data (workbook global substream + sheet substreams)
$this->_dataSize = strlen($this->_data);
$this->_pos = 0;
// Parse Escher stream
while ($this->_pos < $this->_dataSize) {
// offset: 2; size: 2: Record Type
$fbt = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos + 2);
switch ($fbt) {
case self::DGGCONTAINER: $this->_readDggContainer(); break;
case self::DGG: $this->_readDgg(); break;
case self::BSTORECONTAINER: $this->_readBstoreContainer(); break;
case self::BSE: $this->_readBSE(); break;
case self::BLIPJPEG: $this->_readBlipJPEG(); break;
case self::BLIPPNG: $this->_readBlipPNG(); break;
case self::OPT: $this->_readOPT(); break;
case self::TERTIARYOPT: $this->_readTertiaryOPT(); break;
case self::SPLITMENUCOLORS: $this->_readSplitMenuColors(); break;
case self::DGCONTAINER: $this->_readDgContainer(); break;
case self::DG: $this->_readDg(); break;
case self::SPGRCONTAINER: $this->_readSpgrContainer(); break;
case self::SPCONTAINER: $this->_readSpContainer(); break;
case self::SPGR: $this->_readSpgr(); break;
case self::SP: $this->_readSp(); break;
case self::CLIENTTEXTBOX: $this->_readClientTextbox(); break;
case self::CLIENTANCHOR: $this->_readClientAnchor(); break;
case self::CLIENTDATA: $this->_readClientData(); break;
default: $this->_readDefault(); break;
}
}
}

+ Here is the call graph for this function:

Field Documentation

PHPExcel_Reader_Excel5_Escher::$_data
private

Definition at line 61 of file Escher.php.

PHPExcel_Reader_Excel5_Escher::$_dataSize
private

Definition at line 68 of file Escher.php.

PHPExcel_Reader_Excel5_Escher::$_object
private

Definition at line 82 of file Escher.php.

Referenced by load().

PHPExcel_Reader_Excel5_Escher::$_pos
private

Definition at line 75 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::BLIPJPEG = 0xF01D

Definition at line 51 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::BLIPPNG = 0xF01E

Definition at line 52 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::BSE = 0xF007

Definition at line 43 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::BSTORECONTAINER = 0xF001

Definition at line 38 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::CLIENTANCHOR = 0xF010

Definition at line 49 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::CLIENTDATA = 0xF011

Definition at line 50 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::CLIENTTEXTBOX = 0xF00D

Definition at line 48 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::DG = 0xF008

Definition at line 44 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::DGCONTAINER = 0xF002

Definition at line 39 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::DGG = 0xF006

Definition at line 42 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::DGGCONTAINER = 0xF000

Definition at line 37 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::OPT = 0xF00B

Definition at line 47 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::SP = 0xF00A

Definition at line 46 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::SPCONTAINER = 0xF004

Definition at line 41 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::SPGR = 0xF009

Definition at line 45 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::SPGRCONTAINER = 0xF003

Definition at line 40 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::SPLITMENUCOLORS = 0xF11E

Definition at line 53 of file Escher.php.

const PHPExcel_Reader_Excel5_Escher::TERTIARYOPT = 0xF122

Definition at line 54 of file Escher.php.


The documentation for this class was generated from the following file: