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();