Bug 63741

Summary: Support bidi flag (bi-directional text) in XWPFParagraph
Product: POI Reporter: PJ Fanning <fanningpj>
Component: XWPFAssignee: POI Developers List <dev>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 4.0.x-dev   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description PJ Fanning 2019-09-09 12:34:02 UTC
https://stackoverflow.com/questions/57850543/apache-poi-mirroring-words-in-arabic-langauge

org.apache.poi.hslf.record.TextSpecInfoRun has `void setBidi(Boolean)` and `Boolean getBidi()`
Comment 1 PJ Fanning 2019-09-09 14:21:19 UTC
I opened an arabic docx and found another way to specify the bidi value.

this.paragraph.getPPr().getRPr().getLang().getBidi() - returns java.lang.Object

The doc I looked at had "ar-eg" (meaning Egyptian Arabic).

https://www.loc.gov/catdir/cpso/romanization/arabic.docx