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 / 3448 < prev    next >
Extensible Markup Language  |  2010-03-13  |  9KB  |  213 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/pyramid3">
  4.     <title val="Inverted Pyramid" />
  5.     <desc val="" />
  6.     <catLst>
  7.         <cat type="pyramid" pri="2000" />
  8.     </catLst>
  9.     <styleData>
  10.         <dataModel>
  11.             <ptLst>
  12.                 <pt modelId="0" type="doc" />
  13.                 <pt modelId="1" type="node" />
  14.                 <pt modelId="2" type="node" />
  15.             </ptLst>
  16.             <cxnLst>
  17.                 <cxn modelId="3" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  18.                 <cxn modelId="4" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  19.             </cxnLst>
  20.         </dataModel>
  21.     </styleData>
  22.     <clrData>
  23.         <dataModel>
  24.             <ptLst>
  25.                 <pt modelId="0" type="doc" />
  26.                 <pt modelId="1" type="node" />
  27.                 <pt modelId="2" type="node" />
  28.                 <pt modelId="3" type="node" />
  29.                 <pt modelId="4" type="node" />
  30.             </ptLst>
  31.             <cxnLst>
  32.                 <cxn modelId="5" type="parOf" srcId="0" destId="1" srcOrd="0" destOrd="0" presId="" />
  33.                 <cxn modelId="6" type="parOf" srcId="0" destId="2" srcOrd="1" destOrd="0" presId="" />
  34.                 <cxn modelId="7" type="parOf" srcId="0" destId="3" srcOrd="2" destOrd="0" presId="" />
  35.                 <cxn modelId="8" type="parOf" srcId="0" destId="4" srcOrd="3" destOrd="0" presId="" />
  36.             </cxnLst>
  37.         </dataModel>
  38.     </clrData>
  39.     <layoutNode>
  40.         <varLst>
  41.             <dir val="norm" />
  42.             <animLvl val="lvl" />
  43.             <resizeHandles val="exact" />
  44.         </varLst>
  45.         <choose>
  46.             <if func="var" arg="dir" op="equ" val="norm">
  47.                 <alg type="pyra">
  48.                     <param type="linDir" val="fromT" />
  49.                     <param type="txDir" val="fromT" />
  50.                     <param type="pyraAcctPos" val="aft" />
  51.                     <param type="pyraAcctTxMar" val="step" />
  52.                     <param type="pyraAcctBkgdNode" val="acctBkgd" />
  53.                     <param type="pyraAcctTxNode" val="acctTx" />
  54.                     <param type="pyraLvlNode" val="level" />
  55.                 </alg>
  56.             </if>
  57.             <else>
  58.                 <alg type="pyra">
  59.                     <param type="linDir" val="fromT" />
  60.                     <param type="txDir" val="fromT" />
  61.                     <param type="pyraAcctPos" val="bef" />
  62.                     <param type="pyraAcctTxMar" val="step" />
  63.                     <param type="pyraAcctBkgdNode" val="acctBkgd" />
  64.                     <param type="pyraAcctTxNode" val="acctTx" />
  65.                     <param type="pyraLvlNode" val="level" />
  66.                 </alg>
  67.             </else>
  68.         </choose>
  69.         <shape />
  70.         <presOf />
  71.         <!-- if there are children in the diagram reserve space for them -->
  72.         <choose>
  73.             <if axis="root des" ptType="all node" func="maxDepth" op="gte" val="2">
  74.                 <constrLst>
  75.                     <constr op="equ" type="primFontSz" for="des" forName="levelTx" />
  76.                     <constr op="equ" type="secFontSz" for="des" forName="acctTx" />
  77.                     <constr type="pyraAcctRatio" val="0.32" />
  78.                 </constrLst>
  79.             </if>
  80.             <else>
  81.                 <constrLst>
  82.                     <constr op="equ" type="primFontSz" for="des" forName="levelTx" />
  83.                     <constr op="equ" type="secFontSz" for="des" forName="acctTx" />
  84.                     <constr type="pyraAcctRatio" val="0" />
  85.                 </constrLst>
  86.             </else>
  87.         </choose>
  88.         <ruleLst />
  89.         <forEach axis="ch" ptType="node">
  90.             <layoutNode>
  91.                 <alg type="composite">
  92.                     <param type="horzAlign" val="none" />
  93.                 </alg>
  94.                 <shape />
  95.                 <presOf />
  96.                 <choose>
  97.                     <!-- text box reaches bounding box if bottom node -->
  98.                     <if axis="self" ptType="node" func="revPos" op="equ" val="1">
  99.                         <constrLst>
  100.                             <!-- constraints for positioning pyramid elements -->
  101.                             <constr type="ctrX" for="ch" forName="acctBkgd" val="1" />
  102.                             <constr type="ctrY" for="ch" forName="acctBkgd" val="1" />
  103.                             <constr type="w" for="ch" forName="acctBkgd" val="1" />
  104.                             <constr type="h" for="ch" forName="acctBkgd" val="1" />
  105.                             <constr type="ctrX" for="ch" forName="acctTx" val="1" />
  106.                             <constr type="ctrY" for="ch" forName="acctTx" val="1" />
  107.                             <constr type="w" for="ch" forName="acctTx" val="1" />
  108.                             <constr type="h" for="ch" forName="acctTx" val="1" />
  109.                             <constr type="ctrX" for="ch" forName="level" val="1" />
  110.                             <constr type="ctrY" for="ch" forName="level" val="1" />
  111.                             <constr type="w" for="ch" forName="level" val="1" />
  112.                             <constr type="h" for="ch" forName="level" val="1" />
  113.                             <constr type="ctrX" for="ch" forName="levelTx" refType="ctrX" refFor="ch" refForName="level" fact="1" />
  114.                             <constr type="ctrY" for="ch" forName="levelTx" refType="ctrY" refFor="ch" refForName="level" fact="1" />
  115.                             <constr type="w" for="ch" forName="levelTx" refType="w" refFor="ch" refForName="level" fact="1" />
  116.                             <constr type="h" for="ch" forName="levelTx" refType="h" refFor="ch" refForName="level" fact="1" />
  117.                         </constrLst>
  118.                     </if>
  119.                     <!-- text box contained inside trapezoid geometry if not top node -->
  120.                     <else>
  121.                         <constrLst>
  122.                             <!-- constraints for positioning pyramid elements -->
  123.                             <constr type="ctrX" for="ch" forName="acctBkgd" val="1" />
  124.                             <constr type="ctrY" for="ch" forName="acctBkgd" val="1" />
  125.                             <constr type="w" for="ch" forName="acctBkgd" val="1" />
  126.                             <constr type="h" for="ch" forName="acctBkgd" val="1" />
  127.                             <constr type="ctrX" for="ch" forName="acctTx" val="1" />
  128.                             <constr type="ctrY" for="ch" forName="acctTx" val="1" />
  129.                             <constr type="w" for="ch" forName="acctTx" val="1" />
  130.                             <constr type="h" for="ch" forName="acctTx" val="1" />
  131.                             <constr type="ctrX" for="ch" forName="level" val="1" />
  132.                             <constr type="ctrY" for="ch" forName="level" val="1" />
  133.                             <constr type="w" for="ch" forName="level" val="1" />
  134.                             <constr type="h" for="ch" forName="level" val="1" />
  135.                             <constr type="ctrX" for="ch" forName="levelTx" refType="ctrX" refFor="ch" refForName="level" fact="1" />
  136.                             <constr type="ctrY" for="ch" forName="levelTx" refType="ctrY" refFor="ch" refForName="level" fact="1" />
  137.                             <constr type="w" for="ch" forName="levelTx" refType="w" refFor="ch" refForName="level" fact="0.65" />
  138.                             <constr type="h" for="ch" forName="levelTx" refType="h" refFor="ch" refForName="level" fact="1" />
  139.                         </constrLst>
  140.                     </else>
  141.                 </choose>
  142.                 <ruleLst />
  143.                 <choose>
  144.                     <!--Create a composite shape if there are children for the current node-->
  145.                     <if axis="ch" ptType="node" func="cnt" op="gte" val="1">
  146.                         <layoutNode name="acctBkgd" styleLbl="alignAcc1">
  147.                             <alg type="sp" />
  148.                             <shape type="nonIsoscelesTrapezoid" />
  149.                             <presOf axis="des" ptType="node" />
  150.                             <constrLst />
  151.                             <ruleLst />
  152.                         </layoutNode>
  153.                         <layoutNode name="acctTx" styleLbl="alignAcc1">
  154.                             <varLst>
  155.                                 <bulletEnabled val="true" />
  156.                             </varLst>
  157.                             <alg type="tx">
  158.                                 <param type="stBulletLvl" val="1" />
  159.                                 <param type="txAnchorVertCh" val="t" />
  160.                             </alg>
  161.                             <shape type="nonIsoscelesTrapezoid" hideGeom="true" />
  162.                             <presOf axis="des" ptType="node" />
  163.                             <constrLst>
  164.                                 <constr type="secFontSz" val="65" />
  165.                                 <constr type="primFontSz" refType="secFontSz" />
  166.                                 <constr type="tMarg" refType="secFontSz" fact="0.3" />
  167.                                 <constr type="bMarg" refType="secFontSz" fact="0.3" />
  168.                                 <constr type="lMarg" refType="secFontSz" fact="0.3" />
  169.                                 <constr type="rMarg" refType="secFontSz" fact="0.3" />
  170.                             </constrLst>
  171.                             <ruleLst>
  172.                                 <rule type="secFontSz" val="5" />
  173.                             </ruleLst>
  174.                         </layoutNode>
  175.                     </if>
  176.                 </choose>
  177.                 <layoutNode name="level">
  178.                     <varLst>
  179.                         <chMax val="1" />
  180.                         <bulletEnabled val="true" />
  181.                     </varLst>
  182.                     <alg type="sp" />
  183.                     <shape type="trapezoid" />
  184.                     <presOf axis="self" />
  185.                     <constrLst>
  186.                         <constr type="h" val="500" />
  187.                         <constr type="w" val="1" />
  188.                     </constrLst>
  189.                     <ruleLst />
  190.                 </layoutNode>
  191.                 <layoutNode name="levelTx" styleLbl="revTx">
  192.                     <varLst>
  193.                         <chMax val="1" />
  194.                         <bulletEnabled val="true" />
  195.                     </varLst>
  196.                     <alg type="tx" />
  197.                     <shape type="rect" hideGeom="true" />
  198.                     <presOf axis="self" />
  199.                     <constrLst>
  200.                         <constr type="tMarg" refType="primFontSz" fact="0.1" />
  201.                         <constr type="bMarg" refType="primFontSz" fact="0.1" />
  202.                         <constr type="lMarg" refType="primFontSz" fact="0.1" />
  203.                         <constr type="rMarg" refType="primFontSz" fact="0.1" />
  204.                         <constr type="primFontSz" val="65" />
  205.                     </constrLst>
  206.                     <ruleLst>
  207.                         <rule type="primFontSz" val="5" />
  208.                     </ruleLst>
  209.                 </layoutNode>
  210.             </layoutNode>
  211.         </forEach>
  212.     </layoutNode>
  213. </layoutDef>