diff --git a/src/PhpWord/Style/Cell.php b/src/PhpWord/Style/Cell.php index 07596a3911..aa065f01de 100644 --- a/src/PhpWord/Style/Cell.php +++ b/src/PhpWord/Style/Cell.php @@ -162,7 +162,14 @@ public function getTextDirection() */ public function setTextDirection($value = null) { - $enum = [self::TEXT_DIR_BTLR, self::TEXT_DIR_TBRL]; + $enum = [ + self::TEXT_DIR_BTLR, + self::TEXT_DIR_TBRL, + self::TEXT_DIR_LRTB, + self::TEXT_DIR_LRTBV, + self::TEXT_DIR_TBRLV, + self::TEXT_DIR_TBLRV, + ]; $this->textDirection = $this->setEnumVal($value, $enum, $this->textDirection); return $this;