-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
using (WordprocessingDocument doc = WordprocessingDocument.Open("testd.docx", true))
{
var body = doc.MainDocumentPart.Document.Body;
List<OpenXmlElement> changes =
body.Descendants<ParagraphPropertiesChange>()
//.Where(c => c.Author.Value == authorName)
.Cast<OpenXmlElement>().ToList(); // number is 0
List<OpenXmlElement> deletions =
body.Descendants<Deleted>()
//.Where(c => c.Author.Value == authorName)
.Cast<OpenXmlElement>().ToList(); // number is 0
var insertions =
body.Descendants<Inserted>()
//.Where(c => c.Author.Value == authorName)
.Cast<OpenXmlElement>().ToList(); // number is 0
}
Metadata
Metadata
Assignees
Labels
No labels