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

Free Support Forum - aspose.com

Type of Checkbox Content Control? StructuredDocumentTag or Form Field | Convert DOCX to HTML using C# or Java

Hi,
We are using Aspose.Words ver: 17.2.0.0.
We have a question when converting from docx to html.
In the Word document, we have content control with checkbox.
This is what looks like. They are not checkable.
image.png (3.3 KB)

In HTML, it will say -aw-sdt-tag or -aw-sdt-title.
image.png (3.9 KB)

Is there a way that checkbox can be checkable? or in html, it can tell me it is checkbox?

Thank you!

@thomaschen0224,

To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Your simplified input Word document
  • Aspose.Words (20.5) generated output HTML file showing the undesired behavior
  • Your expected HTML file showing the desired output. You can create this document by using MS Word or any other editor.

As soon as you get these pieces of information ready, we will start investigation into your scenario and provide you code to achieve the same by using Aspose.Words. Thanks for your cooperation.