lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r493946 [9/9] - in /incubator/lucene.net/site/docs/2.0: ./ Highlighter.Net/ Highlighter.Net/ndoc_msdn_temp/
Date Mon, 08 Jan 2007 04:49:48 GMT
Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/ndoc.log
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/ndoc.log?view=auto&rev=493946
==============================================================================
--- incubator/lucene.net/site/docs/2.0/Highlighter.Net/ndoc.log (added)
+++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/ndoc.log Sun Jan  7 20:49:41 2007
@@ -0,0 +1,199 @@
+Building documentation...
+Initializing...
+Merging XML documentation...
+Building file mapping...
+Loading XSLT files...
+    namespace.xslt
+    namespacehierarchy.xslt
+    type.xslt
+    typehierarchy.xslt
+    allmembers.xslt
+    individualmembers.xslt
+    event.xslt
+    member.xslt
+    memberoverload.xslt
+    property.xslt
+    field.xslt
+    htmlcontents.xslt
+Generating HTML pages...
+Lucene.Net.Highlight.html
+Lucene.Net.HighlightHierarchy.html
+Lucene.Net.Highlight.DefaultEncoder.html
+Lucene.Net.Highlight.DefaultEncoderMembers.html
+Lucene.Net.Highlight.DefaultEncoderConstructor.html
+Lucene.Net.Highlight.DefaultEncoderMethods.html
+Lucene.Net.Highlight.DefaultEncoder.EncodeText.html
+Lucene.Net.Highlight.Encoder.html
+Lucene.Net.Highlight.EncoderMembers.html
+Lucene.Net.Highlight.EncoderMethods.html
+Lucene.Net.Highlight.Encoder.EncodeText.html
+Lucene.Net.Highlight.Formatter.html
+Lucene.Net.Highlight.FormatterMembers.html
+Lucene.Net.Highlight.FormatterMethods.html
+Lucene.Net.Highlight.Formatter.HighlightTerm.html
+Lucene.Net.Highlight.Fragmenter.html
+Lucene.Net.Highlight.FragmenterMembers.html
+Lucene.Net.Highlight.FragmenterMethods.html
+Lucene.Net.Highlight.Fragmenter.IsNewFragment.html
+Lucene.Net.Highlight.Fragmenter.Start.html
+Lucene.Net.Highlight.GradientFormatter.html
+Lucene.Net.Highlight.GradientFormatterMembers.html
+Lucene.Net.Highlight.GradientFormatterConstructor.html
+Lucene.Net.Highlight.GradientFormatterFields.html
+Lucene.Net.Highlight.GradientFormatter.highlightBackground.html
+Lucene.Net.Highlight.GradientFormatter.highlightForeground.html
+Lucene.Net.Highlight.GradientFormatterMethods.html
+Lucene.Net.Highlight.GradientFormatter.GetBackgroundColorString.html
+Lucene.Net.Highlight.GradientFormatter.GetForegroundColorString.html
+Lucene.Net.Highlight.GradientFormatter.HexToInt.html
+Lucene.Net.Highlight.GradientFormatter.HighlightTerm.html
+Lucene.Net.Highlight.Highlighter.html
+Lucene.Net.Highlight.HighlighterMembers.html
+Lucene.Net.Highlight.HighlighterConstructor.html
+Lucene.Net.Highlight.HighlighterConstructor1.html
+Lucene.Net.Highlight.HighlighterConstructor2.html
+Lucene.Net.Highlight.HighlighterConstructor3.html
+Lucene.Net.Highlight.HighlighterFields.html
+Lucene.Net.Highlight.Highlighter.DEFAULT_MAX_DOC_BYTES_TO_ANALYZE.html
+Lucene.Net.Highlight.HighlighterMethods.html
+Lucene.Net.Highlight.Highlighter.GetBestFragment_overloads.html
+Lucene.Net.Highlight.Highlighter.GetBestFragment_overload_1.html
+Lucene.Net.Highlight.Highlighter.GetBestFragment_overload_2.html
+Lucene.Net.Highlight.Highlighter.GetBestFragments_overloads.html
+Lucene.Net.Highlight.Highlighter.GetBestFragments_overload_1.html
+Lucene.Net.Highlight.Highlighter.GetBestFragments_overload_2.html
+Lucene.Net.Highlight.Highlighter.GetBestFragments_overload_3.html
+Lucene.Net.Highlight.Highlighter.GetBestFragments_overload_4.html
+Lucene.Net.Highlight.Highlighter.GetBestTextFragments.html
+Lucene.Net.Highlight.Highlighter.GetEncoder.html
+Lucene.Net.Highlight.Highlighter.GetFragmentScorer.html
+Lucene.Net.Highlight.Highlighter.GetMaxDocBytesToAnalyze.html
+Lucene.Net.Highlight.Highlighter.GetTextFragmenter.html
+Lucene.Net.Highlight.Highlighter.SetEncoder.html
+Lucene.Net.Highlight.Highlighter.SetFragmentScorer.html
+Lucene.Net.Highlight.Highlighter.SetMaxDocBytesToAnalyze.html
+Lucene.Net.Highlight.Highlighter.SetTextFragmenter.html
+Lucene.Net.Highlight.NullFragmenter.html
+Lucene.Net.Highlight.NullFragmenterMembers.html
+Lucene.Net.Highlight.NullFragmenterConstructor.html
+Lucene.Net.Highlight.NullFragmenterMethods.html
+Lucene.Net.Highlight.NullFragmenter.IsNewFragment.html
+Lucene.Net.Highlight.NullFragmenter.Start.html
+Lucene.Net.Highlight.QueryScorer.html
+Lucene.Net.Highlight.QueryScorerMembers.html
+Lucene.Net.Highlight.QueryScorerConstructor.html
+Lucene.Net.Highlight.QueryScorerConstructor1.html
+Lucene.Net.Highlight.QueryScorerConstructor2.html
+Lucene.Net.Highlight.QueryScorerConstructor3.html
+Lucene.Net.Highlight.QueryScorerConstructor4.html
+Lucene.Net.Highlight.QueryScorerMethods.html
+Lucene.Net.Highlight.QueryScorer.AllFragmentsProcessed.html
+Lucene.Net.Highlight.QueryScorer.GetFragmentScore.html
+Lucene.Net.Highlight.QueryScorer.GetMaxTermWeight.html
+Lucene.Net.Highlight.QueryScorer.GetTokenScore.html
+Lucene.Net.Highlight.QueryScorer.StartFragment.html
+Lucene.Net.Highlight.QueryTermExtractor.html
+Lucene.Net.Highlight.QueryTermExtractorMembers.html
+Lucene.Net.Highlight.QueryTermExtractorConstructor.html
+Lucene.Net.Highlight.QueryTermExtractorMethods.html
+Lucene.Net.Highlight.QueryTermExtractor.GetIdfWeightedTerms.html
+Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overloads.html
+Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_1.html
+Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_3.html
+Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_2.html
+Lucene.Net.Highlight.Scorer.html
+Lucene.Net.Highlight.ScorerMembers.html
+Lucene.Net.Highlight.ScorerMethods.html
+Lucene.Net.Highlight.Scorer.GetFragmentScore.html
+Lucene.Net.Highlight.Scorer.GetTokenScore.html
+Lucene.Net.Highlight.Scorer.StartFragment.html
+Lucene.Net.Highlight.SimpleFragmenter.html
+Lucene.Net.Highlight.SimpleFragmenterMembers.html
+Lucene.Net.Highlight.SimpleFragmenterConstructor.html
+Lucene.Net.Highlight.SimpleFragmenterConstructor1.html
+Lucene.Net.Highlight.SimpleFragmenterConstructor2.html
+Lucene.Net.Highlight.SimpleFragmenterMethods.html
+Lucene.Net.Highlight.SimpleFragmenter.GetFragmentSize.html
+Lucene.Net.Highlight.SimpleFragmenter.IsNewFragment.html
+Lucene.Net.Highlight.SimpleFragmenter.SetFragmentSize.html
+Lucene.Net.Highlight.SimpleFragmenter.Start.html
+Lucene.Net.Highlight.SimpleHTMLEncoder.html
+Lucene.Net.Highlight.SimpleHTMLEncoderMembers.html
+Lucene.Net.Highlight.SimpleHTMLEncoderConstructor.html
+Lucene.Net.Highlight.SimpleHTMLEncoderMethods.html
+Lucene.Net.Highlight.SimpleHTMLEncoder.EncodeText.html
+Lucene.Net.Highlight.SimpleHTMLEncoder.HtmlEncode.html
+Lucene.Net.Highlight.SimpleHTMLFormatter.html
+Lucene.Net.Highlight.SimpleHTMLFormatterMembers.html
+Lucene.Net.Highlight.SimpleHTMLFormatterConstructor.html
+Lucene.Net.Highlight.SimpleHTMLFormatterConstructor1.html
+Lucene.Net.Highlight.SimpleHTMLFormatterConstructor2.html
+Lucene.Net.Highlight.SimpleHTMLFormatterMethods.html
+Lucene.Net.Highlight.SimpleHTMLFormatter.HighlightTerm.html
+Lucene.Net.Highlight.SpanGradientFormatter.html
+Lucene.Net.Highlight.SpanGradientFormatterMembers.html
+Lucene.Net.Highlight.SpanGradientFormatterConstructor.html
+Lucene.Net.Highlight.SpanGradientFormatterMethods.html
+Lucene.Net.Highlight.SpanGradientFormatter.HighlightTerm.html
+Lucene.Net.Highlight.TextFragment.html
+Lucene.Net.Highlight.TextFragmentMembers.html
+Lucene.Net.Highlight.TextFragmentConstructor.html
+Lucene.Net.Highlight.TextFragmentMethods.html
+Lucene.Net.Highlight.TextFragment.Follows.html
+Lucene.Net.Highlight.TextFragment.GetFragNum.html
+Lucene.Net.Highlight.TextFragment.GetScore.html
+Lucene.Net.Highlight.TextFragment.Merge.html
+Lucene.Net.Highlight.TextFragment.ToString.html
+Lucene.Net.Highlight.TokenGroup.html
+Lucene.Net.Highlight.TokenGroupMembers.html
+Lucene.Net.Highlight.TokenGroupConstructor.html
+Lucene.Net.Highlight.TokenGroupMethods.html
+Lucene.Net.Highlight.TokenGroup.GetEndOffset.html
+Lucene.Net.Highlight.TokenGroup.GetNumTokens.html
+Lucene.Net.Highlight.TokenGroup.GetScore.html
+Lucene.Net.Highlight.TokenGroup.GetStartOffset.html
+Lucene.Net.Highlight.TokenGroup.GetToken.html
+Lucene.Net.Highlight.TokenGroup.GetTotalScore.html
+Lucene.Net.Highlight.TokenSources.html
+Lucene.Net.Highlight.TokenSourcesMembers.html
+Lucene.Net.Highlight.TokenSourcesConstructor.html
+Lucene.Net.Highlight.TokenSourcesMethods.html
+Lucene.Net.Highlight.TokenSources.GetAnyTokenStream.html
+Lucene.Net.Highlight.TokenSources.GetTokenStream_overloads.html
+Lucene.Net.Highlight.TokenSources.GetTokenStream_overload_3.html
+Lucene.Net.Highlight.TokenSources.GetTokenStream_overload_4.html
+Lucene.Net.Highlight.TokenSources.GetTokenStream_overload_1.html
+Lucene.Net.Highlight.TokenSources.GetTokenStream_overload_2.html
+Lucene.Net.Highlight.TokenSources.StoredTokenStream.html
+Lucene.Net.Highlight.TokenSources.StoredTokenStreamMembers.html
+Lucene.Net.Highlight.TokenSources.StoredTokenStreamMethods.html
+Lucene.Net.Highlight.TokenSources.StoredTokenStream.Next.html
+Lucene.Net.Highlight.WeightedTerm.html
+Lucene.Net.Highlight.WeightedTermMembers.html
+Lucene.Net.Highlight.WeightedTermConstructor.html
+Lucene.Net.Highlight.WeightedTermMethods.html
+Lucene.Net.Highlight.WeightedTerm.GetTerm.html
+Lucene.Net.Highlight.WeightedTerm.GetWeight.html
+Lucene.Net.Highlight.WeightedTerm.SetTerm.html
+Lucene.Net.Highlight.WeightedTerm.SetWeight.html
+Generating HTML content file...
+transform the HHC contents file into html
+Compiling HTML Help file...
+Compiling Html Help file
+Microsoft HTML Help Compiler 4.74.8702
+
+Compiling c:\temp\doc\ndoc_msdn_temp\API.chm
+
+
+Compile time: 0 minutes, 3 seconds
+162	Topics
+1,060	Local links
+0	Internet links
+6	Graphics
+
+
+Created c:\temp\doc\ndoc_msdn_temp\API.chm, 91,231 bytes
+Compression decreased file by 434,248 bytes.
+
+Html Help compile complete
+Done.

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privevent.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/privevent.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privevent.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privfield.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/privfield.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privfield.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privmethod.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/privmethod.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privmethod.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privoperator.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/privoperator.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privoperator.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privproperty.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/privproperty.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/privproperty.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protevent.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/protevent.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protevent.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protfield.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/protfield.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protfield.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protmethod.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/protmethod.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protmethod.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protoperator.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/protoperator.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protoperator.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protproperty.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/protproperty.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/protproperty.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubevent.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubevent.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubevent.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubfield.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubfield.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubfield.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubmethod.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubmethod.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubmethod.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/puboperator.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/puboperator.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/puboperator.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubproperty.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubproperty.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/pubproperty.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/static.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/static.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/static.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/tree.css
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/tree.css?view=auto&rev=493946
==============================================================================
--- incubator/lucene.net/site/docs/2.0/Highlighter.Net/tree.css (added)
+++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/tree.css Sun Jan  7 20:49:41 2007
@@ -0,0 +1,60 @@
+.treeDiv 
+{
+    font-family: verdana;
+    font-size: 70.5%;
+    font-weight: normal;
+    background-color: #f1f1f1;
+    color: Black;
+    overflow: auto;
+    margin: 0px 0px 0px 0px;
+    padding: 0px 0px 0px 0px;
+}
+
+.treeNode 
+{
+    white-space: nowrap;
+    text-indent: -14px;
+    margin: 5px 2px 5px 14px;
+}
+A.treeUnselected:hover, A.treeSelected:hover 
+{
+    text-decoration: underline;
+    background-color: #cccccc;
+    border: solid 1px #999999;
+    text-decoration: none;
+}
+A.treeUnselected, A.treeSelected
+{
+	color: Black;
+	padding: 1px 3px 1px 3px;
+    text-decoration: none;
+}
+A.treeSelected
+{
+	background-color: #ffffff;
+    border: solid 1px #999999;
+}
+A.treeUnselected 
+{
+	border: solid 1px f0f0f0;
+    background-color: transparent;
+}
+.treeSubnodes
+{
+	display: block;
+}
+.treeSubnodesHidden
+{
+	display: none;
+}
+.treeNode IMG.treeNoLinkImage, .treeNode IMG.treeLinkImage
+{
+	width: 9px;
+	height: 9px;
+	margin-left: 5px;
+	margin-right: 0px;
+}
+.treeNode IMG.treeLinkImage
+{
+    cursor: pointer;
+}

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/tree.js
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/tree.js?view=auto&rev=493946
==============================================================================
--- incubator/lucene.net/site/docs/2.0/Highlighter.Net/tree.js (added)
+++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/tree.js Sun Jan  7 20:49:41 2007
@@ -0,0 +1,250 @@
+/* Copyright © 2002 Jean-Claude Manoli [jc@manoli.net]
+ *
+ * This software is provided 'as-is', without any express or implied warranty.
+ * In no event will the author(s) be held liable for any damages arising from
+ * the use of this software.
+ * 
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ * 
+ *   1. The origin of this software must not be misrepresented; you must not
+ *      claim that you wrote the original software. If you use this software
+ *      in a product, an acknowledgment in the product documentation would be
+ *      appreciated but is not required.
+ * 
+ *   2. Altered source versions must be plainly marked as such, and must not
+ *      be misrepresented as being the original software.
+ * 
+ *   3. This notice may not be removed or altered from any source distribution.
+ */ 
+
+var treeSelected = null; //last treeNode clicked
+
+//pre-load tree nodes images
+var imgPlus = new Image();
+imgPlus.src="treenodeplus.gif";
+var imgMinus = new Image();
+imgMinus.src="treenodeminus.gif";
+var imgDot = new Image();
+imgPlus.src="treenodedot.gif";
+
+
+function findNode(el)
+{
+// Takes element and determines if it is a treeNode.
+// If not, seeks a treeNode in its parents.
+	while (el != null)
+	{
+		if (el.className == "treeNode")
+		{
+			break;
+		}
+		else
+		{
+			el = el.parentNode;
+		}
+	}
+	return el;
+}
+
+
+function clickAnchor(el)
+{
+// handles click on a TOC link
+//
+	expandNode(el.parentNode);
+	selectNode(el.parentNode);
+	el.blur();
+}
+
+
+function selectNode(el)
+{
+// Un-selects currently selected node, if any, and selects the specified node
+//
+	if (treeSelected != null)
+	{
+		setSubNodeClass(treeSelected, 'A', 'treeUnselected');
+	}
+	setSubNodeClass(el, 'A', 'treeSelected');
+	treeSelected = el;
+}
+
+
+function setSubNodeClass(el, nodeName, className)
+{
+// Sets the specified class name on el's first child that is a nodeName element
+//
+	var child;
+	for (var i=0; i < el.childNodes.length; i++)
+	{
+		child = el.childNodes[i];
+		if (child.nodeName == nodeName)
+		{
+			child.className = className;
+			break;
+		}
+	}
+}
+
+
+function expandCollapse(el)
+{
+//	If source treeNode has child nodes, expand or collapse view of treeNode
+//
+	if (el == null)
+		return;	//Do nothing if it isn't a treeNode
+		
+	var child;
+	var imgEl;
+	for(var i=0; i < el.childNodes.length; i++)
+	{
+		child = el.childNodes[i];
+		if (child.src)
+		{
+			imgEl = child;
+		}
+		else if (child.className == "treeSubnodesHidden")
+		{
+			child.className = "treeSubnodes";
+			imgEl.src = "treenodeminus.gif";
+			break;
+		}
+		else if (child.className == "treeSubnodes")
+		{
+			child.className = "treeSubnodesHidden";
+			imgEl.src = "treenodeplus.gif";
+			break;
+		}
+	}
+}
+
+
+function expandNode(el)
+{
+//	If source treeNode has child nodes, expand it
+//
+	var child;
+	var imgEl;
+	for(var i=0; i < el.childNodes.length; i++)
+	{
+		child = el.childNodes[i];
+		if (child.src)
+		{
+			imgEl = child;
+		}
+		if (child.className == "treeSubnodesHidden")
+		{
+			child.className = "treeSubnodes";
+			imgEl.src = "treenodeminus.gif";
+			break;
+		}
+	}
+}
+
+
+function syncTree(href)
+{
+// Selects and scrolls into view the node that references the specified URL
+//
+	var loc = new String();
+	loc = href;
+	if (loc.substring(0, 7) == 'file://')
+	{
+		loc = 'file:///' + loc.substring(7, loc.length);
+		loc = loc.replace(/\\/g, '/');
+	}
+	
+	var base = loc.substr(0, loc.lastIndexOf('/') + 1);
+	
+	var tocEl = findHref(document.getElementById('treeRoot'), loc, base);
+	if (tocEl != null)
+	{
+		selectAndShowNode(tocEl);
+	}
+}
+
+function findHref(node, href, base)
+{
+// find the <a> element with the specified href value
+//
+	var el;
+	var anchors = node.getElementsByTagName('A');
+	for (var i = 0; i < anchors.length; i++)
+	{
+		el = anchors[i];
+		var aref = new String();
+		aref = el.getAttribute('href');
+		
+		if ((aref.substring(0, 7) != 'http://') 
+			&& (aref.substring(0, 8) != 'https://')
+			&& (aref.substring(0, 7) != 'file://'))
+		{
+			aref = base + aref;
+		}
+		
+		if (aref == href)
+		{
+			return el;
+		}
+	}
+	return null;
+}
+
+function selectAndShowNode(node)
+{
+// Selects and scrolls into view the specified node
+//
+	var el = findNode(node);
+	if (el != null) 
+	{
+		selectNode(el);
+		do 
+		{
+			expandNode(el);
+			el = findNode(el.parentNode);
+		} while ((el != null))  
+		
+		//vertical scroll element into view
+		var windowTop;
+		var windowBottom;
+		var treeDiv = document.getElementById('tree');
+		
+		var ua = window.navigator.userAgent.toLowerCase();
+		if ((i = ua.indexOf('msie')) != -1)
+		{
+			windowTop = node.offsetTop - treeDiv.scrollTop;
+			windowBottom = treeDiv.clientHeight - windowTop - node.offsetHeight;
+		}
+		else if (ua.indexOf('gecko') != -1)
+		{
+			windowTop = node.offsetTop - treeDiv.offsetTop - treeDiv.scrollTop;
+			windowBottom = treeDiv.clientHeight - windowTop - node.offsetHeight;
+		}
+		else 
+		{
+			return;
+		}
+		
+		if (windowTop < 0)
+		{
+			treeDiv.scrollTop += windowTop - 18;
+			return;
+		}
+		if (windowBottom < 0)
+		{
+			treeDiv.scrollTop -= windowBottom - 18;
+			return;
+		}
+	}
+}
+
+
+function resizeTree()
+{
+	var treeDiv = document.getElementById('tree');
+	//treeDiv.setAttribute('style', 'width: ' + document.body.offsetWidth + 'px; height: ' +
(document.body.offsetHeight - 27) + 'px;');
+	treeDiv.style.width = document.documentElement.offsetWidth;
+	treeDiv.style.height = document.documentElement.offsetHeight - 27;
+}

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodedot.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodedot.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodedot.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodeminus.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodeminus.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodeminus.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodeplus.gif
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodeplus.gif?view=auto&rev=493946
==============================================================================
Binary file - no diff available.

Propchange: incubator/lucene.net/site/docs/2.0/Highlighter.Net/treenodeplus.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message