We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Content Reversed

While extracting content from dot one section file, the content are reversed in bottom to top (bottom up) in case of HtmlSaveOptions. but in case of PdfSaveOption, it is showing correct (top-down).but i need htmlSaveOption for my current project.

using 18.5 aspose note.

ByteArrayOutputStream opstream = new ByteArrayOutputStream();
try {
HtmlSaveOptions options = new HtmlSaveOptions();
document.save(opstream, options);
return opstream.toByteArray();


Thanks for your inquiry. Please ZIP and upload your input Word document (.dot file) and Aspose.Words for Java 18.6 generated output HTML file showing the undesired behavior here for testing. We will investigate the issue on our end and provide you more information.

Reverse.zip (1.9 MB)

PFA for input and output.


We were able to reproduce this issue at our end and have logged it as NOTEJAVA-464 for further investigation at our end. We’ll update you here once there is some information or a fix version available in this regard.