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

Free Support Forum - aspose.com

Floating images overlap contents of next page after saving to HTML using Java


I am using Aspose 11.2 release, jdk-16 to convert .doc to .html files.

Code :
public static void main(String[] args){
String inputDoc = “D:\Aspose\Documents”;
String outputHtml = “D:\Aspose\Conversions”;
try {
Document doc = new Document(inputDoc+"\bullet_doctest.doc");
HtmlSaveOptions saveOptions = new HtmlSaveOptions();
saveOptions.setExportMetafileAsRaster(false); saveOptions.setExportHeadersFootersMode(ExportHeadersFootersMode.PER_SECTION);
doc.save(outputHtml+"\bullet_doctest.html", saveOptions);
} catch (Exception e) {

I have issues in the conversion. Please go through the attached docs and snapshots of their respective html files.


Hi Yasmeen,

Thanks for your query. I have managed to reproduce the same problem at my end. I have logged this issue in our issue tracking system and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.


I am Yasmeen’s colleague and as we are looking for a upgrade, I am bit anxious to know the status of this issue!

Thanks and Regards,
Hi Daniel,

Thanks for your patience.

I am afraid your issues have now been postponed till a later date due to some other important issues and new features. We will inform you as soon as there are any further developments.

Following issues are linked to this thread.

WORDSNET-6227 : Images are overlapping contents of the document. Footer has incorrect page number
WORDSNET-6228 : Line alignment is not in synchronize with the original document.
WORDSNET-6229 : The floating blue background image is mis-aligned.
WORDSNET-6230 : Extra characters are present beside the table. Make a note of Ba, B present besides the first and second row of the table.

We apologize for your inconvenience.

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

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

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

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Hi Daniel,

Thanks for your patience.

It is to update you that we have closed this issue (WORDSNET-6228) with ‘‘Won’t Fix’’ resolution. We are quoting developer’s comments here for your reference.

User has used the following parameters for positioning the table header on the left:

{Table.HorizontalAlignment : Left}

{Table.RelativeHorizontalPosition: Page}

{Table.FrameLeft : 3576}

When the parameter value is set to “Table.HorizontalAlignment : Left” text must wrap the table on the right, but because of the parameter “Table.FrameLeft : 3576” the header text wraps the table on the left. Thisbehavior is quite similar to “Table.HorizontalAlignment : Сenter”.

CSS does not allow implementing the full wrapping of a table or a picture; there are “float: left” and “float: right” parameters only. HTML export sets the “float: left” for a table and therefore the header is placed on the right of the table.

This breaks the document structure. In the web view of MS Word this issue occurs as well. There is no a counterpart in html/css.