3.7.1 Grouped Graphical Objects

The following code example illustrates a SmartArt diagram grouped with a picture.

 <a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
     <a:graphicData uri="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup">
         <wpg:wgp>
             <wpg:cNvGrpSpPr/>
             <wpg:grpSpPr>
                 …
             </wpg:grpSpPr>
             <pic:pic xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture">
                 <pic:nvPicPr>
                     <pic:cNvPr id="7" name="Picture 7"/>
                     …
                 </pic:nvPicPr>
                 …
             </pic:pic>
             <wpg:graphicFrame>
                 <wpg:cNvPr id="6" name="Diagram 6"/>
                 <wpg:cNvFrPr/>
                 …
                 <a:graphic>
                     <a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/diagram">
                         <dgm:relIds xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" r:dm="rId8" r:lo="rId9" r:qs="rId10" r:cs="rId11"/>
                     </a:graphicData>
                 </a:graphic>
             </wpg:graphicFrame>
         </wpg:wgp>
     </a:graphicData>
 </a:graphic>