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 / 3285 < prev    next >
Extensible Markup Language  |  2010-03-13  |  10KB  |  239 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/equation2">
  4.     <title val="Vertical Equation" />
  5.     <desc val="" />
  6.     <catLst>
  7.         <cat type="relationship" pri="18000" />
  8.         <cat type="process" pri="26000" />
  9.     </catLst>
  10.     <styleData>
  11.         <dataModel>
  12.             <ptLst>
  13.                 <pt modelId="0" type="doc" />
  14.                 <pt modelId="1" type="node" />
  15.                 <pt modelId="2" type="node" />
  16.             </ptLst>
  17.             <cxnLst>
  18.                 <cxn modelId="3" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  19.                 <cxn modelId="4" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  20.             </cxnLst>
  21.         </dataModel>
  22.     </styleData>
  23.     <clrData>
  24.         <dataModel>
  25.             <ptLst>
  26.                 <pt modelId="0" type="doc" />
  27.                 <pt modelId="1" type="node" />
  28.                 <pt modelId="2" type="node" />
  29.                 <pt modelId="3" type="node" />
  30.                 <pt modelId="4" type="node" />
  31.             </ptLst>
  32.             <cxnLst>
  33.                 <cxn modelId="5" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  34.                 <cxn modelId="6" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  35.                 <cxn modelId="7" type="parOf" srcId="0" destId="3" srcOrd="2" destOrd="0" presId="" />
  36.                 <cxn modelId="8" type="parOf" srcId="0" destId="4" srcOrd="3" destOrd="0" presId="" />
  37.             </cxnLst>
  38.         </dataModel>
  39.     </clrData>
  40.     <layoutNode>
  41.         <varLst>
  42.             <dir val="norm" />
  43.             <resizeHandles val="exact" />
  44.         </varLst>
  45.         <choose>
  46.             <if func="var" arg="dir" op="equ" val="norm">
  47.                 <alg type="lin">
  48.                     <param type="linDir" val="fromL" />
  49.                     <param type="fallback" val="2D" />
  50.                 </alg>
  51.             </if>
  52.             <else>
  53.                 <alg type="lin">
  54.                     <param type="linDir" val="fromR" />
  55.                     <param type="fallback" val="2D" />
  56.                 </alg>
  57.             </else>
  58.         </choose>
  59.         <shape />
  60.         <presOf />
  61.         <choose>
  62.             <if axis="ch" ptType="node" func="cnt" op="gte" val="3">
  63.                 <constrLst>
  64.                     <constr type="h" for="des" forName="node" refType="w" fact="0.5" />
  65.                     <constr type="w" for="ch" forName="lastNode" refType="w" />
  66.                     <constr type="w" for="des" forName="node" refType="h" refFor="des" refForName="node" />
  67.                     <constr type="w" for="ch" forName="sibTransLast" refType="h" refFor="des" refForName="node" fact="0.6" />
  68.                     <constr op="equ" type="h" for="des" forName="sibTrans" refType="h" refFor="des" refForName="node" fact="0.58" />
  69.                     <constr op="equ" type="w" for="des" forName="sibTrans" refType="h" refFor="des" refForName="sibTrans" />
  70.                     <!-- font size values-->
  71.                     <constr op="equ" type="primFontSz" for="ch" forName="lastNode" val="65" />
  72.                     <constr op="equ" type="primFontSz" for="des" forName="node" val="65" />
  73.                     <constr type="primFontSz" for="des" forName="sibTrans" val="55" />
  74.                     <constr op="lte" type="primFontSz" for="des" forName="sibTrans" refType="primFontSz" refFor="des" refForName="node" fact="0.8" />
  75.                     <constr op="lte" type="primFontSz" for="des" forName="connectorText" refType="primFontSz" refFor="des" refForName="node" fact="0.8" />
  76.                     <constr op="equ" type="primFontSz" for="des" forName="connectorText" refType="primFontSz" refFor="des" refForName="sibTrans" />
  77.                     <!-- set the width of the spacers surrounding the plus shapes -->
  78.                     <constr type="h" for="des" forName="spacerT" refType="h" refFor="des" refForName="sibTrans" fact="0.14" />
  79.                     <constr type="h" for="des" forName="spacerB" refType="h" refFor="des" refForName="sibTrans" fact="0.14" />
  80.                 </constrLst>
  81.             </if>
  82.             <else>
  83.                 <constrLst>
  84.                     <!--for the two node case we want them the same size -->
  85.                     <constr type="h" for="des" forName="node" refType="w" />
  86.                     <constr type="w" for="ch" forName="lastNode" refType="w" />
  87.                     <constr type="w" for="des" forName="node" refType="h" refFor="des" refForName="node" />
  88.                     <constr type="w" for="ch" forName="sibTransLast" refType="h" refFor="des" refForName="node" fact="0.6" />
  89.                     <constr op="equ" type="h" for="des" forName="sibTrans" refType="h" refFor="des" refForName="node" fact="0.58" />
  90.                     <constr op="equ" type="w" for="des" forName="sibTrans" refType="h" refFor="des" refForName="sibTrans" />
  91.                     <!-- font size values-->
  92.                     <constr type="primFontSz" for="des" forName="node" val="65" />
  93.                     <constr op="equ" type="primFontSz" for="ch" forName="lastNode" refType="primFontSz" refFor="des" refForName="node" />
  94.                     <constr type="primFontSz" for="des" forName="sibTrans" val="55" />
  95.                     <constr op="lte" type="primFontSz" for="des" forName="connectorText" refType="primFontSz" refFor="des" refForName="node" fact="0.8" />
  96.                     <constr op="equ" type="primFontSz" for="des" forName="connectorText" refType="primFontSz" refFor="des" refForName="sibTrans" />
  97.                     <!-- set the width of the spacers surrounding the plus shapes -->
  98.                     <constr type="h" for="des" forName="spacerT" refType="h" refFor="des" refForName="sibTrans" fact="0.14" />
  99.                     <constr type="h" for="des" forName="spacerB" refType="h" refFor="des" refForName="sibTrans" fact="0.14" />
  100.                 </constrLst>
  101.             </else>
  102.         </choose>
  103.         <ruleLst />
  104.         <!-- Only create shapes if there's at least one child; otherwise show nothing -->
  105.         <choose>
  106.             <if axis="ch" ptType="node" func="cnt" op="gte" val="1">
  107.                 <layoutNode name="vNodes">
  108.                     <alg type="lin">
  109.                         <param type="linDir" val="fromT" />
  110.                         <param type="fallback" val="2D" />
  111.                     </alg>
  112.                     <shape />
  113.                     <presOf />
  114.                     <constrLst />
  115.                     <ruleLst />
  116.                     <forEach axis="ch" ptType="node">
  117.                         <choose>
  118.                             <if axis="self" func="revPos" op="neq" val="1">
  119.                                 <layoutNode name="node">
  120.                                     <varLst>
  121.                                         <bulletEnabled val="true" />
  122.                                     </varLst>
  123.                                     <alg type="tx">
  124.                                         <param type="txAnchorVertCh" val="mid" />
  125.                                     </alg>
  126.                                     <shape type="ellipse" />
  127.                                     <presOf axis="desOrSelf" ptType="node" />
  128.                                     <constrLst>
  129.                                         <constr type="tMarg" refType="primFontSz" fact="0.1" />
  130.                                         <constr type="bMarg" refType="primFontSz" fact="0.1" />
  131.                                         <constr type="lMarg" refType="primFontSz" fact="0.1" />
  132.                                         <constr type="rMarg" refType="primFontSz" fact="0.1" />
  133.                                     </constrLst>
  134.                                     <ruleLst>
  135.                                         <rule type="primFontSz" val="5" />
  136.                                     </ruleLst>
  137.                                 </layoutNode>
  138.                                 <choose>
  139.                                     <if axis="self" ptType="node" func="revPos" op="gt" val="2">
  140.                                         <forEach name="sibTransForEach" axis="followSib" ptType="sibTrans" cnt="1">
  141.                                             <layoutNode name="spacerT">
  142.                                                 <alg type="sp" />
  143.                                                 <shape />
  144.                                                 <presOf axis="self" />
  145.                                                 <constrLst />
  146.                                                 <ruleLst />
  147.                                             </layoutNode>
  148.                                             <layoutNode name="sibTrans">
  149.                                                 <alg type="tx" />
  150.                                                 <!-- Make the last shape an equal and all other shapes a plus -->
  151.                                                 <shape type="mathPlus" />
  152.                                                 <presOf axis="self" />
  153.                                                 <constrLst>
  154.                                                     <constr type="h" refType="w" />
  155.                                                     <constr type="lMarg" val="0" />
  156.                                                     <constr type="rMarg" val="0" />
  157.                                                     <constr type="tMarg" val="0" />
  158.                                                     <constr type="bMarg" val="0" />
  159.                                                 </constrLst>
  160.                                                 <ruleLst>
  161.                                                     <rule type="primFontSz" val="5" />
  162.                                                 </ruleLst>
  163.                                             </layoutNode>
  164.                                             <layoutNode name="spacerB">
  165.                                                 <alg type="sp" />
  166.                                                 <shape />
  167.                                                 <presOf axis="self" />
  168.                                                 <constrLst />
  169.                                                 <ruleLst />
  170.                                             </layoutNode>
  171.                                         </forEach>
  172.                                     </if>
  173.                                 </choose>
  174.                             </if>
  175.                         </choose>
  176.                     </forEach>
  177.                 </layoutNode>
  178.                 <choose>
  179.                     <if axis="ch" ptType="node" func="cnt" op="gt" val="1">
  180.                         <layoutNode name="sibTransLast">
  181.                             <alg type="conn">
  182.                                 <param type="begPts" val="auto" />
  183.                                 <param type="endPts" val="auto" />
  184.                                 <param type="srcNode" val="vNodes" />
  185.                                 <param type="dstNode" val="lastNode" />
  186.                             </alg>
  187.                             <shape type="conn" />
  188.                             <presOf axis="ch" ptType="sibTrans" st="-1" cnt="1" />
  189.                             <constrLst>
  190.                                 <constr type="h" refType="w" fact="0.62" />
  191.                                 <constr type="connDist" />
  192.                                 <constr type="begPad" refType="connDist" fact="0.25" />
  193.                                 <constr type="endPad" refType="connDist" fact="0.22" />
  194.                             </constrLst>
  195.                             <ruleLst />
  196.                             <layoutNode name="connectorText">
  197.                                 <alg type="tx">
  198.                                     <param type="autoTxRot" val="grav" />
  199.                                 </alg>
  200.                                 <shape type="conn" hideGeom="true" />
  201.                                 <presOf axis="ch desOrSelf" ptType="sibTrans sibTrans" st="-1 1" cnt="1 0" />
  202.                                 <constrLst>
  203.                                     <constr type="lMarg" val="0" />
  204.                                     <constr type="rMarg" val="0" />
  205.                                     <constr type="tMarg" val="0" />
  206.                                     <constr type="bMarg" val="0" />
  207.                                 </constrLst>
  208.                                 <ruleLst>
  209.                                     <rule type="primFontSz" val="5" />
  210.                                 </ruleLst>
  211.                             </layoutNode>
  212.                         </layoutNode>
  213.                     </if>
  214.                 </choose>
  215.                 <layoutNode name="lastNode">
  216.                     <varLst>
  217.                         <bulletEnabled val="true" />
  218.                     </varLst>
  219.                     <alg type="tx">
  220.                         <param type="txAnchorVertCh" val="mid" />
  221.                     </alg>
  222.                     <shape type="ellipse" />
  223.                     <presOf axis="ch desOrSelf" ptType="node node" st="-1 1" cnt="1 0" />
  224.                     <constrLst>
  225.                         <constr type="h" refType="w" />
  226.                         <constr type="tMarg" refType="primFontSz" fact="0.1" />
  227.                         <constr type="bMarg" refType="primFontSz" fact="0.1" />
  228.                         <constr type="lMarg" refType="primFontSz" fact="0.1" />
  229.                         <constr type="rMarg" refType="primFontSz" fact="0.1" />
  230.                     </constrLst>
  231.                     <ruleLst>
  232.                         <rule type="primFontSz" val="5" />
  233.                     </ruleLst>
  234.                 </layoutNode>
  235.             </if>
  236.             <else />
  237.         </choose>
  238.     </layoutNode>
  239. </layoutDef>