home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / Office.en-us / OfficeLR.cab / REVIEWROUTING_INIT.XSN_1033 / view1.xsl < prev   
Extensible Markup Language  |  2009-04-29  |  31KB  |  444 lines

  1. ∩╗┐<?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:o12="http://schemas.microsoft.com/office/2004/7/core" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w12="http://schemas.microsoft.com/office/word/2004/6/wordml" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:z="#RowsetSchema" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:xdExtension="http://schemas.microsoft.com/office/infopath/2003/xslt/extension" xmlns:xdXDocument="http://schemas.microsoft.com/office/infopath/2003/xslt/xDocument" xmlns:xdSolution="http://schemas.microsoft.com/office/infopath/2003/xslt/solution" xmlns:xdFormatting="http://schemas.microsoft.com/office/infopath/2003/xslt/formatting" xmlns:xdImage="http://schemas.microsoft.com/office/infopath/2003/xslt/xImage" xmlns:xdUtil="http://schemas.microsoft.com/office/infopath/2003/xslt/Util" xmlns:xdMath="http://schemas.microsoft.com/office/infopath/2003/xslt/Math" xmlns:xdDate="http://schemas.microsoft.com/office/infopath/2003/xslt/Date" xmlns:sig="http://www.w3.org/2000/09/xmldsig#" xmlns:xdSignatureProperties="http://schemas.microsoft.com/office/infopath/2003/SignatureProperties" xmlns:ipApp="http://schemas.microsoft.com/office/infopath/2006/XPathExtension/ipApp" xmlns:xdEnvironment="http://schemas.microsoft.com/office/infopath/2006/xslt/environment">
  3.     <xsl:output method="html" indent="no"/>
  4.     <xsl:template match="my:myFields">
  5.         <html xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  6.             <head>
  7.                 <meta http-equiv="Content-Type" content="text/html"></meta>
  8.                 <style controlStyle="controlStyle">@media screen             {             BODY{margin-left:21px;background-position:21px 0px;}             }         BODY{color:windowtext;background-color:window;layout-grid:none;}         .xdListItem {display:inline-block;width:100%;vertical-align:text-top;}         .xdListBox,.xdComboBox{margin:1px;}         .xdInlinePicture{margin:1px; BEHAVIOR: url(#default#urn::xdPicture) }         .xdLinkedPicture{margin:1px; BEHAVIOR: url(#default#urn::xdPicture) url(#default#urn::controls/Binder) }         .xdSection{border:1pt solid #FFFFFF;margin:6px 0px 6px 0px;padding:1px 1px 1px 5px;}         .xdRepeatingSection{border:1pt solid #FFFFFF;margin:6px 0px 6px 0px;padding:1px 1px 1px 5px;}         .xdMultiSelectList{display:inline-block; border:1pt solid #dcdcdc; padding:1px 1px 1px 5px; text-indent:0; color:windowtext; background-color:window; overflow:auto; behavior: url(#default#DataBindingUI) url(#default#urn::controls/Binder) url(#default#MultiSelectHelper) url(#default#ScrollableRegion);}         .xdMultiSelectListItem{display:block;white-space:nowrap}        .xdMultiSelectFillIn{display:inline-block;white-space:nowrap;text-overflow:ellipsis;;padding:1px;margin:1px;border: 1pt solid #dcdcdc;overflow:hidden;text-align:left;}        .xdBehavior_Formatting {BEHAVIOR: url(#default#urn::controls/Binder) url(#default#Formatting);}      .xdBehavior_FormattingNoBUI{BEHAVIOR: url(#default#CalPopup) url(#default#urn::controls/Binder) url(#default#Formatting);}     .xdExpressionBox{margin: 1px;padding:1px;word-wrap: break-word;text-overflow: ellipsis;overflow-x:hidden;}.xdBehavior_GhostedText,.xdBehavior_GhostedTextNoBUI{BEHAVIOR: url(#default#urn::controls/Binder) url(#default#TextField) url(#default#GhostedText);}    .xdBehavior_GTFormatting{BEHAVIOR: url(#default#urn::controls/Binder) url(#default#Formatting) url(#default#GhostedText);}    .xdBehavior_GTFormattingNoBUI{BEHAVIOR: url(#default#CalPopup) url(#default#urn::controls/Binder) url(#default#Formatting) url(#default#GhostedText);}    .xdBehavior_Boolean{BEHAVIOR: url(#default#urn::controls/Binder) url(#default#BooleanHelper);}    .xdBehavior_Select{BEHAVIOR: url(#default#urn::controls/Binder) url(#default#SelectHelper);}    .xdBehavior_ComboBox{position:relative;BEHAVIOR: url(#default#ComboBox);}     .xdBehavior_ComboBoxTextField{BEHAVIOR: url(#default#ComboBoxTextField);}     .xdRepeatingTable{BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word;}.xdScrollableRegion{BEHAVIOR: url(#default#ScrollableRegion);}         .xdMaster{BEHAVIOR: url(#default#MasterHelper);}         .xdActiveX{margin:1px; BEHAVIOR: url(#default#ActiveX);}         .xdFileAttachment{display:inline-block;margin:1px;BEHAVIOR:url(#default#urn::xdFileAttachment);}         .xdPageBreak{display: none;}BODY{margin-right:21px;}         .xdTextBoxRTL{display:inline-block;white-space:nowrap;text-overflow:ellipsis;;padding:1px 2px;margin:1px;border: 1pt solid #dcdcdc;color:windowtext;background-color:window;overflow:hidden;text-align:right;}         .xdRichTextBoxRTL{display:inline-block;;padding:1px 2px;margin:1px;border: 1pt solid #dcdcdc;color:windowtext;background-color:window;overflow-x:hidden;word-wrap:break-word;text-overflow:ellipsis;text-align:right;font-weight:normal;font-style:normal;text-decoration:none;vertical-align:baseline;}         .xdDTTextRTL{height:100%;width:100%;margin-left:22px;overflow:hidden;padding:0px;white-space:nowrap;}         .xdDTButtonRTL{margin-right:-21px;height:18px;width:20px;behavior: url(#default#DTPicker);}         .xdMultiSelectFillinRTL{display:inline-block;white-space:nowrap;text-overflow:ellipsis;;padding:1px;margin:1px;border: 1pt solid #dcdcdc;overflow:hidden;text-align:right;}.xdTextBox{display:inline-block;white-space:nowrap;text-overflow:ellipsis;;padding:1px 2px;margin:1px;border: 1pt solid #dcdcdc;color:windowtext;background-color:window;overflow:hidden;text-align:left;}         .xdRichTextBox{display:inline-block;;padding:1px 2px;margin:1px;border: 1pt solid #dcdcdc;color:windowtext;background-color:window;overflow-x:hidden;word-wrap:break-word;text-overflow:ellipsis;text-align:left;font-weight:normal;font-style:normal;text-decoration:none;vertical-align:baseline;}         .xdDTPicker{;display:inline;margin:1px;margin-bottom: 2px;border: 1pt solid #dcdcdc;color:windowtext;background-color:window;overflow:hidden;text-indent:0}         .xdDTText{height:100%;width:100%;margin-right:22px;overflow:hidden;padding:0px;white-space:nowrap;}         .xdDTButton{margin-left:-21px;height:18px;width:20px;behavior: url(#default#DTPicker);}         .xdRepeatingTable TD {VERTICAL-ALIGN: top;}</style>
  9.                 <style tableEditor="TableStyleRulesID">TABLE.xdLayout TD {
  10.     BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none
  11. }
  12. TABLE.msoUcTable TD {
  13.     BORDER-RIGHT: 1pt solid; BORDER-TOP: 1pt solid; BORDER-LEFT: 1pt solid; BORDER-BOTTOM: 1pt solid
  14. }
  15. TABLE {
  16.     BEHAVIOR: url (#default#urn::tables/NDTable)
  17. }
  18. </style>
  19.                 <style languageStyle="languageStyle">BODY {
  20.     FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana
  21. }
  22. TABLE {
  23.     FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana
  24. }
  25. SELECT {
  26.     FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana
  27. }
  28. HR {
  29.     COLOR: #CCCCCC
  30. }
  31. .HeaderText {
  32.     COLOR: #525252;
  33.     FONT-SIZE: 8.5pt;
  34. }
  35. .DescriptionText {
  36.     COLOR: #666666;
  37.     FONT-SIZE: 8.5pt;
  38. }
  39. .LabelText {
  40.     COLOR: #000000;
  41.     FONT-SIZE: 8.5pt;
  42. }
  43. .optionalPlaceholder {
  44.     PADDING-LEFT: 20px; FONT-WEIGHT: normal; FONT-SIZE: xx-small; BEHAVIOR: url(#default#xOptional); COLOR: #333333; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none
  45. }
  46. .langFont {
  47.     FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma
  48. }
  49. .defaultInDocUI {
  50.     FONT-SIZE: xx-small; FONT-FAMILY: Verdana
  51. }
  52. .optionalPlaceholder {
  53.     PADDING-RIGHT: 20px
  54. }
  55. </style>
  56.             </head>
  57.             <body>
  58.                 <span>
  59.                     <xsl:attribute name="style">
  60.                         <xsl:if test="my:EnableSignatures != string(true())">msos-xCollection-group2_1-editing:disabled;</xsl:if>
  61.                     </xsl:attribute>
  62.                     <div style="MARGIN-BOTTOM: 10px">
  63.                         <div><xsl:apply-templates select="." mode="_41"/>
  64.                         </div>
  65.                         <div style="MARGIN-BOTTOM: 10px" align="left"><xsl:apply-templates select="." mode="_42"/>
  66.                         </div>
  67.                         <div><xsl:apply-templates select="." mode="_43"/>
  68.                         </div>
  69.                     </div>
  70.                     <div><xsl:apply-templates select="." mode="_44"/>
  71.                     </div>
  72.                     <div><xsl:apply-templates select="." mode="_45"/>
  73.                     </div>
  74.                     <div><xsl:apply-templates select="." mode="_46"/>
  75.                     </div>
  76.                     <div style="MARGIN-TOP:.2em">
  77.                         <font class="LabelText" face="Tahoma">Type a message to include with your request:</font>
  78.                     </div>
  79.                     <div style="MARGIN-BOTTOM: 10px">
  80.                         <font face="Tahoma" size="3"></font><span class="xdTextBox " hideFocus="1" title="Task instruction will be included in the tasks assigned to each participant." accessKey="I" xd:CtrlId="CTRL60" xd:xctname="PlainText" xd:datafmt=""string","plainMultiline"" xd:binding="my:Description" style="OVERFLOW-Y: auto; FONT-SIZE: 8.5pt; WIDTH: 100%; FONT-FAMILY: Tahoma; WHITE-SPACE: normal; HEIGHT: 6.5em">
  81.                             <xsl:choose>
  82.                                 <xsl:when test="function-available('xdFormatting:formatString')">
  83.                                     <xsl:value-of select="xdFormatting:formatString(my:Description,"string","plainMultiline")" disable-output-escaping="yes"/>
  84.                                 </xsl:when>
  85.                                 <xsl:otherwise>
  86.                                     <xsl:value-of select="my:Description" disable-output-escaping="yes"/>
  87.                                 </xsl:otherwise>
  88.                             </xsl:choose>
  89.                         </span>
  90.                     </div>
  91.                     <div>
  92.                         <font face="Tahoma">
  93.                             <hr/>
  94.                         </font>
  95.                     </div>
  96.                     <div style="MARGIN-BOTTOM: 5px">
  97.                         <font class="HeaderText" face="Tahoma" >
  98.                             <strong>Due Date</strong>
  99.                         </font>
  100.                     </div>
  101.                     <div>
  102.                         <font class="DescriptionText" face="Tahoma">If a due date is specified and e-mail is enabled on the server, approvers will receive a reminder on that date if their task is not finished.</font>
  103.                     </div><div>┬á</div>
  104.                     <div><xsl:apply-templates select="." mode="_47"/>
  105.                     </div>
  106.                     <div><xsl:apply-templates select="." mode="_48"/>
  107.                     </div>
  108.                     <div><xsl:apply-templates select="." mode="_49"/>
  109.                     </div>
  110.                     <div>
  111.                         <hr/>
  112.                     </div>
  113.                     <div style="MARGIN-BOTTOM: 5px">
  114.                         <font class="HeaderText" face="Tahoma" >
  115.                             <strong>Notify Others</strong>
  116.                         </font>
  117.                     </div>
  118.                     <div style="MARGIN-BOTTOM: 10px">
  119.                         <font class="DescriptionText" face="Tahoma">To notify other people about this workflow starting without assigning tasks, type names on the <strong>CC</strong> line.</font>
  120.                     </div>
  121.                     <div><xsl:apply-templates select="." mode="_50"/>
  122.                     </div>
  123.                     <div>
  124.                         <hr/>
  125.                     </div>
  126.                     <div align="right"><input class="langFont" title="Start" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma" accessKey="S" type="button" value="Start" xd:CtrlId="CTRL32" xd:xctname="Button" tabIndex="0">
  127.                             <xsl:choose>
  128.                                 <xsl:when test="my:Reviewers/my:Person/my:AccountId = "" or my:CC/my:Person/my:AccountId = """>
  129.                                     <xsl:attribute name="disabled">true</xsl:attribute>
  130.                                 </xsl:when>
  131.                                 <xsl:when test="xdXDocument:GetDOM("Context")/Context/@provideAllFields = string(true()) and count(my:Reviewers/my:Person) < 1">
  132.                                     <xsl:attribute name="disabled">true</xsl:attribute>
  133.                                 </xsl:when>
  134.                                 <xsl:when test="my:TimePerTaskVal < 1 or my:TimePerTaskVal > 999">
  135.                                     <xsl:attribute name="disabled">true</xsl:attribute>
  136.                                 </xsl:when>
  137.                                 <xsl:when test="my:DueDate != "" and msxsl:string-compare(my:DueDate, xdDate:Today()) < 0">
  138.                                     <xsl:attribute name="disabled">true</xsl:attribute>
  139.                                 </xsl:when>
  140.                                 <xsl:when test="my:WantedTasks and my:WantedTasks <= 0">
  141.                                     <xsl:attribute name="disabled">true</xsl:attribute>
  142.                                 </xsl:when>
  143.                             </xsl:choose>
  144.                         </input>
  145.                         <font>┬á</font><input class="langFont" title="Cancel" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma" accessKey="N" type="button" value="Cancel" xd:CtrlId="CTRL33" xd:xctname="Button" tabIndex="0"/>
  146.                         <font>┬á</font>
  147.                     </div>
  148.                     <div>┬á</div>
  149.                 </span>
  150.             </body>
  151.         </html>
  152.     </xsl:template>
  153.     <xsl:template match="my:myFields" mode="_41">
  154.         <xsl:if test="not((my:DefaultTaskType != 1 and my:DefaultTaskType))">
  155.             <div class="xdSection xdRepeating" title="" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL67" xd:xctname="Section" tabIndex="-1" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  156.                 <div style="MARGIN-BOTTOM: 5px">
  157.                     <font face="Tahoma">
  158.                         <font class="HeaderText" >
  159.                             <strong>Request Approval</strong>
  160.                         </font>
  161.                     </font>
  162.                 </div>
  163.                 <div>
  164.                     <font class="DescriptionText" face="Tahoma">To request approval for this document, type the names of the people who need to approve it on the <strong>Approvers</strong> line.┬á Each person will be assigned a task to approve your document. You will receive an e-mail when the request is sent and once everyone has finished their tasks.</font>
  165.                 </div>
  166.             </div>
  167.         </xsl:if>
  168.     </xsl:template>
  169.     <xsl:template match="my:myFields" mode="_42">
  170.         <xsl:if test="not((my:DefaultTaskType = 1))">
  171.             <div class="xdSection xdRepeating" title="" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL68" xd:xctname="Section" tabIndex="-1" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  172.                 <div style="PADDING-RIGHT: 0in; MARGIN-TOP: 0in; PADDING-LEFT: 0in; MARGIN-BOTTOM: 5px">
  173.                     <font face="Tahoma">
  174.                         <font class="HeaderText" >
  175.                             <span>
  176.                                 <strong>Request Feedback</strong>
  177.                             </span>
  178.                         </font>
  179.                     </font>
  180.                 </div>
  181.                 <div style="PADDING-RIGHT: 0in; MARGIN-TOP: 0in; PADDING-LEFT: 0in; MARGIN-BOTTOM: 0pt">
  182.                     <font class="DescriptionText" face="Tahoma">
  183.                             <span>
  184.                                 <font>To request feedback on this document, type the names of the people who need to review it on the <strong>Reviewers</strong> line.┬á Each person will be assigned a task to review and provide feedback for this document. You will receive an e-mail when the request is sent and once everyone has finished their tasks.</font>
  185.                             </span>
  186.                     </font>
  187.                 </div>
  188.             </div>
  189.         </xsl:if>
  190.     </xsl:template>
  191.     <xsl:template match="my:myFields" mode="_43">
  192.         <xsl:if test="not((my:CreateTasksInSerial = string(false())) or (my:DefaultTaskType != 1 and my:DefaultTaskType))">
  193.             <div class="xdSection xdRepeating" title="" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL69" xd:xctname="Section" tabIndex="-1" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  194.                 <div>
  195.                     <font face="Tahoma">Add approver names in the order you want the tasks assigned:</font>
  196.                 </div>
  197.             </div>
  198.         </xsl:if>
  199.     </xsl:template>
  200.     <xsl:template match="my:myFields" mode="_44">
  201.         <xsl:if test="not((my:CreateTasksInSerial = string(false())) or (my:DefaultTaskType = 1))">
  202.             <div class="xdSection xdRepeating" title="" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL89" xd:xctname="Section" tabIndex="-1" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  203.                 <div>
  204.                     <font class="LabelText" face="Tahoma">Add reviewer names in the order you want the tasks assigned:</font>
  205.                 </div>
  206.             </div>
  207.         </xsl:if>
  208.     </xsl:template>
  209.     <xsl:template match="my:myFields" mode="_45">
  210.         <xsl:if test="not((my:DefaultTaskType and my:DefaultTaskType != 1))">
  211.             <div class="xdSection xdRepeating" title="" style="HEIGHT: 6em; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL73" xd:xctname="Section" tabIndex="-1" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  212.                 <div>
  213.                     <object class="xdActiveX" hideFocus="1" title="Enter participants to include in your workflow. Each person will be assigned a task to review your document." style="MARGIN: 1px; FONT-SIZE: 8.5pt; WIDTH: 100%; FONT-FAMILY: Tahoma; HEIGHT: 22px" accessKey="R" width="23" classid="clsid:61e40d31-993d-4777-8fa0-19ca59b6d0bb" tabIndex="0" xd:boundProp="xd:inline" xd:bindingProperty="value" xd:bindingType="xmlNode" xd:CtrlId="CTRL84" xd:xctname="{{61e40d31-993d-4777-8fa0-19ca59b6d0bb}}" tabStop="true" contentEditable="false" xd:binding="my:Reviewers">
  214.                         <xsl:if test="function-available('xdImage:getImageUrl')">
  215.                             <xsl:attribute name="src"><xsl:value-of select="xdImage:getImageUrl(my:Reviewers)"/></xsl:attribute>
  216.                         </xsl:if>
  217.                         <xsl:choose>
  218.                             <xsl:when test="my:InitLock = string(true())">
  219.                                 <xsl:attribute name="xd:disableEditing">yes</xsl:attribute>
  220.                             </xsl:when>
  221.                         </xsl:choose>
  222.                         <param NAME="ButtonFont" VALUE="Tahoma,8,0,400,0,0,0"/>
  223.                         <param NAME="ButtonText" VALUE="Approvers..."/>
  224.                         <param NAME="DisplayNameXPath" VALUE="my:DisplayName"/>
  225.                         <param NAME="ObjectIdXPath" VALUE="my:AccountId"/>
  226.                         <param NAME="ObjectTypeXPath" VALUE="my:AccountType"/>
  227.                         <param NAME="SiteUrlXPath" VALUE="/Context/@siteUrl"/>
  228.                         <param NAME="SiteUrlDataSource" VALUE="Context"/>
  229.                         <param NAME="NewNodeTemplate" VALUE="<my:Person>     <my:DisplayName></my:DisplayName>     <my:AccountId></my:AccountId>     <my:AccountType></my:AccountType> </my:Person>"/>
  230.                         <param NAME="BackgroundColor" VALUE="2147483653"/>
  231.                         <param NAME="MaxLines" VALUE="4"/>
  232.                         <param NAME="Direction" VALUE="0"/>
  233.                     </object>
  234.                 </div>
  235.                 <div><input class="xdBehavior_Boolean" title="Assign a single task to each group entered (Do not expand groups)." type="checkbox" tabIndex="0" xd:xctname="CheckBox" xd:CtrlId="CTRL102" xd:onValue="true" xd:offValue="false" xd:boundProp="xd:value" xd:binding="my:GroupTasks" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma">
  236.                         <xsl:choose>
  237.                             <xsl:when test="my:InitLock = string(true())">
  238.                                 <xsl:attribute name="disabled">true</xsl:attribute>
  239.                             </xsl:when>
  240.                         </xsl:choose>
  241.                         <xsl:attribute name="xd:value">
  242.                             <xsl:value-of select="my:GroupTasks"/>
  243.                         </xsl:attribute>
  244.                         <xsl:if test="my:GroupTasks="true"">
  245.                             <xsl:attribute name="CHECKED">CHECKED</xsl:attribute>
  246.                         </xsl:if>
  247.                     </input>
  248.                     <font class="LabelText" face="Tahoma"> Assign a single task to each group entered (Do not expand groups).</font>
  249.                 </div>
  250.             </div>
  251.         </xsl:if>
  252.     </xsl:template>
  253.     <xsl:template match="my:myFields" mode="_46">
  254.         <xsl:if test="not((my:DefaultTaskType = 1))">
  255.             <div class="xdSection xdRepeating" title="" style="HEIGHT: 6em; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL74" xd:xctname="Section" tabIndex="-1" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  256.                 <div>
  257.                     <object class="xdActiveX" hideFocus="1" title="Enter participants to include in your workflow. Each person will be assigned a task to review your document." style="FONT-SIZE: 8.5pt; MARGIN: 1px; WIDTH: 100%; FONT-FAMILY: Tahoma; HEIGHT: 22px" accessKey="R" width="23" classid="clsid:61e40d31-993d-4777-8fa0-19ca59b6d0bb" tabIndex="0" tabStop="true" xd:xctname="{{61e40d31-993d-4777-8fa0-19ca59b6d0bb}}" xd:CtrlId="CTRL85" xd:bindingType="xmlNode" xd:bindingProperty="value" xd:boundProp="xd:inline" contentEditable="false" xd:binding="my:Reviewers">
  258.                         <xsl:if test="function-available('xdImage:getImageUrl')">
  259.                             <xsl:attribute name="src"><xsl:value-of select="xdImage:getImageUrl(my:Reviewers)"/></xsl:attribute>
  260.                         </xsl:if>
  261.                         <xsl:choose>
  262.                             <xsl:when test="my:InitLock = string(true())">
  263.                                 <xsl:attribute name="xd:disableEditing">yes</xsl:attribute>
  264.                             </xsl:when>
  265.                         </xsl:choose>
  266.                         <param NAME="ButtonFont" VALUE="Tahoma,8,0,400,0,0,0"/>
  267.                         <param NAME="ButtonText" VALUE="Reviewers..."/>
  268.                         <param NAME="DisplayNameXPath" VALUE="my:DisplayName"/>
  269.                         <param NAME="ObjectIdXPath" VALUE="my:AccountId"/>
  270.                         <param NAME="ObjectTypeXPath" VALUE="my:AccountType"/>
  271.                         <param NAME="SiteUrlXPath" VALUE="/Context/@siteUrl"/>
  272.                         <param NAME="SiteUrlDataSource" VALUE="Context"/>
  273.                         <param NAME="NewNodeTemplate" VALUE="<my:Person>     <my:DisplayName></my:DisplayName>     <my:AccountId></my:AccountId>     <my:AccountType></my:AccountType> </my:Person>"/>
  274.                         <param NAME="BackgroundColor" VALUE="2147483653"/>
  275.                         <param NAME="MaxLines" VALUE="4"/>
  276.                         <param NAME="Direction" VALUE="0"/>
  277.                     </object>
  278.                 </div>
  279.                 <div><input class="xdBehavior_Boolean" title="Assign a single task to each group entered. (Don't expand groups.)" type="checkbox" tabIndex="0" xd:xctname="CheckBox" xd:CtrlId="CTRL102" xd:onValue="true" xd:offValue="false" xd:boundProp="xd:value" xd:binding="my:GroupTasks" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma">
  280.                         <xsl:choose>
  281.                             <xsl:when test="my:InitLock = string(true())">
  282.                                 <xsl:attribute name="disabled">true</xsl:attribute>
  283.                             </xsl:when>
  284.                         </xsl:choose>
  285.                         <xsl:attribute name="xd:value">
  286.                             <xsl:value-of select="my:GroupTasks"/>
  287.                         </xsl:attribute>
  288.                         <xsl:if test="my:GroupTasks="true"">
  289.                             <xsl:attribute name="CHECKED">CHECKED</xsl:attribute>
  290.                         </xsl:if>
  291.                     </input>
  292.                     <font face="Tahoma"> Assign a single task to each group entered. (Don't expand groups.)</font>
  293.                 </div>
  294.             </div>
  295.         </xsl:if>
  296.     </xsl:template>
  297.     <xsl:template match="my:myFields" mode="_47">
  298.         <xsl:if test="not((my:CreateTasksInSerial = string(false())))">
  299.             <div class="xdSection xdRepeating" title="" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL76" xd:xctname="Section" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  300.                 <div>
  301.                     <font face="Tahoma">
  302.                         <div>
  303.                             <font class="LabelText" face="Tahoma" >Give each person the following amount of time to finish their task:</font>
  304.                         </div>
  305.                     </font>
  306.                 </div>
  307.                 <div><span class="xdTextBox xdBehavior_Formatting" hideFocus="1" title="Number of days/weeks" contentEditable="true" xd:CtrlId="CTRL80" xd:xctname="PlainText" xd:datafmt=""number","numDigits:0;negativeOrder:1;"" xd:binding="my:TimePerTaskVal" xd:boundProp="xd:num" style="FONT-SIZE: 8.5pt; WIDTH: 4em; FONT-FAMILY: Tahoma">
  308.                         <xsl:choose>
  309.                             <xsl:when test="my:NoDueDate = string(true())">
  310.                                 <xsl:attribute name="contentEditable">false</xsl:attribute>
  311.                             </xsl:when>
  312.                         </xsl:choose>
  313.                         <xsl:attribute name="xd:num">
  314.                             <xsl:value-of select="my:TimePerTaskVal"/>
  315.                         </xsl:attribute>
  316.                         <xsl:choose>
  317.                             <xsl:when test="function-available('xdFormatting:formatString')">
  318.                                 <xsl:value-of select="xdFormatting:formatString(my:TimePerTaskVal,"number","numDigits:0;negativeOrder:1;")"/>
  319.                             </xsl:when>
  320.                             <xsl:otherwise>
  321.                                 <xsl:value-of select="my:TimePerTaskVal"/>
  322.                             </xsl:otherwise>
  323.                         </xsl:choose>
  324.                     </span>
  325.                     <font face="Tahoma">┬á</font><select class="xdComboBox xdBehavior_Select" title="Time interval" size="1" xd:CtrlId="CTRL81" xd:xctname="dropdown" xd:binding="my:TimePerTaskType" xd:boundProp="value" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma">
  326.                         <xsl:choose>
  327.                             <xsl:when test="my:NoDueDate = string(true())">
  328.                                 <xsl:attribute name="disabled">true</xsl:attribute>
  329.                             </xsl:when>
  330.                         </xsl:choose>
  331.                         <xsl:attribute name="value">
  332.                             <xsl:value-of select="my:TimePerTaskType"/>
  333.                         </xsl:attribute>
  334.                         <option value="0">
  335.                             <xsl:if test="my:TimePerTaskType="0"">
  336.                                 <xsl:attribute name="selected">selected</xsl:attribute>
  337.                             </xsl:if>Day(s)</option>
  338.                         <option value="2">
  339.                             <xsl:if test="my:TimePerTaskType="2"">
  340.                                 <xsl:attribute name="selected">selected</xsl:attribute>
  341.                             </xsl:if>Week(s)</option>
  342.                     </select>
  343.                     <font face="Tahoma">┬á</font>
  344.                 </div>
  345.             </div>
  346.         </xsl:if>
  347.     </xsl:template>
  348.     <xsl:template match="my:myFields" mode="_48">
  349.         <xsl:if test="not((my:CreateTasksInSerial = string(true())))">
  350.             <div class="xdSection xdRepeating" title="" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL77" xd:xctname="Section" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  351.                 <div>
  352.                     <font face="Tahoma">
  353.                         <div>
  354.                             <font class="LabelText">Tasks are due by:┬á</font>
  355.                         </div>
  356.                         <div>
  357.                             <div class="xdDTPicker" title="Date by which each task will be due." style="FONT-SIZE: 8.5pt; WIDTH: 160px; FONT-FAMILY: Tahoma" noWrap="1" xd:CtrlId="CTRL82" xd:xctname="DTPicker"><span class="xdDTText xdBehavior_FormattingNoBUI" hideFocus="1" contentEditable="true" accessKey="D" xd:xctname="DTPicker_DTText" xd:datafmt=""date","dateFormat:Short Date;"" xd:binding="my:DueDate" xd:boundProp="xd:num" xd:innerCtrl="_DTText">
  358.                                     <xsl:choose>
  359.                                         <xsl:when test="my:NoDueDate = string(true())">
  360.                                             <xsl:attribute name="contentEditable">false</xsl:attribute>
  361.                                         </xsl:when>
  362.                                     </xsl:choose>
  363.                                     <xsl:attribute name="xd:num">
  364.                                         <xsl:value-of select="my:DueDate"/>
  365.                                     </xsl:attribute>
  366.                                     <xsl:choose>
  367.                                         <xsl:when test="function-available('xdFormatting:formatString')">
  368.                                             <xsl:value-of select="xdFormatting:formatString(my:DueDate,"date","dateFormat:Short Date;")"/>
  369.                                         </xsl:when>
  370.                                         <xsl:otherwise>
  371.                                             <xsl:value-of select="my:DueDate"/>
  372.                                         </xsl:otherwise>
  373.                                     </xsl:choose>
  374.                                 </span>
  375.                                 <button class="xdDTButton" xd:xctname="DTPicker_DTButton" xd:innerCtrl="_DTButton">
  376.                                     <img src="res://infopath.exe/calendar.gif" Linked="true"/>
  377.                                 </button>
  378.                             </div>
  379.                         </div>
  380.                     </font>
  381.                 </div>
  382.             </div>
  383.         </xsl:if>
  384.     </xsl:template>
  385.     <xsl:template match="my:myFields" mode="_49">
  386.         <xsl:if test="not((my:Voting != string(true())))">
  387.             <div class="xdSection xdRepeating" title="" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL79" xd:xctname="Section" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  388.                 <font face="Tahoma">
  389.                     <font size="1">
  390.                         <div>
  391.                             <hr/>
  392.                         </div>
  393.                         <div style="MARGIN-BOTTOM: 5px">
  394.                             <font class="HeaderText">
  395.                                 <strong>Complete this workflow</strong>
  396.                             </font>
  397.                         </div>
  398.                         <div style="MARGIN-BOTTOM: 10px">
  399.                             <font class="DescriptionText" >By default, this workflow will be completed when all tasks are finished.┬á You can also specify that this workflow will be completed when a certain number of people finish their tasks.</font>
  400.                         </div>
  401.                     </font>
  402.                     <div>
  403.                         <font class="LabelText" face="Tahoma">Required number of tasks finished to complete the workflow: </font><span class="xdTextBox xdBehavior_Formatting" hideFocus="1" title="Required tasks" contentEditable="true" xd:CtrlId="CTRL83" xd:xctname="PlainText" xd:datafmt=""number","numDigits:0;negativeOrder:1;"" xd:binding="my:WantedTasks" xd:boundProp="xd:num" style="WIDTH: 5.7em; FONT-FAMILY: Tahoma">
  404.                             <xsl:attribute name="xd:num">
  405.                                 <xsl:value-of select="my:WantedTasks"/>
  406.                             </xsl:attribute>
  407.                             <xsl:choose>
  408.                                 <xsl:when test="function-available('xdFormatting:formatString')">
  409.                                     <xsl:value-of select="xdFormatting:formatString(my:WantedTasks,"number","numDigits:0;negativeOrder:1;")"/>
  410.                                 </xsl:when>
  411.                                 <xsl:otherwise>
  412.                                     <xsl:value-of select="my:WantedTasks"/>
  413.                                 </xsl:otherwise>
  414.                             </xsl:choose>
  415.                         </span>
  416.                     </div>
  417.                 </font>
  418.             </div>
  419.         </xsl:if>
  420.     </xsl:template>
  421.     <xsl:template match="my:myFields" mode="_50">
  422.         <div class="xdSection xdRepeating" title="" style="HEIGHT: 5em; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px" align="left" xd:CtrlId="CTRL75" xd:xctname="Section" tabIndex="-1" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  423.             <div>
  424.                 <object class="xdActiveX" hideFocus="1" title="CC participants will not be assigned tasks but will be notified of the workflow's starting." style="FONT-SIZE: 8.5pt; WIDTH: 100%; FONT-FAMILY: Tahoma; HEIGHT: 22px; MARGIN: 1px" accessKey="C" width="23" classid="clsid:61e40d31-993d-4777-8fa0-19ca59b6d0bb" tabIndex="0" tabStop="true" xd:xctname="{{61e40d31-993d-4777-8fa0-19ca59b6d0bb}}" xd:CtrlId="CTRL86" xd:bindingType="xmlNode" xd:bindingProperty="value" xd:boundProp="xd:inline" contentEditable="false" xd:binding="my:CC">
  425.                     <xsl:if test="function-available('xdImage:getImageUrl')">
  426.                         <xsl:attribute name="src"><xsl:value-of select="xdImage:getImageUrl(my:CC)"/></xsl:attribute>
  427.                     </xsl:if>
  428.                     <param NAME="ButtonFont" VALUE="Tahoma,8,0,400,0,0,0"/>
  429.                     <param NAME="ButtonText" VALUE="CC..."/>
  430.                     <param NAME="DisplayNameXPath" VALUE="my:DisplayName"/>
  431.                     <param NAME="ObjectIdXPath" VALUE="my:AccountId"/>
  432.                     <param NAME="ObjectTypeXPath" VALUE="my:AccountType"/>
  433.                     <param NAME="SiteUrlXPath" VALUE="/Context/@siteUrl"/>
  434.                     <param NAME="SiteUrlDataSource" VALUE="Context"/>
  435.                     <param NAME="NewNodeTemplate" VALUE="<my:Person>     <my:DisplayName></my:DisplayName>     <my:AccountId></my:AccountId>     <my:AccountType></my:AccountType> </my:Person>"/>
  436.                     <param NAME="BackgroundColor" VALUE="2147483653"/>
  437.                     <param NAME="MaxLines" VALUE="4"/>
  438.                     <param NAME="Direction" VALUE="0"/>
  439.                 </object>
  440.             </div>
  441.         </div>
  442.     </xsl:template>
  443. </xsl:stylesheet>
  444.