Hi,
We are using Aspose word dll version 10.5.0.0 to generate word document, where input is word document.
We are taking the HTML format of the input word document using the following code:
string htmlText = string.Empty;
string lStrImageFolder = string.Empty;
lStrImageFolder = FolderPath + "/" + ConfigurationManager.AppSettings["HTMLFileFolderName"].ToString();
string tempDir = Path.Combine(Server.MapPath(lStrImageFolder));
if (!Directory.Exists(tempDir))
Directory.CreateDirectory(tempDir);
Aspose.Words.Saving.HtmlSaveOptions saveOptions = new Aspose.Words.Saving.HtmlSaveOptions();
saveOptions.ImagesFolder = tempDir;
saveOptions.CssStyleSheetType = Aspose.Words.Saving.CssStyleSheetType.Embedded;
saveOptions.SaveFormat=SaveFormat.Html;
saveOptions.ImagesFolderAlias = ConfigurationManager.AppSettings["HTMLFileFolderName"].ToString();
MemoryStream htmlStream = new MemoryStream();
doc.Save(htmlStream, saveOptions);
htmlText = Encoding.UTF8.GetString(htmlStream.GetBuffer());
htmlStream.Close();
In input word document (PFA) there are some special symbols but in the Aspose HTML(PFA) we are getting only font family of that symbol not the charater code of that symbol for example the below highlight special symbole’s font family is
wingdings and charater code is 224
So is there any way we can get character code with the font family in the generated HTML so that we can identify which speical symbol used in input word document.
Please let us know if any solution is possible
Thanks,
Samanvay