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

Free Support Forum - aspose.com

Convert DOCX to HTML using Java & Prevent Textbox Content Overlapping in TinyMCE Editor

Hi,

Greetings.

We use Aspose.words Java to convert docx file to html.
We use tinymce to render the html for editing.

but when we render the html in tinymce, some of the text boxes are overlapping and not readable.

even tried in apose word editor - https://products.aspose.app/words/editor

Please suggest ways we can mitigate this.

Please use the attached docx file.
Textbox-overlapping.docx (39.2 KB)

@EdwinPearson,

We have logged this problem in our issue tracking system with ID WORDSNET-22265. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

@EdwinPearson,

Regarding WORDSNET-22265, we have completed the analysis of this issue and concluded to close this issue with “not a bug” status.

MS Word has a fixed page width and it’s smaller than browser window width.
The input document has text boxes with different horizontal alignment and different wrapping types.
Since text boxes have the same width as the page width, visually document looks good.
Aspose.Words shifts text boxes according to horizontal alignment during export to HTML. That is why exported HTML is different.
We think that you should change the input document and put text boxes with inline wrap type.

Hi,
Thanks for your valuable response.

We are unable to edit the document.
Please give us any other suggestions to fix this.

@EdwinPearson,

We have logged your concerns in our issue tracking system and will keep you posted here on any further updates.

@awais.hafeez,

Any updates on this ticket ?
We are not allowed to edit the document.
Please suggest us any other way to mitigate this.

@EdwinPearson,

Please spare us some time as we are still analyzing the issue and need to investigate the best possible way to fix the problem.