setDocPart($docPart, $docPartId); $this->height = $height; $this->style = $this->setStyle(new RowStyle(), $style, true); } /** * Add a cell * * @param int $width * @param mixed $style */ public function addCell($width = null, $style = null) { $cell = new Cell($this->getDocPart(), $this->getDocPartId(), $width, $style); $this->cells[] = $cell; return $cell; } /** * Get all cells * * @return array */ public function getCells() { return $this->cells; } /** * Get row style * * @return RowStyle */ public function getStyle() { return $this->style; } /** * Get row height * * @return int */ public function getHeight() { return $this->height; } }