OfficeDev / OfficeDev/open-xml-docs
cant find Deleted Inserted
Open
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 110
- Forks
- 73
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 1
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
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied testd.docx and the body.Descendants(), Descendants(), and Descendants() queries shown in the issue. Reproduce the empty results and inspect the document structure to determine what documentation or example needs correction; done when the expected elements can be found and the usage is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100