I'm trying to use Apache poi word 3.8 to create word document in persian/arabic language. My question is: how change text direction in document? ( it means changing text direction not changing just paragraph text alignment) In MS Word we could use Right-to-left text direction to change text direction and Align Right to set alignment. What’s equivalent of the first one in poi set property?
相关问题
- React Native Inline style for multiple Text in sin
- Converting byte array output into Blob corrupts fi
- How to change the first two uppercase characters o
- docx4j - delete wml P element
- Is there a way to rotate text around (or inside) a
相关文章
- 放在input的text下文本一直出现一个/(即使还没输入任何值)是什么情况
- System.Runtime.InteropServices.COMException (0x800
- How to print a docx to a specific printer using Mi
- css: dir=“rtl” VS style=“direction:rtl”
- Rendering plain text through PHP
- Python thinks a 3000-line text file is one line lo
- How to loop through all the rows and cells in an e
- Deleting columns from a table with merged cells
This is bidirectional text direction support (bidi) and is not yet implemented in apache poi per default. But the underlying object org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrBase supports this. So we must get this underlying object from the
XWPFParagraph
.Example: