private function loadPicturesStream()
{
$stream = $this->streamPictures;
$pos = 0;
do {
$arrayRH = $this->loadRecordHeader($stream, $pos);
$pos += 8;
$readSuccess = false;
if ($arrayRH['recVer'] == 0x0 && ($arrayRH['recType'] == 0xf007 || $arrayRH['recType'] >= 0xf018 && $arrayRH['recType'] <= 0xf117)) {
//@link : http://msdn.microsoft.com/en-us/library/dd950560(v=office.12).aspx
if ($arrayRH['recType'] == 0xf007) {
// OfficeArtFBSE
throw new \Exception('Feature not implemented (l.' . __LINE__ . ')');
}
if ($arrayRH['recType'] >= 0xf018 && $arrayRH['recType'] <= 0xf117) {
$arrayRecord = $this->readRecordOfficeArtBlip($stream, $pos - 8);
if ($arrayRecord['length'] > 0) {
$pos += $arrayRecord['length'];
$this->arrayPictures[] = $arrayRecord['picture'];
}
}
$readSuccess = true;
}
} while ($readSuccess === true);
}