Monday, 15 August 2011

c# - How to find the paragraph node is within the table node in OpenXML -


I have tried to find the parameter node within the table node for the property of the ancestor in the following code sample, but it's all about Is not working for the cases Using

  (word processing document document = wordprogging document.open (DocsEstream, True)) {BodyDocsbox = Docs. Main document page. Document Body; & Lt; OpenXmlElement & gt; Each mercury = new list & lt; OpenXMLEML & gt; (); // Paragraph Element Foreign Currency (OpenXML Element Body Child in Doxx Biblicals) {If (Body is Child Paragraph) {If (Body Child.Ensters & Lt; Table & gt; (). Tolist (). Calculation >> 0) {}}} // list & amp;; OpenXmlElement & gt; Every penny = docsbox. ChildIalmentsOilist (). Where (each child => each child is paragraph) .Ollist (); (OpenXML element lstPara in each stage) {if (lstPara.ChildElements.Any (ch = & gt; ch.LocalName.ToLower). Equal ("run")) {} else {}}}  


No comments:

Post a Comment