Convert doc/docx to html (SaveFormat.HTML_FIXED): controls like checkboxes etc

Hello,

when I’m converting doc/docx to html with SaveFormat.HTML, controls like checkboxes display correct in browser (clickable).
But I’m depinging from SaveFormat.HTML_FIXED because of better rendering and with SaveFormat.HTML_FIXED controls like checkboxes are not clickable in browser.
Can you help me?

Version: aspose-words-14.12.0-jdk16.jar

My trial:

Document doc = new Document(“controls.docx”);

HtmlSaveOptions saveOptions = new HtmlSaveOptions();
saveOptions.setExportImagesAsBase64(true);
doc.save(“out.html”, saveOptions); //checkboxes clickable

HtmlFixedSaveOptions saveOptions_fixed = new HtmlFixedSaveOptions();
saveOptions_fixed.setExportEmbeddedImages(true);
saveOptions_fixed.setExportEmbeddedCss(true);
saveOptions_fixed.setExportEmbeddedFonts(true);
saveOptions_fixed.setExportEmbeddedSvg(true);
doc.save(“out_fixed.html”, saveOptions_fixed); //checkboxes not clickable


Hi Andreas,

Thanks for your inquiry. Unfortunately, there is no HtmlFixedSaveOptions to export FORMCHECKBOX as . However, I have logged this feature request as WORDSNET-11368 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

Thanks for your quick reply.
I’m depinging also on other possible controls (combobox, radiobuttons).
Could you expand the feature request WORDSNET-11368 to also include those?

Best regards,
Andreas

Hi Andreas,

Thanks for your inquiry.
For combo-box, I have logged this feature request as WORDSNET-11375 in our issue tracking system. You will be
notified via this forum thread once this feature is available.

Radio buttons are ActiveX controls in MS Word and unfortunately Aspose.Words does not support to work with ActiveX controls. This thread has been linked to the appropriate issue
(WORDSNET-1877) and you will be notified as soon as it is resolved.


We apologize for your inconvenience.

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


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

Hi,


It is to update you that we have added following new public property to HtmlFixedSaveOptions class:

///
/// Gets or sets indication of whether form fields are exported as interactive
/// items (as ‘input’ tag) rather than converted to text or graphics.
///
public bool ExportFormFields
{
get { return mExportFormFields; }
set { mExportFormFields = value; }
}

Hope, this helps.

Best regards,