incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1309036 [9/11] - in /incubator/flex/trunk/asdoc: ./ templates/ templates/images/
Date Tue, 03 Apr 2012 16:52:09 GMT
Added: incubator/flex/trunk/asdoc/templates/cookies.js
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/cookies.js?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/cookies.js (added)
+++ incubator/flex/trunk/asdoc/templates/cookies.js Tue Apr  3 16:52:07 2012
@@ -0,0 +1,92 @@
+/*
+ *
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+/**
+ * Read the JavaScript cookies tutorial at:
+ *   http://www.netspade.com/articles/javascript/cookies.xml
+ */
+
+/**
+ * Sets a Cookie with the given name and value.
+ *
+ * name       Name of the cookie
+ * value      Value of the cookie
+ * [expires]  Expiration date of the cookie (default: end of current session)
+ * [path]     Path where the cookie is valid (default: path of calling document)
+ * [domain]   Domain where the cookie is valid
+ *              (default: domain of calling document)
+ * [secure]   Boolean value indicating if the cookie transmission requires a
+ *              secure transmission
+ */
+function setCookie(name, value, expires, path, domain, secure)
+{
+    document.cookie= name + "=" + escape(value) +
+        ((expires) ? "; expires=" + expires.toGMTString() : "") +
+        ((path) ? "; path=" + path : "") +
+        ((domain) ? "; domain=" + domain : "") +
+        ((secure) ? "; secure" : "");
+}
+
+/**
+ * Gets the value of the specified cookie.
+ *
+ * name  Name of the desired cookie.
+ *
+ * Returns a string containing value of specified cookie,
+ *   or null if cookie does not exist.
+ */
+function getCookie(name)
+{
+    var dc = document.cookie;
+    var prefix = name + "=";
+    var begin = dc.indexOf("; " + prefix);
+    if (begin == -1)
+    {
+        begin = dc.indexOf(prefix);
+        if (begin != 0) return null;
+    }
+    else
+    {
+        begin += 2;
+    }
+    var end = document.cookie.indexOf(";", begin);
+    if (end == -1)
+    {
+        end = dc.length;
+    }
+    return unescape(dc.substring(begin + prefix.length, end));
+}
+
+/**
+ * Deletes the specified cookie.
+ *
+ * name      name of the cookie
+ * [path]    path of the cookie (must be same as path used to create cookie)
+ * [domain]  domain of the cookie (must be same as domain used to create cookie)
+ */
+function deleteCookie(name, path, domain)
+{
+    if (getCookie(name))
+    {
+        document.cookie = name + "=" + 
+            ((path) ? "; path=" + path : "") +
+            ((domain) ? "; domain=" + domain : "") +
+            "; expires=Thu, 01-Jan-70 00:00:01 GMT";
+    }
+}

Propchange: incubator/flex/trunk/asdoc/templates/cookies.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/asdoc/templates/cookies.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/asdoc/templates/effectsSummary.xslt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/effectsSummary.xslt?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/effectsSummary.xslt (added)
+++ incubator/flex/trunk/asdoc/templates/effectsSummary.xslt Tue Apr  3 16:52:07 2012
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
+	<xsl:param name="ditaFileDir" select="''"/>
+	<xsl:template match="/">
+		<allClasses>
+			<xsl:apply-templates select="//apiItemRef">
+				<xsl:sort select="@href" order="ascending"/>
+			</xsl:apply-templates>
+		</allClasses>
+	</xsl:template>
+	<xsl:template match="apiItemRef">
+		<xsl:variable name="ditaFileName">
+			<xsl:value-of select="concat($ditaFileDir,@href)"/>
+		</xsl:variable>
+		<xsl:for-each select="document($ditaFileName)/apiPackage">
+			<apiPackage id="{@id}">
+				<apiName>
+					<xsl:value-of select="./apiName"/>
+				</apiName>
+				<xsl:apply-templates select="apiClassifier"/>
+			</apiPackage>
+		</xsl:for-each>
+	</xsl:template>
+	<xsl:template match="apiClassifier">
+		<apiClassifier id="{@id}">
+			<apiName>
+				<xsl:value-of select="./apiName"/>
+			</apiName>
+			<xsl:apply-templates select="apiClassifierDetail"/>
+			<xsl:apply-templates select="prolog/asMetadata"/>
+		</apiClassifier>
+	</xsl:template>
+	<xsl:template match="prolog/asMetadata">
+		<prolog>
+			<asMetadata>
+				<xsl:apply-templates select="effects"/>
+			</asMetadata>
+		</prolog>
+	</xsl:template>
+	<xsl:template match="effects">
+		<effects>
+			<xsl:apply-templates select="node()"/>
+		</effects>
+	</xsl:template>
+	<xsl:template match="apiClassifierDetail">
+		<apiClassifierDetail>
+			<xsl:apply-templates select="apiClassifierDef"/>
+		</apiClassifierDetail>
+	</xsl:template>
+	<xsl:template match="apiClassifierDef">
+		<apiClassifierDef>
+			<xsl:apply-templates select="node()"/>
+		</apiClassifierDef>
+	</xsl:template>
+	<xsl:template match="node()">
+		<xsl:copy copy-namespaces="no">
+			<xsl:copy-of select="@*"/>
+			<xsl:apply-templates select="node()"/>
+		</xsl:copy>
+	</xsl:template>
+</xsl:stylesheet>

Propchange: incubator/flex/trunk/asdoc/templates/effectsSummary.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/trunk/asdoc/templates/eventsGeneratedSummary.xslt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/eventsGeneratedSummary.xslt?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/eventsGeneratedSummary.xslt (added)
+++ incubator/flex/trunk/asdoc/templates/eventsGeneratedSummary.xslt Tue Apr  3 16:52:07 2012
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
+	<xsl:param name="ditaFileDir" select="''"/>
+	<xsl:template match="/">
+		<allClasses>
+			<xsl:apply-templates select="//apiItemRef">
+				<xsl:sort select="@href" order="ascending"/>
+			</xsl:apply-templates>
+		</allClasses>
+	</xsl:template>
+	<xsl:template match="apiItemRef">
+		<xsl:variable name="ditaFileName">
+			<xsl:value-of select="concat($ditaFileDir,@href)"/>
+		</xsl:variable>
+		<xsl:for-each select="document($ditaFileName)/apiPackage">
+			<apiPackage id="{@id}">
+				<apiName>
+					<xsl:value-of select="./apiName"/>
+				</apiName>
+				<xsl:apply-templates select="apiClassifier"/>
+			</apiPackage>
+		</xsl:for-each>
+	</xsl:template>
+	<xsl:template match="apiClassifier">
+		<apiClassifier id="{@id}">
+			<apiName>
+				<xsl:value-of select="./apiName"/>
+			</apiName>
+			<xsl:apply-templates select="shortdesc"/>
+			<xsl:apply-templates select="apiClassifierDetail"/>
+			<xsl:apply-templates select="adobeApiEvent"/>
+		</apiClassifier>
+	</xsl:template>
+	<xsl:template match="apiClassifierDetail">
+		<apiClassifierDetail>
+			<xsl:apply-templates select="apiClassifierDef"/>
+		</apiClassifierDetail>
+		<xsl:apply-templates select="apiDesc"/>
+	</xsl:template>
+	<xsl:template match="apiDesc">
+		<apiDesc>
+			<xsl:apply-templates select="node()"/>
+		</apiDesc>
+	</xsl:template>
+	<xsl:template match="adobeApiEvent">
+		<adobeApiEvent id="{@id}">
+			<xsl:apply-templates select="node()"/>
+		</adobeApiEvent>
+	</xsl:template>
+	<xsl:template match="apiClassifierDef">
+		<apiClassifierDef>
+			<xsl:apply-templates select="node()"/>
+		</apiClassifierDef>
+	</xsl:template>
+	<xsl:template match="shortdesc">
+		<shortdesc>
+			<xsl:apply-templates select="node()"/>
+		</shortdesc>
+	</xsl:template>
+	<xsl:template match="node()">
+		<xsl:copy copy-namespaces="no">
+			<xsl:copy-of select="@*"/>
+			<xsl:apply-templates select="node()"/>
+		</xsl:copy>
+	</xsl:template>
+</xsl:stylesheet>

Propchange: incubator/flex/trunk/asdoc/templates/eventsGeneratedSummary.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/trunk/asdoc/templates/fieldSummary.xslt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/fieldSummary.xslt?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/fieldSummary.xslt (added)
+++ incubator/flex/trunk/asdoc/templates/fieldSummary.xslt Tue Apr  3 16:52:07 2012
@@ -0,0 +1,527 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://sf.net/saxon" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ifn="urn:internal:functions"
+	xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" exclude-result-prefixes="saxon xs ifn ditaarch">
+	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
+	<xsl:param name="ditaFileDir" select="''"/>
+	<xsl:variable name="isConst" select="'false'"/>
+	<xsl:variable name="accessLevel" select="'public'"/>
+	<xsl:variable name="accessLevelpr" select="'protected'"/>
+	<xsl:param name="configFilename" select="'../../bin/ASDoc_Config.xml'"/>
+	<xsl:variable name="config" select="document($configFilename)/asDocConfig"/>
+	<xsl:template match="/">
+		<allClasses>
+			<xsl:apply-templates select="//apiItemRef">
+				<xsl:sort select="@href" order="ascending"/>
+			</xsl:apply-templates>
+		</allClasses>
+	</xsl:template>
+	<xsl:template match="apiItemRef">
+		<xsl:variable name="ditaFileName">
+			<xsl:value-of select="concat($ditaFileDir,@href)"/>
+		</xsl:variable>
+		<xsl:for-each select="document($ditaFileName)/apiPackage">
+			<apiPackage id="{@id}">
+				<apiName>
+					<xsl:value-of select="./apiName"/>
+				</apiName>
+				<xsl:apply-templates select="apiClassifier"/>
+			</apiPackage>
+		</xsl:for-each>
+	</xsl:template>
+	<xsl:template match="apiClassifier">
+		<apiClassifier id="{@id}">
+			<apiName>
+				<xsl:value-of select="./apiName"/>
+			</apiName>
+			<xsl:apply-templates select="shortdesc"/>
+			<xsl:apply-templates select="prolog"/>
+			<xsl:apply-templates select="apiClassifierDetail"/>
+			<xsl:apply-templates select="apiValue"/>
+		</apiClassifier>
+	</xsl:template>
+	<xsl:template match="apiValue">
+		<apiValue id="{@id}">
+			<xsl:apply-templates select="node()"/>
+		</apiValue>
+	</xsl:template>
+	<xsl:template name="getInheritDocText">
+		<xsl:param name="baseClass"/>
+		<xsl:param name="implementedInterface"/>
+		<xsl:param name="descriptionType"/>
+		<xsl:param name="entryType"/>
+		<xsl:param name="nameToMatch"/>
+		<xsl:param name="itemNameToMatch"/>
+		<xsl:param name="doNotProcessTags" select="false()"/>
+		<xsl:for-each select="ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseInterface">
+			<xsl:call-template name="inheritDocFromInterfaces">
+				<xsl:with-param name="implementedInterface" select="."/>
+				<xsl:with-param name="descriptionType" select="$descriptionType"/>
+				<xsl:with-param name="entryType" select="$entryType"/>
+				<xsl:with-param name="nameToMatch" select="$nameToMatch"/>
+				<xsl:with-param name="doNotProcessTags" select="$doNotProcessTags"/>
+			</xsl:call-template>
+		</xsl:for-each>
+		<xsl:call-template name="inheritDocFromBaseClass">
+			<xsl:with-param name="baseClass" select="$baseClass"/>
+			<xsl:with-param name="descriptionType" select="$descriptionType"/>
+			<xsl:with-param name="entryType" select="$entryType"/>
+			<xsl:with-param name="nameToMatch" select="$nameToMatch"/>
+			<xsl:with-param name="itemNameToMatch" select="$itemNameToMatch"/>
+			<xsl:with-param name="doNotProcessTags" select="$doNotProcessTags"/>
+		</xsl:call-template>
+	</xsl:template>
+	<xsl:template name="inheritDocFromInterfaces">
+		<xsl:param name="implementedInterface"/>
+		<xsl:param name="descriptionType"/>
+		<xsl:param name="entryType"/>
+		<xsl:param name="nameToMatch"/>
+		<xsl:param name="doNotProcessTags" select="false()"/>
+		<xsl:for-each select="$implementedInterface">
+			<xsl:variable name="baseClass" select="."/>
+			<xsl:variable name="className">
+				<xsl:if test="contains($baseClass,':')">
+					<xsl:value-of select="substring-after($baseClass,':')"/>
+				</xsl:if>
+				<xsl:if test="not(contains($baseClass,':'))">
+					<xsl:value-of select="$baseClass"/>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="packageName">
+				<xsl:if test="contains($baseClass,':')">
+					<xsl:value-of select="substring-before($baseClass,':')"/>
+				</xsl:if>
+				<xsl:if test="not(contains($baseClass,':'))">
+					<xsl:value-of select="__Global__"/>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="xslDocPath">
+				<xsl:if test="contains($baseClass,':')">
+					<xsl:value-of select="concat($ditaFileDir,substring-before($baseClass,':'),'.xml')"/>
+				</xsl:if>
+				<xsl:if test="not(contains($baseClass,':'))">
+					<xsl:value-of select="concat($ditaFileDir,'__Global__.xml')"/>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:choose>
+				<xsl:when test="$entryType='apiValue'">
+					<xsl:for-each select="document($xslDocPath)/apiPackage/apiClassifier[apiName=$className and apiClassifierDetail/apiClassifierDef/apiInterface]/apiValue[apiName=$nameToMatch]">
+						<xsl:choose>
+							<xsl:when test="$descriptionType='shortdesc'">
+								<xsl:for-each select="./shortdesc[normalize-space(.)!='']">
+									<shortdesc>
+										<xsl:apply-templates select="node()"/>
+									</shortdesc>
+								</xsl:for-each>
+							</xsl:when>
+							<xsl:when test="$descriptionType='apiDesc'">
+								<xsl:for-each select="./apiValueDetail/apiDesc[normalize-space(.)!='']">
+									<apiDesc>
+										<xsl:apply-templates select="node()"/>
+									</apiDesc>
+								</xsl:for-each>
+							</xsl:when>
+						</xsl:choose>
+					</xsl:for-each>
+				</xsl:when>
+			</xsl:choose>
+			<!-- Now process the base interface of the current interface-->
+			<xsl:for-each select="document($xslDocPath)/apiPackage/apiClassifier[apiName=$className]/apiClassifierDetail/apiClassifierDef/apiBaseInterface">
+				<xsl:call-template name="inheritDocFromInterfaces">
+					<xsl:with-param name="implementedInterface" select="."/>
+					<xsl:with-param name="descriptionType" select="$descriptionType"/>
+					<xsl:with-param name="entryType" select="$entryType"/>
+					<xsl:with-param name="nameToMatch" select="$nameToMatch"/>
+					<xsl:with-param name="doNotProcessTags" select="$doNotProcessTags"/>
+				</xsl:call-template>
+			</xsl:for-each>
+		</xsl:for-each>
+	</xsl:template>
+	<xsl:template name="inheritDocFromBaseClass">
+		<xsl:param name="baseClass"/>
+		<xsl:param name="descriptionType"/>
+		<xsl:param name="entryType"/>
+		<xsl:param name="nameToMatch"/>
+		<xsl:param name="itemNameToMatch"/>
+		<xsl:param name="doNotProcessTags" select="false()"/>
+		<xsl:variable name="className">
+			<xsl:if test="contains($baseClass,':')">
+				<xsl:value-of select="substring-after($baseClass,':')"/>
+			</xsl:if>
+			<xsl:if test="not(contains($baseClass,':'))">
+				<xsl:value-of select="$baseClass"/>
+			</xsl:if>
+		</xsl:variable>
+		<xsl:variable name="packageName">
+			<xsl:if test="contains($baseClass,':')">
+				<xsl:value-of select="substring-before($baseClass,':')"/>
+			</xsl:if>
+			<xsl:if test="not(contains($baseClass,':'))">
+				<xsl:value-of select="__Global__"/>
+			</xsl:if>
+		</xsl:variable>
+		<xsl:variable name="xslDocPath">
+			<xsl:if test="contains($baseClass,':')">
+				<xsl:value-of select="concat($ditaFileDir,substring-before($baseClass,':'),'.xml')"/>
+			</xsl:if>
+			<xsl:if test="not(contains($baseClass,':'))">
+				<xsl:value-of select="concat($ditaFileDir,'__Global__.xml')"/>
+			</xsl:if>
+		</xsl:variable>
+		<xsl:choose>
+			<xsl:when test="$entryType='apiValue'">
+				<xsl:for-each select="document($xslDocPath)/apiPackage/apiClassifier[apiName=$className and not(apiClassifierDetail/apiClassifierDef/apiInterface)]/apiValue[apiName=$nameToMatch]">
+					<xsl:choose>
+						<xsl:when test="$descriptionType='shortdesc'">
+							<xsl:for-each select="./shortdesc[normalize-space(.)!='']">
+								<shortdesc>
+									<xsl:apply-templates select="node()"/>
+								</shortdesc>
+							</xsl:for-each>
+						</xsl:when>
+						<xsl:when test="$descriptionType='apiDesc'">
+							<xsl:for-each select="./apiValueDetail/apiDesc[normalize-space(.)!='']">
+								<apiDesc>
+									<xsl:apply-templates select="node()"/>
+								</apiDesc>
+							</xsl:for-each>
+						</xsl:when>
+					</xsl:choose>
+				</xsl:for-each>
+			</xsl:when>
+		</xsl:choose>
+		<!-- Now process the base class till object reached-->
+		<xsl:if test="not($className='Object')">
+			<xsl:variable name="newBaseClass"
+				select="document($xslDocPath)/apiPackage/apiClassifier[apiName=$className and not(apiClassifierDetail/apiClassifierDef/apiInterface)]/apiClassifierDetail/apiClassifierDef/apiBaseClassifier"/>
+			<xsl:if test="string-length($newBaseClass) &gt; 0">
+				<xsl:call-template name="inheritDocFromBaseClass">
+					<xsl:with-param name="baseClass" select="$newBaseClass"/>
+					<xsl:with-param name="descriptionType" select="$descriptionType"/>
+					<xsl:with-param name="entryType" select="$entryType"/>
+					<xsl:with-param name="nameToMatch" select="$nameToMatch"/>
+					<xsl:with-param name="itemNameToMatch" select="$itemNameToMatch"/>
+					<xsl:with-param name="doNotProcessTags" select="$doNotProcessTags"/>
+				</xsl:call-template>
+			</xsl:if>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getConRefText">
+		<xsl:param name="conref"/>
+		<xsl:param name="descriptionType"/>
+		<xsl:param name="entryType"/>
+		<xsl:param name="doNotProcessTags" select="false()"/>
+		<xsl:param name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
+		<xsl:if test="string-length($conref) &gt; 0">
+			<xsl:variable name="relativePath">
+				<xsl:call-template name="getRelativePath">
+					<xsl:with-param name="currentPath" select="$currentPackage"/>
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:variable name="packageClassText">
+				<xsl:if test="contains($conref,'#') and contains(substring-before($conref,'#'),'.')">
+					<xsl:value-of select="substring-before($conref,'#')"/>
+				</xsl:if>
+				<xsl:if test="contains($conref,'#') and not(contains(substring-before($conref,'#'),'.'))">
+					<xsl:value-of select="concat($currentPackage,'.',substring-before($conref,'#'))"/>
+				</xsl:if>
+				<xsl:if test="not(contains($conref,'#'))">
+					<xsl:value-of select="$conref"/>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="className">
+				<xsl:if test="contains($conref,'#') and contains(substring-before($conref,'#'),'.')">
+					<xsl:call-template name="lastIndexOf">
+						<xsl:with-param name="string" select="$packageClassText"/>
+						<xsl:with-param name="char" select="'.'"/>
+					</xsl:call-template>
+				</xsl:if>
+				<xsl:if test="contains($conref,'#') and not(contains(substring-before($conref,'#'),'.'))">
+					<xsl:if test="string-length(substring-before($conref,'#')) = 0">
+						<xsl:value-of select="ancestor-or-self::apiPackage/apiClassifier/apiName"/>
+					</xsl:if>
+					<xsl:if test="string-length(substring-before($conref,'#')) &gt; 0">
+						<xsl:value-of select="substring-before($conref,'#')"/>
+					</xsl:if>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="destPackageName1">
+				<xsl:value-of select="substring-before($packageClassText,concat('.',$className))"/>
+			</xsl:variable>
+			<xsl:variable name="destPackageName">
+				<xsl:if test="$destPackageName1 = '' or $destPackageName1='__Global__'">
+					<xsl:value-of select="'__Global__.xml'"/>
+				</xsl:if>
+				<xsl:if test="not($destPackageName1='') and not($destPackageName1='__Global__')">
+					<xsl:value-of select="concat($destPackageName1, '.xml')"/>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="entryTypeNameText" select="substring-after($conref,'#')"/>
+			<xsl:variable name="nameToMatch">
+				<xsl:if test="string-length($entryTypeNameText) = 0">
+					<xsl:value-of select="$className"/>
+				</xsl:if>
+				<xsl:if test="contains($entryTypeNameText,':')">
+					<xsl:value-of select="substring-after($entryTypeNameText,':')"/>
+				</xsl:if>
+				<xsl:if test="not(contains($entryTypeNameText,':')) and string-length($entryTypeNameText) &gt; 0">
+					<xsl:if test="contains($entryTypeNameText,')')">
+						<xsl:value-of select="substring-before($entryTypeNameText,'(')"/>
+					</xsl:if>
+					<xsl:if test="not(contains($entryTypeNameText,')'))">
+						<xsl:value-of select="$entryTypeNameText"/>
+					</xsl:if>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="entryType">
+				<xsl:if test="string-length($entryTypeNameText) = 0">
+					<xsl:value-of select="'class'"/>
+				</xsl:if>
+				<xsl:if test="contains($entryTypeNameText,':')">
+					<xsl:value-of select="substring-before($entryTypeNameText,':')"/>
+				</xsl:if>
+				<xsl:if test="not(contains($entryTypeNameText,':')) and string-length($entryTypeNameText) &gt; 0">
+					<xsl:if test="contains($entryTypeNameText,')')">
+						<xsl:value-of select="'method'"/>
+					</xsl:if>
+					<xsl:if test="not(contains($entryTypeNameText,')'))">
+						<xsl:value-of select="'property'"/>
+					</xsl:if>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:for-each select="document(concat($ditaFileDir,$destPackageName))/apiPackage//apiClassifier[apiName=$className]">
+				<xsl:if test="string-length($entryType) &gt; 0">
+					<xsl:choose>
+						<xsl:when test="contains($entryType,'property')">
+							<xsl:variable name="property.desc">
+								<xsl:for-each select="./apiValue[apiName=$nameToMatch]">
+									<xsl:choose>
+										<xsl:when test="$descriptionType='shortdesc'">
+											<xsl:if test="./shortdesc[@conref]">
+												<xsl:call-template name="getConRefText">
+													<xsl:with-param name="conref" select="./shortdesc/@conref"/>
+													<xsl:with-param name="descriptionType" select="local-name(./shortdesc)"/>
+												</xsl:call-template>
+											</xsl:if>
+											<xsl:if test="not(./shortdesc[@conref])">
+												<xsl:for-each select="./shortdesc/.">
+													<xsl:apply-templates select="node()"/>
+												</xsl:for-each>
+											</xsl:if>
+										</xsl:when>
+										<xsl:otherwise>
+											<xsl:if test="./apiValueDetail/apiDesc[@conref]">
+												<xsl:call-template name="getConRefText">
+													<xsl:with-param name="conref" select="./apiValueDetail/apiDesc/@conref"/>
+													<xsl:with-param name="descriptionType" select="local-name(./apiValueDetail/apiDesc)"/>
+												</xsl:call-template>
+											</xsl:if>
+											<xsl:if test="not(./apiValueDetail/apiDesc[@conref])">
+												<xsl:for-each select="./apiValueDetail/apiDesc">
+													<xsl:apply-templates select="node()"/>
+												</xsl:for-each>
+											</xsl:if>
+										</xsl:otherwise>
+									</xsl:choose>
+								</xsl:for-each>
+							</xsl:variable>
+							<xsl:variable name="skin.desc">
+								<xsl:for-each select="./prolog/asMetadata/skinParts/SkinPart[@name=$nameToMatch]">
+							      <xsl:choose>
+							        <xsl:when test="$descriptionType='shortdesc'">
+							          <xsl:if test="./shortdesc[@conref]">
+							            <xsl:call-template name="getConRefText">
+							              <xsl:with-param name="conref" select="./shortdesc/@conref"/>
+							              <xsl:with-param name="descriptionType" select="local-name(./shortdesc)"/>
+							            </xsl:call-template>
+							          </xsl:if>
+							          <xsl:if test="not(./shortdesc[@conref])">
+							            <xsl:for-each select="./shortdesc/.">
+							              <xsl:apply-templates select="node()"/>
+							            </xsl:for-each>
+							          </xsl:if>
+							        </xsl:when>
+							        <xsl:otherwise>
+							          <xsl:if test="./description[@conref]">
+							            <xsl:call-template name="getConRefText">
+							              <xsl:with-param name="conref" select="./description/@conref"/>
+							              <xsl:with-param name="descriptionType" select="local-name(./description)"/>
+							            </xsl:call-template>
+							          </xsl:if>
+							          <xsl:if test="not(./description[@conref])">
+							            <xsl:for-each select="./description">
+							              <xsl:apply-templates select="node()"/>
+							            </xsl:for-each>
+							          </xsl:if>
+							        </xsl:otherwise>
+							      </xsl:choose>
+							    </xsl:for-each>						
+							</xsl:variable>
+							<xsl:if test="$property.desc=''">
+								<xsl:copy-of select="$skin.desc" copy-namespaces="no"/>
+							</xsl:if>
+							<xsl:if test="$property.desc!=''">
+								<xsl:copy-of select="$property.desc" copy-namespaces="no"/>
+							</xsl:if>
+						</xsl:when>
+					</xsl:choose>
+				</xsl:if>
+			</xsl:for-each>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getRelativePath">
+		<xsl:param name="currentPath"/>
+		<xsl:choose>
+			<xsl:when test="not($currentPath) or $currentPath='__Global__'">
+				<xsl:value-of select="''"/>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:if test="contains($currentPath,'.')">
+					<xsl:call-template name="getRelativePath">
+						<xsl:with-param name="currentPath" select="substring-after($currentPath,'.')"/>
+					</xsl:call-template>
+				</xsl:if>
+				<xsl:value-of select="'../'"/>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	<xsl:template name="lastIndexOf">
+		<xsl:param name="string"/>
+		<xsl:param name="char"/>
+		<xsl:choose>
+			<xsl:when test="contains($string, $char)">
+				<xsl:call-template name="lastIndexOf">
+					<xsl:with-param name="string" select="substring-after($string, $char)"/>
+					<xsl:with-param name="char" select="$char"/>
+				</xsl:call-template>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:value-of select="$string"/>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	<xsl:template match="apiClassifierDetail">
+		<apiClassifierDetail>
+			<xsl:apply-templates select="node()"/>
+		</apiClassifierDetail>
+	</xsl:template>
+	<xsl:template match="apiClassifierDef">
+		<apiClassifierDef>
+			<xsl:apply-templates select="node()"/>
+		</apiClassifierDef>
+	</xsl:template>
+	<xsl:template match="shortdesc">
+		<xsl:choose>
+			<xsl:when test="parent::apiValue/apiValueDetail/apiValueDef/apiInheritDoc">
+				<xsl:if test="ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseClassifier or ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseInterface ">
+					<xsl:call-template name="getInheritDocText">
+						<xsl:with-param name="baseClass" select="ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseClassifier"/>
+						<xsl:with-param name="implementedInterface" select="ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseInterface"/>
+						<xsl:with-param name="descriptionType" select="'shortdesc'"/>
+						<xsl:with-param name="entryType" select="'apiValue'"/>
+						<xsl:with-param name="nameToMatch" select="parent::apiValue/apiName"/>
+					</xsl:call-template>
+				</xsl:if>
+			</xsl:when>
+			<xsl:when test="@conref">
+				<xsl:variable name="entryType" select="'property'"/>
+				<xsl:variable name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
+				<shortdesc>
+					<xsl:if test="normalize-space(.)">
+						<xsl:apply-templates select="node()"/>
+					</xsl:if>
+					<xsl:call-template name="getConRefText">
+						<xsl:with-param name="conref" select="@conref"/>
+						<xsl:with-param name="descriptionType" select="'shortdesc'"/>
+						<xsl:with-param name="entryType" select="$entryType"/>
+						<xsl:with-param name="currentPackage" select="$currentPackage"/>
+					</xsl:call-template>
+
+				</shortdesc>
+			</xsl:when>
+			<xsl:otherwise>
+				<shortdesc>
+					<xsl:apply-templates select="node()"/>
+				</shortdesc>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	<xsl:template match="apiDesc">
+		<xsl:choose>
+			<xsl:when test="@conref">
+				<xsl:variable name="entryType" select="'property'"/>
+				<xsl:variable name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
+				<apiDesc>
+					<xsl:if test="normalize-space(.)">
+						<p class="- topic/p ">
+							<xsl:apply-templates select="node()"/>
+						</p>
+					</xsl:if>
+					<xsl:call-template name="getConRefText">
+						<xsl:with-param name="conref" select="@conref"/>
+						<xsl:with-param name="descriptionType" select="'apiDesc'"/>
+						<xsl:with-param name="entryType" select="$entryType"/>
+						<xsl:with-param name="currentPackage" select="$currentPackage"/>
+					</xsl:call-template>
+				</apiDesc>
+			</xsl:when>
+		</xsl:choose>
+		<xsl:choose>
+			<xsl:when test="not(parent::apiValueDetail/apiValueDef/apiInheritDoc)">
+				<apiDesc>
+					<xsl:apply-templates select="node()"/>
+				</apiDesc>
+			</xsl:when>
+			<xsl:when test="parent::apiValueDetail/apiValueDef/apiInheritDoc">
+				<xsl:if test="ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseClassifier or ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseInterface ">
+					<xsl:call-template name="getInheritDocText">
+						<xsl:with-param name="baseClass" select="ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseClassifier"/>
+						<xsl:with-param name="implementedInterface" select="ancestor::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseInterface"/>
+						<xsl:with-param name="descriptionType" select="'apiDesc'"/>
+						<xsl:with-param name="entryType" select="'apiValue'"/>
+						<xsl:with-param name="nameToMatch" select="ancestor::apiValue/apiName"/>
+					</xsl:call-template>
+				</xsl:if>
+			</xsl:when>
+		</xsl:choose>
+	</xsl:template>
+	<xsl:template match="related-links">
+		<related-links>
+			<xsl:apply-templates select="node()"/>
+		</related-links>
+	</xsl:template>
+	<xsl:template match="example">
+		<example>
+			<xsl:apply-templates select="node()"/>
+		</example>
+	</xsl:template>
+	<xsl:template match="prolog">
+		<prolog>
+			<xsl:apply-templates select="node()"/>
+		</prolog>
+	</xsl:template>
+	<xsl:template match="styles"/>
+	<xsl:template match="node()">
+		<xsl:copy copy-namespaces="no">
+			<xsl:copy-of select="@*"/>
+			<xsl:apply-templates select="node()"/>
+		</xsl:copy>
+	</xsl:template>
+</xsl:stylesheet>

Propchange: incubator/flex/trunk/asdoc/templates/fieldSummary.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/trunk/asdoc/templates/help.js
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/help.js?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/help.js (added)
+++ incubator/flex/trunk/asdoc/templates/help.js Tue Apr  3 16:52:07 2012
@@ -0,0 +1,949 @@
+/*
+ *
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+
+function closePopup()
+{
+  window.close();
+}
+function scrollToNameAnchor() 
+{
+	var nameAnchor = window.location.href;
+	var value = nameAnchor.split("nameAnchor=");
+	
+	if (value[1] != null) { 
+		document.location =value[0]+"#"+ value[1];
+	}
+}
+// HIDES AND SHOWS LARGE GRAPHICS IN THE CONTENT PAGES
+function showHideImage(thisID, obj) 
+{
+	
+	var imgElement = document.getElementById(thisID);
+	var imgText = obj;
+
+	if( imgElement.className == "largeImage" )
+	{
+			imgElement.src = "images/" + thisID + ".png";
+			imgElement.className="smallImage";
+			obj.className="showImageLink";
+			obj.href="#";
+			obj.firstChild.nodeValue = terms_AHV_LARGE_GRAPHIC;
+			window.focus();
+	}
+	else
+	{
+			imgElement.src = "images/" + thisID + "_popup.png";
+			imgElement.className="largeImage";
+			obj.className="hideImageLink";
+			obj.href="#";
+			obj.firstChild.nodeValue = terms_AHV_SMALL_GRAPHIC;
+			window.focus();
+	}
+}
+// js function for expand collapse menu functionality
+function KeyCheck(e, tree, idx)
+{
+  var KeyID = (window.event) ? event.keyCode : e.keyCode;
+  var node =  YAHOO.widget.TreeView.getNode(tree, idx);
+   switch(KeyID)
+   {
+      case 37:
+     // alert("Arrow Left");
+      node.collapse();
+      break;
+      case 39:
+     // alert("Arrow Right");
+      node.expand();
+      break;
+   }
+}
+// js function for hide/display mini-elements functionality
+function toggleLayer(whichLayer) {
+	if (document.getElementById) {
+		// this is the way the standards work
+		var obj=document.getElementById(whichLayer);
+		var img = obj.previousSibling.firstChild.firstChild;
+		img.setAttribute("src","images/on.gif");
+		var styleatt = obj.style;
+		styleatt.display = styleatt.display? "":"block";
+		
+		//change the class of the h3 per design
+		if (obj.previousSibling.className === "topictitle3")	{
+			obj.previousSibling.className ="topictitle3off";
+		    img.setAttribute("src","images/on.gif");
+		} else if (obj.previousSibling.className === "topictitle3off")	{
+			obj.previousSibling.className ="topictitle3";
+			img.setAttribute("src","images/off.gif");
+		} 
+	}
+	else if (document.all) {
+		// this is the way old msie versions work
+		var style2 = document.all[whichLayer].style;
+		style2.display = style2.display? "":"block";
+	}
+}
+ function addBookmark( bm_url_str, bm_str_label ) {
+  parent.navigation.flashProxy.call('addBookmark', bm_url_str, bm_str_label );
+}
+
+var upperAsciiXlatTbl = new Array(
+223,"ss",
+230,"ae",
+198,"ae",
+156,"oe",
+140,"oe",
+240,"eth",
+208,"eth",
+141,"y",
+159,"y"
+);
+
+var maxNumberOfShownSearchHits = 30;
+var showInputStringAlerts = 0;
+var navigationCookie = "";
+
+////////////// COOKIE-RELATED FUNCTIONS /////////////////////////////////////////
+//  test the navigator object for cookie enabling
+//  additional code would need to be added for
+//  to support browsers pre navigator 4 or IE5 or 
+//  other browsers that dont support
+//  the navigator object if any .. 
+ function cookiesNotEnabled() 
+{
+	return true;     // We're not going to use cookies
+}
+/*
+ * This function parses comma-separated name=value 
+ * argument pairs from the query string of the URL. 
+ * It stores the name=value pairs in 
+ * properties of an object and returns that object.
+ */
+function getArgs() 
+{
+	var args = new Object();
+	var query = window.location.search.substring(1); 
+	// Get query string
+	if (query.length > 0)	{
+		var pairs = query.split(",");
+		// Break at comma
+		for(var i = 0; i < pairs.length; i++) 
+		{
+			var pos = pairs[i].indexOf('=');
+			  // Look for "name=value"
+			if (pos == -1) continue;
+			  // If not found, skip
+			var argname = pairs[i].substring(0,pos);
+			  // Extract the name
+			var value = pairs[i].substring(pos+1);
+			  // Extract the value
+			args[argname] = unescape(value);
+		  	  // Store as a property
+			  // In JavaScript 1.5, use decodeURIComponent(  ) 
+			  // instead of escape(  )
+		}
+	} else {
+		args[name] = false;		
+	}
+	return args;     // Return the object
+}
+
+/////////////////////////////// COOKIE-RELATED FUNCTIONS ////////////////////////
+// Bill Dortch getCookieVal and GetCookie routines
+function getCookieVal(offset) {
+  var endstr=document.cookie.indexOf(";",offset);
+  if (endstr==-1)endstr=document.cookie.length;
+  return unescape(document.cookie.substring(offset, endstr));
+}
+function GetCookie(name) {
+  var arg=name+"=";
+  var alen=arg.length;
+  var clen=document.cookie.length;
+  var i=0;
+
+  if (cookiesNotEnabled())
+  {
+	var args = getArgs();
+	if (args[name] !== false) { 
+		return args[name];
+	}	
+  } else {
+	  while(i<clen){
+	    var j=i+alen;
+	    if(document.cookie.substring(i,j)==arg)return getCookieVal(j);
+	    i=document.cookie.indexOf(" ",i)+1;
+	    if(i==0)break; 
+	  }
+	  return null;
+	}
+}
+function getTopCookieVal(offset) {
+  var endstr=document.cookie.indexOf(";",offset);
+  if (endstr==-1)endstr=document.cookie.length;
+  return unescape(document.cookie.substring(offset, endstr));
+}
+function GetTopCookie(name) {
+  var arg=name+"=";
+  var alen=arg.length;
+  var clen=document.cookie.length;
+  var i=0;
+  while(i<clen){
+    var j=i+alen;
+    if(document.cookie.substring(i,j)==arg)return getTopCookieVal(j);
+    i=document.cookie.indexOf(" ",i)+1;
+    if(i==0)break; 
+  }
+  return null;
+}
+// SetCookie
+// -----------
+// This function is called to set a cookie in the current document.
+//  params:
+//		n - name of the cookie
+//		v - value of the cookie
+//		minutes - the duration of the cookie in minutes (that is, how many minutes before it expires)
+function SetCookie(n,v,minutes) {
+ var Then = new Date();
+ Then.setTime(Then.getTime() + minutes * 60 * 1000);
+ document.cookie = n + "=" + v + ";expires=" + Then.toGMTString();
+}
+// getContentCookie
+// ----------------
+// This function reads the content cookie set by the handleContext funtion.
+//
+function getContentCookie()
+{
+	var contentCookie = GetCookie("content");
+	document.cookie = "content=";
+
+	// What does this expression mean?
+	// (contentCookie.indexOf("htm") != -1)
+	if ( (contentCookie != null) && (contentCookie.indexOf("htm") != -1) ) 
+	{
+		document.cookie = "content="; // Wipe out the cookie
+		document.cookie = "histR=" + contentCookie;
+		location.replace(contentCookie);
+	}			
+}
+// getNavigationCookie
+// -------------------
+// This function reads the content cookie set by the handleContext funtion.
+//
+function getNavigationCookie()
+{
+	navigationCookie = GetCookie("navigation");
+	document.cookie = "navigation=";
+
+	// What does this expression mean?
+	// (navigationCookie.indexOf("htm") != -1)
+	if ( (navigationCookie != null) && (navigationCookie.indexOf("htm") != -1) ) 
+	{
+		document.cookie = "navigation="; // Wipe out the cookie
+		document.cookie = "histL=" + navigationCookie;
+		location.replace(navigationCookie);
+	}
+				
+}
+
+// handleContext
+// -------------
+// This function is called from content pages. It sets a cookie as soon
+// as the page is loaded. If the content page is not in it's proper place
+// in the frameset, the frameset will be loaded and the page will be 
+// restored using the value in this cookie.
+//
+function handleContext(which)
+{
+}
+// lastNodeOf
+// ----------
+// This function gets passed a URL and returns the last node of same.
+function lastNodeOf(e)
+{
+	var expr = "" + e;
+	var to = expr.indexOf("?");
+	if( to !== -1) {
+		var path = expr.substring(0,to);		
+		var pieces = path.split("/");
+		return pieces[pieces.length -1];
+	}  else	{	
+		var pos = expr.lastIndexOf("/");	
+		if( (pos != -1) && (pos+1 != expr.length) ) {
+			return expr.substr(pos+1);
+		} else {
+			return expr;
+		}
+	}
+}
+// frameBuster
+// -----------
+// This function is called by the frameset to ensure it's always loaded
+// at the top level of the current window.
+//
+function frameBuster()
+{
+}
+
+
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+// SEARCH RELATED.......................................SEARCH RELATED
+function bubbleSortWithShadow(a,b)
+{
+	var temp;
+	for(var j=1; j<a.length; j++) {
+		for(var i=0; i<j; i++) {
+			if( a[i] < a[j] ) {	
+				temp = a[j];a[j] = a[i];a[i] = temp;
+				temp = b[j];b[j] = b[i];b[i] = temp;
+			}
+		}
+	}
+}
+//---------------------------------------------------
+function buildHtmlResultsStr()
+{
+	var innerHTMLstring,ndxEnd;
+
+	// Gather all of the results display lines into the 'resultsArr'
+	ndxEnd = (matchesArrIndices.length > maxNumberOfShownSearchHits ) ? maxNumberOfShownSearchHits : matchesArrIndices.length;
+
+	for(var ndx=0, resultsArr = new Array(); ndx < ndxEnd; ndx++) {
+		resultsArr[resultsArr.length] = buildResultsStrOneLine(matchesArrIndices[ndx],matchesArrHits[ndx]);
+	}
+
+	// Convert this 'resultsArr' into a single string that will be injected into this search page.
+	innerHTMLstring = "<ol>";
+	for( var ndx=0; ndx < resultsArr.length; ndx++ ) {
+		innerHTMLstring = innerHTMLstring + resultsArr[ndx];
+	}
+	innerHTMLstring = innerHTMLstring + "</ol>";
+	return innerHTMLstring;
+}
+//---------------------------------------------------
+function buildResultsStrOneLine(a,b)
+{
+	var retStr;
+	retStr = "<li class=\"searchresults\"><a href=\"" + fileArr[a] + ".html\">";
+
+	// for debug...
+	//retStr += "target=\"content\" ";
+	//retStr += "title=\"" + top.fileArr[a] + ".html-";
+	//retStr += a + "-" + b + "\">";
+
+	// for production...
+	//retStr += "target=\"AdobeHelp\" >";
+
+	retStr += titleArr[a] + "</a></li>";
+	return retStr;
+}
+//---------------------------------------------------
+// checkForHits
+//  Break up the search term into words.
+//  Check each of those words against...
+//		(a) cached titles and 
+//		(b) cached content lines 
+//  Perform the hit detection for each one, 
+//  storing the results into (hits-ordered) 
+//		'matchesArrIndices' and 
+//		'matchesArrHits'.
+//---------------------------------------------------
+function checkForHits()
+{
+	var inputWords = new Array();
+	var tempArr = new Array();
+
+	// Split the search term into individual search words
+		tempArr = searchTerm.split(" ");
+		for(var ndx=0; ndx < tempArr.length; ndx++) {
+			if( tempArr[ndx].length ) {
+				inputWords[inputWords.length] = tempArr[ndx];
+			}
+		}
+
+	// Initialization
+		matchesArrHits = new Array();
+		matchesArrIndices = new Array();
+
+	// Initialize the 'maskArr' and the 'hitsArr'
+		maskArr = new Array();
+		hitsArr = new Array();
+		for( var ndx = 0; ndx < fileArr.length; ndx++ ) {
+			maskArr[maskArr.length] = 1;
+			hitsArr[hitsArr.length] = 0;
+		}
+
+	// Do checking for matches on EACH OF THE INPUT WORDS
+		for( var ndx = 0; ndx < inputWords.length; ndx++ ) {
+
+			// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+			if( ! checkForHitsWordAgainstPages( inputWords[ndx] ) ) {
+				return; 	// No sense in continuing, match has failed.
+			}
+			// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+			for( var ndx2 = 0; ndx2 < hitsArr.length; ndx2++ ) {
+				if( hitsArr[ndx2] == 0 ) {
+					maskArr[ndx2] = 0;
+				}
+				else {
+					if( maskArr[ndx2] != 0 ) {
+						maskArr[ndx2] += hitsArr[ndx2];
+					}
+				}
+			}
+		}
+
+	// From the final 'maskArr', generate 'matchesArrHits' and 'matchesArrIndices'	
+		for( var ndx = 0; ndx < maskArr.length; ndx++ ) {
+			if( maskArr[ndx] ) {
+				matchesArrHits[matchesArrHits.length] = maskArr[ndx];
+				matchesArrIndices[matchesArrIndices.length] = ndx;
+			}
+		}
+
+	// If there were any hits, then sort them by highest hits first
+		if( matchesArrIndices.length ) {
+			bubbleSortWithShadow(matchesArrHits, matchesArrIndices);
+		}
+}
+//---------------------------------------------------
+function checkForHitsWordAgainstPages(w)		
+{
+	var hitAnywhere = 0;
+	
+	if(showInputStringAlerts){alert( "Length of sc2: " + sc2.length );}
+
+	// Process each of the content lines (one per file/page)
+		for(var ndx=0; ndx < sc2.length; ndx++) {
+
+			// Put the cached title into glob_title
+				glob_title = sc1[ndx];
+
+			// Put the cached content line into glob_phrase
+				glob_phrase = sc2[ndx];
+				
+			if( maskArr[ndx] ) {
+			// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+				if( document.isDblByte ) {
+					hitsArr[ndx] = checkForHitsWordAgainstTitleAndLine2(w,ndx);
+				}
+				else {
+					hitsArr[ndx] = checkForHitsWordAgainstTitleAndLine(w,ndx);
+				}
+				if( hitsArr[ndx] ) {
+					hitAnywhere = 1;
+				}
+			// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+			}
+		}
+	return hitAnywhere;
+}
+//---------------------------------------------------
+function checkForHitsWordAgainstTitleAndLine(w, lineNdx)
+{
+	var words;
+	var titleHitCnt = 0;
+	var contentHitCnt = 0;
+	var regex = new RegExp(w, "i");
+
+	// TITLE .........................................
+		words = new Array();
+		if(glob_title!=null){
+			words = glob_title.split(" ");
+		}
+		// EXECUTE TITLE MATCH TEST
+		for( var ndx = 0; ndx < words.length; ndx++ ) {
+			if( w == words[ndx] ) {
+				titleHitCnt += 100;
+				break;
+			}
+		}
+
+	// CONTENT .........................................
+		words = new Array();
+		if(glob_phrase!=null){
+			words = glob_phrase.split(" ");
+		}
+		// EXECUTE CONTENT MATCH TEST
+		if( regex.test(glob_phrase) ) {	// See if word is anywhere within the phrase first.
+			for( var ndx = 0; ndx < words.length; ndx++ ) {
+				if( w == words[ndx] ) {
+					contentHitCnt += getInstanceCount(lineNdx,ndx);
+					break;
+				}
+				//else if( w < words[ndx] ) { // If word is greater than the remaining words, leave
+				//	break;
+				//}
+			}
+		}
+
+	return titleHitCnt + contentHitCnt;
+}
+//---------------------------------------------------
+function checkForHitsWordAgainstTitleAndLine2(w, lineNdx)
+{
+	var titleHitCnt = 0;
+	var contentHitCnt = 0;
+
+	// TITLE .........................................
+		if( glob_title.indexOf(w) != -1 ) {
+			titleHitCnt = 100;
+		}
+
+	// CONTENT .........................................
+		contentHitCnt = indexesOf(glob_phrase,w);
+
+	return titleHitCnt + contentHitCnt;
+}
+//---------------------------------------------------
+// checkTheInputString
+// 
+//  returns...
+//		empty string - if there is valid input to search
+//		message string - if there is NO VALID INPUT to search
+//---------------------------------------------------
+function checkTheInputString()
+{
+	var myArr = new Array();
+	var tempArr = new Array();
+	var foundStopOrShortWord = 0;
+	var ptn1 = /\d\D/;
+	var ptn2 = /\D\d/;
+
+	handleWhitespaceRemoval();
+	searchTerm = searchTerm.replace (/(%20)+/g," ") ;
+	searchTerm = searchTerm.toLowerCase();
+
+	searchTerm = filterTheChars(searchTerm);
+		
+	handleWhitespaceRemoval();
+
+	if( searchTerm.length ) {
+		
+		// Split the searchTerm
+			tempArr = searchTerm.split(" ",100);
+			if(showInputStringAlerts){alert( "size of tempArr: " + tempArr.length );}
+
+		// Handle periods
+			for( var ndx = 0; ndx < tempArr.length; ndx++ ) {
+				if( tempArr[ndx].charCodeAt(0) == 46 ) {	// periods at the start of word
+					//tempArr[ndx] = tempArr[ndx].substr(1); // NOTE: We don't want to do this. (e.g. ".txt")
+				}
+				if( tempArr[ndx].charCodeAt(tempArr[ndx].length-1) == 46 ) { // end of word
+					tempArr[ndx] = tempArr[ndx].substr(0,tempArr[ndx].length-1);
+				}
+			}
+			
+		// Do stopwords and shortwords removal
+			for( var ndx = 0; ndx < tempArr.length; ndx++ ) {
+				var word = tempArr[ndx];
+				if(showInputStringAlerts){alert( "Checking word: " + word );}
+				
+				if( ! sw[word] ) {
+					if( word.length < 2 ) {
+						foundStopOrShortWord = 1;
+					}
+					else if( (word.length > 2) || (ptn1.test(word) || ptn2.test(word)) ) {
+						myArr[myArr.length] = tempArr[ndx];
+					}
+					else {
+						foundStopOrShortWord = 1;
+					}
+				}
+				else {
+					foundStopOrShortWord = 1;
+				}
+			}
+
+		// Now reconstruct the searchTerm, based upon the 'myArr'
+			searchTerm = "";
+			for( var ndx = 0; ndx < myArr.length; ndx++ ) {
+				searchTerm = searchTerm + myArr[ndx] + " ";
+			}
+
+		handleWhitespaceRemoval();
+
+		if(showInputStringAlerts){alert( "FINAL SEARCH TERM: *" + searchTerm + "*" );}
+			
+		if( foundStopOrShortWord && ! searchTerm.length ) {
+			return MSG_stopAndShortWords;
+		}
+		srch_input_massaged = searchTerm;
+		return "";
+	} 
+	else {
+		return MSG_noSearchTermEntered;
+	}
+}
+//---------------------------------------------------
+function checkTheInputString2()		// double-byte version
+{
+	var tempArr = new Array();
+
+	handleWhitespaceRemoval();
+	searchTerm = searchTerm.toLowerCase();
+
+	if( searchTerm.length ) {
+
+		// Split the searchTerm
+			tempArr = searchTerm.split(" ",100);
+			if(showInputStringAlerts){alert( "number of search terms: " + tempArr.length );}
+
+		// Now reconstruct the searchTerm, based upon the 'tempArr'
+			searchTerm = "";
+			for( var ndx = 0; ndx < tempArr.length; ndx++ ) {
+				searchTerm = searchTerm + tempArr[ndx] + " ";
+			}
+			handleWhitespaceRemoval();
+
+if(showInputStringAlerts){alert( "Massaged search term: " + searchTerm );}
+
+		srch_input_massaged = searchTerm;
+		return "";
+	}
+	else {
+		return MSG_noSearchTermEntered;
+	}
+}
+//---------------------------------------------------
+function doIEsearch()
+{
+	var stStr = "";
+			
+	document.forms[0].sh_term.value = srch_input_verbatim;
+	
+	if( srch_message.length ) {
+		document.getElementById("results").innerHTML = srch_message;
+		srch_message = "";
+	}
+	else if( srch_1_shot ) {
+		srch_1_shot = 0;
+		
+		searchTerm = srch_input_massaged;
+		checkForHits();	// Sets: 'matchesArrIndices' and 'matchesArrHits'
+
+		if( matchesArrIndices.length ) {	// If there were matches/hits...  /* Changed for CS4 */
+
+			stStr = "<div class=\"form\">" + MSG_pagesContaining + "<strong>" + srch_input_massaged + "</strong></div><br /><br />\n";
+
+			document.getElementById("results").innerHTML = stStr + buildHtmlResultsStr();
+		}
+		else {                                                  /* Changed for CS4 */
+			document.getElementById("results").innerHTML = MSG_noPagesContain + "<strong>" + srch_input_massaged + "</strong><br /><br />";
+
+		}
+		//searching_message.style.visibility="visible";
+	}
+	srch_input_verbatim = "";
+}
+//---------------------------------------------------
+function getInstanceCount( lineIndex, wordIndex )
+{
+	var instancesStr = instances[lineIndex];	// e.g. "1432931"
+	var ch = instancesStr.substr(wordIndex,1);
+	
+	return parseInt(ch);
+}
+//---------------------------------------------------
+function handleWhitespaceRemoval()
+{
+	var re_1 = /^\s/;
+	var re_2 = /\s$/;
+	var re_3 = /\s\s/;
+	var temp;
+
+	// Remove leading whitespace
+		while( true ) {
+			temp = searchTerm.replace(re_1,"");
+			if( temp == searchTerm ) {
+				break;
+			}
+			searchTerm = temp;
+		}
+	// Remove trailing whitespace
+		while( true ) {
+			temp = searchTerm.replace(re_2,"");
+			if( temp == searchTerm ) {
+				break;
+			}
+			searchTerm = temp;
+		}
+	// Replace multiple contiguous spaces with a single space
+		while( searchTerm.search(re_3) != -1 ) {
+			temp = searchTerm.replace(re_3," ");
+			searchTerm = temp;
+		}
+}
+//--------------------------------------------------
+function isAcceptableChar(chrNdx)
+{
+	var acceptableChars = new Array( 32, 46, 95 );	// space, period, underscore
+	
+	for( var ndx = 0; ndx < acceptableChars.length; ndx++ ) {
+		if( chrNdx == acceptableChars[ndx] ) {
+			return true;
+		}
+	}
+	return false;
+}
+//--------------------------------------------------
+function indexesOf(str,ptn)
+{
+	var position = 0;
+	var hits = -1;
+	var start = -1;
+
+	while( position != -1 ) {
+		position = str.indexOf(ptn, start+1);
+		hits += 1;
+		start = position;
+	}
+	return hits;
+}
+//--------------------------------------------------
+function filterTheChars(line)
+{
+	var retStr = "",tempStr;
+	var ch, chCode, retChr;
+	var ndx;
+	
+	for( ndx = 0; ndx < line.length; ndx++ ) {
+		ch = line.substr(ndx,1);
+		chCode = ch.charCodeAt(0);
+		
+		
+			if( (chCode >= 192) && (chCode <= 221) ) {	// Handle capital upper-ASCII characters
+				chCode = chCode + 32;
+				retChr = ASCII_to_char(chCode);
+			}
+			else if( withinAcceptableRanges(chCode) || isAcceptableChar(chCode) ) { // Acceptable characters
+				retChr = ch;
+			}
+			else {
+				tempStr = isLigatureChar(chCode);
+
+				if( tempStr.length ) {	//Don't replace ligatures.
+					retChr = ch;
+				}
+				else {		// Turn all else into space	
+					retChr = " ";
+				}
+			}
+
+		// Grow the return string
+			retStr += retChr;
+	}
+	
+	return retStr;
+}
+//--------------------------------------------------
+function isLigatureChar(codeToCheck) {
+	var xlatTblNdx, code, replStr = "";
+
+	for( xlatTblNdx = 0; xlatTblNdx < upperAsciiXlatTbl.length; xlatTblNdx+=2 ) {
+
+		code = upperAsciiXlatTbl[xlatTblNdx];
+		if( code == codeToCheck ) {
+			replStr = upperAsciiXlatTbl[xlatTblNdx+1];
+			break;
+		}
+	}
+	
+	return replStr;
+}
+//--------------------------------------------------
+function respondToSearchButton() 
+{
+	var myStr;
+	document.getElementById("results").innerHTML = ""; //We don't expect this to be slow enough to need a message.	
+	srch_input_verbatim = document.forms[0].sh_term.value;
+	searchTerm = document.forms[0].sh_term.value;
+	
+	if( document.isDblByte ) {
+		myStr = checkTheInputString2();
+	}
+	else {
+		myStr = checkTheInputString();	
+	}
+	
+	srch_message = myStr;
+	srch_1_shot = srch_message.length ? 0 : 1;
+	
+	doIEsearch();
+}
+//--------------------------------------------------
+function respondToSearchLoad() 
+{
+	var externalQuery = GetCookie("externalQuery");
+	if (externalQuery == null) { 
+			externalQuery = GetCookie("sh_term");
+	}
+
+	if (externalQuery != null) { 
+		var myStr;
+		srch_input_verbatim = externalQuery;
+		searchTerm = externalQuery;
+	
+		if(document.isDblByte ) {
+		  myStr = checkTheInputString2();
+		}
+		else {
+		  myStr = checkTheInputString();	
+		}
+		
+		srch_message = myStr;
+		srch_1_shot = srch_message.length ? 0 : 1;
+		
+		doIEsearch();
+	}
+}
+//---------------------------------------------------
+function strReplace(orig,src,dest)
+{
+	var startPos=0;
+	var matchPos = orig.indexOf(src,startPos);
+	var retLine="";
+	
+	while(matchPos != -1) {
+		retLine = retLine + orig.substring(startPos,matchPos) + dest;
+		startPos = matchPos+1;
+		matchPos = orig.indexOf(src,startPos);
+	}
+	if(! retLine.length) {return orig;}
+	else {return retLine+orig.substring(startPos,orig.length);}
+}
+//--------------------------------------------------
+function withinAcceptableRanges(chrNdx)
+{	
+	var acceptableRanges = new Array( "48-57","65-90","97-122","224-229","231-239","241-246","248-253","255-255");
+	
+	for( var ndx = 0; ndx < acceptableRanges.length; ndx++ ) {
+		var start_finish = new Array();
+
+		start_finish = acceptableRanges[ndx].split("-");
+		
+		if( (chrNdx >= start_finish[0]) && (chrNdx <= start_finish[1]) ) {
+			return true;
+		}
+	}
+	return false;
+}
+//--------------------------------------------------
+function ASCII_to_char(num_in)
+{
+	var str_out = "";
+	var num_out = parseInt(num_in);
+	
+	num_out = unescape('%' + num_out.toString(16));
+	str_out += num_out;
+	
+	return unescape(str_out);
+}
+//--------------------------------------------------
+var agt=navigator.userAgent.toLowerCase();
+var use_ie_behavior = false;
+var use_ie_6_behavior = false;
+if (agt.indexOf("msie") != -1) {
+  use_ie_behavior = true;
+}
+if ((agt.indexOf("msie 5") != -1) || (agt.indexOf("msie 6") != -1)) {
+  use_ie_6_behavior = true;
+}
+
+//--------------------------------------------------
+
+var Url = {
+
+	// public method for url encoding
+	encode : function (string) {
+		return escape(this._utf8_encode(string));
+	},
+
+	// public method for url decoding
+	decode : function (string) {
+		return this._utf8_decode(unescape(string));
+	},
+
+	// private method for UTF-8 encoding
+	_utf8_encode : function (string) {
+		string = string.replace(/\r\n/g,"\n");
+		var utftext = "";
+
+		for (var n = 0; n < string.length; n++) {
+
+			var c = string.charCodeAt(n);
+
+			if (c < 128) {
+				utftext += String.fromCharCode(c);
+			}
+			else if((c > 127) && (c < 2048)) {
+				utftext += String.fromCharCode((c >> 6) | 192);
+				utftext += String.fromCharCode((c & 63) | 128);
+			}
+			else {
+				utftext += String.fromCharCode((c >> 12) | 224);
+				utftext += String.fromCharCode(((c >> 6) & 63) | 128);
+				utftext += String.fromCharCode((c & 63) | 128);
+			}
+
+		}
+
+		return utftext;
+	},
+
+	// private method for UTF-8 decoding
+	_utf8_decode : function (utftext) {
+		var string = "";
+		var i = 0;
+		var c = c1 = c2 = 0;
+
+		while ( i < utftext.length ) {
+
+			c = utftext.charCodeAt(i);
+
+			if (c < 128) {
+				string += String.fromCharCode(c);
+				i++;
+			}
+			else if((c > 191) && (c < 224)) {
+				c2 = utftext.charCodeAt(i+1);
+				string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
+				i += 2;
+			}
+			else {
+				c2 = utftext.charCodeAt(i+1);
+				c3 = utftext.charCodeAt(i+2);
+				string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
+				i += 3;
+			}
+
+		}
+
+		return string;
+	}
+
+}

Propchange: incubator/flex/trunk/asdoc/templates/help.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/asdoc/templates/help.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/asdoc/templates/images/AirIcon12x12.gif
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/AirIcon12x12.gif?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/AirIcon12x12.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: incubator/flex/trunk/asdoc/templates/images/P_AlternativeMetadataIndicator_30x28_N.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/P_AlternativeMetadataIndicator_30x28_N.png?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/P_AlternativeMetadataIndicator_30x28_N.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/trunk/asdoc/templates/images/collapsed.gif
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/collapsed.gif?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/collapsed.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: incubator/flex/trunk/asdoc/templates/images/detailHeaderRule.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/detailHeaderRule.jpg?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/detailHeaderRule.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/asdoc/templates/images/detailSectionHeader.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/detailSectionHeader.jpg?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/detailSectionHeader.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/asdoc/templates/images/expanded.gif
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/expanded.gif?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/expanded.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: incubator/flex/trunk/asdoc/templates/images/inherit-arrow.gif
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/inherit-arrow.gif?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/inherit-arrow.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: incubator/flex/trunk/asdoc/templates/images/inheritedSummary.gif
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/inheritedSummary.gif?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/inheritedSummary.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: incubator/flex/trunk/asdoc/templates/images/logo.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/logo.jpg?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/logo.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/asdoc/templates/images/titleTableBottom.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/titleTableBottom.jpg?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/titleTableBottom.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/asdoc/templates/images/titleTableMiddle.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/titleTableMiddle.jpg?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/titleTableMiddle.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/asdoc/templates/images/titleTableTop.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/images/titleTableTop.jpg?rev=1309036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/asdoc/templates/images/titleTableTop.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/asdoc/templates/index-list.html
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/index-list.html?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/index-list.html (added)
+++ incubator/flex/trunk/asdoc/templates/index-list.html Tue Apr  3 16:52:07 2012
@@ -0,0 +1,87 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<html>
+<head>
+	<title>ActionScript 3.0 Language and Components Reference</title>
+	<link rel="stylesheet" href="style.css" type="text/css" />
+	<base target="classFrame" />
+</head>
+
+<body class="classFrameContent">
+<h3> Index
+</h3>
+<table cellpadding="0" cellspacing="5" width="100%">
+<tbody>
+<!--
+<tr>
+	<td colspan="2"><a href="all-index-Symbols.html">Symbols</a></td>
+</tr>
+-->
+<tr>
+<td><a href="all-index-A.html">A</a></td>
+<td><a href="all-index-N.html">N</a></td>
+</tr>
+<tr>
+<td><a href="all-index-B.html">B</a></td>
+<td><a href="all-index-O.html">O</a></td>
+</tr>
+<tr>
+<td><a href="all-index-C.html">C</a></td>
+<td><a href="all-index-P.html">P</a></td>
+</tr>
+<tr>
+<td><a href="all-index-D.html">D</a></td>
+<td><a href="all-index-Q.html">Q</a></td>
+</tr>
+<tr>
+<td><a href="all-index-E.html">E</a></td>
+<td><a href="all-index-R.html">R</a></td>
+</tr>
+<tr>
+<td><a href="all-index-F.html">F</a></td>
+<td><a href="all-index-S.html">S</a></td>
+</tr>
+<tr>
+<td><a href="all-index-G.html">G</a></td>
+<td><a href="all-index-T.html">T</a></td>
+</tr>
+<tr>
+<td><a href="all-index-H.html">H</a></td>
+<td><a href="all-index-U.html">U</a></td>
+</tr>
+<tr>
+<td><a href="all-index-I.html">I</a></td>
+<td><a href="all-index-V.html">V</a></td>
+</tr>
+<tr>
+<td><a href="all-index-J.html">J</a></td>
+<td><a href="all-index-W.html">W</a></td>
+</tr>
+<tr>
+<td><a href="all-index-K.html">K</a></td>
+<td><a href="all-index-X.html">X</a></td>
+</tr>
+<tr>
+<td><a href="all-index-L.html">L</a></td>
+<td><a href="all-index-Y.html">Y</a></td>
+</tr>
+<tr>
+<td><a href="all-index-M.html">M</a></td>
+<td><a href="all-index-Z.html">Z</a></td>
+</tr>
+</tbody></table>
+</body></html>

Propchange: incubator/flex/trunk/asdoc/templates/index-list.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/asdoc/templates/index-list.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/asdoc/templates/index.html
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/index.html?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/index.html (added)
+++ incubator/flex/trunk/asdoc/templates/index.html Tue Apr  3 16:52:07 2012
@@ -0,0 +1,56 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<html>
+<head>
+    <title>ActionScript 3.0 Language and Components Reference</title>
+    <script language="javascript" type="text/javascript">
+    	<!--
+        window.onload=function(){
+            var d=document.location.search;
+			var args=d.substring(d.lastIndexOf('?')+1,d.length);
+			var classFrameContent=args;
+			var classListFrameContent='';
+			if (args.indexOf('&') != -1) {
+				classFrameContent = args.substring(0,args.indexOf('&'));
+				classListFrameContent = args.substring(args.indexOf('&')+1,args.length);
+			}
+            if(classFrameContent!='')
+            	top.frames['classFrame'].document.location.href=classFrameContent;
+			if(classListFrameContent!='')
+				top.frames['packageFrame'].frames['classListFrame'].document.location.href=classListFrameContent;
+        }
+        -->
+    </script>
+</head>
+<frameset cols="175,*" border="2" bordercolor="#AAAAAA" framespacing="1">
+       <frame src="package-frame.html" name="packageFrame" scrolling="no" />
+       <frameset rows="80,*" border="0" bordercolor="#AAAAAA">
+       		<frame src="title-bar.html" name="titlebar" scrolling="no" frameborder="0" />
+       		<frame src="package-summary.html" name="classFrame" frameborder="0" />
+    	</frameset>
+    <noframes>
+	<body>
+        <h2>Frame Alert</h2>
+        <p>
+        This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+        <br />
+        Link to <a href="package-summary.html">Non-frame version.</a>
+        </p>
+        </body>
+    </noframes>
+</frameset>
+</html>

Propchange: incubator/flex/trunk/asdoc/templates/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/asdoc/templates/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/asdoc/templates/merge_dita_xml.xslt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/merge_dita_xml.xslt?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/merge_dita_xml.xslt (added)
+++ incubator/flex/trunk/asdoc/templates/merge_dita_xml.xslt Tue Apr  3 16:52:07 2012
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:param name="ditaFileDir" select="''"/>
+    <xsl:template match="/">
+                <allClasses>
+                    <xsl:apply-templates select="//apiItemRef">
+                        <xsl:sort select="@href" order="ascending"/>
+                    </xsl:apply-templates>
+                </allClasses>
+    </xsl:template>
+    <xsl:template match="apiItemRef">
+        <xsl:variable name="ditaFileName">
+            <xsl:value-of select="concat($ditaFileDir,@href)"/>
+        </xsl:variable>
+        <xsl:for-each select="document($ditaFileName)/apiPackage">
+            <xsl:copy-of select="."/>
+        </xsl:for-each>
+    </xsl:template>
+</xsl:stylesheet>

Propchange: incubator/flex/trunk/asdoc/templates/merge_dita_xml.xslt
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message