lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhern...@apache.org
Subject [Lucene.Net] svn commit: r1172426 [7/9] - in /incubator/lucene.net/branches/Lucene.Net_4e: build/scripts/ packages/SHFB/ packages/SHFB/Colorizer/ packages/SHFB/SharedContent/ packages/SHFB/Templates/ packages/SHFB/Web/
Date Mon, 19 Sep 2011 05:09:10 GMT
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Hana.config
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Hana.config?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Hana.config (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Hana.config Mon Sep 19 05:09:06 2011
@@ -0,0 +1,356 @@
+<configuration>
+<dduetools>
+    <builder>
+      <components>
+
+        <!-- Create skeleton document -->
+        <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+            <data file="{@PresentationPath}Transforms\skeleton.xml" />
+            <copy source="/*" target="/" />
+        </component>
+
+        <!-- Copy in reflection data -->
+        <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <index name="reflection" value="/reflection/apis/api" key="@id" cache="10">
+            <data base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" />
+            <data files="reflection.xml" />
+          </index>
+          <copy name="reflection" source="*" target="/document/reference" />
+        </component>
+
+        <!-- Copy in container data -->
+        <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+            <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" />
+        </component>
+
+        <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <variable expression="/document/reference/containers//type/@api" />
+          <components>
+            <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" />
+            </component>
+          </components>
+        </component>
+
+        <!-- Copy in parameter data -->
+        <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <variable expression="/document/reference/parameters/parameter//type/@api" />
+          <components>
+            <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" />
+            </component>
+          </components>
+        </component>
+
+        <!-- Generate syntax -->
+        <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <if condition="not(starts-with($key,'Overload:') or starts-with($key,'R:'))" />
+          <then>
+            <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <syntax input="/document/reference" output="/document/syntax" />
+              <generators>
+{@SyntaxFilters}
+              </generators>
+            </component>
+          </then>
+        </component>
+
+        <!-- Copy in comments -->
+        <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <index name="comments" value="/doc/members/member" key="@name" cache="100">
+{@FrameworkCommentList}
+{@CommentFileList}
+          </index>
+          <copy name="comments" source="*" target="/document/comments" />
+        </component>
+
+        <!-- Copy in reflection data and comments for members -->
+        <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <variable expression="/document/reference/elements//element/@api" />
+          <components>
+            <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <if condition="not(/document/reference/elements//element[@api=$key]/apidata)" />
+              <then>
+                <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                    <copy name="reflection" source="*[not(self::elements)]" target="/document/reference/elements//element[@api=$key]" />
+                </component>
+              </then>
+            </component>
+            <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <copy name="comments" source="summary|overloads" target="/document/reference/elements//element[@api=$key]" />
+            </component>
+          </components>
+        </component>
+
+        <!-- Copy in comments for the member's declaring type. -->
+        <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" />
+        </component>
+
+        <!-- Show missing documentation component configuration.  This must
+         appear before the TransformComponent. -->
+        <component type="SandcastleBuilder.Components.ShowMissingComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Show Missing Documentation Component">
+            <!-- All elements are optional. -->
+
+            <!-- Auto-document constructors (true by default) -->
+            <AutoDocumentConstructors value="{@AutoDocumentConstructors}" />
+
+            <!-- Auto-document dispose methods (true by default) -->
+            <AutoDocumentDisposeMethods value="{@AutoDocumentDisposeMethods}" />
+
+            <!-- Show missing param tags (true by default) -->
+            <ShowMissingParams value="{@ShowMissingParams}" />
+
+            <!-- Show missing typeparam tags (true by default) -->
+            <ShowMissingTypeParams value="{@ShowMissingTypeParams}" />
+
+            <!-- Show missing remarks tags (false by default) -->
+            <ShowMissingRemarks value="{@ShowMissingRemarks}" />
+
+            <!-- Show missing returns tags (true by default) -->
+            <ShowMissingReturns value="{@ShowMissingReturns}" />
+
+            <!-- Show missing summary tags (true by default) -->
+            <ShowMissingSummaries value="{@ShowMissingSummaries}" />
+
+            <!-- Show missing value tags (false by default) -->
+            <ShowMissingValues value="{@ShowMissingValues}" />
+
+            <!-- Show missing namespace comments (true by default) -->
+            <ShowMissingNamespaces value="{@ShowMissingNamespaces}" />
+
+            <!-- Show missing include targets (true by default) -->
+            <ShowMissingIncludeTargets value="{@ShowMissingIncludeTargets}" />
+
+            <!-- Shared content file containing the localized messages
+                 (optional) -->
+            <contentFile filename="SharedBuilderContent.xml" />
+        </component>
+
+        <!-- Version information component configuration.  This must appear
+             before the TransformComponent.  See also: PostTransformComponent -->
+        <component type="SandcastleBuilder.Components.VersionInfoComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Version Information Component">
+            <!-- Reflection information file for version info (required) -->
+            <reflectionFile filename="reflection.xml" />
+        </component>
+
+        <!-- Code block component configuration.  This must appear before the
+             TransformComponent.  See also: PostTransformComponent. -->
+        <component type="SandcastleBuilder.Components.CodeBlockComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Code Block Component">
+            <!-- Base path for relative filenames in source attributes (optional) -->
+            <basePath value="{@HtmlEncProjectFolder}" />
+
+            <!-- Connect to language filter (optional).  If omitted,
+                 language filtering is enabled by default. -->
+            <languageFilter value="true" />
+
+            <!-- Allow missing source files (Optional).  If omitted,
+                 it will generate errors if referenced source files
+                 are missing. -->
+            <allowMissingSource value="false" />
+
+            <!-- Remove region markers from imported code blocks.  If omitted,
+                 region markers in imported code blocks are left alone. -->
+            <removeRegionMarkers value="false" />
+
+            <!-- Code colorizer options (required).
+                 Attributes:
+                    Language syntax configuration file (required)
+                    XSLT style file (required)
+                    "Copy" image file URL (required)
+                    Default language (optional)
+                    Enable line numbering (optional)
+                    Enable outlining (optional)
+                    Keep XML comment "see" tags within the code (optional)
+                    Tab size override (optional, 0 = Use syntax file setting)
+                    Use language name as default title (optional) -->
+            <colorizer syntaxFile="{@SHFBFolder}Colorizer\highlight.xml"
+                styleFile="{@SHFBFolder}Colorizer\highlight.xsl"
+                copyImageUrl="../icons/CopyCode.gif"
+                language="cs" numberLines="false" outlining="false"
+                keepSeeTags="false" tabSize="0" defaultTitle="true" />
+        </component>
+
+        <!-- transform -->
+        <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <transform file="{@PresentationPath}Transforms\main_sandcastle.xsl">
+            <argument key="metadata" value="true" />
+            <argument key="languages">
+{@SyntaxFiltersDropDown}
+            </argument>
+          </transform>
+        </component>
+
+        <!-- Post-transform component configuration.  This must appear after the
+             TransformComponent.  See also: CodeBlockComponent. -->
+        <component type="SandcastleBuilder.Components.PostTransformComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Post-transform Component">
+            <!-- Code colorizer files (required).
+                 Attributes:
+                    Stylesheet file (required)
+                    Script file (required)
+                    "Copy" image file (required) -->
+            <colorizer stylesheet="{@SHFBFolder}Colorizer\highlight.css"
+                scriptFile="{@SHFBFolder}Colorizer\highlight.js"
+                copyImage="{@SHFBFolder}Colorizer\CopyCode.gif" />
+
+            <!-- Base output paths for the files (required).  These should match
+                 the parent folder of the output path of the HTML files (see
+                 each of the SaveComponent instances below). -->
+            <outputPaths>
+{@HelpFormatOutputPaths}
+            </outputPaths>
+
+            <!-- Logo image file (optional).  Filename is required. The height,
+                 width, altText, placement, and alignment attributes are
+                 optional. -->
+            <logoFile filename="" height="0" width="0" altText=""
+                placement="left" alignment="left" />
+        </component>
+
+        <!-- Multi-format output component.  This must wrap the component set
+             unique to each output file format. -->
+        <component type="SandcastleBuilder.Components.MultiFormatOutputComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Multi-format Output Component">
+          <!-- This defines the formats to generate -->
+          <build formats="{@HelpFileFormat}" />
+
+          <!-- This defines the set of components for HTML Help 1 files -->
+          <helpOutput format="HtmlHelp1">
+            <!-- Resolve shared content -->
+            <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <content file="{@PresentationPath}content\{@LanguageFolder}shared_content.xml" />
+                <content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
+                <content file="{@SandcastlePath}Presentation\shared\content\{@LanguageFolder}syntax_content.xml" />
+                <!-- These must be last in order to override other elements! -->
+                <content file="SharedBuilderContent.xml" />
+                <content file="PresentationStyleBuilderContent.xml" />
+{@ResourceItemFiles}
+            </component>
+
+            <!-- Resolve reference links -->
+            <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
+              assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
+              locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
+                <targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@HtmlSdkLinkType}" />
+                <targets files="reflection.xml" type="Local" />
+            </component>
+
+            <!-- Save the result -->
+            <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <save base="Output\HtmlHelp1\html" path="concat(/html/head/meta[@name='guid']/@content,'.htm')" indent="{@IndentHtml}"
+                  omit-xml-declaration="true" add-xhtml-namespace="false" />
+            </component>
+          </helpOutput>
+
+          <!-- This defines the set of components for MS Help 2 files -->
+          <helpOutput format="MSHelp2">
+            <!-- Resolve shared content -->
+            <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <content file="{@PresentationPath}content\{@LanguageFolder}shared_content.xml" />
+                <content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
+                <content file="{@SandcastlePath}Presentation\shared\content\{@LanguageFolder}syntax_content.xml" />
+                <!-- These must be last in order to override other elements! -->
+                <content file="SharedBuilderContent.xml" />
+                <content file="PresentationStyleBuilderContent.xml" />
+{@ResourceItemFiles}
+            </component>
+
+            <!-- Insert additional MS Help 2 attributes -->
+            <component id="MS Help 2 Attributes"
+              type="SandcastleBuilder.Components.MSHelpAttrComponent"
+              assembly="{@SHFBFolder}SandcastleBuilder.Components.dll">
+{@HelpAttributes}
+            </component>
+
+            <!-- Resolve reference links -->
+            <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
+              assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
+              locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
+                <targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@MSHelp2SdkLinkType}" />
+                <targets files="reflection.xml" type="Index" />
+            </component>
+
+            <!-- Save the result -->
+            <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <save base="Output\MSHelp2\html" path="concat(/html/head/meta[@name='guid']/@content,'.htm')" indent="{@IndentHtml}"
+                  omit-xml-declaration="true" add-xhtml-namespace="false" />
+            </component>
+          </helpOutput>
+
+          <!-- This defines the set of components for MS Help Viewer files -->
+          <helpOutput format="MSHelpViewer">
+            <!-- Resolve shared content -->
+            <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <content file="{@PresentationPath}content\{@LanguageFolder}shared_content_mshc.xml" />
+                <content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
+                <content file="{@SandcastlePath}Presentation\shared\content\{@LanguageFolder}syntax_content.xml" />
+                <!-- These must be last in order to override other elements! -->
+                <content file="SharedBuilderContent.xml" />
+                <content file="PresentationStyleBuilderContent.xml" />
+{@ResourceItemFiles}
+            </component>
+
+            <!-- Resolve reference links -->
+            <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
+              assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
+              locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
+                <targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@MSHelpViewerSdkLinkType}" />
+                <targets files="reflection.xml" type="Id" />
+            </component>
+
+            <!-- Add MS Help Viewer metadata -->
+            <component type="SandcastleBuilder.Components.MSHCComponent"
+              assembly="{@SHFBFolder}SandcastleBuilder.Components.dll">
+              <data self-branded="{@SelfBranded}" topic-version="{@TopicVersion}" toc-file="toc.xml"
+                toc-parent="{@ApiTocParentId}" toc-parent-version="{@TocParentVersion}" locale="{@Locale}" />
+            </component>
+
+            <!-- Save the result -->
+            <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <save base="Output\MSHelpViewer\html" path="concat(/html/head/meta[@name='guid']/@content,'.htm')" indent="{@IndentHtml}"
+                  omit-xml-declaration="false" add-xhtml-namespace="true" />
+            </component>
+          </helpOutput>
+
+          <!-- This defines the set of components for websites -->
+          <helpOutput format="Website">
+            <!-- Resolve shared content -->
+            <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <content file="{@PresentationPath}content\{@LanguageFolder}shared_content.xml" />
+                <content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
+                <content file="{@SandcastlePath}Presentation\shared\content\{@LanguageFolder}syntax_content.xml" />
+                <!-- These must be last in order to override other elements! -->
+                <content file="SharedBuilderContent.xml" />
+                <content file="PresentationStyleBuilderContent.xml" />
+{@ResourceItemFiles}
+            </component>
+
+            <!-- Resolve reference links -->
+            <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
+              assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
+              locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
+                <targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@WebsiteSdkLinkType}" />
+                <targets files="reflection.xml" type="Local" />
+            </component>
+
+            <!-- Save the result -->
+            <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <save base="Output\Website\html" path="concat(/html/head/meta[@name='guid']/@content,'.htm')" indent="{@IndentHtml}"
+                  omit-xml-declaration="true" add-xhtml-namespace="false" />
+            </component>
+          </helpOutput>
+        </component>
+
+      </components>
+    </builder>
+  </dduetools>
+</configuration>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Hana.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Hana.xsl?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Hana.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Hana.xsl Mon Sep 19 05:09:06 2011
@@ -0,0 +1,280 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:MSHelp="http://msdn.microsoft.com/mshelp"
+    xmlns:mshelp="http://msdn.microsoft.com/mshelp"
+    xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5"
+    xmlns:xlink="http://www.w3.org/1999/xlink"
+    xmlns:msxsl="urn:schemas-microsoft-com:xslt">
+
+<!--
+// System  : Sandcastle Help File Builder Utilities
+// File    : Hana.xsl
+// Author  : Eric Woodruff
+// Updated : 03/15/2008
+// Note    : Copyright 2007-2008, Eric Woodruff, All rights reserved
+//
+// This is used to convert *.topic additional content files into *.html files
+// that have the same appearance as API topics using the Hana presentation
+// style.
+-->
+
+  <xsl:output method="xml" omit-xml-declaration="yes" encoding="utf-8" />
+
+  <!-- This parameter, if specified, defines the path to the root folder -->
+  <xsl:param name="pathToRoot" select="string('')" />
+
+  <!-- Allow for alternate header text -->
+  <xsl:variable name="customHeader">
+    <xsl:choose>
+      <xsl:when test="topic/headerTitle">
+        <xsl:value-of select="topic/headerTitle"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- The product title is replaced with the project's HTML encoded HelpTitle value -->
+        <@HtmlEncHelpTitle/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Main template for the topic -->
+  <xsl:template match="/topic">
+<html>
+<head>
+<title><xsl:value-of select="title"/></title>
+<link rel="stylesheet" type="text/css" href="{$pathToRoot}styles/presentation.css" />
+<link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" />
+<link rel="stylesheet" type="text/css" href="ms-help://Dx/DxRuntime/DxLink.css" />
+<script type="text/javascript" src="{$pathToRoot}scripts/EventUtilities.js"></script>
+<script type="text/javascript" src="{$pathToRoot}scripts/SplitScreen.js"></script>
+<script type="text/javascript" src="{$pathToRoot}scripts/Dropdown.js"></script>
+<script type="text/javascript" src="{$pathToRoot}scripts/script_manifold.js"></script>
+<script type="text/javascript" src="{$pathToRoot}scripts/LanguageFilter.js"></script>
+<script type="text/javascript" src="{$pathToRoot}scripts/DataStore.js"></script>
+<script type="text/javascript" src="{$pathToRoot}scripts/CommonUtilities.js"></script>
+<script type="text/javascript" src="{$pathToRoot}scripts/MemberFilter.js"></script>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" />
+<META NAME="save" CONTENT="history" />
+
+<!-- Stylesheet and script for colorized code blocks -->
+<link type="text/css" rel="stylesheet" href="{$pathToRoot}styles/highlight.css" />
+<script type="text/javascript" src="{$pathToRoot}scripts/highlight.js"></script>
+
+<xml>
+    <MSHelp:Attr Name="DocSet" Value="NetFramework" />
+    <MSHelp:Attr Name="DocSet" Value="<@HtmlHelpName>" />
+    <MSHelp:Attr Name="Locale" Value="<@Locale>" />
+    <MSHelp:Attr Name="TargetOS" Value="Windows" />
+
+<!-- Include the user's XML data island for MS Help 2.0 if present -->
+<xsl:if test="xml">
+    <xsl:copy-of select="xml/*"/>
+</xsl:if>
+</xml>
+
+<!-- Add a link to an additional stylesheet if specified -->
+<xsl:if test="styleSheet">
+    <link rel="stylesheet" type="text/css">
+      <xsl:attribute name="href">
+        <xsl:value-of select="$pathToRoot"/>
+        <xsl:value-of select="styleSheet/@filename"/>
+      </xsl:attribute>
+    </link>
+</xsl:if>
+</head>
+
+<body>
+<input type="hidden" id="userDataCache" class="userDataStyle" />
+<input type="hidden" id="hiddenScrollOffset" />
+<img id="collapseImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/collapse_all.gif" alt="Collapse image"/>
+<img id="expandImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/expand_all.gif" alt="Expand Image"/>
+<img id="collapseAllImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/collall.gif" alt="CollapseAll image"/>
+<img id="expandAllImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/expall.gif" alt="ExpandAll image"/>
+<img id="dropDownImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/twirl_unselected.gif" alt="DropDown image"/>
+<img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/twirl_unselected_hover.gif" alt="DropDownHover image"/>
+<img id="copyImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/copycode.gif" alt="Copy image"/>
+<img id="copyHoverImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/copycodeHighlight.gif" alt="CopyHover image"/>
+<img id="checkBoxSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/ch_selected.gif"/>
+<img id="checkBoxUnSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/ch_unselected.gif"/>
+<img id="checkBoxSelectHoverImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/ch_selected_hover.gif"/>
+<img id="checkBoxUnSelectHoverImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/ch_unselected_hover.gif"/>
+<img id="radioSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/r_select.gif"/>
+<img id="radioUnSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/r_unselect.gif"/>
+<img id="radioSelectHoverImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/r_select_hover.gif"/>
+<img id="radioUnSelectHoverImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/r_unselect_hover.gif"/>
+<img id="curvedLeftSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/tab_sel_lft_cnr.gif"/>
+<img id="curvedRightSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/tab_sel_rt_cnr.gif"/>
+<img id="curvedLeftUnSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/tab_unsel_lft_cnr.gif"/>
+<img id="curvedRightUnSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/tab_unsel_rt_cnr.gif"/>
+<img id="gradLeftSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/tab_sel_lft_grad.gif"/>
+<img id="gradRightSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/tab_sel_rt_grad.gif"/>
+<img id="gradLeftUnSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/tab_unsel_lft_grad.gif"/>
+<img id="gradRightUnSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/tab_unsel_rt_grad.gif"/>
+<img id="twirlSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/twirl_selected.gif"/>
+<img id="twirlUnSelectImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/twirl_unselected.gif"/>
+<img id="twirlSelectHoverImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/twirl_selected_hover.gif"/>
+<img id="twirlUnSelectHoverImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/twirl_unselected_hover.gif"/>
+<img id="NSRBottomImage" style="display:none; height:0; width:0;" src="{$pathToRoot}icons/NSRbottomgrad.gif"/>
+
+<div id="header">
+<!-- Include the logo if present -->
+<xsl:choose>
+  <xsl:when test="logoFile">
+    <xsl:apply-templates select="logoFile"/>
+  </xsl:when>
+  <xsl:otherwise>
+<table id="topTable">
+  <tr id="headerTableRow1">
+    <td align="left"><span id="runningHeaderText"><xsl:value-of select="$customHeader"/></span></td>
+  </tr>
+  <tr id="headerTableRow2">
+    <td align="left"><span id="nsrTitle"><xsl:value-of select="title"/></span></td>
+  </tr>
+  <tr>
+    <td class="nsrBottom" background="{$pathToRoot}icons/NSRbottomgrad.gif"></td>
+  </tr>
+</table>
+  </xsl:otherwise>
+</xsl:choose>
+</div>
+
+<div id="mainSection">
+<div id="mainBody">
+<div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()" />
+
+<!-- Process the body text -->
+<xsl:apply-templates select="bodyText" />
+
+<div id="footer">
+<div class="footerLine"><img width="100%" height="3px" src="{$pathToRoot}icons/footer.gif" alt="Footer image"/></div>
+
+<!-- This includes the footer item from the shared content -->
+<include item="footer"/>
+</div>
+</div>
+</div>
+
+</body>
+</html>
+  </xsl:template>
+
+  <!-- Pass through html tags from the body -->
+  <xsl:template match="p|ol|ul|li|dl|dt|dd|table|tr|th|td|h1|h2|h3|h4|h5|h6|hr|br|pre|blockquote|div|span|a|img|b|i|strong|em|del|sub|sup|abbr|acronym|u|font|link|script|code|map|area">
+    <xsl:copy>
+      <xsl:copy-of select="@*" />
+      <xsl:apply-templates />
+    </xsl:copy>
+  </xsl:template>
+
+  <!-- Add the logo -->
+  <xsl:template match="logoFile">
+    <xsl:choose>
+      <xsl:when test="@placement='above'">
+<table id="topTable">
+  <tr>
+    <td>
+      <xsl:if test="@alignment">
+        <xsl:attribute name="align">
+          <xsl:value-of select="@alignment"/>
+        </xsl:attribute>
+      </xsl:if>
+    <img>
+      <xsl:attribute name="src">
+        <xsl:value-of select="$pathToRoot"/>
+        <xsl:value-of select="@filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="altText">
+        <xsl:value-of select="@altText"/>
+      </xsl:attribute>
+      <xsl:if test="@height">
+        <xsl:attribute name="height">
+          <xsl:value-of select="@height"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@width">
+        <xsl:attribute name="width">
+          <xsl:value-of select="@width"/>
+        </xsl:attribute>
+      </xsl:if>
+    </img></td>
+  </tr>
+  <tr id="headerTableRow1">
+    <td align="left"><span id="runningHeaderText"><xsl:value-of select="$customHeader"/></span></td>
+  </tr>
+  <tr id="headerTableRow2">
+    <td align="left"><span id="nsrTitle"><xsl:value-of select="parent::*/title"/></span></td>
+  </tr>
+  <tr>
+    <td class="nsrBottom" background="{$pathToRoot}icons/NSRbottomgrad.gif"></td>
+  </tr>
+</table>
+      </xsl:when>
+      <xsl:when test="@placement='right'">
+<table id="topTable">
+  <tr id="headerTableRow1">
+    <td align="left"><span id="runningHeaderText"><xsl:value-of select="$customHeader"/></span></td>
+    <td rowspan="2" align="center" style="width: 1px; padding: 0px"><img>
+      <xsl:attribute name="src">
+        <xsl:value-of select="$pathToRoot"/>
+        <xsl:value-of select="@filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="altText">
+        <xsl:value-of select="@altText"/>
+      </xsl:attribute>
+      <xsl:if test="@height">
+        <xsl:attribute name="height">
+          <xsl:value-of select="@height"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@width">
+        <xsl:attribute name="width">
+          <xsl:value-of select="@width"/>
+        </xsl:attribute>
+      </xsl:if>
+    </img></td>
+  </tr>
+  <tr id="headerTableRow2">
+    <td align="left"><span id="nsrTitle"><xsl:value-of select="parent::*/title"/></span></td>
+  </tr>
+  <tr>
+    <td class="nsrBottom" colspan="2" background="{$pathToRoot}icons/NSRbottomgrad.gif"></td>
+  </tr>
+</table>
+      </xsl:when>
+      <xsl:otherwise>
+<table id="topTable">
+  <tr>
+    <td rowspan="3" align="center" style="width: 1px; padding: 0px"><img>
+      <xsl:attribute name="src">
+        <xsl:value-of select="$pathToRoot"/>
+        <xsl:value-of select="@filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="altText">
+        <xsl:value-of select="@altText"/>
+      </xsl:attribute>
+      <xsl:if test="@height">
+        <xsl:attribute name="height">
+          <xsl:value-of select="@height"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@width">
+        <xsl:attribute name="width">
+          <xsl:value-of select="@width"/>
+        </xsl:attribute>
+      </xsl:if>
+    </img></td>
+  </tr>
+  <tr id="headerTableRow1">
+    <td align="left"><span id="runningHeaderText"><xsl:value-of select="$customHeader"/></span></td>
+  </tr>
+  <tr id="headerTableRow2">
+    <td align="left"><span id="nsrTitle"><xsl:value-of select="parent::*/title"/></span></td>
+  </tr>
+  <tr>
+    <td class="nsrBottom" colspan="2" background="{$pathToRoot}icons/NSRbottomgrad.gif"></td>
+  </tr>
+</table>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help1x.hhp
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help1x.hhp?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help1x.hhp (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help1x.hhp Mon Sep 19 05:09:06 2011
@@ -0,0 +1,22 @@
+[OPTIONS]
+Compatibility=1.1 or later
+Default Window=MsdnHelp
+Display compile progress=No
+Full-text search=Yes
+Language={@Language}
+Binary TOC={@BinaryTOC}
+Title={@HelpTitle}
+Default topic={@DefaultTopic}
+Contents file={@HTMLHelpName}.hhc
+Compiled file={@HTMLHelpName}.chm
+Error log file={@HTMLHelpName}.log
+Index file={@HTMLHelpName}.hhk
+Auto Index=Yes
+
+[WINDOWS]
+MsdnHelp="{@HelpTitle}","{@HTMLHelpName}.hhc","{@HTMLHelpName}.hhk","{@DefaultTopic}","{@DefaultTopic}",,,,,{@WindowOptions},220,0x387e,[86,51,886,651],,,,,,,0
+
+[FILES]
+{@Help1xProjectFiles}
+
+[INFOTYPES]

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x.HxC
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x.HxC?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x.HxC (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x.HxC Mon Sep 19 05:09:06 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HelpCollection SYSTEM "MS-Help://Hx/Resources/HelpCollection.dtd">
+<HelpCollection DTDVersion="1.0" FileVersion="{@HelpFileVersion}" LangId="{@LangId}" Title="{@HtmlEncHelpTitle}" Copyright="{@HtmlEncCopyrightText}">
+  <CompilerOptions OutputFile="{@HTMLEncHelpName}.HxS" CreateFullTextIndex="Yes" CompileResult="Hxs" {@StopWordFile}>
+    <IncludeFile File="{@HTMLEncHelpName}.HxF" />
+  </CompilerOptions>
+  <TOCDef File="{@HTMLEncHelpName}.HxT" />
+  <KeywordIndexDef File="{@HTMLEncHelpName}_A.HxK" />
+  <KeywordIndexDef File="{@HTMLEncHelpName}_B.HxK" />
+  <KeywordIndexDef File="{@HTMLEncHelpName}_F.HxK" />
+  <KeywordIndexDef File="{@HTMLEncHelpName}_K.HxK" />
+  <KeywordIndexDef File="{@HTMLEncHelpName}_NamedURLIndex.HxK" />
+  <KeywordIndexDef File="{@HTMLEncHelpName}_S.HxK" />
+  <ItemMoniker Name="!DefaultTOC" ProgId="HxDs.HxHierarchy" InitData="{@HTMLEncHelpName}" />
+  <ItemMoniker Name="!DefaultFullTextSearch" ProgId="HxDs.HxFullTextSearch" InitData="FTS" />
+  <ItemMoniker Name="!DefaultAssociativeIndex" ProgId="HxDs.HxIndex" InitData="A" />
+  <ItemMoniker Name="!DefaultDynamicLinkIndex" ProgId="HxDs.HxIndex" InitData="B" />
+  <ItemMoniker Name="!DefaultContextWindowIndex" ProgId="HxDs.HxIndex" InitData="F" />
+  <ItemMoniker Name="!DefaultKeywordIndex" ProgId="HxDs.HxIndex" InitData="K" />
+  <ItemMoniker Name="!DefaultNamedUrlIndex" ProgId="HxDs.HxIndex" InitData="NamedUrlIndex" />
+  <ItemMoniker Name="!DefaultSearchWindowIndex" ProgId="HxDs.HxIndex" InitData="S" />
+</HelpCollection>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x.HxF
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x.HxF?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x.HxF (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x.HxF Mon Sep 19 05:09:06 2011
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HelpFileList SYSTEM "MS-Help://Hx/Resources/HelpFileList.dtd">
+<HelpFileList DTDVersion="1.0">
+{@Help2xProjectFiles}
+</HelpFileList>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_A.HxK
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_A.HxK?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_A.HxK (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_A.HxK Mon Sep 19 05:09:06 2011
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd">
+<HelpIndex Name="A" DTDVersion="1.0" LangId="{@LangId}" />
\ No newline at end of file

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_B.HxK
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_B.HxK?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_B.HxK (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_B.HxK Mon Sep 19 05:09:06 2011
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd">
+<HelpIndex Name="B" DTDVersion="1.0" LangId="{@LangId}" />
\ No newline at end of file

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_F.HxK
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_F.HxK?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_F.HxK (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_F.HxK Mon Sep 19 05:09:06 2011
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd">
+<HelpIndex Name="F" DTDVersion="1.0" LangId="{@LangId}" />
\ No newline at end of file

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_H2Reg.ini
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_H2Reg.ini?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_H2Reg.ini (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_H2Reg.ini Mon Sep 19 05:09:06 2011
@@ -0,0 +1,47 @@
+; This file is intended for use with the H2Reg.exe help registration utility.
+; H2Reg.exe is a shareware product from The Helpware Group that can be
+; integrated into installers used for deploying MS Help 2 titles and
+; collections.  H2Reg.exe can be downloaded and licensed from
+; http://www.helpware.net.
+
+;------- Register -r switch
+
+[Reg_Namespace]
+;<nsName>|<nsColfile>|<nsDesc>  or +<nsName>|<nsColfile>|<nsDesc>
+{@HtmlHelpName}|{@HtmlHelpName}.HxC|{@HelpTitle}
+
+[Reg_Title]
+;<nsName>|<TitleID>|<LangId>|<HxS_HelpFile>|<HxI_IndexFile>|<HxQ_QueryFile>|<HxR_AttrQueryFile>|<HxsMediaLoc>|<HxqMediaLoc>|<HxrMediaLoc>|<SampleMediaLoc>
+{@HtmlHelpName}|{@HtmlHelpName}|{@LangId}|{@HtmlHelpName}.HxS|{@HtmlHelpName}.HxS||||||
+
+[Reg_Plugin]
+;<nsName_Parent>|<HxT_Parent>|<nsName_Child>|<HxT_Child>|<HxA_Child>
+{@H2RegPlugInEntries}
+
+[Reg_Filter]
+;<nsName>|<FilterName>|<FilterQueryStr>
+{@HtmlHelpName}|{@HelpTitle}|"DocSet"="{@HtmlHelpName}"
+
+;------- Unregister -u switch
+
+[UnReg_Filter]
+;<nsName>|<FilterName>
+{@HtmlHelpName}|{@HelpTitle}
+
+[UnReg_Plugin]
+;<nsName_Parent>|<HxT_Parent>|<nsName_Child>|<HxT_Child>|<HxA_Child>
+{@H2RegPlugInEntries}
+
+[UnReg_Title]
+;<nsName>|<TitleID>|<LangId>
+{@HtmlHelpName}|{@HtmlHelpName}|{@LangId}
+
+[UnReg_Namespace]
+;<nsName>
+{@HtmlHelpName}
+
+;------- Merge -M switch
+
+[Merge_Namespace]
+;<nsName>|[AUTO]
+{@H2RegMergeNamespaces}

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_K.HxK
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_K.HxK?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_K.HxK (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_K.HxK Mon Sep 19 05:09:06 2011
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HelpIndex SYSTEM "MS-Help://hx/resources/HelpIndex.DTD">
+<HelpIndex Name="K" DTDVersion="1.0" FileVersion="{@HelpFileVersion}" LangId="{@LangId}" Visible="Yes" />
\ No newline at end of file

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_NamedURLIndex.HxK
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_NamedURLIndex.HxK?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_NamedURLIndex.HxK (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_NamedURLIndex.HxK Mon Sep 19 05:09:06 2011
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd">
+<HelpIndex Name="NamedUrlIndex" DTDVersion="1.0" LangId="{@LangId}" />

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_S.HxK
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_S.HxK?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_S.HxK (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Help2x_S.HxK Mon Sep 19 05:09:06 2011
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HelpIndex SYSTEM "MS-Help://Hx/Resources/HelpIndex.dtd">
+<HelpIndex Name="S" DTDVersion="1.0" LangId="{@LangId}" />
\ No newline at end of file

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/HelpContentSetup.msha
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/HelpContentSetup.msha?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/HelpContentSetup.msha (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/HelpContentSetup.msha Mon Sep 19 05:09:06 2011
@@ -0,0 +1,20 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <title>{@HtmlEncHelpTitle}</title>
+</head>
+<body class="vendor-book">
+    <div class="details">
+        <span class="vendor">{@HtmlEncVendorName}</span>
+        <span class="locale">{@Locale}</span>
+        <span class="product">{@HtmlEncProductTitle}</span>
+        <span class="name">{@HtmlEncHelpTitle}</span>
+    </div>
+    <div class="package-list">
+        <div class="package">
+            <!-- NOTE: The "name" span value cannot contain any periods! -->
+            <span class="name">{@HelpViewerSetupName}</span>
+            <a class="current-link" href="{@HTMLEncHelpName}.mshc">{@HTMLEncHelpName}.mshc</a>
+        </div>
+    </div>
+</body>
+</html>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/HelpFileBuilderTokens.tokens
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/HelpFileBuilderTokens.tokens?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/HelpFileBuilderTokens.tokens (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/HelpFileBuilderTokens.tokens Mon Sep 19 05:09:06 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Standard tokens used for conceptual content builds -->
+<content xml:space="preserve"
+  xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5"
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  <item id="autoOutline"><autoOutline /></item>
+</content>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/InstallMSHC.bat
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/InstallMSHC.bat?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/InstallMSHC.bat (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/InstallMSHC.bat Mon Sep 19 05:09:06 2011
@@ -0,0 +1,21 @@
+@ECHO OFF
+CLS
+
+REM This is an example script to show how to use the Help Library Manager
+REM Launcher to install an MS Help Viewer file.  You can use this as an example
+REM for creating a script to run from your product's installer.
+
+REM NOTE: If not executed from within the same folder as the executable, a
+REM full path is required on the executable and the HelpContentSetup.msha file.
+
+REM Uninstall first in case it is already there.  If not, it won't install
+REM below.  We'll ignore any error output by redirecting it to NUL.
+HelpLibraryManagerLauncher.exe /product "{@CatalogProductId}" /version "{@CatalogVersion}" /locale {@Locale} /uninstall /silent /vendor "{@VendorName}" /mediaBookList "{@HelpTitle}" /productName "{@ProductTitle}" > NUL
+
+REM The setup name must be HelpContentSetup.msha so make sure we copy the
+REM setup file to that name.  SHFB names it after the help file so that
+REM multiple files can be deployed to the same output older at build time.
+COPY /Y "{@HtmlHelpName}.msha" HelpContentSetup.msha
+
+REM Install the new content.
+HelpLibraryManagerLauncher.exe /product "{@CatalogProductId}" /version "{@CatalogVersion}" /locale {@Locale} /brandingPackage Dev10.mshc /sourceMedia HelpContentSetup.msha

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/MRefBuilder.config
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/MRefBuilder.config?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/MRefBuilder.config (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/MRefBuilder.config Mon Sep 19 05:09:06 2011
@@ -0,0 +1,118 @@
+<configuration>
+  <dduetools>
+    <platform version="{@MRefFrameworkVersionShort}" path="%SystemRoot%\Microsoft.NET\Framework\v{@MRefFrameworkVersion}\" />
+    <resolver type="Microsoft.Ddue.Tools.Reflection.AssemblyResolver" assembly="{@SandcastlePath}ProductionTools\MRefBuilder.exe" use-gac="false" />
+    <addins>
+      <addin type="Microsoft.Ddue.Tools.ExtensionMethodAddIn" assembly="{@SandcastlePath}ProductionTools\MRefBuilder.exe" />
+      <addin type="Microsoft.Ddue.Tools.XamlAttachedMembersAddIn" assembly="{@SandcastlePath}ProductionTools\MRefBuilder.exe" />
+    </addins>
+
+    <!-- Whether to include protected sealed members.  Always True for now.
+         We'll let SHFB rip them along with the other unwanted members if
+         specified in the SHFB project visibility properties. -->
+    <protectedSealed expose="true" />
+
+    <!-- Whether to include "no-PIA" COM types, those marked with
+         TypeIdentifierAttribute and CompilerGeneratedAttribute.  Since they
+         are compiler generated, we'll always exclude them for now. -->
+    <noPIA expose="false" />
+
+    <attributeFilter expose="true">
+      <!-- Most attributes in System.ComponentModel control designer behavior. Don't show them. -->
+      <!-- The exceptions are attributes relating to data binding. Do show them. -->
+      <namespace name="System.ComponentModel" expose="false">
+        <type name="BindableAttribute" expose="true"/>
+        <type name="BrowsableAttribute" expose="true"/>
+        <type name="ComplexBindingPropertiesAttribute" expose="true"/>
+        <type name="DataObjectAttribute" expose="true"/>
+        <type name="DefaultBindingPropertyAttribute" expose="true"/>
+        <type name="ListBindableAttribute" expose="true"/>
+        <type name="LookupBindingPropertiesAttribute" expose="true"/>
+        <type name="SettingsBindableAttribute" expose="true"/>
+        <type name="TypeConverterAttribute" expose="true"/>
+        <!-- These may provide useful information too -->
+        <type name="DefaultEventAttribute" expose="true"/>
+        <type name="DefaultPropertyAttribute" expose="true"/>
+        <type name="DefaultValueAttribute" expose="true"/>
+        <type name="DesignerSerializationVisibilityAttribute" expose="true"/>
+        <type name="EditorAttribute" expose="true"/>
+        <type name="EditorBrowsableAttribute" expose="true"/>
+        <type name="ExtenderProvidedProperty" expose="true"/>
+        <type name="ProvideProperty" expose="true"/>
+      </namespace>
+      <namespace name="System.ComponentModel.Design" expose="false" />
+      <namespace name="System.ComponentModel.Design.Serialization" expose="false" />
+      <!-- Most attributes in System.Diagnostics control debugger behavior. Don't show them. -->
+      <namespace name="System.Diagnostics" expose="false">
+        <type name="ConditionalAttribute" expose="true"/>
+        <type name="EventLogPermissionAttribute" expose="true"/>
+        <type name="PerformanceCounterPermissionAttribute" expose="true"/>
+      </namespace>
+      <!-- Attributes in System.Diagnostics.CodeAnalysis control interaction with FxCop. Don't show them. -->
+      <namespace name="System.Diagnostics.CodeAnalysis" expose="false" />
+      <!-- Attributes in System.EnterpriseServices control obscure details of COM+ interop. Don't show them. -->
+      <namespace name="System.EnterpriseServices" expose="false" />
+      <!-- The DefaultMember attribute is usually compiler-generated. Users will see it from the member syntax. -->
+      <namespace name="System.Reflection" expose="true">
+        <type name="DefaultMemberAttribute" expose="false" />
+      </namespace>
+      <!-- Attributes in System.Runtime.CompilerServices control obscure details of compilation. Don't show them. -->
+      <namespace name="System.Runtime.CompilerServices" expose="false">
+        <!-- However, this one is needed to document extension methods properly -->
+        <type name="ExtensionAttribute" expose="true" />
+      </namespace>
+      <!-- Attributes in System.Runtime.ConstrainedExecution control obscure details of compilation. Don't show them. -->
+      <namespace name="System.Runtime.ConstrainedExecution" expose="false" />
+      <!-- Most attributes in System.Runtime.InteropServices control obscure details of COM interop. Don't show them. -->
+      <namespace name="System.Runtime.InteropServices" expose="false">
+        <!-- However, these may prove useful. -->
+        <type name="ClassInterfaceAttribute" expose="true"/>
+        <type name="ComImportAttribute" expose="true"/>
+        <type name="ComVisibleAttribute" expose="true"/>
+        <type name="DllImportAttribute" expose="true"/>
+        <type name="FieldOffsetAttribute" expose="true"/>
+        <type name="GuidAttribute" expose="true"/>
+        <type name="InterfaceTypeAttribute" expose="true"/>
+        <type name="PreserveSigAttribute" expose="true"/>
+        <type name="StructLayoutAttribute" expose="true"/>
+      </namespace>
+      <!-- Attributes in System.Runtime.Versioning control details of resource loading. Don't show them. -->
+      <namespace name="System.Runtime.Versioning" expose="false" />
+      <!-- Attributes in System.Security might hint as security implementation details. Don't show them. -->
+      <namespace name="System.Security" expose="false">
+        <type name="SecurityCriticalAttribute" expose="true" />
+	<type name="SecurityTreatAsSafeAttribute" expose="true" />
+        <type name="AllowPartiallyTrustedCallersAttribute" expose="true" />
+      </namespace>
+      <!-- Attributes in System.Web.Compilation control interaction with the Expression designer. Don't show them. -->
+      <namespace name="System.Web.Compilation" expose="false" />
+      <!-- The ASP.NET team only wants these attributes exposed from their namespace. Their logic ecscapes me, but here it is. -->
+      <namespace name="System.Web.UI" expose="false">
+        <type name="ControlValuePropertyAttribute" expose="true"/>
+        <type name="PersistenceModeAttribute" expose="true" />
+        <type name="ValidationPropertyAttribute" expose="true"/>
+        <type name="WebResourceAttribute" expose="true"/>
+        <type name="TemplateContainerAttribute" expose="true"/>
+        <type name="ThemeableAttribute" expose="true"/>
+        <type name="TemplateInstanceAttribute" expose="true"/>
+      </namespace>
+      <!-- Don't show attributes related to XAML serialization details. -->
+      <namespace name="System.Windows.Markup" expose="true">
+        <type name="ConstructorArgumentAttribute" expose="false" />
+        <type name="DependsOnAttribute" expose="false" />
+        <type name="DesignerSerializationOptionsAttribute" expose="false" />
+        <type name="ValueSerializerAttribute" expose="false" />
+        <type name="XmlnsCompatibleWithAttribute" expose="false" />
+        <type name="XmlnsDefinitionAttribute" expose="false" />
+        <type name="XmlnsPrefixAttribute" expose="false" />
+      </namespace>
+      <!-- Attributes in System.Xml.Serialization control obscure details of XML serialization. Don't show them.-->
+      <!-- namespace name="System.Xml.Serialization" expose="false" / -->
+      <!-- The GeneratedCodeAttribute is useful only to tools, and should be hidden from end users.-->
+      <namespace name="System.CodeDom.Compiler" expose="true">
+        <type name="GeneratedCodeAttribute" expose="false" />
+      </namespace>
+    </attributeFilter>
+{@ApiFilter}    
+  </dduetools>
+</configuration>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/PlaceHolderNode.aml
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/PlaceHolderNode.aml?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/PlaceHolderNode.aml (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/PlaceHolderNode.aml Mon Sep 19 05:09:06 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<topic id="{@GUID}" revisionNumber="1">
+  <developerConceptualDocument
+    xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5"
+    xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  </developerConceptualDocument>
+</topic>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Prototype.config
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Prototype.config?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Prototype.config (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Prototype.config Mon Sep 19 05:09:06 2011
@@ -0,0 +1,346 @@
+<configuration>
+<dduetools>
+    <builder>
+      <components>
+
+        <!-- Create skeleton document -->
+        <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+            <data file="{@PresentationPath}transforms\skeleton.xml" />
+            <copy source="/*" target="/" />
+        </component>
+
+        <!-- Copy in reflection data -->
+        <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <index name="reflection" value="/reflection/apis/api" key="@id" cache="10">
+            <data base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" />
+            <data files="reflection.xml" />
+          </index>
+          <copy name="reflection" source="*" target="/document/reference" />
+        </component>
+
+        <!-- Copy in container data -->
+        <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+            <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" />
+        </component>
+
+        <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <variable expression="/document/reference/containers//type/@api" />
+          <components>
+            <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" />
+            </component>
+          </components>
+        </component>
+
+        <!-- Generate syntax -->
+        <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <if condition="not(starts-with($key,'Overload:') or starts-with($key,'R:'))" />
+          <then>
+            <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <syntax input="/document/reference" output="/document/syntax" />
+              <generators>
+{@SyntaxFilters}
+              </generators>
+            </component>
+          </then>
+        </component>
+
+        <!-- Copy in comments -->
+        <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <index name="comments" value="/doc/members/member" key="@name" cache="100">
+{@FrameworkCommentList}
+{@CommentFileList}
+          </index>
+          <copy name="comments" source="*" target="/document/comments" />
+        </component>
+
+        <!-- Copy in reflection data and comments for members -->
+        <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <variable expression="/document/reference/elements/element/@api" />
+          <components>
+            <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <if condition="not(/document/reference/elements//element[@api=$key]/*)" />
+              <then>
+                <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                    <copy name="reflection" source="*[not(local-name()='elements')]" target="/document/reference/elements//element[@api=$key]" />
+                </component>
+              </then>
+            </component>
+            <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+              <copy name="comments" source="summary|overloads" target="/document/reference/elements/element[@api=$key]" />
+            </component>
+          </components>
+        </component>
+
+        <!-- Copy in comments for the member's declaring type. -->
+        <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" />
+        </component>
+
+        <!-- Show missing documentation component configuration.  This must
+         appear before the TransformComponent. -->
+        <component type="SandcastleBuilder.Components.ShowMissingComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Show Missing Documentation Component">
+            <!-- All elements are optional. -->
+
+            <!-- Auto-document constructors (true by default) -->
+            <AutoDocumentConstructors value="{@AutoDocumentConstructors}" />
+
+            <!-- Auto-document dispose methods (true by default) -->
+            <AutoDocumentDisposeMethods value="{@AutoDocumentDisposeMethods}" />
+
+            <!-- Show missing param tags (true by default) -->
+            <ShowMissingParams value="{@ShowMissingParams}" />
+
+            <!-- Show missing typeparam tags (true by default) -->
+            <ShowMissingTypeParams value="{@ShowMissingTypeParams}" />
+
+            <!-- Show missing remarks tags (false by default) -->
+            <ShowMissingRemarks value="{@ShowMissingRemarks}" />
+
+            <!-- Show missing returns tags (true by default) -->
+            <ShowMissingReturns value="{@ShowMissingReturns}" />
+
+            <!-- Show missing summary tags (true by default) -->
+            <ShowMissingSummaries value="{@ShowMissingSummaries}" />
+
+            <!-- Show missing value tags (false by default) -->
+            <ShowMissingValues value="{@ShowMissingValues}" />
+
+            <!-- Show missing namespace comments (true by default) -->
+            <ShowMissingNamespaces value="{@ShowMissingNamespaces}" />
+
+            <!-- Show missing include targets (true by default) -->
+            <ShowMissingIncludeTargets value="{@ShowMissingIncludeTargets}" />
+
+            <!-- Shared content file containing the localized messages
+                 (optional) -->
+            <contentFile filename="SharedBuilderContent.xml" />
+        </component>
+
+        <!-- Version information component configuration.  This must appear
+             before the TransformComponent.  See also: PostTransformComponent -->
+        <component type="SandcastleBuilder.Components.VersionInfoComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Version Information Component">
+            <!-- Reflection information file for version info (required) -->
+            <reflectionFile filename="reflection.xml" />
+        </component>
+
+        <!-- Code block component configuration.  This must appear before the
+             TransformComponent.  See also: PostTransformComponent. -->
+        <component type="SandcastleBuilder.Components.CodeBlockComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Code Block Component">
+            <!-- Base path for relative filenames in source attributes (optional) -->
+            <basePath value="{@HtmlEncProjectFolder}" />
+
+            <!-- Connect to language filter (optional).  If omitted,
+                 language filtering is enabled by default. -->
+            <languageFilter value="true" />
+
+            <!-- Allow missing source files (Optional).  If omitted,
+                 it will generate errors if referenced source files
+                 are missing. -->
+            <allowMissingSource value="false" />
+
+            <!-- Remove region markers from imported code blocks.  If omitted,
+                 region markers in imported code blocks are left alone. -->
+            <removeRegionMarkers value="false" />
+
+            <!-- Code colorizer options (required).
+                 Attributes:
+                    Language syntax configuration file (required)
+                    XSLT style file (required)
+                    "Copy" image file URL (required)
+                    Default language (optional)
+                    Enable line numbering (optional)
+                    Enable outlining (optional)
+                    Keep XML comment "see" tags within the code (optional)
+                    Tab size override (optional, 0 = Use syntax file setting)
+                    Use language name as default title (optional) -->
+            <colorizer syntaxFile="{@SHFBFolder}Colorizer\highlight.xml"
+                styleFile="{@SHFBFolder}Colorizer\highlight.xsl"
+                copyImageUrl="../icons/CopyCode.gif"
+                language="cs" numberLines="false" outlining="false"
+                keepSeeTags="false" tabSize="0" defaultTitle="true" />
+        </component>
+
+        <!-- transform -->
+        <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+          <transform file="{@PresentationPath}transforms\main_sandcastle.xsl">
+            <argument key="metadata" value="true" />
+            <argument key="languages">
+{@SyntaxFiltersDropDown}
+            </argument>
+          </transform>
+        </component>
+
+        <!-- Post-transform component configuration.  This must appear after the
+             TransformComponent.  See also: CodeBlockComponent. -->
+        <component type="SandcastleBuilder.Components.PostTransformComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Post-transform Component">
+            <!-- Code colorizer files (required).
+                 Attributes:
+                    Stylesheet file (required)
+                    Script file (required)
+                    "Copy" image file (required) -->
+            <colorizer stylesheet="{@SHFBFolder}Colorizer\highlight.css"
+                scriptFile="{@SHFBFolder}Colorizer\highlight.js"
+                copyImage="{@SHFBFolder}Colorizer\CopyCode.gif" />
+
+            <!-- Base output paths for the files (required).  These should match
+                 the parent folder of the output path of the HTML files (see
+                 each of the SaveComponent instances below). -->
+            <outputPaths>
+{@HelpFormatOutputPaths}
+            </outputPaths>
+
+            <!-- Logo image file (optional).  Filename is required. The height,
+                 width, altText, placement, and alignment attributes are
+                 optional. -->
+            <logoFile filename="" height="0" width="0" altText=""
+                placement="left" alignment="left" />
+        </component>
+
+        <!-- Multi-format output component.  This must wrap the component set
+             unique to each output file format. -->
+        <component type="SandcastleBuilder.Components.MultiFormatOutputComponent"
+          assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
+          id="Multi-format Output Component">
+          <!-- This defines the formats to generate -->
+          <build formats="{@HelpFileFormat}" />
+
+          <!-- This defines the set of components for HTML Help 1 files -->
+          <helpOutput format="HtmlHelp1">
+            <!-- Resolve shared content -->
+            <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <content file="{@PresentationPath}content\{@LanguageFolder}shared_content.xml" />
+                <content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
+                <content file="{@SandcastlePath}Presentation\Shared\content\{@LanguageFolder}syntax_content.xml" />
+                <!-- These must be last in order to override other elements! -->
+                <content file="SharedBuilderContent.xml" />
+                <content file="PresentationStyleBuilderContent.xml" />
+{@ResourceItemFiles}
+            </component>
+
+            <!-- Resolve reference links -->
+            <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
+              assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
+              locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
+                <targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@HtmlSdkLinkType}" />
+                <targets files="reflection.xml" type="Local" />
+            </component>
+
+            <!-- Save the result -->
+            <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <save base="Output\HtmlHelp1\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="{@IndentHtml}"
+                  omit-xml-declaration="true" add-xhtml-namespace="false" />
+            </component>
+          </helpOutput>
+
+          <!-- This defines the set of components for MS Help 2 files -->
+          <helpOutput format="MSHelp2">
+            <!-- Resolve shared content -->
+            <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <content file="{@PresentationPath}content\{@LanguageFolder}shared_content.xml" />
+                <content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
+                <content file="{@SandcastlePath}Presentation\Shared\content\{@LanguageFolder}syntax_content.xml" />
+                <!-- These must be last in order to override other elements! -->
+                <content file="SharedBuilderContent.xml" />
+                <content file="PresentationStyleBuilderContent.xml" />
+{@ResourceItemFiles}
+            </component>
+
+            <!-- Insert additional MS Help 2 attributes -->
+            <component id="MS Help 2 Attributes"
+              type="SandcastleBuilder.Components.MSHelpAttrComponent"
+              assembly="{@SHFBFolder}SandcastleBuilder.Components.dll">
+{@HelpAttributes}
+            </component>
+
+            <!-- Resolve reference links -->
+            <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
+              assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
+              locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
+                <targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@MSHelp2SdkLinkType}" />
+                <targets files="reflection.xml" type="Index" />
+            </component>
+
+            <!-- Save the result -->
+            <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <save base="Output\MSHelp2\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="{@IndentHtml}"
+                  omit-xml-declaration="true" add-xhtml-namespace="false" />
+            </component>
+          </helpOutput>
+
+          <!-- This defines the set of components for MS Help Viewer files -->
+          <helpOutput format="MSHelpViewer">
+            <!-- Resolve shared content -->
+            <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <content file="{@PresentationPath}content\{@LanguageFolder}shared_content_mshc.xml" />
+                <content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
+                <content file="{@SandcastlePath}Presentation\Shared\content\{@LanguageFolder}syntax_content.xml" />
+                <!-- These must be last in order to override other elements! -->
+                <content file="SharedBuilderContent.xml" />
+                <content file="PresentationStyleBuilderContent.xml" />
+{@ResourceItemFiles}
+            </component>
+
+            <!-- Resolve reference links -->
+            <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
+              assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
+              locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
+                <targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@MSHelpViewerSdkLinkType}" />
+                <targets files="reflection.xml" type="Id" />
+            </component>
+
+            <!-- Add MS Help Viewer metadata -->
+            <component type="SandcastleBuilder.Components.MSHCComponent"
+              assembly="{@SHFBFolder}SandcastleBuilder.Components.dll">
+              <data self-branded="{@SelfBranded}" topic-version="{@TopicVersion}" toc-file="toc.xml"
+                toc-parent="{@ApiTocParentId}" toc-parent-version="{@TocParentVersion}" locale="{@Locale}" />
+            </component>
+
+            <!-- Save the result -->
+            <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <save base="Output\MSHelpViewer\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="{@IndentHtml}"
+                  omit-xml-declaration="false" add-xhtml-namespace="true" />
+            </component>
+          </helpOutput>
+
+          <!-- This defines the set of components for websites -->
+          <helpOutput format="Website">
+            <!-- Resolve shared content -->
+            <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <content file="{@PresentationPath}content\{@LanguageFolder}shared_content.xml" />
+                <content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
+                <content file="{@SandcastlePath}Presentation\Shared\content\{@LanguageFolder}syntax_content.xml" />
+                <!-- These must be last in order to override other elements! -->
+                <content file="SharedBuilderContent.xml" />
+                <content file="PresentationStyleBuilderContent.xml" />
+{@ResourceItemFiles}
+            </component>
+
+            <!-- Resolve reference links -->
+            <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
+              assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
+              locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
+                <targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@WebsiteSdkLinkType}" />
+                <targets files="reflection.xml" type="Local" />
+            </component>
+
+            <!-- Save the result -->
+            <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
+                <save base="Output\Website\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="{@IndentHtml}"
+                  omit-xml-declaration="true" add-xhtml-namespace="false" />
+            </component>
+          </helpOutput>
+        </component>
+
+      </components>
+    </builder>
+  </dduetools>
+</configuration>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Prototype.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Prototype.xsl?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Prototype.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/Prototype.xsl Mon Sep 19 05:09:06 2011
@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
+    xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
+
+<!--
+// System  : Sandcastle Help File Builder Utilities
+// File    : Prototype.xsl
+// Author  : Eric Woodruff
+// Updated : 03/15/2008
+// Note    : Copyright 2007-2008, Eric Woodruff, All rights reserved
+//
+// This is used to convert *.topic additional content files into *.html files
+// that have the same appearance as API topics using the Prototype presentation
+// style.
+-->
+
+  <xsl:output method="xml" omit-xml-declaration="yes" encoding="utf-8" />
+
+  <!-- This parameter, if specified, defines the path to the root folder -->
+  <xsl:param name="pathToRoot" select="string('')" />
+
+  <!-- Allow for alternate header text -->
+  <xsl:variable name="customHeader">
+    <xsl:choose>
+      <xsl:when test="topic/headerTitle">
+        <xsl:value-of select="topic/headerTitle"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- The product title is replaced with the project's HTML encoded HelpTitle value -->
+        <@HtmlEncHelpTitle/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Main template for the topic -->
+  <xsl:template match="/topic">
+<html>
+<head>
+<title><xsl:value-of select="title"/></title>
+<link rel="stylesheet" type="text/css" href="{$pathToRoot}styles/presentation.css" />
+<link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" />
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" />
+<script type="text/javascript" src="{$pathToRoot}scripts/SplitScreen.js"></script>
+<script type="text/javascript" src="{$pathToRoot}scripts/EventUtilities.js"></script>
+
+<!-- Stylesheet and script for colorized code blocks -->
+<link type="text/css" rel="stylesheet" href="{$pathToRoot}styles/highlight.css" />
+<script type="text/javascript" src="{$pathToRoot}scripts/highlight.js"></script>
+
+<xml>
+    <MSHelp:Attr Name="DocSet" Value="NetFramework" />
+    <MSHelp:Attr Name="DocSet" Value="<@HtmlHelpName>" />
+    <MSHelp:Attr Name="Locale" Value="<@Locale>" />
+    <MSHelp:Attr Name="TargetOS" Value="Windows" />
+
+<!-- Include the user's XML data island for MS Help 2.0 if present -->
+<xsl:if test="xml">
+    <xsl:copy-of select="xml/*"/>
+</xsl:if>
+</xml>
+
+<!-- Add a link to an additional stylesheet if specified -->
+<xsl:if test="styleSheet">
+    <link rel="stylesheet" type="text/css">
+      <xsl:attribute name="href">
+        <xsl:value-of select="$pathToRoot"/>
+        <xsl:value-of select="styleSheet/@filename"/>
+      </xsl:attribute>
+    </link>
+</xsl:if>
+</head>
+
+<body>
+<script type="text/javascript">
+registerEventHandler(window, 'load', function() {
+    var ss = new SplitScreen('control', 'main');
+});
+</script>
+
+<div id="control">
+<!-- Include the logo if present -->
+<xsl:choose>
+  <xsl:when test="logoFile">
+    <xsl:apply-templates select="logoFile"/>
+  </xsl:when>
+  <xsl:otherwise>
+<table border="0" width="100%" cellpadding="0" cellspacing="0">
+  <tr>
+    <td valign="top" width="100%"><span class="productTitle"><xsl:value-of select="$customHeader"/></span><br /><span class="topicTitle"><xsl:value-of select="title"/></span><br /></td>
+  </tr>
+</table>
+  </xsl:otherwise>
+</xsl:choose>
+</div>
+
+<div id="main">
+
+<!-- Process the body text -->
+<xsl:apply-templates select="bodyText" />
+
+<br/><br/>
+
+<!-- This includes the footer item from the shared content -->
+<include item="footer"/>
+
+</div>
+</body>
+</html>
+  </xsl:template>
+
+  <!-- Pass through html tags from the body -->
+  <xsl:template match="p|ol|ul|li|dl|dt|dd|table|tr|th|td|h1|h2|h3|h4|h5|h6|hr|br|pre|blockquote|div|span|a|img|b|i|strong|em|del|sub|sup|abbr|acronym|u|font|link|script|code|map|area">
+    <xsl:copy>
+      <xsl:copy-of select="@*" />
+      <xsl:apply-templates />
+    </xsl:copy>
+  </xsl:template>
+
+  <!-- Add the logo -->
+  <xsl:template match="logoFile">
+    <xsl:choose>
+      <xsl:when test="@placement='above'">
+<table border="0" width="100%" cellpadding="0" cellspacing="0">
+  <tr>
+    <td style="padding-bottom: 5px">
+      <xsl:if test="@alignment">
+        <xsl:attribute name="align">
+          <xsl:value-of select="@alignment"/>
+        </xsl:attribute>
+      </xsl:if>
+    <img>
+      <xsl:attribute name="src">
+        <xsl:value-of select="$pathToRoot"/>
+        <xsl:value-of select="@filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="altText">
+        <xsl:value-of select="@altText"/>
+      </xsl:attribute>
+      <xsl:if test="@height">
+        <xsl:attribute name="height">
+          <xsl:value-of select="@height"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@width">
+        <xsl:attribute name="width">
+          <xsl:value-of select="@width"/>
+        </xsl:attribute>
+      </xsl:if>
+    </img></td>
+  </tr>
+  <tr>
+    <td valign="top" width="100%"><span class="productTitle"><xsl:value-of select="$customHeader"/></span><br /><span class="topicTitle"><xsl:value-of select="parent::*/title"/></span><br /></td>
+  </tr>
+</table>
+      </xsl:when>
+      <xsl:when test="@placement='right'">
+<table border="0" width="100%" cellpadding="0" cellspacing="0">
+  <tr>
+    <td valign="top" width="100%"><span class="productTitle"><xsl:value-of select="$customHeader"/></span><br /><span class="topicTitle"><xsl:value-of select="parent::*/title"/></span><br /></td>
+    <td align="center" style="padding-left: 10px"><img>
+      <xsl:attribute name="src">
+        <xsl:value-of select="$pathToRoot"/>
+        <xsl:value-of select="@filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="altText">
+        <xsl:value-of select="@altText"/>
+      </xsl:attribute>
+      <xsl:if test="@height">
+        <xsl:attribute name="height">
+          <xsl:value-of select="@height"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@width">
+        <xsl:attribute name="width">
+          <xsl:value-of select="@width"/>
+        </xsl:attribute>
+      </xsl:if>
+    </img></td>
+  </tr>
+</table>
+      </xsl:when>
+      <xsl:otherwise>
+<table border="0" width="100%" cellpadding="0" cellspacing="0">
+  <tr>
+    <td align="center" style="padding-right: 10px"><img>
+      <xsl:attribute name="src">
+        <xsl:value-of select="$pathToRoot"/>
+        <xsl:value-of select="@filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="altText">
+        <xsl:value-of select="@altText"/>
+      </xsl:attribute>
+      <xsl:if test="@height">
+        <xsl:attribute name="height">
+          <xsl:value-of select="@height"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@width">
+        <xsl:attribute name="width">
+          <xsl:value-of select="@width"/>
+        </xsl:attribute>
+      </xsl:if>
+    </img></td>
+    <td valign="top" width="100%"><span class="productTitle"><xsl:value-of select="$customHeader"/></span><br /><span class="topicTitle"><xsl:value-of select="parent::*/title"/></span><br /></td>
+  </tr>
+</table>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/RemoveMSHC.bat
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/RemoveMSHC.bat?rev=1172426&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/RemoveMSHC.bat (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/SHFB/Templates/RemoveMSHC.bat Mon Sep 19 05:09:06 2011
@@ -0,0 +1,11 @@
+@ECHO OFF
+CLS
+
+REM This is an example script to show how to use the Help Library Manager
+REM Launcher to remove an MS Help Viewer file.  You can use this as an example
+REM for creating a script to run from your product's uninstaller.
+
+REM NOTE: If not executed from within the same folder as the executable, a
+REM full path is required on the executable.
+
+HelpLibraryManagerLauncher.exe /product "{@CatalogProductId}" /version "{@CatalogVersion}" /locale {@Locale} /uninstall /silent /vendor "{@VendorName}" /mediaBookList "{@HelpTitle}" /productName "{@ProductTitle}"



Mime
View raw message