containerType = 'footnote'; // Set paragraph style if (is_array($paragraphStyle)) { $this->paragraphStyle = new Paragraph(); foreach ($paragraphStyle as $key => $value) { if (substr($key, 0, 1) != '_') { $key = '_' . $key; } $this->paragraphStyle->setStyleValue($key, $value); } } else { $this->paragraphStyle = $paragraphStyle; } } /** * Get paragraph style * * @return string|Paragraph */ public function getParagraphStyle() { return $this->paragraphStyle; } /** * Get Footnote Reference ID * * @return int */ public function getReferenceId() { return $this->referenceId; } /** * Set Footnote Reference ID * * @param int $refId */ public function setReferenceId($refId) { $this->referenceId = $refId; } }