Forum


Replies: 6   Views: 2340
Html to word - vertical text
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 15-04-2019 - 08:06

Hello,

You can use a dir attribute to set a text direction in paragraphs and cells with the following values: lrTb, tbRl, btLr, lrTbV, tbRlV, tbLrV . Or use a custom paragraph style, on https://www.phpdocx.com/documentation/introduction/html-to-word-PHP (Using native Word formatting with HTML section) you can read more information about using custom paragraph styles with HTML to DOCX transformations.

Regards.