Free Support Forum - aspose.com

Tabs are replaced with spaces when docx is saved to html with aspose java


#1

HI I have seen many links in aspose form regarding this issue but there is not particular solution provided for that
Can you please guide me which htmlSave options should i use to prevent this

I have already tries with roundtrip information and still the same issue is there


#2

@kmehta

Please ZIP and attach your input Word document here for testing. We will investigate the issue on our side and provide you more information.


#3

Please see the zip file issue.zip (27.9 KB)

I have used document.save( outputStream, SaveFormat.PDF ); method

I am using 19.5 version of aspose.word and 19.4 version of aspose.pdf


#4

@kmehta

We have tested the scenario using the latest version of Aspose.Words for Java 19.5 with following code example and have not found the shared issue. Please check the attached output PDF. 19.5.pdf (28.1 KB)

Document doc = new Document(MyDir + "requested document.docx");
doc.save(MyDir + "19.5.pdf");

#5

issue is there when saved as html not pdf


#6

@kmehta

We have converted the shared document to HTML and have not faced the shared issue. Please check the attached output document.
19.5.java.zip (849 Bytes)