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 / 3137 < prev    next >
Extensible Markup Language  |  2010-03-13  |  9KB  |  216 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/pyramid1">
  4.     <title val="Basic Pyramid" />
  5.     <desc val="" />
  6.     <catLst>
  7.         <cat type="pyramid" pri="1000" />
  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="fromB" />
  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="fromB" />
  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 top node -->
  98.                     <if axis="self" ptType="node" func="pos" 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.                     <!--If there are children for the current node, create a composite accent shape for them-->
  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="mid" />
  160.                             </alg>
  161.                             <shape type="nonIsoscelesTrapezoid" hideGeom="true" />
  162.                             <presOf axis="des" ptType="node" />
  163.                             <constrLst>
  164.                                 <!-- Link primary to secondary font size, since margins follow the primary font size -->
  165.                                 <constr type="secFontSz" val="65" />
  166.                                 <constr type="primFontSz" refType="secFontSz" />
  167.                                 <constr type="tMarg" refType="secFontSz" fact="0.3" />
  168.                                 <constr type="bMarg" refType="secFontSz" fact="0.3" />
  169.                                 <constr type="lMarg" refType="secFontSz" fact="0.3" />
  170.                                 <constr type="rMarg" refType="secFontSz" fact="0.3" />
  171.                             </constrLst>
  172.                             <ruleLst>
  173.                                 <rule type="secFontSz" val="5" />
  174.                             </ruleLst>
  175.                         </layoutNode>
  176.                     </if>
  177.                     <!--Otherwise, do not create the accent shape-->
  178.                     <else />
  179.                 </choose>
  180.                 <layoutNode name="level">
  181.                     <varLst>
  182.                         <chMax val="1" />
  183.                         <bulletEnabled val="true" />
  184.                     </varLst>
  185.                     <alg type="sp" />
  186.                     <shape type="trapezoid" />
  187.                     <presOf axis="self" />
  188.                     <constrLst>
  189.                         <constr type="h" val="500" />
  190.                         <constr type="w" val="1" />
  191.                     </constrLst>
  192.                     <ruleLst />
  193.                 </layoutNode>
  194.                 <layoutNode name="levelTx" styleLbl="revTx">
  195.                     <varLst>
  196.                         <chMax val="1" />
  197.                         <bulletEnabled val="true" />
  198.                     </varLst>
  199.                     <alg type="tx" />
  200.                     <shape type="rect" hideGeom="true" />
  201.                     <presOf axis="self" />
  202.                     <constrLst>
  203.                         <constr type="tMarg" refType="primFontSz" fact="0.1" />
  204.                         <constr type="bMarg" refType="primFontSz" fact="0.1" />
  205.                         <constr type="lMarg" refType="primFontSz" fact="0.1" />
  206.                         <constr type="rMarg" refType="primFontSz" fact="0.1" />
  207.                         <constr type="primFontSz" val="65" />
  208.                     </constrLst>
  209.                     <ruleLst>
  210.                         <rule type="primFontSz" val="5" />
  211.                     </ruleLst>
  212.                 </layoutNode>
  213.             </layoutNode>
  214.         </forEach>
  215.     </layoutNode>
  216. </layoutDef>