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 / 3125 < prev    next >
Extensible Markup Language  |  2010-03-13  |  7KB  |  191 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/cycle1">
  4.     <title val="Text Cycle" />
  5.     <desc val="" />
  6.     <catLst>
  7.         <cat type="cycle" pri="2000" />
  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.                 <alg type="cycle">
  82.                     <param type="stAng" val="0" />
  83.                     <param type="spanAng" val="360" />
  84.                 </alg>
  85.             </if>
  86.             <else>
  87.                 <alg type="cycle">
  88.                     <param type="stAng" val="0" />
  89.                     <param type="spanAng" val="-360" />
  90.                 </alg>
  91.             </else>
  92.         </choose>
  93.         <shape />
  94.         <presOf />
  95.         <choose>
  96.             <if func="var" arg="dir" op="equ" val="norm">
  97.                 <constrLst>
  98.                     <constr type="diam" val="1" />
  99.                     <!-- Node Sizing -->
  100.                     <constr type="w" for="ch" forName="node" refType="w" />
  101.                     <!-- Connector and Spacing -->
  102.                     <constr type="w" for="ch" ptType="sibTrans" refType="w" refFor="ch" refForName="node" fact="0.50" />
  103.                     <constr op="equ" type="h" for="ch" ptType="sibTrans" />
  104.                     <constr op="equ" type="diam" for="ch" ptType="sibTrans" refType="diam" />
  105.                     <constr type="sibSp" refType="w" refFor="ch" refForName="node" fact="0.15" />
  106.                     <constr type="w" for="ch" forName="dummy" refType="sibSp" fact="2.8" />
  107.                     <!-- Font Size -->
  108.                     <constr op="equ" type="primFontSz" for="ch" forName="node" val="65" />
  109.                 </constrLst>
  110.             </if>
  111.             <else>
  112.                 <constrLst>
  113.                     <constr type="diam" val="1" />
  114.                     <!-- Node Sizing -->
  115.                     <constr type="w" for="ch" forName="node" refType="w" />
  116.                     <!-- Connector and Spacing -->
  117.                     <constr type="w" for="ch" ptType="sibTrans" refType="w" refFor="ch" refForName="node" fact="0.50" />
  118.                     <constr op="equ" type="h" for="ch" ptType="sibTrans" />
  119.                     <constr op="equ" type="diam" for="ch" ptType="sibTrans" refType="diam" fact="-1" />
  120.                     <constr type="sibSp" refType="w" refFor="ch" refForName="node" fact="0.15" />
  121.                     <constr type="w" for="ch" forName="dummy" refType="sibSp" fact="2.8" />
  122.                     <!-- Font Size -->
  123.                     <constr op="equ" type="primFontSz" for="ch" forName="node" val="65" />
  124.                 </constrLst>
  125.             </else>
  126.         </choose>
  127.         <ruleLst>
  128.             <rule type="diam" val="INF" />
  129.         </ruleLst>
  130.         <!--  Create nodes.  They will have no geometry. -->
  131.         <forEach name="nodesForEach" axis="ch" ptType="node">
  132.             <!-- if there are two or more nodes, add in dummy nodes to reserve space for the curved connectors -->
  133.             <choose>
  134.                 <if axis="par ch" ptType="doc node" func="cnt" op="gt" val="1">
  135.                     <layoutNode name="dummy">
  136.                         <alg type="sp" />
  137.                         <shape />
  138.                         <presOf />
  139.                         <constrLst>
  140.                             <constr type="h" refType="w" />
  141.                         </constrLst>
  142.                         <ruleLst />
  143.                     </layoutNode>
  144.                 </if>
  145.             </choose>
  146.             <!-- text node -->
  147.             <layoutNode name="node" styleLbl="revTx">
  148.                 <varLst>
  149.                     <bulletEnabled val="true" />
  150.                 </varLst>
  151.                 <alg type="tx">
  152.                     <param type="txAnchorVertCh" val="mid" />
  153.                 </alg>
  154.                 <shape type="rect" />
  155.                 <presOf axis="desOrSelf" ptType="node" />
  156.                 <constrLst>
  157.                     <constr type="h" refType="w" />
  158.                     <constr type="lMarg" refType="primFontSz" fact="0.1" />
  159.                     <constr type="rMarg" refType="primFontSz" fact="0.1" />
  160.                     <constr type="tMarg" refType="primFontSz" fact="0.1" />
  161.                     <constr type="bMarg" refType="primFontSz" fact="0.1" />
  162.                 </constrLst>
  163.                 <ruleLst>
  164.                     <rule type="primFontSz" val="5" />
  165.                 </ruleLst>
  166.             </layoutNode>
  167.             <!-- Only create a connector if there's more than one node -->
  168.             <choose>
  169.                 <if axis="par ch" ptType="doc node" func="cnt" op="gt" val="1">
  170.                     <forEach axis="followSib" ptType="sibTrans" cnt="1" hideLastTrans="false">
  171.                         <layoutNode name="sibTrans" styleLbl="node1">
  172.                             <alg type="conn">
  173.                                 <param type="connRout" val="curve" />
  174.                                 <param type="begPts" val="radial" />
  175.                                 <param type="endPts" val="radial" />
  176.                             </alg>
  177.                             <shape type="conn" />
  178.                             <presOf axis="self" />
  179.                             <constrLst>
  180.                                 <constr type="h" refType="w" fact="0.65" />
  181.                                 <constr type="begPad" val="0" />
  182.                                 <constr type="endPad" val="0" />
  183.                             </constrLst>
  184.                             <ruleLst />
  185.                         </layoutNode>
  186.                     </forEach>
  187.                 </if>
  188.             </choose>
  189.         </forEach>
  190.     </layoutNode>
  191. </layoutDef>