Hi,
We are trying to convert an Arabic Word Document to HTML using the below Aspose Word for Java code. The converted HTML does not have the RTL applied which is available in the word document. Kindly provide your support in fixing this issue.
Sample Document.zip (27.7 KB)
Document doc = new Document(dataDir + filename);
HtmlSaveOptions saveOptions = new HtmlSaveOptions();
saveOptions.setSaveFormat(SaveFormat.HTML);
// Configure the options to exclude hyperlinks
saveOptions.setExportRelativeFontSize(false);
saveOptions.setExportPageMargins(false);
saveOptions.setExportPageSetup(false);
saveOptions.setExportImagesAsBase64(true);
doc.save(exportDataDir + filename.substring(0, filename.indexOf(".doc")) + ".html", saveOptions);