You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/04/03 18:52:09 UTC

svn commit: r1309036 [11/11] - in /incubator/flex/trunk/asdoc: ./ templates/ templates/images/

Added: incubator/flex/trunk/asdoc/templates/package.xslt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/package.xslt?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/package.xslt (added)
+++ incubator/flex/trunk/asdoc/templates/package.xslt Tue Apr  3 16:52:07 2012
@@ -0,0 +1,385 @@
+<?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"
+	exclude-result-prefixes="saxon xs ifn">
+	<xsl:import href="asdoc-util.xslt"/>
+	<xsl:import href="class-files.xslt"/>
+	<xsl:output encoding="UTF-8" method="html" omit-xml-declaration="yes" use-character-maps="disable"/>
+	<xsl:param name="outputPath" select="''"/>
+	<xsl:param name="ditaFileDir" select="''"/>
+	<xsl:param name="packageOverviewFile" select="'overviews.xml'"/>
+	<xsl:param name="packages_map_name" select="'packagemap.xml'"/>
+	<xsl:template match="/">
+		<xsl:for-each select="apiMap//apiItemRef">
+			<xsl:sort select="@href" order="ascending"/>
+			<xsl:variable name="ditaFileName">
+				<xsl:value-of select="concat($ditaFileDir,@href)"/>
+			</xsl:variable>
+			<xsl:for-each select="document($ditaFileName)/apiPackage">
+				<xsl:sort select="./apiName" order="ascending" lang="en-US"/>
+				<xsl:variable name="name" select="./apiName"/>
+				<xsl:variable name="interfaces">
+					<xsl:if test="./apiClassifierDetail/apiClassifierDef/apiInterface and ./apiClassifierDetail/apiClassifierDef/apiBaseInterface">
+						<xsl:call-template name="createBaseInterfaceList"/>
+					</xsl:if>
+				</xsl:variable>
+				<xsl:variable name="isTopLevel">
+					<xsl:call-template name="isTopLevel">
+						<xsl:with-param name="packageName" select="$name"/>
+					</xsl:call-template>
+				</xsl:variable>
+				<xsl:variable name="packageFile">
+					<xsl:value-of select="$outputPath"/>
+					<xsl:choose>
+						<xsl:when test="$isTopLevel='true'">package.html</xsl:when>
+						<xsl:otherwise>
+							<xsl:value-of select="translate($name,'.','/')"/>/package.html</xsl:otherwise>
+					</xsl:choose>
+				</xsl:variable>
+				<xsl:variable name="classListFile">
+					<xsl:choose>
+						<xsl:when test="$isTopLevel='true'">class-list.html</xsl:when>
+						<xsl:otherwise>
+							<xsl:value-of select="translate($name,'.','/')"/>/class-list.html</xsl:otherwise>
+					</xsl:choose>
+				</xsl:variable>
+				<xsl:variable name="packageName">
+					<xsl:choose>
+						<xsl:when test="$isTopLevel='true'">
+							<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'TopLevel']]/entry[2]/p"/>
+						</xsl:when>
+						<xsl:otherwise>
+							<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'PackagePackage']]/entry[2]/p"/>
+							<xsl:text> </xsl:text>
+							<xsl:value-of select="$name"/>
+						</xsl:otherwise>
+					</xsl:choose>
+				</xsl:variable>
+				<xsl:variable name="xrefPackageName">
+					<xsl:choose>
+						<xsl:when test="$isTopLevel='true'">__Global__</xsl:when>
+						<xsl:otherwise>
+							<xsl:value-of select="$name"/>
+						</xsl:otherwise>
+					</xsl:choose>
+				</xsl:variable>
+				<xsl:variable name="title">
+					<xsl:if test="$isTopLevel='true'">
+						<xsl:value-of select="concat($asdoc_terms/row[entry[1][p/text() = 'TopLevelConstantsFunctions']]/entry[2]/p,' - ',$title-base)"/>
+					</xsl:if>
+					<xsl:if test="not($isTopLevel='true')">
+						<xsl:value-of select="concat($name,' ', $asdoc_terms/row[entry[1][p/text() = 'Package']]/entry[2]/p, ' - ',$title-base)"/>
+					</xsl:if>
+				</xsl:variable>
+				<xsl:variable name="baseRef">
+					<xsl:call-template name="getBaseRef">
+						<xsl:with-param name="packageName" select="ancestor-or-self::apiPackage/apiName"/>
+					</xsl:call-template>
+				</xsl:variable>
+				<xsl:variable name="hasConstants" select="count(apiValue[not(./apiValueDetail/apiValueDef/apiProperty)]) &gt; 0"/>
+				<xsl:variable name="hasFields" select="count(apiValue/apiValueDetail/apiValueDef/apiProperty) &gt; 0"/>
+				<xsl:variable name="hasFunctions" select="count(./apiOperation) &gt; 0"/>
+				<xsl:if test="$hasConstants or $hasFields or $hasFunctions">
+					<!-- TODO move this to asdoc-util -->
+					<xsl:variable name="pname" select="$name"/>
+					<xsl:result-document href="{$packageFile}">
+						<xsl:copy-of select="$docType"/>
+						<xsl:if test="$config/options[@livedocs='true']">
+							<xsl:comment>#config errmsg=""</xsl:comment>
+						</xsl:if>
+						<xsl:element name="html">
+							<head>
+								<xsl:call-template name="getStyleLink">
+									<xsl:with-param name="link" select="/asdoc/link"/>
+									<xsl:with-param name="packageName" select="$name"/>
+								</xsl:call-template>
+								<title>
+									<xsl:if test="$isTopLevel='true'">
+										<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'TopLevelConstantsFunctions']]/entry[2]/p"/>
+									</xsl:if>
+									<xsl:if test="$isTopLevel='false'">
+										<xsl:value-of select="$name"/>
+									</xsl:if>
+									<xsl:text> </xsl:text>
+									<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Details']]/entry[2]/p"/>
+									<xsl:call-template name="getPageTitlePostFix"/>
+								</title>
+							</head>
+							<xsl:element name="body">
+								<xsl:if test="$isEclipse">
+									<xsl:attribute name="class">
+										<xsl:text>eclipseBody</xsl:text>
+									</xsl:attribute>
+								</xsl:if>
+								<xsl:call-template name="getTitleScript">
+									<xsl:with-param name="title" select="$title"/>
+									<xsl:with-param name="packageName" select="$name"/>
+								</xsl:call-template>
+								<xsl:call-template name="getLinks2">
+									<xsl:with-param name="subTitle">
+										<xsl:choose>
+											<xsl:when test="$isTopLevel='true'">
+												<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'TopLevel']]/entry[2]/p"/>
+											</xsl:when>
+											<xsl:otherwise>
+												<xsl:apply-templates select="$asdoc_terms/row[entry[1][p/text() = 'PackagePackage']]/entry[2]/p" mode="terms">
+													<xsl:with-param name="package" select="$name"/>
+												</xsl:apply-templates>
+											</xsl:otherwise>
+										</xsl:choose>
+									</xsl:with-param>
+									<xsl:with-param name="fileName" select="'package'"/>
+									<xsl:with-param name="fileName2" select="$classListFile"/>
+									<xsl:with-param name="packageName" select="$name"/>
+									<xsl:with-param name="showProperties" select="false()"/>
+									<xsl:with-param name="showMethods" select="false()"/>
+									<xsl:with-param name="showPackageConstants" select="boolean(number($hasConstants))"/>
+									<xsl:with-param name="showPackageProperties" select="boolean(number($hasFields))"/>
+									<xsl:with-param name="showPackageFunctions" select="boolean(number($hasFunctions))"/>
+								</xsl:call-template>
+								<div class="MainContent">
+									<xsl:apply-templates mode="annotate" select="$config/annotate/item[@type='package' and @name=$name and string-length($name) and tokenize($name,',')[starts-with($pname,.)]]"/>
+									<br/>
+									<xsl:if test="$hasFields">
+										<a name="propertySummary"/>
+										<xsl:if test="not($config/overviews/package)">
+											<xsl:variable name="packageComments" select="document($packageOverviewFile)/overviews/packages/package[@name=$pname]"/>
+											<xsl:call-template name="deTilda">
+												<xsl:with-param name="inText" select="$packageComments/propertiesDescription"/>
+											</xsl:call-template>
+											<xsl:for-each select="$packageComments/propertiesDescription">
+												<xsl:call-template name="sees">
+													<xsl:with-param name="xrefId" select="concat($xrefPackageName,'#propertySummary')"/>
+												</xsl:call-template>
+											</xsl:for-each>
+										</xsl:if>
+										<xsl:if test="$config/overviews/package">
+											<xsl:for-each select="$config/overviews/package">
+												<xsl:variable name="packageOverview" select="document(.)/overviews/packages/package[@name=$pname]"/>
+												<xsl:if test="$packageOverview/propertiesDescription">
+													<xsl:call-template name="deTilda">
+														<xsl:with-param name="inText" select="$packageOverview/propertiesDescription"/>
+													</xsl:call-template>
+													<xsl:for-each select="$packageOverview/propertiesDescription">
+														<xsl:call-template name="sees">
+															<xsl:with-param name="xrefId" select="concat($xrefPackageName,'#propertySummary')"/>
+														</xsl:call-template>
+													</xsl:for-each>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+										<xsl:variable name="interfaces">
+											<xsl:if test="./apiClassifierDetail/apiClassifierDef/apiInterface and ./apiClassifierDetail/apiClassifierDef/apiBaseInterface">
+												<xsl:call-template name="createBaseInterfaceList"/>
+											</xsl:if>
+										</xsl:variable>
+										<xsl:call-template name="fieldSummary">
+											<xsl:with-param name="isGlobal" select="$isTopLevel='true'"/>
+											<xsl:with-param name="showAnchor" select="false()"/>
+											<xsl:with-param name="baseRef" select="$baseRef"/>
+											<xsl:with-param name="interfaces" select="$interfaces" tunnel="yes"/>
+										</xsl:call-template>
+										<xsl:if test="boolean(number($hasFunctions)) or boolean(number($hasConstants))">
+											<br/>
+											<br/>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$hasFunctions">
+										<a name="methodSummary"/>
+										<xsl:variable name="packageComments" select="document($packageOverviewFile)/overviews/packages/package[@name=$pname]"/>
+										<xsl:if test="not($config/overviews/package)">
+											<xsl:call-template name="deTilda">
+												<xsl:with-param name="inText" select="$packageComments/functionsDescription"/>
+											</xsl:call-template>
+											<xsl:for-each select="$packageComments/functionsDescription">
+												<xsl:call-template name="sees">
+													<xsl:with-param name="xrefId" select="concat($xrefPackageName,'#methodSummary')"/>
+												</xsl:call-template>
+											</xsl:for-each>
+										</xsl:if>
+										<xsl:if test="$config/overviews/package">
+											<xsl:for-each select="$config/overviews/package">
+												<xsl:variable name="packageOverview" select="document(.)/overviews/packages/package[@name=$pname]"/>
+												<xsl:if test="$packageOverview/functionsDescription">
+													<xsl:call-template name="deTilda">
+														<xsl:with-param name="inText" select="$packageOverview/functionsDescription"/>
+													</xsl:call-template>
+													<xsl:for-each select="$packageOverview/functionsDescription">
+														<xsl:call-template name="sees">
+															<xsl:with-param name="xrefId" select="concat($xrefPackageName,'#methodSummary')"/>
+														</xsl:call-template>
+													</xsl:for-each>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+										<xsl:variable name="interfaces">
+											<xsl:if test="./apiClassifierDetail/apiClassifierDef/apiInterface and ./apiClassifierDetail/apiClassifierDef/apiBaseInterface">
+												<xsl:call-template name="createBaseInterfaceList"/>
+											</xsl:if>
+										</xsl:variable>
+										<xsl:call-template name="methodSummary">
+											<xsl:with-param name="className" select="'package'"/>
+											<xsl:with-param name="title" select="$asdoc_terms/row[entry[1][p/text() = 'Functions']]/entry[2]/p"/>
+											<xsl:with-param name="isGlobal" select="$isTopLevel='true'"/>
+											<xsl:with-param name="showAnchor" select="false()"/>
+											<xsl:with-param name="baseRef" select="$baseRef"/>
+											<xsl:with-param name="interfaces" select="$interfaces" tunnel="yes"/>
+										</xsl:call-template>
+										<xsl:if test="boolean(number($hasConstants))">
+											<br/>
+											<br/>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$hasConstants">
+										<a name="constantSummary"/>
+										<xsl:if test="not($config/overviews/package)">
+											<xsl:variable name="packageComments" select="document($packageOverviewFile)/overviews/packages/package[@name=$pname]"/>
+											<xsl:call-template name="deTilda">
+												<xsl:with-param name="inText" select="$packageComments/constantsDescription"/>
+											</xsl:call-template>
+											<xsl:for-each select="$packageComments/constantsDescription">
+												<xsl:call-template name="sees">
+													<xsl:with-param name="xrefId" select="concat($xrefPackageName,'#constantSummary')"/>
+												</xsl:call-template>
+											</xsl:for-each>
+										</xsl:if>
+										<xsl:if test="$config/overviews/package">
+											<xsl:for-each select="$config/overviews/package">
+												<xsl:variable name="packageOverview" select="document(.)/overviews/packages/package[@name=$pname]"/>
+												<xsl:if test="$packageOverview/constantsDescription">
+													<xsl:call-template name="deTilda">
+														<xsl:with-param name="inText" select="$packageOverview/constantsDescription"/>
+													</xsl:call-template>
+													<xsl:for-each select="$packageOverview/constantsDescription">
+														<xsl:call-template name="sees">
+															<xsl:with-param name="xrefId" select="concat($xrefPackageName,'#constantSummary')"/>
+														</xsl:call-template>
+													</xsl:for-each>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+										<xsl:variable name="interfaces">
+											<xsl:if test="./apiClassifierDetail/apiClassifierDef/apiInterface and ./apiClassifierDetail/apiClassifierDef/apiBaseInterface">
+												<xsl:call-template name="createBaseInterfaceList"/>
+											</xsl:if>
+										</xsl:variable>
+										<xsl:call-template name="fieldSummary">
+											<xsl:with-param name="isConst" select="'true'"/>
+											<xsl:with-param name="isGlobal" select="$isTopLevel='true'"/>
+											<xsl:with-param name="showAnchor" select="false()"/>
+											<xsl:with-param name="baseRef" select="$baseRef"/>
+											<xsl:with-param name="interfaces" select="$interfaces" tunnel="yes"/>
+										</xsl:call-template>
+									</xsl:if>
+									<!--<xsl:apply-templates select="apiValue" mode="detail"/>-->
+									<!-- CONSTANT DETAILS FOR PACKAGES-->
+									<xsl:if test="boolean(number($hasConstants))">
+										<div class="detailSectionHeader">
+											<xsl:call-template name="getLocalizedString">
+												<xsl:with-param name="key">ConstantDetail</xsl:with-param>
+											</xsl:call-template>
+										</div>
+									</xsl:if>
+									<xsl:apply-templates select="apiValue[not(apiValueDetail/apiValueDef/apiProperty)]" mode="detail">
+										<xsl:with-param name="isConst" select="'true'"/>
+									</xsl:apply-templates>
+									<!--END OF CONSTANT DETAILS-->
+									<!--FUNCTION DETAILS -->
+									<xsl:call-template name="methodsDetails">
+										<xsl:with-param name="className" select="'package'"/>
+										<xsl:with-param name="title">
+											<xsl:call-template name="getLocalizedString">
+												<xsl:with-param name="key">FunctionDetail</xsl:with-param>
+											</xsl:call-template>
+										</xsl:with-param>
+										<xsl:with-param name="baseRef" select="$baseRef"/>
+									</xsl:call-template>
+									<!--END OF FUNCTION DETAILS -->
+									<!--PROPERTIES DETAILS -->
+									<xsl:if test="boolean(number($hasFields))">
+										<div class="detailSectionHeader">
+											<xsl:call-template name="getLocalizedString">
+												<xsl:with-param name="key">PropertyDetail</xsl:with-param>
+											</xsl:call-template>
+										</div>
+									</xsl:if>
+									<xsl:apply-templates select="apiValue[apiValueDetail/apiValueDef/apiProperty]" mode="detail">
+										<xsl:with-param name="className" select="'package'"/>
+										<xsl:with-param name="title">
+											<xsl:call-template name="getLocalizedString">
+												<xsl:with-param name="key">PropertyDetail</xsl:with-param>
+											</xsl:call-template>
+										</xsl:with-param>
+									</xsl:apply-templates>
+									<!--END OF PROPERTIES DETAILS -->
+									<p/>
+									<xsl:call-template name="getFeedbackLink">
+										<xsl:with-param name="topic" select="$packageName"/>
+										<xsl:with-param name="filename">
+											<xsl:if test="$isTopLevel='true'">package.html</xsl:if>
+											<xsl:if test="$isTopLevel!='true'">
+												<xsl:value-of select="translate($name,'.','/')"/>
+												<xsl:text>/package.html</xsl:text>
+											</xsl:if>
+										</xsl:with-param>
+										<xsl:with-param name="filename2">
+											<xsl:if test="$isTopLevel='true'">class-list.html</xsl:if>
+											<xsl:if test="$isTopLevel!='true'">
+												<xsl:value-of select="translate($name,'.','/')"/>
+												<xsl:text>/class-list.html</xsl:text>
+											</xsl:if>
+										</xsl:with-param>
+									</xsl:call-template>
+									<center class="copyright">
+										<xsl:copy-of select="$copyright"/>
+									</center>
+									<xsl:call-template name="addKeywords">
+										<xsl:with-param name="keyword">
+											<xsl:if test="$isTopLevel='true'">
+												<xsl:value-of select="'Top Level'"/>
+											</xsl:if>
+											<xsl:if test="$isTopLevel!='true'">
+												<xsl:value-of select="$name"/>
+											</xsl:if>
+										</xsl:with-param>
+									</xsl:call-template>
+								</div>
+								<xsl:if test="$config/options[@livedocs='true']">
+									<div class="separator">&#160;</div>
+									<xsl:comment>BEGIN IONCOMMENTS</xsl:comment>
+									<div id="ionComHere"> </div>
+									<xsl:comment>END IONCOMMENTS</xsl:comment>
+									<xsl:comment>#include virtual="ionComments.ssi"</xsl:comment>
+									<p id="creativecommons" class="creativecommons">
+										<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">
+											<img id="creativecommons_img" src="{$baseRef}images/CC.png"/>
+										</a>
+									</p>
+									<xsl:comment>#include virtual="/livedocs/googleAnalytics.ssi"</xsl:comment>
+									<xsl:comment>#include virtual="/ubi/analytics/analytics_ssi.html"</xsl:comment>
+								</xsl:if>
+							</xsl:element>
+						</xsl:element>
+					</xsl:result-document>
+				</xsl:if>
+			</xsl:for-each>
+		</xsl:for-each>
+	</xsl:template>
+</xsl:stylesheet>

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

Added: incubator/flex/trunk/asdoc/templates/print.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/print.css?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/print.css (added)
+++ incubator/flex/trunk/asdoc/templates/print.css Tue Apr  3 16:52:07 2012
@@ -0,0 +1,116 @@
+/*
+ *
+ *  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.
+ *
+ */
+
+body {
+  color: #000000;
+  background: #ffffff;
+  font-family: "Times New Roman", Times, serif;
+  font-size: 12pt;
+}
+a {
+  text-decoration: none;
+  color: #000000;
+}
+pre {
+  white-space: -moz-pre-wrap; /* Mozilla */
+  white-space: -pre-wrap;     /* Opera 4-6 */
+  white-space: -o-pre-wrap;   /* Opera 7 */
+  word-wrap: break-word;      /* IE */
+}
+.titleTableTopNav, .titleTableSubNav, .logoImage {
+  display: none;
+}
+.packageFrame {
+  display: none;
+}
+.titleTableSubTitle {
+  font-weight: bold;
+}
+.classHeaderTableLabel {
+	padding-right: 10px;
+	vertical-align: top;
+}
+.showHideLinks {
+  display: none;
+}
+html>body code {
+  font-size: 10pt;
+}
+.summaryTableTitle, .detailSectionHeader {
+  font-size: 14pt;
+  font-weight: bold;
+  padding-top: 15px;
+  padding-bottom: 5px;
+}
+.summaryTable {
+  border: 1px solid #000000;
+  border-collapse: collapse;
+  width: 100%;
+}
+.summaryTableDescription {
+  padding-bottom: 20px;
+}
+.summaryTableSignatureCol, .summaryTableOwnerCol, .summaryTableLastCol, .summaryTableCol {
+  border: 1px solid #000000;
+}
+.summaryTablePaddingCol {
+  border: 1px solid #000000;
+  border-right: 0px;
+}
+.summaryTableInheritanceCol, .summaryTableOperatorCol, .summaryTableStatementCol, .summaryTableSecondCol {
+  border: 1px solid #000000;
+  border-left: 0px;
+}
+.summaryTableLastCol {
+  vertical-align: top;
+}
+.detailHeader {
+  font-size: 13pt;
+  padding-top: 100px;
+}
+.detailHeaderName {
+  font-weight: bold;
+}
+.detailHeaderType {
+  padding-left: 5px;
+}
+.detailHeaderRule {
+  background: #FF0000;
+}
+.seeAlso {
+  padding-bottom: 20px;
+  margin-top: -20px;
+}
+.innertable {
+  border-collapse: collapse;
+}
+.innertable td,.innertable th {
+  border: 1px solid #000000;
+  padding-left: 5px;
+  padding-right: 5px;
+}
+.listing {
+  font-size: 10pt;
+}
+.feedbackLink {
+  display: none;
+}
+.copyright {
+  font-size: 10pt;
+}
\ No newline at end of file

Propchange: incubator/flex/trunk/asdoc/templates/print.css
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: incubator/flex/trunk/asdoc/templates/processHTML.xslt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/processHTML.xslt?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/processHTML.xslt (added)
+++ incubator/flex/trunk/asdoc/templates/processHTML.xslt Tue Apr  3 16:52:07 2012
@@ -0,0 +1,413 @@
+<?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://saxon.sf.net/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ifn="urn:internal:functions"
+  exclude-result-prefixes="saxon xs ifn">
+  <xsl:import href="asdoc-util.xslt"/>
+  <xsl:output method="html" encoding="UTF-8" omit-xml-declaration="yes" use-character-maps="disable" indent="no"/>
+  <xsl:param name="titleBarFile" select="''"/>
+  <xsl:param name="index-file" select="''"/>
+  <xsl:param name="package-frame" select="''"/>
+  <xsl:param name="liveDocsTitleBarFile" select="''"/>
+  <xsl:param name="packages_map_name" select="'packagemap.xml'"/>
+  <xsl:param name="prog_language_name" select="''"/>
+  <xsl:template match="/">
+    <xsl:choose>
+      <xsl:when test="$liveDocsTitleBarFile = '' and  $titleBarFile = ''">
+        <xsl:apply-templates select="./html"/>
+      </xsl:when>
+      <xsl:when test="$isLiveDocs">
+        <xsl:apply-templates select="document($liveDocsTitleBarFile)/html"/>
+      </xsl:when>
+      <xsl:when test="$isStandalone">
+        <xsl:apply-templates select="document($titleBarFile)/html"/>
+      </xsl:when>
+      <xsl:when test="$prog_language_name='javascript'"/>
+      <xsl:otherwise>
+        <xsl:apply-templates select="document($titleBarFile)/html"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="node() | @*" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@* | node()"/>
+    </xsl:copy>
+  </xsl:template>
+  <xsl:template match="html">
+    <xsl:copy-of select="$noLiveDocs"/>
+    <xsl:choose>
+      <xsl:when test=".//frameset">
+        <xsl:copy-of select="$frameDocType"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$docType"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:choose>
+      <xsl:when test="$isLiveDocs"/>
+      <xsl:otherwise>
+        <xsl:value-of select="$markOfTheWeb"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:element name="html">
+      <xsl:apply-templates/>
+      <xsl:copy-of select="$copyrightComment"/>
+      <xsl:value-of select="$newline"/>
+    </xsl:element>
+  </xsl:template>
+  <xsl:template match="title">
+    <xsl:choose>
+        <xsl:when test="$index-file">
+		<xsl:copy>
+		  <xsl:value-of select="$config/windowTitle"/>
+		</xsl:copy>
+        </xsl:when>
+        <xsl:when test="$package-frame">
+          <title>
+            <xsl:value-of select="$config/title"/>
+          </title>
+        </xsl:when>
+        <xsl:when test="$titleBarFile">
+          <title>
+            <xsl:value-of select="$config/title"/>
+          </title>
+        </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy>
+          <xsl:value-of select="$config/title"/>
+        </xsl:copy>
+      </xsl:otherwise>
+    </xsl:choose>
+    <link rel="stylesheet" href="style.css" type="text/css" media="screen"/>
+    <link rel="stylesheet" href="print.css" type="text/css" media="print"/>
+    <link rel="stylesheet" href="override.css" type="text/css"/>
+  </xsl:template>
+  <xsl:template match="head/link"/>
+  <xsl:template name="script">
+    <xsl:variable name="loc.search">
+      <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SearchResults']]/entry[2]/p"/>
+    </xsl:variable>
+    <script language="javascript" type="text/javascript">
+      <xsl:text>&#xa;</xsl:text>function submitValue(){
+      <xsl:text>&#xa;</xsl:text>
+      var searchStr=document.getElementById('search-livedocs').value; var windowLocation=window.top.location.href.split("###");      window.top.location=windowLocation[0]+"###"+searchStr; parent.frames["classFrame"].location = "search.html";      document.getElementById('subTitle').childNodes.item(0).data = "<xsl:value-of select="$loc.search"/>"; document.getElementById('search-livedocs').value=searchStr;      return false; <xsl:text>&#xa;</xsl:text><xsl:text>}</xsl:text>      <xsl:value-of select="$newline"/>      <xsl:text>&#xa;</xsl:text> function noFrms(){ var doc =      parent.frames["classFrame"].location.href.substring(window.location.href.lastIndexOf("/")+1); if(doc=="search.html"){ var      curLoc=window.top.location.href.split("?"); var openFile; if(curLoc[1]!=null){ curLoc = curLoc[1].split("###"); curLoc =      curLoc[0].split("&amp;"); openFile = window.top.location.href.substring(0,window.top.location.href.lastIndexOf("?")+1); openFile =      openFile.substring
 (0,openFile.lastIndexOf("/")+1)+curLoc[0]; }else{ curLoc[0]="overview.html"; openFile =      window.top.location.href.substring(0,window.top.location.href.lastIndexOf("/")+1)+curLoc[0]; } top.location=openFile; }else{      top.location=top.classFrame.location;
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:text>}</xsl:text>
+      <xsl:text>&#xa;</xsl:text>}
+    </script>
+  </xsl:template>
+  <xsl:template match="td[@class='titleTableTitle']">
+    <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:choose>
+        <xsl:when test="$prog_language_name='javascript'"/>
+        <xsl:otherwise>
+          <xsl:value-of select="$config/title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:copy>
+    <xsl:choose>
+      <xsl:when test="$config/options[@standalonesearch='true']">
+        <td class="titleTableSearch" align="center">
+          <form class="searchForm" method="get" onsubmit="return submitValue();">
+            <input class="hidden" name="loc" value="{$liveDocsSearchLocale}" type="hidden"/>
+            <input class="hidden" name="termPrefix" value="" type="hidden"/>
+            <input class="hidden" name="term" value="" type="hidden"/>
+            <input class="hidden" name="area" value="" type="hidden"/>
+            <input id="search-livedocs" name="search_text" value="" title="{$liveDocsSearchString}" type="text"/>
+            <xsl:text> </xsl:text>
+            <input type="button" name="action" value="{$liveDocsSearch}" onclick="submitValue()"/>
+          </form>
+        </td>
+      </xsl:when>
+      <xsl:when test="$config/options[@ion='true']">
+        <td class="titleTableSearch" align="center">
+          <xsl:comment>#include virtual="/livedocs/flex/3/langref/ionsearchform.ssi"</xsl:comment>
+        </td>
+      </xsl:when>
+      <xsl:when test="$config/options[@livedocs='true']">
+        <td class="titleTableSearch" align="center">
+          <form class="searchForm" method="get" action="http://www.adobe.com/cfusion/search/index.cfm" target="adbe_window"
+            onsubmit="this.term.value= this.termPrefix.value + &quot;\&quot;&quot; + this.search_text.value + &quot;\&quot;&quot;;">
+            <input class="hidden" name="loc" value="en" type="hidden"/>
+            <input class="hidden" name="termPrefix" value="site:livedocs.adobe.com/labs/flex3   " type="hidden"/>
+            <input class="hidden" name="term" value="" type="hidden"/>
+            <input class="hidden" name="area" value="" type="hidden"/>
+            <input id="search-livedocs" name="search_text" value="" title="Search" type="text"/>
+            <input type="submit" name="action" value="Search"/>
+          </form>
+        </td>
+      </xsl:when>
+      <xsl:otherwise>
+        <td class="titleTableSearch" align="center">&#xA0;</td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="td[@class='titleTableSearch']"/>
+  <xsl:template match="tr[@class='titleTableRow3']/td[@colspan='2']">
+    <xsl:choose>
+      <xsl:when test="$config/options[@standalonesearch='true']">
+        <td colspan="3">&#xA0;</td>
+      </xsl:when>
+      <xsl:otherwise>
+        <td colspan="3">&#xA0;</td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="tr[@class='titleTableRow2']/td[@class='titleTableSubTitle']">
+    <xsl:choose>
+      <xsl:when test="$config/options[@standalonesearch='true']">
+        <td class="titleTableSubTitle" id="subTitle" align="left" colspan="2">&#xA0;</td>
+      </xsl:when>
+      <xsl:otherwise>
+        <td class="titleTableSubTitle" id="subTitle" align="left" colspan="2">&#xA0;</td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="h3">
+    <xsl:variable name="localized_value">
+      <xsl:choose>
+        <xsl:when test="normalize-space(.) = 'Index'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Index</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="."/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:value-of select="$localized_value"/>
+    </xsl:copy>
+  </xsl:template>
+  <xsl:template match="a">
+    <xsl:variable name="re-value" select="normalize-space(.)"/>
+    <xsl:variable name="value" select="replace($re-value,'&lt;','&amp;lt;')"/>
+    <xsl:variable name="localized_value">
+      <xsl:choose>
+        <xsl:when test="$value = 'All Classes'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">allClasses</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'All Packages'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">allPackages</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Language Elements'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">LanguageElements</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Appendixes'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Appendix</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Index'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Index</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Conventions'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Conventions</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'No Frames'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">NoFrames</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Properties'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Properties</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Constructor'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Constructor</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Methods'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Methods</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Functions'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Functions</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Events'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Events</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Effects'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Effects</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Constants'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Constants</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Interfaces'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Interfaces</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Classes'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Classes</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Examples'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Examples</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Styles'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Styles</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        
+        <xsl:when test="$value = 'Skin States'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">SkinStates</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$value = 'Skin Parts'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">SkinParts</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        
+        <xsl:when test="$value = 'Symbols'">
+          <xsl:call-template name="getLocalizedString">
+            <xsl:with-param name="key">Symbols</xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$value"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:value-of select="$localized_value"/>
+    </xsl:copy>
+  </xsl:template>
+  <!-- PSEN: 06/02/2008 We should always show the "No Frames" link  <xsl:template match="a[@onclick='top.location=top.classFrame.location']">    <xsl:if test="$config/options[@standalonesearch='true']">	  <a href="" onclick="noFrms();">          <xsl:call-template name="getLocalizedString">            <xsl:with-param name="key">NoFrames</xsl:with-param>          </xsl:call-template>      </a>    </xsl:if>  </xsl:template>-->
+  <xsl:template match="script">
+    <xsl:element name="script">
+      <xsl:apply-templates select="@* | node()"/>
+      <xsl:value-of select="$newline"/>
+    </xsl:element>
+    <xsl:if test="$config/options[@standalonesearch='true']">
+      <xsl:call-template name="script"/>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match="text()">
+    <xsl:value-of disable-output-escaping="no" select="."/>
+  </xsl:template>
+  <xsl:template match="comment()">
+    <xsl:comment>
+      <xsl:value-of disable-output-escaping="yes" select="."/>
+    </xsl:comment>
+  </xsl:template>
+  <xsl:template match="input[@name='termPrefix']/@value">
+    <xsl:attribute name="value">
+      <xsl:value-of select="$config/livedocs/searchsite/."/>
+    </xsl:attribute>
+  </xsl:template>
+  <xsl:template match="input/@value[.='Search']">
+    <xsl:attribute name="value">
+      <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'searchLivedocs']]/entry[2]/p"/>
+    </xsl:attribute>
+  </xsl:template>
+  <xsl:template match="input[@name='loc']/@value">
+    <xsl:attribute name="value">
+      <xsl:value-of select="$config/livedocs/locale/."/>
+    </xsl:attribute>
+  </xsl:template>
+  <xsl:template match="input[@name='search_text']/@title">
+    <xsl:attribute name="title">
+      <xsl:value-of select="$config/livedocs/searchstring/."/>
+    </xsl:attribute>
+  </xsl:template>
+  <xsl:template match="input[@name='action']">
+    <xsl:if test="$config/options[@standalonesearch='true']">
+      <input>
+        <xsl:attribute name="type">
+          <xsl:if test="contains(@type,'submit')">
+            <xsl:value-of select="replace(@type,'submit','button')"/>
+          </xsl:if>
+        </xsl:attribute>
+        <xsl:attribute name="name">
+          <xsl:value-of select="'action'"/>
+        </xsl:attribute>
+        <xsl:attribute name="value">
+          <xsl:value-of select="'Search'"/>
+        </xsl:attribute>
+        <xsl:attribute name="onclick">
+          <xsl:value-of select="'submitValue()'"/>
+        </xsl:attribute>
+      </input>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match="form/@action">
+    <xsl:attribute name="action">
+      <xsl:value-of select="$config/livedocs/searchservlet/."/>
+    </xsl:attribute>
+  </xsl:template>
+  <xsl:template match="frameset/@rows">
+    <xsl:choose>
+      <xsl:when test="$prog_language_name='javascript'"/>
+      <xsl:otherwise>
+        <xsl:if test="$index-file">
+          <xsl:attribute name="rows">
+            <xsl:text>80,*</xsl:text>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:if test="$package-frame">
+          <xsl:attribute name="rows">
+            <xsl:text>40%,60%</xsl:text>
+          </xsl:attribute>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="td[@class='titleTableTopNav']">
+    <xsl:choose>
+      <xsl:when test="$prog_language_name='javascript'"/>
+      <xsl:otherwise>
+        <td class="titleTableTopNav" align="right">
+          <xsl:apply-templates/>
+        </td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+</xsl:stylesheet>

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

Added: incubator/flex/trunk/asdoc/templates/style.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/style.css?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/style.css (added)
+++ incubator/flex/trunk/asdoc/templates/style.css Tue Apr  3 16:52:07 2012
@@ -0,0 +1,584 @@
+/*
+ *
+ *  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.
+ *
+ */
+
+.titleTable {
+	width: 100%;
+}
+.titleTableTitle {
+	white-space: nowrap;
+	padding-left: 15px;
+	padding-right: 5px;
+	font-size: 13px;
+	height: 44px;
+	background-image: url(images/titleTableTop.jpg);
+	background-repeat: repeat-x;
+}
+.titleTableSearch {
+	white-space: nowrap;
+	background-image: url(images/titleTableTop.jpg);
+	background-repeat: repeat-x;
+	padding-right: 10px;
+	width: 220;
+}
+.searchForm {
+	margin-top: 0px;
+	margin-bottom: 0px;
+}
+.titleTableTopNav {
+	font-size: 12px;
+	background-image: url(images/titleTableTop.jpg);
+	background-repeat: repeat-x;
+}
+.titleTableLogo {
+	width: 76px;
+	height: 80px;
+	vertical-align: top;
+}
+.titleTableRow2 {
+	color: #000000;
+	height: 31px;
+	background-image: url(images/titleTableMiddle.jpg);
+	background-repeat: repeat-x;
+}
+.titleTableSubTitle {
+	font-size: 20px;
+	padding-left: 15px;
+	padding-right: 5px;
+}
+.titleTableSubNav {
+	//white-space: nowrap;
+	font-size: 12px;
+}
+.titleTableRow3 {
+	height: 5px;
+	background-image: url(images/titleTableBottom.jpg);
+	background-repeat: repeat-x;
+}
+.logoImage {
+	width: 76px;
+	height: 80px;
+}
+
+.classHeaderTable {
+	margin-top: 20px;
+}
+.classHeaderTable td {
+	vertical-align: top;
+	padding-bottom: 4px;
+}
+.classHeaderTableLabel {
+	font-weight: bold;
+	padding-right: 15px;
+}
+.classSignature {
+	text-indent: -20px;
+	padding-left: 20px;
+}
+.inheritanceList {
+	text-indent: -20px;
+	padding-left: 20px;
+}
+.inheritArrow {
+	width: 15px;
+	height: 9px;
+}
+.mxmlSyntax {
+	margin-bottom: -13px;
+}
+.collapsedImage {
+	width: 9px;
+	height: 9px;
+	border: 0;
+}
+.expandedImage {
+	width: 9px;
+	height: 9px;
+	border: 0;
+}
+.classFrameContent {
+	margin-right: 5px;
+	margin-left: 10px;
+	margin-top: 10px;
+	margin-bottom: 10px;
+}
+.classFrameContent td {
+	white-space: nowrap;
+	padding-right: 5px;
+}
+
+.eclipseBody {
+	display: none;
+}
+	
+/** html {
+	overflow-y:scroll;
+}*/
+
+img {
+	border:0;
+}
+
+.annotation {
+	font-size: 20px;
+	margin-top: 20px;
+}
+
+.label {
+	color: #444444;
+	font-weight: bold;
+}
+
+strong {
+	color: #444444;
+}
+
+.summarySection {
+	margin-left: 20px;
+	margin-right: 10px;
+}
+.summaryTableTitle {
+	font-weight: bold;
+	font-size: 18px;
+	padding-top: 20px;
+	padding-bottom: 5px;
+}
+* .summaryTable {
+	margin-top: 10px;
+	border: #999999 1px solid;
+	width: 100%;
+	margin-bottom: 20px;
+}
+html>body .summaryTable {
+	margin-top: 10px;
+	border: #999999 1px solid;
+	width: 100%;
+	margin-bottom: 20px;
+	margin-right: 10px;
+}
+.summaryTable th {
+	color: #FFFFFF;
+	background-color: #627C9D;
+	white-space: nowrap;
+}
+.summaryTable td {
+	border-top: #999999 1px solid;
+	vertical-align: top;
+}
+.summaryTablePaddingCol {
+	width: 5px;
+}
+.summaryTableInheritanceCol {
+	width: 14px;
+}
+.summaryTableSignatureCol {
+	padding-right: 10px;
+}
+.summaryTableOperatorCol {
+	padding-left: 10px;
+	padding-right: 10px;
+	font-weight: bold;
+}
+.summaryTableStatementCol {
+	padding-left: 10px;
+	padding-right: 10px;
+	font-weight: bold;
+	white-space: nowrap;
+}
+.summarySignature {
+	text-indent: -20px;
+	padding-left: 20px;
+}
+.summaryTableOwnerCol {
+	padding-right: 10px;
+	width: 10px;
+}
+.summaryTableCol, .summaryTableSecondCol {
+}
+.signatureLink {
+	font-weight: bold;
+}
+.summaryTableDescription {
+	color: #333333;
+}
+.summaryTableLastCol {
+	padding-right: 10px;
+}
+.inheritedSummaryImage {
+	width: 14px;
+	height: 14px;
+}
+
+.showHideLink {
+}
+.showHideLinkImage {
+	width: 9px;
+	height: 9px;
+}
+.hideInheritedConstant {
+	display: none;
+}
+.showInheritedConstant {
+	display: inline;
+}
+.hideInheritedProtectedConstant {
+	display: none;
+}
+.showInheritedProtectedConstant {
+	display: inline;
+}
+.hideInheritedProperty {
+	display: none;
+}
+.showInheritedProperty {
+	display: inline;
+}
+.hideInheritedProtectedProperty {
+	display: none;
+}
+.showInheritedProtectedProperty {
+	display: inline;
+}
+.hideInheritedMethod {
+	display: none;
+}
+.showInheritedMethod {
+	display: inline;
+}
+.hideInheritedProtectedMethod {
+	display: none;
+}
+.showInheritedProtectedMethod {
+	display: inline;
+}
+.hideInheritedEvent {
+	display: none;
+}
+.showInheritedEvent {
+	display: inline;
+}
+.hideInheritedStyle {
+	display: none;
+}
+.showInheritedStyle {
+	display: inline;
+}
+.hideInheritedEffect {
+	display: none;
+}
+.showInheritedEffect {
+	display: inline;
+}
+
+
+.detailSectionHeader {
+	color: #434343;
+	font-size: 18px;
+	padding-left: 10px;
+	padding-top: 4px;
+	padding-bottom: 4px;
+	margin-top: 40px;
+	margin-bottom: 3px;
+	background-image: url(images/detailSectionHeader.jpg);
+	background-repeat: repeat-x;
+}
+.detailHeader {
+	margin-left: 20px;
+	margin-top: 10px;
+	margin-bottom: 3px;
+}
+.detailHeaderName {
+	font-weight: bold;
+	font-size: 16px;
+	vertical-align: baseline;
+	white-space: nowrap;
+}
+.detailHeaderType {
+	font-size: 12px;
+	vertical-align: baseline;
+	padding-right: 10px;
+	padding-left: 7px;
+	white-space: nowrap;
+}
+.detailHeaderParens {
+	font-size: 14px;
+	font-weight: bold;
+	padding-left: 1px;
+	padding-bottom: 2px;
+}
+.detailHeaderRule {
+	background-image: url(images/detailHeaderRule.jpg);
+	background-repeat: repeat-x;
+	width: 100%;
+	background-position: 50%;
+}
+.detailBody {
+	margin-left: 20px;
+	margin-right: 15px;
+	margin-bottom: 20px;
+}
+.exampleHeader {
+	background-color: #C8D1DF;
+	padding-left: 10px;
+	padding-top: 3px;
+	padding-bottom: 3px;
+}
+
+.seeAlso {
+	margin-top: -13px;
+	padding-left: 20px;
+}
+
+/*
+#header {
+	padding: 0;
+	margin: 0;
+	border: 2px solid
+}
+*/
+
+body {
+	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
+	color: #000000;
+	background-color:#FFFFFF;
+	margin: 0px;
+	padding: 0px;
+}
+
+body, td, th {
+	font-size: 13px;
+}
+
+.MainContent {
+	margin-left: 20px;
+	margin-right: 10px;
+	margin-bottom: 10px;
+}
+
+code {
+	font-family: "Lucida Console", "Courier New", Courier, monospace; 
+	font-size: 12px;
+}
+pre {
+	font-family: "Lucida Console", "Courier New", Courier, monospace; 
+	font-size: 12px;
+}
+
+th	{
+	text-align: left;
+	font-weight: bold;
+	vertical-align: bottom;
+}
+
+table {
+	background-color: white;
+}
+
+table.withBorder {
+	border-color: #BBBBBB;
+	border-width: 1px;
+	border-style: solid;
+}
+
+.innertable {
+	border-collapse: collapse; /* to eliminate the default table cellspacing=2 */
+}
+
+.innertable th {
+	border: 1px solid #000000;
+	background:#DDDDDD;
+	padding: 2px 3px 2px 3px;
+}
+
+.innertable td {
+	border: 1px solid #000000;
+	padding: 2px 3px 2px 3px;
+}
+
+.paramSpacer {
+	font-size: 5px;
+}
+
+/* Custom Classes */
+.row0 {
+	background-color: #F2F2F2;
+}
+
+.row1 {
+	background-color: #FFFFFF;
+}
+
+.prow0 {
+	background-color: #F2F2F2;
+}
+
+.prow1 {
+	background-color: #FFFFFF;
+}
+
+.idxrow {
+	padding-top: 5px;
+}
+
+.SummaryTableHeader {
+    background-color: #CCCCCC;
+}
+
+.InheritedTableHeader {
+    background-color: #EEEEEE;
+}
+
+.PackageTableHeader {
+    background-color: #EEEEEE;
+}
+
+
+/* Links */
+a:link {
+	color: #0000CC;
+	text-decoration: none;
+}
+
+a:visited {
+    color: #0000CC;
+	text-decoration: none;
+}
+
+a:hover {
+	text-decoration: underline;
+	color: #0000CC;
+}
+
+a:active {
+	text-decoration: none;
+	color: #CC0000;
+}
+
+/* Headings */
+h1, h2, h3, h4, h5, h6	{
+	font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
+	font-weight: bold;
+	margin-top: 3px;
+	margin-bottom: 3px;
+	letter-spacing: 1px;
+	width: 90%;
+}
+
+h1 {
+	font-size: 18px;
+}
+
+h2 {
+	font-size: 16px;
+}
+
+h3 {
+	font-size: 14px;
+}
+
+h4 {
+	font-size: 12px;
+	color: #666666;
+}
+
+h5 {
+	font-size: 11px;
+}
+.copyright {
+   margin-top: 30px;
+   color: #777777;
+   font-size: 10px;
+   padding-bottom: 5px;
+}
+.inheritanceList {
+	line-height: 19px;
+}
+.private {
+    color: #999999;
+}
+.flashonly {
+    color: #000000;
+}
+.flexonly {
+    display:none;
+    color: #000000;
+}
+.hide {
+	display:none;
+}
+.feedbackLink {
+/*	display:none;  */
+}
+
+/* IE */
+* html .listing {
+   width: 93%;
+   padding-left: 6%;
+   padding-right: 5px;
+   padding-top: 5px;
+   padding-bottom: 5px;
+   overflow-x: auto;	
+   background-color: #F2F2F2;
+   margin-bottom: 10px;
+   margin-top: 10px;
+   font-family: "Lucida Console", "Courier New", Courier, monospace;
+   font-size: 12px;
+}
+
+/* Firefox, Netscape */
+html>body .listing pre
+{
+   overflow: auto;
+   padding-left: 40px;
+   padding-right: 5px;
+   padding-top: 5px;
+   padding-bottom: 5px;
+   background-color: #F2F2F2;
+   margin-top: 10px;
+   margin-bottom: 10px;
+   font-family: "Lucida Console", "Courier New", Courier, monospace;
+   font-size: 12px;
+}   
+
+.listingIcons
+{
+	padding: 0px;
+	margin-top: 10px;
+	height: 15px;
+}  
+
+.pageTop
+{
+	height:10px;
+}
+
+.hideInheritedSkinState {
+	display: none;
+}
+
+.showInheritedSkinState {
+	display: inline;
+}
+
+.hideInheritedSkinPart {
+	display: none;
+}
+
+.showInheritedSkinPart {
+	display: inline;
+}

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

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

Added: incubator/flex/trunk/asdoc/templates/stylesSummary.xslt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/stylesSummary.xslt?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/stylesSummary.xslt (added)
+++ incubator/flex/trunk/asdoc/templates/stylesSummary.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="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="apiClassifierDetail"/>
+			<xsl:apply-templates select="prolog/asMetadata"/>
+		</apiClassifier>
+	</xsl:template>
+	<xsl:template match="apiClassifierDetail">
+		<apiClassifierDetail>
+			<xsl:apply-templates select="apiClassifierDef"/>
+		</apiClassifierDetail>
+	</xsl:template>
+	<xsl:template match="prolog/asMetadata">
+		<prolog>
+			<asMetadata>
+				<xsl:apply-templates select="styles"/>
+			</asMetadata>
+		</prolog>
+	</xsl:template>
+	<xsl:template match="styles">
+		<styles>
+			<xsl:apply-templates select="node()"/>
+		</styles>
+	</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/stylesSummary.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/trunk/asdoc/templates/title-bar.html
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/title-bar.html?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/title-bar.html (added)
+++ incubator/flex/trunk/asdoc/templates/title-bar.html Tue Apr  3 16:52:07 2012
@@ -0,0 +1,58 @@
+<!--
+  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 Reference</title>
+		<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
+		<link rel="stylesheet" href="print.css" type="text/css" media="print" />
+		<script language="javascript" type="text/javascript" src="asdoc.js" />
+	</head>
+	<body>
+		<a name="top"></a>
+		<table class="titleTable" cellpadding="0" cellspacing="0">
+		  <tr>
+			<td>
+			  <table class="titleTable" cellpadding="0" cellspacing="0">
+				<tr>
+				  <td class="titleTableTitle" align="left">ActionScript&#xA0;3.0&#xA0;Language&#xA0;and&#xA0;Components&#xA0;Reference</td>
+				  <td class="titleTableTopNav" align="right">
+					<a target="classFrame" href="package-summary.html" onclick="loadClassListFrame('all-classes.html')"> All Packages </a>&#xA0;|&#xA0;<a target="classFrame" href="class-summary.html" onclick="loadClassListFrame('all-classes.html')"> All Classes </a>&#xA0;|&#xA0;<a target="classFrame" href="all-index-A.html" onclick="loadClassListFrame('index-list.html')"> Index </a>&#xA0;|&#xA0;<a href="" onclick="top.location=top.classFrame.location"> No Frames </a>
+				  </td>
+				</tr>
+			  </table>
+			</td>
+			<td class="titleTableLogo" align="right" rowspan="3"><img src="images/logo.jpg" class="logoImage" title="Apache Flex Logo" alt="Apache Flex Logo" /></td>
+		  </tr>
+		  <tr>
+			<td>
+			  <table class="titleTable" cellpadding="0" cellspacing="0">
+				<tr class="titleTableRow2">
+				  <td class="titleTableSubTitle" id="subTitle" align="left">&#xA0;</td>
+				  <td class="titleTableSubNav" id="subNav" align="right">
+					<a id="propertiesLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('propertySummary');" style="display:none">Properties</a><span id="propertiesBar" style="display:none"> | </span><a id="packagePropertiesLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('propertySummary');" style="display:none">Properties</a><span id="packagePropertiesBar" style="display:none"> | </span><a id="constructorLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('constructorSummary');" style="display:none">Constructor</a><span id="constructorBar" style="display:none"> | </span><a id="methodsLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('methodSummary');" style="display:none">Methods</a><span id="methodsBar" style="display:none"> | </span><a id="packageFunctionsLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('methodSummary');" style="display:none">Functions</a><span id="packageFunctionsBar" style="displ
 ay:none"> | </span><a id="eventsLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('eventSummary');" style="display:none">Events</a><span id="eventsBar" style="display:none"> | </span><a id="stylesLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('styleSummary');" style="display:none">Styles</a><span id="stylesBar" style="display:none"> | </span><a id="SkinPartLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('SkinPartSummary');" style="display:none"> Skin Parts </a><span id="SkinPartBar" style="display:none"> | </span><a id="SkinStateLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('SkinStateSummary');" style="display:none"> Skin States </a><span id="SkinStateBar" style="display:none"> | </span><a id="effectsLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('effectSummary');" style="display:none">Effects</a><span id="effectsBar" style="display:none"> | </span><a id="constantsLink" href
 ="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('constantSummary');" style="display:none">Constants</a><span id="constantsBar" style="display:none"> | </span><a id="packageConstantsLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('constantSummary');" style="display:none">Constants</a><span id="packageConstantsBar" style="display:none"> | </span><a id="interfacesLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('interfaceSummary');" style="display:none">Interfaces</a><span id="interfacesBar" style="display:none"> | </span><a id="classesLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('classSummary');" style="display:none">Classes</a><span id="classesBar" style="display:none"> | </span><a id="packageUseLink" href="#top" onclick="javascript:titleBar_gotoClassFrameAnchor('package-use.html');" style="display:none">Use</a><span id="packageUseBar" style="display:none"> | </span><a id="examplesLink" href="#top" onclic
 k="javascript:titleBar_gotoClassFrameAnchor('includeExamplesSummary');" style="display:none">Examples</a>
+				  </td>
+				</tr>
+				<tr class="titleTableRow3">
+				  <td colspan="3">&#xA0;</td>
+				</tr>
+			  </table>
+			</td>
+		  </tr>
+		</table>
+	</body>
+</html>
+

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

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