Skip to content

Commit 6590189

Browse files
authored
Merge pull request #2429 from terryzwt/master
Update Cell.php
2 parents 23991cd + 39f379c commit 6590189

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/PhpWord/Style/Cell.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,14 @@ public function getTextDirection()
162162
*/
163163
public function setTextDirection($value = null)
164164
{
165-
$enum = [self::TEXT_DIR_BTLR, self::TEXT_DIR_TBRL];
165+
$enum = [
166+
self::TEXT_DIR_BTLR,
167+
self::TEXT_DIR_TBRL,
168+
self::TEXT_DIR_LRTB,
169+
self::TEXT_DIR_LRTBV,
170+
self::TEXT_DIR_TBRLV,
171+
self::TEXT_DIR_TBLRV,
172+
];
166173
$this->textDirection = $this->setEnumVal($value, $enum, $this->textDirection);
167174

168175
return $this;

0 commit comments

Comments
 (0)