Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

How to traverse the WordProessing ML open XML document xml to get the fill attribute of an shape element

$
0
0

How can I traverse the xml using linqToXML to get the

<a:solidFill><a:srgbClr val="FFFF00" /></a:solidFill>

attribute?

<w:document xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 wp14"><w:body><w:p w:rsidR="00DB34B7" w:rsidRDefault="00DB34B7"><w:r><w:t>On the Insert tab, the galleries include items that are designed to coordinate with the overall look of your document. You can use these galleries to insert tables, headers, footers, lists, cover pages, and other document building blocks. When you create pictures, charts, or diagrams, they also coordinate with your current document look.</w:t></w:r></w:p><w:p w:rsidR="00DB34B7" w:rsidRDefault="00DB34B7"><w:bookmarkStart w:name="_GoBack" w:id="0" /><w:bookmarkEnd w:id="0" /></w:p><w:p w:rsidR="00DB34B7" w:rsidRDefault="00DB34B7" /><w:p w:rsidR="00DB34B7" w:rsidRDefault="00DB34B7" /><w:p w:rsidR="00F41D04" w:rsidRDefault="00653B1E"><w:r><w:rPr><w:noProof /></w:rPr><mc:AlternateContent><mc:Choice Requires="wps"><w:drawing><wp:anchor distT="0" distB="0" distL="114300" distR="114300" simplePos="0" relativeHeight="251659264" behindDoc="0" locked="0" layoutInCell="1" allowOverlap="1"><wp:simplePos x="0" y="0" /><wp:positionH relativeFrom="column"><wp:posOffset>604299</wp:posOffset></wp:positionH><wp:positionV relativeFrom="paragraph"><wp:posOffset>31805</wp:posOffset></wp:positionV><wp:extent cx="2838616" cy="1558456" /><wp:effectExtent l="0" t="0" r="19050" b="22860" /><wp:wrapNone /><wp:docPr id="1" name="Rounded Rectangle 1" /><wp:cNvGraphicFramePr /><a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"><a:graphicData uri="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"><wps:wsp><wps:cNvSpPr /><wps:spPr><a:xfrm><a:off x="0" y="0" /><a:ext cx="2838616" cy="1558456" /></a:xfrm><a:prstGeom prst="roundRect"><a:avLst /></a:prstGeom><a:solidFill><a:srgbClr val="FFFF00" /></a:solidFill></wps:spPr><wps:style><a:lnRef idx="2"><a:schemeClr val="accent2"><a:shade val="50000" /></a:schemeClr></a:lnRef><a:fillRef idx="1"><a:schemeClr val="accent2" /></a:fillRef><a:effectRef idx="0"><a:schemeClr val="accent2" /></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1" /></a:fontRef></wps:style><wps:bodyPr rot="0" spcFirstLastPara="0" vertOverflow="overflow" horzOverflow="overflow" vert="horz" wrap="square" lIns="91440" tIns="45720" rIns="91440" bIns="45720" numCol="1" spcCol="0" rtlCol="0" fromWordArt="0" anchor="ctr" anchorCtr="0" forceAA="0" compatLnSpc="1"><a:prstTxWarp prst="textNoShape"><a:avLst /></a:prstTxWarp><a:noAutofit /></wps:bodyPr></wps:wsp></a:graphicData></a:graphic></wp:anchor></w:drawing></mc:Choice><mc:Fallback><w:pict><v:roundrect id="Rounded Rectangle 1" style=";margin-left:47.6pt;margin-top:2.5pt;width:223.5pt;height:122.7pt;z-index:251659264;visibility:visible;v-text-anchor:middle" o:spid="_x0000_s1026" fillcolor="yellow" strokecolor="#622423 [1605]" strokeweight="2pt" arcsize="10923f" o:gfxdata="UEsDBBQABgAIAAAAIQC2gziS/gAAAOEBAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbJSRQU7DMBBF&#xA;90jcwfIWJU67QAgl6YK0S0CoHGBkTxKLZGx5TGhvj5O2G0SRWNoz/78nu9wcxkFMGNg6quQqL6RA&#xA;0s5Y6ir5vt9lD1JwBDIwOMJKHpHlpr69KfdHjyxSmriSfYz+USnWPY7AufNIadK6MEJMx9ApD/oD&#xA;OlTrorhX2lFEilmcO2RdNtjC5xDF9pCuTyYBB5bi6bQ4syoJ3g9WQ0ymaiLzg5KdCXlKLjvcW893&#xA;SUOqXwnz5DrgnHtJTxOsQfEKIT7DmDSUCaxw7Rqn8787ZsmRM9e2VmPeBN4uqYvTtW7jvijg9N/y&#xA;JsXecLq0q+WD6m8AAAD//wMAUEsDBBQABgAIAAAAIQA4/SH/1gAAAJQBAAALAAAAX3JlbHMvLnJl&#xA;bHOkkMFqwzAMhu+DvYPRfXGawxijTi+j0GvpHsDYimMaW0Yy2fr2M4PBMnrbUb/Q94l/f/hMi1qR&#xA;JVI2sOt6UJgd+ZiDgffL8ekFlFSbvV0oo4EbChzGx4f9GRdb25HMsYhqlCwG5lrLq9biZkxWOiqY&#xA;22YiTra2kYMu1l1tQD30/bPm3wwYN0x18gb45AdQl1tp5j/sFB2T0FQ7R0nTNEV3j6o9feQzro1i&#xA;OWA14Fm+Q8a1a8+Bvu/d/dMb2JY5uiPbhG/ktn4cqGU/er3pcvwCAAD//wMAUEsDBBQABgAIAAAA&#xA;IQCbEU0FiwIAAHsFAAAOAAAAZHJzL2Uyb0RvYy54bWysVN1r2zAQfx/sfxB6X21nSZaFOiW0ZAxK&#xA;V9qOPiuyFBtknXZSvvbX7yQ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NcQrFUCDalsZQyttY4FWd+NMTezgenEsvQSR3U&#xA;kcvdIPMsW0ineuIFq0azsqb9avYOYedf1+Fz9UynjWzsXbe4Wt9+bxAvL6anRxDJTOkvDL/4jA41&#xA;M239nnQUA8JDkXMSoeBHbBfznPUWIS+yOci6kv8P1D8AAAD//wMAUEsBAi0AFAAGAAgAAAAhALaD&#xA;OJL+AAAA4QEAABMAAAAAAAAAAAAAAAAAAAAAAFtDb250ZW50X1R5cGVzXS54bWxQSwECLQAUAAYA&#xA;CAAAACEAOP0h/9YAAACUAQAACwAAAAAAAAAAAAAAAAAvAQAAX3JlbHMvLnJlbHNQSwECLQAUAAYA&#xA;CAAAACEAmxFNBYsCAAB7BQAADgAAAAAAAAAAAAAAAAAuAgAAZHJzL2Uyb0RvYy54bWxQSwECLQAU&#xA;AAYACAAAACEAUIWj9t8AAAAIAQAADwAAAAAAAAAAAAAAAADlBAAAZHJzL2Rvd25yZXYueG1sUEsF&#xA;BgAAAAAEAAQA8wAAAPEFAAAAAA==&#xA;" /></w:pict></mc:Fallback></mc:AlternateContent></w:r></w:p><w:sectPr w:rsidR="00F41D04"><w:pgSz w:w="12240" w:h="15840" /><w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0" /><w:cols w:space="720" /><w:docGrid w:linePitch="360" /></w:sectPr></w:body></w:document>



Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>