I am using Aspose.words for java. My requirement is to insert html at the bookmarks and save the document. I used documentBuilder.insertHtml(argText) method for this. Most of the html tag are working fine but few tags like <ol>, <address> are not working properly. <ol> is displaying some junk characters and <address> is displayed as normal(it should be italic).
Are these tags supported in Aspose.words? Where can I get the list of supported html tags ?
Thanks for your request. Which version of Aspose.Words for java do you use? Problem with list bullets was resolved in the latest version of Aspose.Words for java. You can download it from here: https://releases.aspose.com/words/net
You can find an approximate list of what is supported in HTML import/export here: https://releases.aspose.com/words/net
But, you should note, this list could be out of date, since we are working on improving out HTML import/export modules.
Best regards.
The first 2 i.e., “Testing OL without Type” and " Testing <OL> Type - 1 " are working fine but the remaining are displaying junk characters. Attached the generated document for your reference.
There is a mistake in the html that I posted earlier. It is not displaying juck characters because there is <OL> tag in the headings. I have removed those and tried. The junk characters are still getting displayed.
I have included Aspose.Words.jdk14.jar in my application and tested. Still the same issue persits. I have uploaded the output document for your reference.
Hi
Thanks for your request. It seems you are right, I reproduced the same on Aspose.Words for Java 3.2.0 too. I reopened the issue, we will further investigate it and provide you more information. Sorry for inconvenience.
Best regards.
Hi Nalini,
Thanks for your report. I have emailed to you the fixed Aspose.Words.jdk14.jar. Please check your e-mail. And please inform me how it works for you.
Best Regards,
Hi Nalini,
We just published Aspose.Words for Java 3.2.1 that contains your fix. Anyone can find it on Aspose.Words download page. You don’t need to download it – the jar inside the release exactly the same.
Best Reagards,