I am attempting to convert a word document to text using OpenXml sdk. Are there any examples of how to do this?
I can open the file, and get the body, but there is no formatting.
OpenSettingsos =newOpenSettings();
WordprocessingDocumentdoc =WordprocessingDocument.Open(fileName,false, os);
Bodybody = doc.MainDocumentPart.Document.Body;
text = body.InnerText;
dave