isLoopUntilEsc; } /** * @param bool $value * @return \PhpOffice\PhpPresentation\PresentationProperties */ public function setLoopContinuouslyUntilEsc($value = false) { if (is_bool($value)) { $this->isLoopUntilEsc = $value; } return $this; } /** * Return the thumbnail file path * @return string */ public function getThumbnailPath() { return $this->thumbnail; } /** * Define the path for the thumbnail file / preview picture * @param string $path * @return \PhpOffice\PhpPresentation\PresentationProperties */ public function setThumbnailPath($path = '') { if (file_exists($path)) { $this->thumbnail = $path; } return $this; } /** * Mark a document as final * @param bool $state * @return PresentationProperties */ public function markAsFinal($state = true) { if (is_bool($state)) { $this->markAsFinal = $state; } return $this; } /** * Return if this document is marked as final * @return bool */ public function isMarkedAsFinal() { return $this->markAsFinal; } /** * Set the zoom of the document (in percentage) * @param float $zoom * @return PresentationProperties */ public function setZoom($zoom = 1.0) { if (is_numeric($zoom)) { $this->zoom = (float)$zoom; } return $this; } /** * Return the zoom (in percentage) * @return float */ public function getZoom() { return $this->zoom; } /** * @param string $value * @return $this */ public function setLastView($value = self::VIEW_SLIDE) { if (in_array($value, $this->arrayView)) { $this->lastView = $value; } return $this; } /** * @return string */ public function getLastView() { return $this->lastView; } /** * @param bool $value * @return $this */ public function setCommentVisible($value = false) { if (is_bool($value)) { $this->isCommentVisible = $value; } return $this; } /** * @return string */ public function isCommentVisible() { return $this->isCommentVisible; } }