Ziv-Barber/officegen

Words in Arabic are Mirrored

Closed this issue · 3 comments

Environment

  1. node -v: [fill]
  2. npm -v: [fill]
  3. npm ls officegen: [fill]
  4. Operating system: [fill]
  5. Microsoft Office version: [fill]
  6. 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.

I'll fix it for the next release.

@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.

@ahmad-g-mustafa
Anyway, I'll add a full fix.