source = $src; $this->style = $this->setStyle(new ImageStyle(), $style, true); return $this; } else { return false; } } /** * Get Image style * * @return \PhpOffice\PhpWord\Style\Image */ public function getStyle() { return $this->style; } /** * Get Source * * @return string */ public function getSource() { return $this->source; } /** * Get Object Relation ID * * @return int */ public function getRelationId() { return $this->relationId; } /** * Set Object Relation ID * * @param int $rId */ public function setRelationId($rId) { $this->relationId = $rId; } /** * Get Image Relation ID * * @return int */ public function getImageRelationId() { return $this->imageRelationId; } /** * Set Image Relation ID * * @param int $rId */ public function setImageRelationId($rId) { $this->imageRelationId = $rId; } /** * Get Object ID * * @return int * @deprecated 0.9.2 * @codeCoverageIgnore */ public function getObjectId() { return $this->relationId + 1325353440; } /** * Set Object ID * * @param int $objId * @deprecated 0.9.2 * @codeCoverageIgnore */ public function setObjectId($objId) { $this->relationId = $objId; } }