Convert HTML to RTF Fragment

We are using Aspose.Words for Java and would like to convert a fragment of HTML to a fragment of RTF suitable for insertion into another RTF document via an external mechanism.

Aspose.Words makes it easy to generate an entire RTF document from HTML, but we only want an equivalent fragment of RTF, and inserting the entire generated RTF document introduces formatting issues in Microsoft Word.

Is there a way using Aspose.Words to accomplish this?


Thanks you for your interest in Aspose.Words. Yes, You can insert HTML fragment. I think that you can achieve this using InsertHtml method.
You can find InsertHtml method here.

In case of any ambiguity, please let us share the scenario along with documents and code snippet.