source = $linkSrc; $this->name = $linkName; $this->fontStyle = $this->setStyle(new Font('text'), $fontStyle); $this->paragraphStyle = $this->setStyle(new Paragraph(), $paragraphStyle); return $this; } /** * Get Link Relation ID * * @return int */ public function getRelationId() { return $this->relationId; } /** * Set Link Relation ID * * @param int $rId */ public function setRelationId($rId) { $this->relationId = $rId; } /** * Get Link source * * @return string */ public function getLinkSrc() { return $this->source; } /** * Get Link name * * @return string */ public function getLinkName() { return $this->name; } /** * Get Text style * * @return string|Font */ public function getFontStyle() { return $this->fontStyle; } /** * Get Paragraph style * * @return string|Paragraph */ public function getParagraphStyle() { return $this->paragraphStyle; } }