onizet / html2openxml

Html2OpenXml is a small .Net library that convert simple or advanced HTML to plain OpenXml components. This program has started in 2009, initially to convert user's comments from SharePoint to Word.
MIT License
306 stars 107 forks source link

RTL support for (Hebrew, Arabic) #66

Closed yonihbc closed 2 weeks ago

yonihbc commented 4 years ago

I'm trying to change text direction to right-to-left

i don't see any support for that

please help,

onizet commented 4 years ago

Actually, it offers some very basic support on RTL. In the past, I invested some time on this topic but was lacking of real testing cases. And in the end, I'm sorry to say that but it was very few requested. But if you want to submit a PR, I will more than willing to merge it

wsaeed123 commented 2 years ago

I exported RTL content, the content is exported RTL fine ,but the paper setting itself still LTR.

it will be much appreciated if you help. thank you