public render ( ) : PhpOffice\Common\Adapter\Zip\ZipInterface | ||
리턴 | PhpOffice\Common\Adapter\Zip\ZipInterface |
public function render()
{
foreach ($this->getPresentation()->getAllSlides() as $numSlide => $oSlide) {
$contentXml = $this->writeSlideComments($oSlide);
if (empty($contentXml)) {
continue;
}
$this->getZip()->addFromString('ppt/comments/comment' . ($numSlide + 1) . '.xml', $contentXml);
}
return $this->getZip();
}