I have a problem with back-end DocumentEditor library. After conversion from DOCX to SFDT format footnotes are missing in converted document. I attach sample docx file which I used to test solution and screenshots from Word (DOCX) and SFDT (DocumentEditor control).
Back-end code:
public string ConvertToSfdt(GeneratorVM docxFile)
{
string result;
using (Stream stream = new MemoryStream(Convert.FromBase64String(docxFile.Content)))
{
var sfdtDocument = WordDocument.Load(stream, FormatType.Docx);
result = Newtonsoft.Json.JsonConvert.SerializeObject(sfdtDocument);
sfdtDocument.Dispose();
}
return result;
}
Am I missing something? Thank you in advance for help.
Attachment:
Sample_files_8bfffebd.zip