Scale Images, Show Section Numbers during DOC to HTML Conversion using Java API

The issues you have found earlier (filed as 1146) have been fixed in this update.

Great, thanks. I’ll try it out.

-Bin

Hi,

Can you try to convert the attached document from Word to HTML? There are still quite a few issues. For example, the locations of the overlay drawing shapes are not correct. The text (hello) was missing in drawing shape below the ‘line break’. If those issues are not fixed, I don’t think we can use the conversion.

Thanks,

-Bin

Hi

Thanks for your request. The first problem occurs because currently Aspose.Words does not support positioning of floating content upon converting to HTML. The second occurs because child stories of shapes are not rendering upon converting to HTML yet. I linked your request to the appropriate issues; you will be notified as soon as the problems are resolved.

Best regards.

The issues you have found earlier (filed as 1144) have been fixed in this update.

The issues you have found earlier (filed as WORDSNET-1909) have been fixed in this .NET update and in this Java update.

How to implement ReplaceListLabels method using aspose.words for java?

Hi Liu,

Thanks for your inquiry. Perhaps, you are using an older version of Aspose.Words. I suggest you please use the latest version of Aspose.Words i.e. v11.10.0 as it contains newly introduced features, enhancements and fixes for issues reported earlier. The ReplaceListLabels method was introduced as a workaround for list numbers issue.

Please use the following code snippet to convert your input document to html with correct list number formatting.

Document  doc = new Document(MyDir + "in.doc");
HtmlSaveOptions options = new HtmlSaveOptions();

//Specifies whether to write page numbers to table of contents when saving HTML, MHTML and EPUB. Default value is false.
options.setExportTocPageNumbers(true);
doc.save(MyDir + "AsposeOut.html", options);

Hope this helps you. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.