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 / 3119 < prev    next >
Extensible Markup Language  |  2010-03-13  |  11KB  |  275 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/chevron1">
  4.     <title val="Basic Chevron Process" />
  5.     <desc val="" />
  6.     <catLst>
  7.         <cat type="process" pri="9000" />
  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.             <!-- Toggle the direction of the linear flow on reverse diagram between starting
  47.             from the left (first case) and starting from the right (second case) -->
  48.             <if func="var" arg="dir" op="equ" val="norm">
  49.                 <alg type="lin" />
  50.             </if>
  51.             <else>
  52.                 <alg type="lin">
  53.                     <param type="linDir" val="fromR" />
  54.                 </alg>
  55.             </else>
  56.         </choose>
  57.         <shape />
  58.         <presOf />
  59.         <choose>
  60.             <!-- CHILD TEXT:  Two or more levels of depth in the data model -->
  61.             <if axis="des" func="maxDepth" op="gte" val="2">
  62.                 <constrLst>
  63.                     <!-- Set initial composite width to maximize available area -->
  64.                     <constr type="h" for="ch" forName="composite" refType="h" />
  65.                     <constr type="w" for="ch" forName="composite" refType="w" />
  66.                     <!-- Set equality between children and transitions -->
  67.                     <constr type="w" for="des" forName="parTx" />
  68.                     <constr op="equ" type="h" for="des" forName="parTx" />
  69.                     <constr type="w" for="des" forName="desTx" />
  70.                     <constr op="equ" type="h" for="des" forName="desTx" />
  71.                     <!-- Setup font size equalities  -->
  72.                     <constr type="primFontSz" for="des" forName="parTx" val="65" />
  73.                     <constr op="equ" type="secFontSz" for="des" forName="desTx" refType="primFontSz" refFor="des" refForName="parTx" />
  74.                     <!-- Initial heights of the text nodes  -->
  75.                     <constr type="h" for="des" forName="parTx" refType="primFontSz" refFor="des" refForName="parTx" fact="1.5" />
  76.                     <constr type="h" for="des" forName="desTx" refType="primFontSz" refFor="des" refForName="parTx" fact="0.5" />
  77.                     <constr op="equ" type="w" for="ch" forName="space" val="-6" />
  78.                 </constrLst>
  79.                 <ruleLst>
  80.                     <rule type="w" for="ch" forName="composite" val="0" />
  81.                     <rule type="primFontSz" for="des" forName="parTx" val="5" />
  82.                 </ruleLst>
  83.                 <forEach axis="ch" ptType="node">
  84.                     <layoutNode name="composite">
  85.                         <alg type="composite" />
  86.                         <shape />
  87.                         <presOf />
  88.                         <choose>
  89.                             <if func="var" arg="dir" op="equ" val="norm">
  90.                                 <constrLst>
  91.                                     <constr type="l" for="ch" forName="parTx" val="0" />
  92.                                     <constr type="w" for="ch" forName="parTx" refType="w" fact="1" />
  93.                                     <constr type="t" for="ch" forName="parTx" val="0" />
  94.                                     <constr type="l" for="ch" forName="desTx" val="0" />
  95.                                     <constr type="w" for="ch" forName="desTx" refType="w" refFor="ch" refForName="parTx" fact="0.8" />
  96.                                     <constr type="t" for="ch" forName="desTx" refType="h" refFor="ch" refForName="parTx" fact="1.125" />
  97.                                 </constrLst>
  98.                             </if>
  99.                             <else>
  100.                                 <constrLst>
  101.                                     <constr type="l" for="ch" forName="parTx" val="0" />
  102.                                     <constr type="w" for="ch" forName="parTx" refType="w" fact="1" />
  103.                                     <constr type="t" for="ch" forName="parTx" val="0" />
  104.                                     <constr type="l" for="ch" forName="desTx" refType="w" fact="0.2" />
  105.                                     <constr type="w" for="ch" forName="desTx" refType="w" refFor="ch" refForName="parTx" fact="0.8" />
  106.                                     <constr type="t" for="ch" forName="desTx" refType="h" refFor="ch" refForName="parTx" fact="1.125" />
  107.                                 </constrLst>
  108.                             </else>
  109.                         </choose>
  110.                         <ruleLst>
  111.                             <rule type="h" val="INF" />
  112.                         </ruleLst>
  113.                         <layoutNode name="parTx">
  114.                             <varLst>
  115.                                 <chMax val="0" />
  116.                                 <chPref val="0" />
  117.                                 <bulletEnabled val="true" />
  118.                             </varLst>
  119.                             <alg type="tx" />
  120.                             <choose>
  121.                                 <if func="var" arg="dir" op="equ" val="norm">
  122.                                     <shape type="chevron" />
  123.                                 </if>
  124.                                 <else>
  125.                                     <shape type="chevron" rot="180" />
  126.                                 </else>
  127.                             </choose>
  128.                             <presOf axis="self" ptType="node" />
  129.                             <choose>
  130.                                 <if func="var" arg="dir" op="equ" val="norm">
  131.                                     <!-- CHILD TEXT:  Left to right direction. -->
  132.                                     <constrLst>
  133.                                         <constr op="lte" type="h" refType="w" fact="0.4" />
  134.                                         <!-- This is so composite won't set the height, letting the top level node base it off font size -->
  135.                                         <constr type="h" />
  136.                                         <!-- Set the margins for the parent text node -->
  137.                                         <constr type="tMarg" refType="primFontSz" fact="0.105" />
  138.                                         <constr type="bMarg" refType="primFontSz" fact="0.105" />
  139.                                         <constr type="lMarg" refType="primFontSz" fact="0.315" />
  140.                                         <constr type="rMarg" refType="primFontSz" fact="0.105" />
  141.                                     </constrLst>
  142.                                 </if>
  143.                                 <else>
  144.                                     <!-- CHILD TEXT:  Right to left direction. -->
  145.                                     <constrLst>
  146.                                         <constr op="lte" type="h" refType="w" fact="0.4" />
  147.                                         <!-- This is so composite won't set the height, letting the top level node base it off font size -->
  148.                                         <constr type="h" />
  149.                                         <!-- Set the margins for the parent text node -->
  150.                                         <constr type="tMarg" refType="primFontSz" fact="0.105" />
  151.                                         <constr type="bMarg" refType="primFontSz" fact="0.105" />
  152.                                         <constr type="lMarg" refType="primFontSz" fact="0.105" />
  153.                                         <constr type="rMarg" refType="primFontSz" fact="0.315" />
  154.                                     </constrLst>
  155.                                 </else>
  156.                             </choose>
  157.                             <ruleLst>
  158.                                 <rule type="h" val="INF" />
  159.                             </ruleLst>
  160.                         </layoutNode>
  161.                         <layoutNode name="desTx" styleLbl="revTx">
  162.                             <varLst>
  163.                                 <bulletEnabled val="true" />
  164.                             </varLst>
  165.                             <alg type="tx">
  166.                                 <param type="stBulletLvl" val="1" />
  167.                             </alg>
  168.                             <choose>
  169.                                 <if axis="ch" ptType="node" func="cnt" op="gte" val="1">
  170.                                     <shape type="rect" />
  171.                                 </if>
  172.                                 <else>
  173.                                     <shape type="rect" hideGeom="true" />
  174.                                 </else>
  175.                             </choose>
  176.                             <presOf axis="des" ptType="node" />
  177.                             <constrLst>
  178.                                 <constr type="secFontSz" val="65" />
  179.                                 <constr type="primFontSz" refType="secFontSz" />
  180.                                 <!-- This is so composite won't set the height, letting the top level node base it off font size -->
  181.                                 <constr type="h" />
  182.                                 <!-- Set the margins for the descendant text node -->
  183.                                 <constr type="tMarg" val="0" />
  184.                                 <constr type="bMarg" val="0" />
  185.                                 <constr type="rMarg" val="0" />
  186.                                 <constr type="lMarg" val="0" />
  187.                             </constrLst>
  188.                             <ruleLst>
  189.                                 <rule type="h" val="INF" />
  190.                             </ruleLst>
  191.                         </layoutNode>
  192.                     </layoutNode>
  193.                     <forEach axis="followSib" ptType="sibTrans" cnt="1">
  194.                         <layoutNode name="space">
  195.                             <alg type="sp" />
  196.                             <shape />
  197.                             <presOf />
  198.                             <constrLst />
  199.                             <ruleLst />
  200.                         </layoutNode>
  201.                     </forEach>
  202.                 </forEach>
  203.             </if>
  204.             <!-- NO CHILD TEXT:  Only top level elements in the data model -->
  205.             <else>
  206.                 <constrLst>
  207.                     <!-- Set initial linear width to maximize available area -->
  208.                     <constr type="w" for="ch" forName="parTxOnly" refType="w" />
  209.                     <!-- Set chevrons to all be the same height -->
  210.                     <constr op="equ" type="h" for="des" forName="parTxOnly" />
  211.                     <!-- Setup font size equalities.  -->
  212.                     <constr op="equ" type="primFontSz" for="des" forName="parTxOnly" val="65" />
  213.                     <!-- The spacing between the chevron tip and the inner point of the tail is -0.2*w -->
  214.                     <constr type="w" for="ch" forName="parTxOnlySpace" refType="w" refFor="ch" refForName="parTxOnly" fact="-0.1" />
  215.                 </constrLst>
  216.                 <ruleLst />
  217.                 <forEach axis="ch" ptType="node">
  218.                     <layoutNode name="parTxOnly">
  219.                         <varLst>
  220.                             <chMax val="0" />
  221.                             <chPref val="0" />
  222.                             <bulletEnabled val="true" />
  223.                         </varLst>
  224.                         <alg type="tx" />
  225.                         <choose>
  226.                             <if func="var" arg="dir" op="equ" val="norm">
  227.                                 <shape type="chevron" />
  228.                             </if>
  229.                             <else>
  230.                                 <shape type="chevron" rot="180" />
  231.                             </else>
  232.                         </choose>
  233.                         <presOf axis="self" ptType="node" />
  234.                         <choose>
  235.                             <if func="var" arg="dir" op="equ" val="norm">
  236.                                 <!-- NO CHILD TEXT:  Left to right direction. -->
  237.                                 <constrLst>
  238.                                     <constr op="equ" type="h" refType="w" fact="0.4" />
  239.                                     <!-- Set the margins for the parent text node -->
  240.                                     <constr type="tMarg" refType="primFontSz" fact="0.105" />
  241.                                     <constr type="bMarg" refType="primFontSz" fact="0.105" />
  242.                                     <constr type="lMarg" refType="primFontSz" fact="0.315" />
  243.                                     <constr type="rMarg" refType="primFontSz" fact="0.105" />
  244.                                 </constrLst>
  245.                             </if>
  246.                             <else>
  247.                                 <!-- NO CHILD TEXT:  Right to left direction. -->
  248.                                 <constrLst>
  249.                                     <constr op="equ" type="h" refType="w" fact="0.4" />
  250.                                     <!-- Set the margins for the parent text node -->
  251.                                     <constr type="tMarg" refType="primFontSz" fact="0.105" />
  252.                                     <constr type="bMarg" refType="primFontSz" fact="0.105" />
  253.                                     <constr type="lMarg" refType="primFontSz" fact="0.105" />
  254.                                     <constr type="rMarg" refType="primFontSz" fact="0.315" />
  255.                                 </constrLst>
  256.                             </else>
  257.                         </choose>
  258.                         <ruleLst>
  259.                             <rule type="primFontSz" val="5" />
  260.                         </ruleLst>
  261.                     </layoutNode>
  262.                     <forEach axis="followSib" ptType="sibTrans" cnt="1">
  263.                         <layoutNode name="parTxOnlySpace">
  264.                             <alg type="sp" />
  265.                             <shape />
  266.                             <presOf />
  267.                             <constrLst />
  268.                             <ruleLst />
  269.                         </layoutNode>
  270.                     </forEach>
  271.                 </forEach>
  272.             </else>
  273.         </choose>
  274.     </layoutNode>
  275. </layoutDef>