home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW.cab / OART.DLL / 3000 / 3237 < prev    next >
Extensible Markup Language  |  2010-03-13  |  7KB  |  202 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (c) Microsoft Corporation.  All rights reserved. -->
  3. <layoutDef xmlns="http://schemas.openxmlformats.org/drawingml/2006/diagram" uniqueId="urn:microsoft.com/office/officeart/2005/8/layout/cycle5">
  4.     <title val="Block Cycle" />
  5.     <desc val="" />
  6.     <catLst>
  7.         <cat type="cycle" pri="3000" />
  8.     </catLst>
  9.     <sampData>
  10.         <dataModel>
  11.             <ptLst>
  12.                 <pt modelId="0" type="doc" />
  13.                 <pt modelId="1" type="node">
  14.                     <prSet phldr="1" />
  15.                 </pt>
  16.                 <pt modelId="2" type="node">
  17.                     <prSet phldr="1" />
  18.                 </pt>
  19.                 <pt modelId="3" type="node">
  20.                     <prSet phldr="1" />
  21.                 </pt>
  22.                 <pt modelId="4" type="node">
  23.                     <prSet phldr="1" />
  24.                 </pt>
  25.                 <pt modelId="5" type="node">
  26.                     <prSet phldr="1" />
  27.                 </pt>
  28.             </ptLst>
  29.             <cxnLst>
  30.                 <cxn modelId="6" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  31.                 <cxn modelId="7" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  32.                 <cxn modelId="8" type="parOf" srcId="0" destId="3" srcOrd="2" destOrd="0" presId="" />
  33.                 <cxn modelId="9" type="parOf" srcId="0" destId="4" srcOrd="3" destOrd="0" presId="" />
  34.                 <cxn modelId="10" type="parOf" srcId="0" destId="5" srcOrd="4" destOrd="0" presId="" />
  35.             </cxnLst>
  36.         </dataModel>
  37.     </sampData>
  38.     <styleData>
  39.         <dataModel>
  40.             <ptLst>
  41.                 <pt modelId="0" type="doc" />
  42.                 <pt modelId="1" type="node" />
  43.                 <pt modelId="2" type="node" />
  44.                 <pt modelId="3" type="node" />
  45.             </ptLst>
  46.             <cxnLst>
  47.                 <cxn modelId="4" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  48.                 <cxn modelId="5" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  49.                 <cxn modelId="6" type="parOf" srcId="0" destId="3" srcOrd="2" destOrd="0" presId="" />
  50.             </cxnLst>
  51.         </dataModel>
  52.     </styleData>
  53.     <clrData>
  54.         <dataModel>
  55.             <ptLst>
  56.                 <pt modelId="0" type="doc" />
  57.                 <pt modelId="1" type="node" />
  58.                 <pt modelId="2" type="node" />
  59.                 <pt modelId="3" type="node" />
  60.                 <pt modelId="4" type="node" />
  61.                 <pt modelId="5" type="node" />
  62.                 <pt modelId="6" type="node" />
  63.             </ptLst>
  64.             <cxnLst>
  65.                 <cxn modelId="7" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  66.                 <cxn modelId="8" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  67.                 <cxn modelId="9" type="parOf" srcId="0" destId="3" srcOrd="2" destOrd="0" presId="" />
  68.                 <cxn modelId="10" type="parOf" srcId="0" destId="4" srcOrd="3" destOrd="0" presId="" />
  69.                 <cxn modelId="11" type="parOf" srcId="0" destId="5" srcOrd="4" destOrd="0" presId="" />
  70.                 <cxn modelId="12" type="parOf" srcId="0" destId="6" srcOrd="5" destOrd="0" presId="" />
  71.             </cxnLst>
  72.         </dataModel>
  73.     </clrData>
  74.     <layoutNode name="cycle">
  75.         <varLst>
  76.             <dir val="norm" />
  77.             <resizeHandles val="exact" />
  78.         </varLst>
  79.         <choose>
  80.             <if func="var" arg="dir" op="equ" val="norm">
  81.                 <choose>
  82.                     <if axis="ch" ptType="node" func="cnt" op="gt" val="2">
  83.                         <alg type="cycle">
  84.                             <param type="stAng" val="0" />
  85.                             <param type="spanAng" val="360" />
  86.                         </alg>
  87.                     </if>
  88.                     <else>
  89.                         <alg type="cycle">
  90.                             <param type="stAng" val="-90" />
  91.                             <param type="spanAng" val="360" />
  92.                         </alg>
  93.                     </else>
  94.                 </choose>
  95.             </if>
  96.             <else>
  97.                 <choose>
  98.                     <if axis="ch" ptType="node" func="cnt" op="gt" val="2">
  99.                         <alg type="cycle">
  100.                             <param type="stAng" val="0" />
  101.                             <param type="spanAng" val="-360" />
  102.                         </alg>
  103.                     </if>
  104.                     <else>
  105.                         <alg type="cycle">
  106.                             <param type="stAng" val="90" />
  107.                             <param type="spanAng" val="-360" />
  108.                         </alg>
  109.                     </else>
  110.                 </choose>
  111.             </else>
  112.         </choose>
  113.         <shape />
  114.         <presOf />
  115.         <choose>
  116.             <if func="var" arg="dir" op="equ" val="norm">
  117.                 <constrLst>
  118.                     <!-- Node Sizing -->
  119.                     <constr type="w" for="ch" forName="node" refType="w" />
  120.                     <!-- Connector and Spacing -->
  121.                     <constr op="equ" type="w" for="ch" ptType="sibTrans" refType="w" refFor="ch" refForName="node" fact="0.3" />
  122.                     <constr op="equ" type="diam" for="ch" ptType="sibTrans" refType="diam" />
  123.                     <constr op="equ" type="sibSp" refType="w" refFor="ch" refForName="node" fact="0.15" />
  124.                     <constr type="w" for="ch" forName="spNode" refType="sibSp" fact="1.6" />
  125.                     <!-- Font Size -->
  126.                     <constr op="equ" type="primFontSz" for="ch" forName="node" val="65" />
  127.                 </constrLst>
  128.             </if>
  129.             <else>
  130.                 <constrLst>
  131.                     <!-- Node Sizing -->
  132.                     <constr type="w" for="ch" forName="node" refType="w" />
  133.                     <!-- Connector and Spacing -->
  134.                     <constr op="equ" type="w" for="ch" ptType="sibTrans" refType="w" refFor="ch" refForName="node" fact="0.3" />
  135.                     <constr type="diam" for="ch" ptType="sibTrans" refType="diam" fact="-1" />
  136.                     <constr op="equ" type="diam" for="ch" refType="diam" fact="-1" />
  137.                     <constr op="equ" type="sibSp" refType="w" refFor="ch" refForName="node" fact="0.15" />
  138.                     <constr type="w" for="ch" forName="spNode" refType="sibSp" fact="1.6" />
  139.                     <!-- Font Size -->
  140.                     <constr op="equ" type="primFontSz" for="ch" forName="node" val="65" />
  141.                 </constrLst>
  142.             </else>
  143.         </choose>
  144.         <ruleLst />
  145.         <!--  Create nodes.  They will have no geometry. -->
  146.         <forEach axis="ch" ptType="node">
  147.             <!-- text node -->
  148.             <layoutNode name="node">
  149.                 <varLst>
  150.                     <bulletEnabled val="true" />
  151.                 </varLst>
  152.                 <alg type="tx" />
  153.                 <shape type="roundRect" />
  154.                 <presOf axis="desOrSelf" ptType="node" />
  155.                 <constrLst>
  156.                     <constr type="h" refType="w" fact="0.65" />
  157.                     <constr type="tMarg" refType="primFontSz" fact="0.3" />
  158.                     <constr type="bMarg" refType="primFontSz" fact="0.3" />
  159.                     <constr type="lMarg" refType="primFontSz" fact="0.3" />
  160.                     <constr type="rMarg" refType="primFontSz" fact="0.3" />
  161.                 </constrLst>
  162.                 <ruleLst>
  163.                     <rule type="primFontSz" val="5" />
  164.                 </ruleLst>
  165.             </layoutNode>
  166.             <!-- if there are two or more nodes, add in space nodes to reserve space and curved connectors -->
  167.             <choose>
  168.                 <if axis="par ch" ptType="doc node" func="cnt" op="gt" val="1">
  169.                     <layoutNode name="spNode">
  170.                         <alg type="sp" />
  171.                         <shape />
  172.                         <presOf />
  173.                         <constrLst>
  174.                             <constr type="h" refType="w" />
  175.                         </constrLst>
  176.                         <ruleLst />
  177.                     </layoutNode>
  178.                     <forEach axis="followSib" ptType="sibTrans" cnt="1" hideLastTrans="false">
  179.                         <layoutNode name="sibTrans">
  180.                             <alg type="conn">
  181.                                 <param type="dim" val="1D" />
  182.                                 <param type="connRout" val="curve" />
  183.                                 <param type="begPts" val="radial" />
  184.                                 <param type="endPts" val="radial" />
  185.                             </alg>
  186.                             <shape type="conn" />
  187.                             <presOf axis="self" />
  188.                             <constrLst>
  189.                                 <constr type="h" refType="w" fact="0.65" />
  190.                                 <constr type="connDist" />
  191.                                 <constr type="begPad" refType="connDist" fact="0.2" />
  192.                                 <constr type="endPad" refType="connDist" fact="0.2" />
  193.                             </constrLst>
  194.                             <ruleLst />
  195.                         </layoutNode>
  196.                     </forEach>
  197.                 </if>
  198.                 <else />
  199.             </choose>
  200.         </forEach>
  201.     </layoutNode>
  202. </layoutDef>