Skip to content

Commit f5e9bcd

Browse files
authored
Update Cell.php
1 parent 66c7942 commit f5e9bcd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/PhpWord/Style/Cell.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,14 @@ public function getTextDirection()
166166
*/
167167
public function setTextDirection($value = null)
168168
{
169-
$enum = [self::TEXT_DIR_BTLR, self::TEXT_DIR_TBRL];
169+
$enum = [
170+
self::TEXT_DIR_BTLR,
171+
self::TEXT_DIR_TBRL,
172+
self::TEXT_DIR_LRTB,
173+
self::TEXT_DIR_LRTBV,
174+
self::TEXT_DIR_TBRLV,
175+
self::TEXT_DIR_TBLRV,
176+
];
170177
$this->textDirection = $this->setEnumVal($value, $enum, $this->textDirection);
171178

172179
return $this;

0 commit comments

Comments
 (0)