Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

528
Views
how to change direction of text from ltr to rtl in docxtemplater?

I'm inserting text into a Microsoft Word document using the docxtemplater module.

I'm having trouble inserting Arabic text.

doc.setData({
country: 'الهند'
});

output

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I'm not exactly sure how to use the docxtemplater module, but the <w:rtl> tag should help you. I'm not exactly sure how to implement the solution but something with this idea in mind might work (:

country: '<w:rtl>الهند</w:rtl>'

(apologies if the above is invalid, I am not familiar with docxtemplater but have found the <w:rtl> tag and it seems to be what you're looking for.)

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!