Add Paragraph alignment type : Thai-Distributed #1784
-
Hi I have to export a word document in Thai and language, and make it looks like this. However, the document created from docx give me this. This section supposes to have only 2 paragraphs, and both paragraphs must be evenly distributed (or justified). I think the issue is about alignment type. I created document in IMAGE1 directly in word document, and use "Thai distributed alignment type". However, I created document in IMAGE2 from docx, and the alignment type shows "justify". I tried a few things but it doesn't improve the alignment. Here are what I tried:
compatibility: {
I couldn't find other ways to make this work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 17 replies
-
I will look into this, sounds like a feature request |
Beta Was this translation helpful? Give feedback.
It is done, check out https://github.com/dolanmiu/docx/blob/master/demo/78-thai-distributed.ts