Hello I have a RTF document, which contains HTML.
I would like the transform the HTML markup in a document to HTML, it is currently interpreted as a string literal.
for example this document.rtf, http://i.imgur.com/qmP1DSV.png
(also in the attachements) gets transformed to the following HTML:
http://paste.ofcode.org/38bU9dWuHAsLUxDDTtCesY5
,
http://i.imgur.com/ceSzt7r.png
but I would like the HTML to actually be parsed like this:
http://i.imgur.com/8zLNcUN.png
the current code:
byte[] buffer = Encoding.ASCII.GetBytes(responseItem.Notes.ToString());
MemoryStream newStream = new MemoryStream(buffer);
Document doc = new Document(newStream);
var saveOptions = new Aspose.Words.Saving.HtmlSaveOptions(SaveFormat.Html);
responseItem.Notes = doc.ToString(saveOptions);