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

readRecordMouseClickInteractiveInfoContainer() private method

A container record that specifies what actions to perform when interacting with an object by means of a mouse click.
    private function readRecordMouseClickInteractiveInfoContainer($stream, $pos)
    {
        $arrayReturn = array('length' => 0);
        $data = $this->loadRecordHeader($stream, $pos);
        if ($data['recVer'] == 0xf && $data['recInstance'] == 0x0 && $data['recType'] == self::RT_INTERACTIVEINFO) {
            // Record Header
            $arrayReturn['length'] += 8;
            // interactiveInfoAtom
            $interactiveInfoAtom = $this->readRecordInteractiveInfoAtom($stream, $pos + $arrayReturn['length']);
            $arrayReturn['length'] += $interactiveInfoAtom['length'];
            if ($interactiveInfoAtom['length'] > 0) {
                $arrayReturn['exHyperlinkIdRef'] = $interactiveInfoAtom['exHyperlinkIdRef'];
            }
            // macroNameAtom
            $macroNameAtom = $this->readRecordMacroNameAtom($stream, $pos + $arrayReturn['length']);
            $arrayReturn['length'] += $macroNameAtom['length'];
        }
        return $arrayReturn;
    }
PowerPoint97