Bug 63741 - Support bidi flag (bi-directional text) in XWPFParagraph
Summary: Support bidi flag (bi-directional text) in XWPFParagraph
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: XWPF (show other bugs)
Version: 4.0.x-dev
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-09 12:34 UTC by PJ Fanning
Modified: 2019-09-09 14:21 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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