level; } /** * Set level * * @param int $value * @return self */ public function setLevel($value) { $this->level = $this->setIntVal($value, $this->level); return $this; } /** * Get start * * @return int */ public function getStart() { return $this->start; } /** * Set start * * @param int $value * @return self */ public function setStart($value) { $this->start = $this->setIntVal($value, $this->start); return $this; } /** * Get format * * @return string */ public function getFormat() { return $this->format; } /** * Set format * * @param string $value * @return self */ public function setFormat($value) { $this->format = $this->setEnumVal($value, NumberFormat::values(), $this->format); return $this; } /** * Get restart * * @return int */ public function getRestart() { return $this->restart; } /** * Set restart * * @param int $value * @return self */ public function setRestart($value) { $this->restart = $this->setIntVal($value, $this->restart); return $this; } /** * Get related paragraph style * * @return string */ public function getPStyle() { return $this->pStyle; } /** * Set related paragraph style * * @param string $value * @return self */ public function setPStyle($value) { $this->pStyle = $value; return $this; } /** * Get suffix * * @return string */ public function getSuffix() { return $this->suffix; } /** * Set suffix * * @param string $value * @return self */ public function setSuffix($value) { $enum = array('tab', 'space', 'nothing'); $this->suffix = $this->setEnumVal($value, $enum, $this->suffix); return $this; } /** * Get text * * @return string */ public function getText() { return $this->text; } /** * Set text * * @param string $value * @return self */ public function setText($value) { $this->text = $value; return $this; } /** * @since 0.13.0 * * @return string */ public function getAlignment() { return $this->alignment; } /** * @since 0.13.0 * * @param string $value * * @return self */ public function setAlignment($value) { if (Jc::isValid($value)) { $this->alignment = $value; } return $this; } /** * @deprecated 0.13.0 Use the `getAlignment` method instead. * * @return string * * @codeCoverageIgnore */ public function getAlign() { return $this->getAlignment(); } /** * @deprecated 0.13.0 Use the `setAlignment` method instead. * * @param string $value * * @return self * * @codeCoverageIgnore */ public function setAlign($value) { return $this->setAlignment($value); } /** * Get left * * @return int */ public function getLeft() { return $this->left; } /** * Set left * * @param int $value * @return self */ public function setLeft($value) { $this->left = $this->setIntVal($value, $this->left); return $this; } /** * Get hanging * * @return int */ public function getHanging() { return $this->hanging; } /** * Set hanging * * @param int $value * @return self */ public function setHanging($value) { $this->hanging = $this->setIntVal($value, $this->hanging); return $this; } /** * Get tab * * @return int */ public function getTabPos() { return $this->tabPos; } /** * Set tab * * @param int $value * @return self */ public function setTabPos($value) { $this->tabPos = $this->setIntVal($value, $this->tabPos); return $this; } /** * Get font * * @return string */ public function getFont() { return $this->font; } /** * Set font * * @param string $value * @return self */ public function setFont($value) { $this->font = $value; return $this; } /** * Get hint * * @return string */ public function getHint() { return $this->hint; } /** * Set hint * * @param string $value * @return self */ public function setHint($value = null) { $enum = array('default', 'eastAsia', 'cs'); $this->hint = $this->setEnumVal($value, $enum, $this->hint); return $this; } }