Content Reversed


#1

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();
options.setExportImages(ResourceExportType.ExportEmbedded);
options.setExportFonts(ResourceExportType.ExportEmbedded);
options.setExportCss(ResourceExportType.ExportEmbedded);
options.setFontFaceTypes(FontFaceType.Woff);
document.save(opstream, options);
return opstream.toByteArray();


#2

@satyam2893,

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.


#3

Reverse.zip (1.9 MB)

PFA for input and output.


#4

@satyam2893,

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.