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

Free Support Forum - aspose.com

DOCX to HTML Conversion Issue with Target Frame Setting using .NET

We have found that default target frame for hyperlinks is ignored in HTML export.
Here is a test application:
TestApp.zip (22.3 KB)

Steps to reproduce:

  1. Open test app in VS and set aspose license
  2. Run app and choose destination folder.
  3. Press a button. In the destination folder you will find html files generated by Word and Aspose.
  4. Open both html files. There are 4 hyperlinks. Click the Default hyperlink in Word and Aspose html.
  5. Html from Word opens this hyperlink in a new page. Aspose in the same page.

The problem is that for this Word file we have set a default target frame for link “New window”, like this:
image.png (40.9 KB)
So hyperlink Default should use this default setting. Word put element for this:
image.png (7.2 KB)
In Aspose html we don’t have this


We have tested the scenario and managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-21522. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-21522) have been fixed in this Aspose.Words for .NET 21.8 update and this Aspose.Words for Java 21.8 update.