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

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

An atom record that specifies a type of action to be performed.
private readRecordInteractiveInfoAtom ( string $stream, integer $pos )
$stream string
$pos integer
    private function readRecordInteractiveInfoAtom($stream, $pos)
    {
        $arrayReturn = array('length' => 0);
        $data = $this->loadRecordHeader($stream, $pos);
        if ($data['recVer'] == 0x0 && $data['recInstance'] == 0x0 && $data['recType'] == self::RT_INTERACTIVEINFOATOM && $data['recLen'] == 0x10) {
            // Record Header
            $arrayReturn['length'] += 8;
            // soundIdRef
            $arrayReturn['length'] += 4;
            // exHyperlinkIdRef
            $arrayReturn['exHyperlinkIdRef'] = self::getInt4d($stream, $pos + $arrayReturn['length']);
            $arrayReturn['length'] += 4;
            // action
            $arrayReturn['length'] += 1;
            // oleVerb
            $arrayReturn['length'] += 1;
            // jump
            $arrayReturn['length'] += 1;
            // fAnimated (1 bit)
            // fStopSound (1 bit)
            // fCustomShowReturn (1 bit)
            // fVisited (1 bit)
            // reserved (4 bits)
            $arrayReturn['length'] += 1;
            // hyperlinkType
            $arrayReturn['length'] += 1;
            // unused
            $arrayReturn['length'] += 3;
        }
        return $arrayReturn;
    }
PowerPoint97