PhpOffice\PhpPresentation\Reader\PowerPoint97::readRecordOfficeArtDgContainer PHP Method

readRecordOfficeArtDgContainer() private method

The OfficeArtDgContainer record specifies the container for all the file records for the objects in a drawing.
private readRecordOfficeArtDgContainer ( string $stream, integer $pos )
$stream string
$pos integer
    private function readRecordOfficeArtDgContainer($stream, $pos)
    {
        $arrayReturn = array('length' => 0);
        $data = $this->loadRecordHeader($stream, $pos);
        if ($data['recVer'] == 0xf && $data['recInstance'] == 0x0 && $data['recType'] == 0xf002) {
            // Record Header
            $arrayReturn['length'] += 8;
            // drawingData
            $drawingData = $this->readRecordOfficeArtFDG($stream, $pos + $arrayReturn['length']);
            $arrayReturn['length'] += $drawingData['length'];
            // regroupItems
            //@todo
            // groupShape
            $groupShape = $this->readRecordOfficeArtSpgrContainer($stream, $pos + $arrayReturn['length']);
            $arrayReturn['length'] += $groupShape['length'];
            // shape
            $shape = $this->readRecordOfficeArtSpContainer($stream, $pos + $arrayReturn['length']);
            $arrayReturn['length'] += $shape['length'];
            // solvers1
            //@todo
            // deletedShapes
            //@todo
            // solvers1
            //@todo
        }
        return $arrayReturn;
    }
PowerPoint97