setStyleByArray($style); } /** * Get start. * * @return int */ public function getStart() { return $this->start; } /** * Set start. * * @param int $value * * @return self */ public function setStart($value = null) { $this->start = $this->setIntVal($value, $this->start); return $this; } /** * Get increment. * * @return int */ public function getIncrement() { return $this->increment; } /** * Set increment. * * @param int $value * * @return self */ public function setIncrement($value = null) { $this->increment = $this->setIntVal($value, $this->increment); return $this; } /** * Get distance. * * @return float|int */ public function getDistance() { return $this->distance; } /** * Set distance. * * @param float|int $value * * @return self */ public function setDistance($value = null) { $this->distance = $this->setNumericVal($value, $this->distance); return $this; } /** * Get restart. * * @return string */ public function getRestart() { return $this->restart; } /** * Set distance. * * @param string $value * * @return self */ public function setRestart($value = null) { $enum = [self::LINE_NUMBERING_CONTINUOUS, self::LINE_NUMBERING_NEW_PAGE, self::LINE_NUMBERING_NEW_SECTION]; $this->restart = $this->setEnumVal($value, $enum, $this->restart); return $this; } }