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 / 3528 < prev    next >
Extensible Markup Language  |  2010-03-13  |  9KB  |  271 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/2008/layout/PictureGrid">
  4.     <title val="Picture Grid" />
  5.     <desc val="" />
  6.     <catLst>
  7.         <cat type="picture" pri="11000" />
  8.         <cat type="pictureconvert" pri="11000" />
  9.     </catLst>
  10.     <sampData>
  11.         <dataModel>
  12.             <ptLst>
  13.                 <pt modelId="0" type="doc" />
  14.                 <pt modelId="10" type="node">
  15.                     <prSet phldr="1" />
  16.                 </pt>
  17.                 <pt modelId="20" type="node">
  18.                     <prSet phldr="1" />
  19.                 </pt>
  20.                 <pt modelId="30" type="node">
  21.                     <prSet phldr="1" />
  22.                 </pt>
  23.                 <pt modelId="40" type="node">
  24.                     <prSet phldr="1" />
  25.                 </pt>
  26.             </ptLst>
  27.             <cxnLst>
  28.                 <cxn modelId="60" type="parOf" srcId="0" destId="10" srcOrd="0" destOrd="0" presId="" />
  29.                 <cxn modelId="70" type="parOf" srcId="0" destId="20" srcOrd="1" destOrd="0" presId="" />
  30.                 <cxn modelId="80" type="parOf" srcId="0" destId="30" srcOrd="2" destOrd="0" presId="" />
  31.                 <cxn modelId="90" type="parOf" srcId="0" destId="40" srcOrd="3" destOrd="0" presId="" />
  32.             </cxnLst>
  33.         </dataModel>
  34.     </sampData>
  35.     <styleData>
  36.         <dataModel>
  37.             <ptLst>
  38.                 <pt modelId="0" type="doc" />
  39.                 <pt modelId="10" type="node">
  40.                     <prSet phldr="1" />
  41.                 </pt>
  42.                 <pt modelId="20" type="node">
  43.                     <prSet phldr="1" />
  44.                 </pt>
  45.             </ptLst>
  46.             <cxnLst>
  47.                 <cxn modelId="60" type="parOf" srcId="0" destId="10" srcOrd="0" destOrd="0" presId="" />
  48.                 <cxn modelId="70" type="parOf" srcId="0" destId="20" srcOrd="1" destOrd="0" presId="" />
  49.             </cxnLst>
  50.         </dataModel>
  51.     </styleData>
  52.     <clrData>
  53.         <dataModel>
  54.             <ptLst>
  55.                 <pt modelId="0" type="doc" />
  56.                 <pt modelId="10" type="node">
  57.                     <prSet phldr="1" />
  58.                 </pt>
  59.                 <pt modelId="20" type="node">
  60.                     <prSet phldr="1" />
  61.                 </pt>
  62.                 <pt modelId="30" type="node">
  63.                     <prSet phldr="1" />
  64.                 </pt>
  65.                 <pt modelId="40" type="node">
  66.                     <prSet phldr="1" />
  67.                 </pt>
  68.             </ptLst>
  69.             <cxnLst>
  70.                 <cxn modelId="60" type="parOf" srcId="0" destId="10" srcOrd="0" destOrd="0" presId="" />
  71.                 <cxn modelId="70" type="parOf" srcId="0" destId="20" srcOrd="1" destOrd="0" presId="" />
  72.                 <cxn modelId="80" type="parOf" srcId="0" destId="30" srcOrd="2" destOrd="0" presId="" />
  73.                 <cxn modelId="90" type="parOf" srcId="0" destId="40" srcOrd="3" destOrd="0" presId="" />
  74.             </cxnLst>
  75.         </dataModel>
  76.     </clrData>
  77.     <!--Root layoutNode-->
  78.     <layoutNode>
  79.         <varLst>
  80.             <dir val="norm" />
  81.         </varLst>
  82.         <!-- begin test cases for grid layout. -->
  83.         <choose>
  84.             <!-- If 1-4 nodes, bkPtFixedVal=2 -->
  85.             <if axis="ch" ptType="node" func="cnt" op="lte" val="4">
  86.                 <choose>
  87.                     <!-- sets direction -->
  88.                     <if func="var" arg="dir" op="equ" val="norm">
  89.                         <alg type="snake">
  90.                             <param type="off" val="ctr" />
  91.                             <param type="bkpt" val="fixed" />
  92.                             <param type="bkPtFixedVal" val="2" />
  93.                         </alg>
  94.                     </if>
  95.                     <else>
  96.                         <alg type="snake">
  97.                             <param type="off" val="ctr" />
  98.                             <param type="grDir" val="tR" />
  99.                             <param type="bkpt" val="fixed" />
  100.                             <param type="bkPtFixedVal" val="2" />
  101.                         </alg>
  102.                     </else>
  103.                 </choose>
  104.             </if>
  105.             <!-- Otherwise there are more than 4 nodes... -->
  106.             <else>
  107.                 <choose>
  108.                     <!-- If 5-9 nodes, bkPtFixedVal=3 -->
  109.                     <if axis="ch" ptType="node" func="cnt" op="lte" val="9">
  110.                         <choose>
  111.                             <if func="var" arg="dir" op="equ" val="norm">
  112.                                 <alg type="snake">
  113.                                     <param type="off" val="ctr" />
  114.                                     <param type="bkpt" val="fixed" />
  115.                                     <param type="bkPtFixedVal" val="3" />
  116.                                 </alg>
  117.                             </if>
  118.                             <else>
  119.                                 <alg type="snake">
  120.                                     <param type="off" val="ctr" />
  121.                                     <param type="grDir" val="tR" />
  122.                                     <param type="bkpt" val="fixed" />
  123.                                     <param type="bkPtFixedVal" val="3" />
  124.                                 </alg>
  125.                             </else>
  126.                         </choose>
  127.                     </if>
  128.                     <!-- Otherwise there are more than 9 nodes... -->
  129.                     <else>
  130.                         <choose>
  131.                             <!-- if 10-16 nodes, bkPtFixedVal=4 -->
  132.                             <if axis="ch" ptType="node" func="cnt" op="lte" val="16">
  133.                                 <choose>
  134.                                     <if func="var" arg="dir" op="equ" val="norm">
  135.                                         <alg type="snake">
  136.                                             <param type="off" val="ctr" />
  137.                                             <param type="bkpt" val="fixed" />
  138.                                             <param type="bkPtFixedVal" val="4" />
  139.                                         </alg>
  140.                                     </if>
  141.                                     <else>
  142.                                         <alg type="snake">
  143.                                             <param type="off" val="ctr" />
  144.                                             <param type="grDir" val="tR" />
  145.                                             <param type="bkpt" val="fixed" />
  146.                                             <param type="bkPtFixedVal" val="4" />
  147.                                         </alg>
  148.                                     </else>
  149.                                 </choose>
  150.                             </if>
  151.                             <!-- Otherwise there are more than 16 nodes... -->
  152.                             <else>
  153.                                 <choose>
  154.                                     <!-- if 17-25 nodes, bkPtFixedVal=5 -->
  155.                                     <if axis="ch" ptType="node" func="cnt" op="lte" val="25">
  156.                                         <choose>
  157.                                             <if func="var" arg="dir" op="equ" val="norm">
  158.                                                 <alg type="snake">
  159.                                                     <param type="off" val="ctr" />
  160.                                                     <param type="bkpt" val="fixed" />
  161.                                                     <param type="bkPtFixedVal" val="5" />
  162.                                                 </alg>
  163.                                             </if>
  164.                                             <else>
  165.                                                 <alg type="snake">
  166.                                                     <param type="off" val="ctr" />
  167.                                                     <param type="grDir" val="tR" />
  168.                                                     <param type="bkpt" val="fixed" />
  169.                                                     <param type="bkPtFixedVal" val="5" />
  170.                                                 </alg>
  171.                                             </else>
  172.                                         </choose>
  173.                                     </if>
  174.                                     <!-- Otherwise there are more than 25 nodes, and we let the default snake algorithm take over. -->
  175.                                     <else>
  176.                                         <choose>
  177.                                             <if func="var" arg="dir" op="equ" val="norm">
  178.                                                 <alg type="snake">
  179.                                                     <param type="off" val="ctr" />
  180.                                                 </alg>
  181.                                             </if>
  182.                                             <else>
  183.                                                 <alg type="snake">
  184.                                                     <param type="off" val="ctr" />
  185.                                                     <param type="grDir" val="tR" />
  186.                                                 </alg>
  187.                                             </else>
  188.                                         </choose>
  189.                                     </else>
  190.                                 </choose>
  191.                             </else>
  192.                         </choose>
  193.                     </else>
  194.                 </choose>
  195.             </else>
  196.         </choose>
  197.         <!-- end test cases for grid layout. -->
  198.         <shape />
  199.         <constrLst>
  200.             <!--Font size constraint-->
  201.             <constr op="equ" type="primFontSz" for="des" ptType="node" val="65" />
  202.             <!--Constraints for composite-->
  203.             <constr type="w" for="ch" forName="composite" refType="h" fact="0.8" />
  204.             <constr type="h" for="ch" forName="composite" refType="h" />
  205.             <!--Space between rows/columns-->
  206.             <constr op="equ" type="sp" refType="w" refFor="ch" refForName="composite" fact="0.1" />
  207.             <!--Constraints for sibTrans-->
  208.             <constr op="equ" type="w" for="ch" forName="sibTrans" refType="w" refFor="ch" refForName="composite" fact="0.1" />
  209.             <constr op="equ" type="h" for="ch" forName="sibTrans" refType="w" refFor="ch" refForName="sibTrans" />
  210.         </constrLst>
  211.         <forEach name="nodesForEach" axis="ch" ptType="node">
  212.             <!--composite-->
  213.             <layoutNode name="composite">
  214.                 <alg type="composite">
  215.                     <param type="ar" val="0.7568" />
  216.                 </alg>
  217.                 <shape />
  218.                 <constrLst>
  219.                     <!--Constraints for image placeholder-->
  220.                     <constr type="l" for="ch" forName="rect1" refType="w" fact="0" />
  221.                     <constr type="t" for="ch" forName="rect1" refType="h" fact="0.15" />
  222.                     <constr type="w" for="ch" forName="rect1" refType="w" />
  223.                     <constr type="h" for="ch" forName="rect1" refType="w" fact="1" />
  224.                     <!--Constraints for text area-->
  225.                     <constr type="l" for="ch" forName="rect2" refType="w" fact="0" />
  226.                     <constr type="t" for="ch" forName="rect2" refType="h" fact="0" />
  227.                     <constr type="w" for="ch" forName="rect2" refType="w" />
  228.                     <constr type="h" for="ch" forName="rect2" refType="w" fact="0.15" />
  229.                 </constrLst>
  230.                 <!--text area-->
  231.                 <layoutNode name="rect2" styleLbl="revTx">
  232.                     <varLst>
  233.                         <bulletEnabled val="true" />
  234.                     </varLst>
  235.                     <alg type="tx">
  236.                         <param type="stBulletLvl" val="3" />
  237.                         <param type="parTxLTRAlign" val="l" />
  238.                         <param type="parTxRTLAlign" val="r" />
  239.                         <param type="txAnchorVert" val="b" />
  240.                         <param type="txAnchorVertCh" val="b" />
  241.                     </alg>
  242.                     <shape type="rect" />
  243.                     <presOf axis="desOrSelf" ptType="node" st="1" cnt="0" />
  244.                     <constrLst>
  245.                         <constr type="lMarg" refType="primFontSz" fact="0" />
  246.                         <constr type="rMarg" refType="primFontSz" fact="0.3" />
  247.                         <constr type="tMarg" refType="primFontSz" fact="0.3" />
  248.                         <constr type="bMarg" refType="primFontSz" fact="0" />
  249.                         <constr type="secFontSz" refType="primFontSz" fact="0.8" />
  250.                     </constrLst>
  251.                     <ruleLst>
  252.                         <rule type="primFontSz" val="5" />
  253.                     </ruleLst>
  254.                 </layoutNode>
  255.                 <!--image placeholder-->
  256.                 <layoutNode name="rect1" styleLbl="alignImgPlace1">
  257.                     <alg type="sp" />
  258.                     <shape type="rect" blipPhldr="true" />
  259.                     <presOf />
  260.                 </layoutNode>
  261.             </layoutNode>
  262.             <forEach name="sibTransForEach" axis="followSib" ptType="sibTrans" cnt="1">
  263.                 <!--sibTrans-->
  264.                 <layoutNode name="sibTrans">
  265.                     <alg type="sp" />
  266.                     <shape />
  267.                 </layoutNode>
  268.             </forEach>
  269.         </forEach>
  270.     </layoutNode>
  271. </layoutDef>