PhpOffice\PhpPresentation\Reader\PowerPoint97::readRecordSlideContainer PHP Метод

readRecordSlideContainer() приватный Метод

A container record that specifies a presentation slide or title master slide.
private readRecordSlideContainer ( string $stream, integer $pos )
$stream string
$pos integer
    private function readRecordSlideContainer($stream, $pos)
    {
        // Core
        $this->oPhpPresentation->createSlide();
        $this->oPhpPresentation->setActiveSlideIndex($this->oPhpPresentation->getSlideCount() - 1);
        // *** slideAtom (32 bytes)
        $slideAtom = $this->readRecordSlideAtom($stream, $pos);
        if ($slideAtom['length'] == 0) {
            throw new \Exception('PowerPoint97 Reader : record SlideAtom');
        }
        $pos += $slideAtom['length'];
        // *** slideShowSlideInfoAtom (24 bytes)
        $slideShowInfoAtom = $this->readRecordSlideShowSlideInfoAtom($stream, $pos);
        $pos += $slideShowInfoAtom['length'];
        // *** perSlideHFContainer (variable) : optional
        $perSlideHFContainer = $this->readRecordPerSlideHeadersFootersContainer($stream, $pos);
        $pos += $perSlideHFContainer['length'];
        // *** rtSlideSyncInfo12 (variable) : optional
        $rtSlideSyncInfo12 = $this->readRecordRoundTripSlideSyncInfo12Container($stream, $pos);
        $pos += $rtSlideSyncInfo12['length'];
        // *** drawing (variable)
        $drawing = $this->readRecordDrawingContainer($stream, $pos);
        $pos += $drawing['length'];
        // *** slideSchemeColorSchemeAtom (40 bytes)
        $slideSchemeColorAtom = $this->readRecordSlideSchemeColorSchemeAtom($stream, $pos);
        if ($slideSchemeColorAtom['length'] == 0) {
            throw new \Exception('PowerPoint97 Reader : record SlideSchemeColorSchemeAtom');
        }
        $pos += $slideSchemeColorAtom['length'];
        // *** slideNameAtom (variable)
        $slideNameAtom = $this->readRecordSlideNameAtom($stream, $pos);
        $pos += $slideNameAtom['length'];
        // *** slideProgTagsContainer (variable).
        $slideProgTags = $this->readRecordSlideProgTagsContainer($stream, $pos);
        $pos += $slideProgTags['length'];
        // *** rgRoundTripSlide (variable)
    }
PowerPoint97