PhpOffice\PhpPresentation\Writer\ODPresentation\Content::writeSlideNote PHP Method

writeSlideNote() public method

Write the slide note
public writeSlideNote ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Slide\Note $note )
$objWriter PhpOffice\Common\XMLWriter
$note PhpOffice\PhpPresentation\Slide\Note
    public function writeSlideNote(XMLWriter $objWriter, Note $note)
    {
        $shapesNote = $note->getShapeCollection();
        if (count($shapesNote) > 0) {
            $objWriter->startElement('presentation:notes');
            foreach ($shapesNote as $shape) {
                // Increment $this->shapeId
                ++$this->shapeId;
                if ($shape instanceof RichText) {
                    $this->writeShapeTxt($objWriter, $shape);
                }
            }
            $objWriter->endElement();
        }
    }