Words in Arabic are Mirrored
Closed this issue · 3 comments
iahmedgamal commented
Environment
node -v
: [fill]npm -v
: [fill]npm ls officegen
: [fill]- Operating system: [fill]
- Microsoft Office version: [fill]
- Problem with Powerpoint, Excel or Word document: [fill]
Steps to Reproduce
[fill]
Expected Behavior
[fill]
Actual Behavior
[fill]
An example code will be the best.
The fastest (and the most fun) way to resolve the issue is to submit a pull-request yourself.
Ziv-Barber commented
I'll fix it for the next release.
Ziv-Barber commented
@ahmad-g-mustafa
You can also make the paragraph rtl and it'll work for you:
docx.createP({ rtl: true })
Then anything inside it will be displayed without mirroring the words.
Ziv-Barber commented
@ahmad-g-mustafa
Anyway, I'll add a full fix.