public function setOptions($options)
	{
		if (!isset($options[self::OPTION_LINE_BREAK])
				&& !isset($options[self::OPTION_INDENTATION])
				&& !isset($options[self::OPTION_TEXT_MODE]))
			return $this;
		if (!$this->isAncestor()) {
			$prevAncestor = $this->getAncestor();
			$this->setAncestor($this);
			$this->options = [
					self::OPTION_LINE_BREAK => $prevAncestor->options[self::OPTION_LINE_BREAK],
					self::OPTION_INDENTATION => $prevAncestor->options[self::OPTION_INDENTATION],
					self::OPTION_TEXT_MODE => $prevAncestor->options[self::OPTION_TEXT_MODE]
			];
		}
		$this->setAncestorOption($options, self::OPTION_LINE_BREAK);
		$this->setAncestorOption($options, self::OPTION_INDENTATION);
		$this->setAncestorOption($options, self::OPTION_TEXT_MODE);
		return $this;
	}