Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

522
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda