[graphic-forms-cvs] r345 - trunk/docs/manual

junrue at common-lisp.net junrue at common-lisp.net
Wed Oct 18 07:46:35 UTC 2006


Author: junrue
Date: Wed Oct 18 03:46:35 2006
New Revision: 345

Removed:
   trunk/docs/manual/ApiReference.html
   trunk/docs/manual/ConstantsAndVariables.html
   trunk/docs/manual/Footnotes.html
   trunk/docs/manual/Glossary.html
   trunk/docs/manual/Graphic-FormsProgrammingReference.wcp
   trunk/docs/manual/GraphicsPackage.html
   trunk/docs/manual/ImageDataPlugins.html
   trunk/docs/manual/Introduction.html
   trunk/docs/manual/LegalInfo.html
   trunk/docs/manual/MiscellaneousTopics.html
   trunk/docs/manual/Prerequisites.html
   trunk/docs/manual/Support.html
   trunk/docs/manual/SystemPackage.html
   trunk/docs/manual/TerminologyConventions.html
   trunk/docs/manual/WidgetsPackage.html
Modified:
   trunk/docs/manual/gf-data.xsl
   trunk/docs/manual/gfs-function-data.xml
   trunk/docs/manual/gfs-type-data.xml
   trunk/docs/manual/graphic-forms.css
Log:
 

Modified: trunk/docs/manual/gf-data.xsl
==============================================================================
--- trunk/docs/manual/gf-data.xsl	(original)
+++ trunk/docs/manual/gf-data.xsl	Wed Oct 18 03:46:35 2006
@@ -18,6 +18,14 @@
     <xsl:value-of select="concat(../@name,':', at name)"/>
   </xsl:template>
 
+  <xsl:template name="emit-index-term">
+    <xsl:element name="indexterm">
+      <xsl:element name="primary">
+        <xsl:value-of select="@name"/>
+      </xsl:element>
+    </xsl:element>
+  </xsl:template>
+
   <xsl:template name="emit-table">
     <xsl:param name="col2-width"/>
 
@@ -79,6 +87,21 @@
     </xsl:element>
   </xsl:template>
 
+  <xsl:template name="emit-ref-target">
+    <xsl:param name="role">normal</xsl:param>
+    <xsl:choose>
+      <xsl:when test="$role='small'">
+        <xsl:element name="para">
+          <xsl:attribute name="role"><xsl:value-of select="$role"/></xsl:attribute>
+          <xsl:value-of select="."/>
+        </xsl:element>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="."/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
   <xsl:template match="refargument">
     <xsl:element name="emphasis">
       <xsl:value-of select="."/>
@@ -86,29 +109,38 @@
   </xsl:template>
 
   <xsl:template match="reftopic">
+    <xsl:param name="role">normal</xsl:param>
     <xsl:element name="link">
       <xsl:attribute name="linkend"><xsl:value-of select="."/></xsl:attribute>
-      <xsl:value-of select="."/>
+      <xsl:call-template name="emit-ref-target">
+        <xsl:with-param name="role"><xsl:value-of select="$role"/></xsl:with-param>
+      </xsl:call-template>
     </xsl:element>
   </xsl:template>
 
   <xsl:template match="refclhs">
+    <xsl:param name="role">normal</xsl:param>
     <xsl:variable name="tmp" select="string()"/>
     <xsl:element name="ulink">
       <xsl:attribute name="url">
         <xsl:value-of select="$clhs-table//entry[string(@name)=$tmp]/@url"/>
       </xsl:attribute>
-      <xsl:value-of select="."/>
+      <xsl:call-template name="emit-ref-target">
+        <xsl:with-param name="role"><xsl:value-of select="$role"/></xsl:with-param>
+      </xsl:call-template>
     </xsl:element>
   </xsl:template>
 
   <xsl:template match="refwin32api">
+    <xsl:param name="role">normal</xsl:param>
     <xsl:variable name="tmp" select="string()"/>
     <xsl:element name="ulink">
       <xsl:attribute name="url">
         <xsl:value-of select="$win32-table//entry[string(@name)=$tmp]/@url"/>
       </xsl:attribute>
-      <xsl:value-of select="."/>()
+      <xsl:call-template name="emit-ref-target">
+        <xsl:with-param name="role"><xsl:value-of select="$role"/></xsl:with-param>
+      </xsl:call-template>
     </xsl:element>
   </xsl:template>
 
@@ -154,19 +186,47 @@
   </xsl:template>
 
   <xsl:template match="inherits">
-    <xsl:element name="para">
-      <xsl:attribute name="role">normal</xsl:attribute>
-      inherits:<xsl:apply-templates/>
+    <xsl:element name="row">
+      <xsl:element name="entry">
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:element name="para">
+          <xsl:attribute name="role">small</xsl:attribute>
+          inherits:
+        </xsl:element>
+      </xsl:element>
+      <xsl:element name="entry">
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:apply-templates>
+          <xsl:with-param name="role">small</xsl:with-param>
+        </xsl:apply-templates>
+      </xsl:element>
     </xsl:element>
   </xsl:template>
 
   <xsl:template match="inheritedby">
-    <xsl:element name="para">
-      <xsl:attribute name="role">normal</xsl:attribute>
-      inherited by:<xsl:apply-templates/>
+    <xsl:element name="row">
+      <xsl:element name="entry">
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:element name="para">
+          <xsl:attribute name="role">small</xsl:attribute>
+          inherited by:
+        </xsl:element>
+      </xsl:element>
+      <xsl:element name="entry">
+        <xsl:attribute name="valign">top</xsl:attribute>
+        <xsl:apply-templates>
+          <xsl:with-param name="role">small</xsl:with-param>
+        </xsl:apply-templates>
+      </xsl:element>
     </xsl:element>
   </xsl:template>
 
+  <xsl:template match="hierarchy">
+    <xsl:call-template name="emit-table">
+      <xsl:with-param name="col2-width">8*</xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
   <xsl:template match="*/seealso">
     <xsl:element name="bridgehead">
       <xsl:attribute name="renderas">sect2</xsl:attribute>
@@ -195,20 +255,34 @@
     </xsl:element>
   </xsl:template>
 
-  <xsl:template match="slot-accessor/description">
-    <xsl:call-template name="emit-symbol-description"/>
+  <xsl:template match="condition/description">
+    <xsl:element name="bridgehead">
+      <xsl:attribute name="renderas">sect2</xsl:attribute>
+      description
+    </xsl:element>
+
+    <xsl:element name="para">
+      <xsl:attribute name="role">normal</xsl:attribute>
+      <xsl:apply-templates/>
+    </xsl:element>
   </xsl:template>
 
   <xsl:template match="slot-reader/description">
     <xsl:call-template name="emit-symbol-description"/>
   </xsl:template>
 
+  <xsl:template match="slot-accessor/description">
+    <xsl:call-template name="emit-symbol-description"/>
+  </xsl:template>
+
   <xsl:template name="emit-type-section">
     <xsl:param name="page-type"/>
 
     <xsl:element name="section">
       <xsl:attribute name="id"><xsl:call-template name="create-id"/></xsl:attribute>
 
+      <xsl:call-template name="emit-index-term"/>
+
       <xsl:element name="title">
         <xsl:call-template name="create-id"/>
       </xsl:element>
@@ -228,6 +302,8 @@
     <xsl:element name="section">
       <xsl:attribute name="id"><xsl:call-template name="create-id"/></xsl:attribute>
 
+      <xsl:call-template name="emit-index-term"/>
+
       <xsl:element name="title">
         <xsl:call-template name="create-id"/>
       </xsl:element>
@@ -248,6 +324,12 @@
     </xsl:call-template>
   </xsl:template>
 
+  <xsl:template match="/package/condition">
+    <xsl:call-template name="emit-type-section">
+      <xsl:with-param name="page-type">Condition</xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
   <xsl:template match="/package/slot-accessor">
     <xsl:call-template name="emit-function-section">
       <xsl:with-param name="page-type">Slot Accessor</xsl:with-param>

Modified: trunk/docs/manual/gfs-function-data.xml
==============================================================================
--- trunk/docs/manual/gfs-function-data.xml	(original)
+++ trunk/docs/manual/gfs-function-data.xml	Wed Oct 18 03:46:35 2006
@@ -9,9 +9,9 @@
 
   <slot-reader name="code">
     <arguments>
-      <argument name="condition" type="cl:condition">
+      <argument name="condition">
         <description>
-          The <reftopic>win32-error</reftopic> or <reftopic>win32-warning</reftopic>
+          The <reftopic>gfs:win32-error</reftopic> or <reftopic>gfs:win32-warning</reftopic>
           object to be queried.
         </description>
       </argument>

Modified: trunk/docs/manual/gfs-type-data.xml
==============================================================================
--- trunk/docs/manual/gfs-type-data.xml	(original)
+++ trunk/docs/manual/gfs-type-data.xml	Wed Oct 18 03:46:35 2006
@@ -7,14 +7,16 @@
 
 <package name="gfs">
 
-  <class name="toolkit-error">
+  <condition name="toolkit-error">
     <description>
-      <inherits>
-        <refclhs>error</refclhs>
-      </inherits>
-      <inheritedby>
-        <reftopic>win32-error</reftopic>
-      </inheritedby>
+      <hierarchy>
+        <inherits>
+          <refclhs>error</refclhs>
+        </inherits>
+        <inheritedby>
+          <reftopic>gfs:win32-error</reftopic>
+        </inheritedby>
+      </hierarchy>
       This error is raised to indicate invalid argument values or inconsistent
       state.
     </description>
@@ -26,11 +28,43 @@
       </argument>
     </initargs>
     <seealso>
-      <reftopic>detail</reftopic>
-      <reftopic>toolkit-warning</reftopic>
-      <reftopic>win32-warning</reftopic>
+      <reftopic>gfs:detail</reftopic>
+      <reftopic>gfs:toolkit-warning</reftopic>
+      <reftopic>gfs:win32-warning</reftopic>
     </seealso>
-  </class>
+  </condition>
+
+  <condition name="win32-error">
+    <description>
+      <hierarchy>
+        <inherits>
+          <reftopic>gfs:toolkit-error</reftopic>
+        </inherits>
+        <inheritedby>
+          <reftopic>gfs:comdlg-error</reftopic>
+        </inheritedby>
+      </hierarchy>
+      This error is raised to indicate that a Win32 API function has failed.
+    </description>
+    <initargs>
+      <argument name=":code">
+        <description>
+          The error code returned by <refwin32api>GetLastError</refwin32api>.
+        </description>
+      </argument>
+      <argument name=":detail">
+        <description>
+          See <reftopic>gfs:toolkit-error</reftopic>.
+        </description>
+      </argument>
+    </initargs>
+    <seealso>
+      <reftopic>gfs:code</reftopic>
+      <reftopic>gfs:detail</reftopic>
+      <reftopic>gfs:toolkit-warning</reftopic>
+      <reftopic>gfs:win32-warning</reftopic>
+    </seealso>
+  </condition>
 
 </package>
 

Modified: trunk/docs/manual/graphic-forms.css
==============================================================================
--- trunk/docs/manual/graphic-forms.css	(original)
+++ trunk/docs/manual/graphic-forms.css	Wed Oct 18 03:46:35 2006
@@ -37,7 +37,7 @@
     font-family: { Arial, Helvetica, sans-serif; }
 }
 
-p.small {
+a.small, p.small {
     font-size: 11;
     font-family: { Arial, Helvetica, sans-serif; }
 }



More information about the Graphic-forms-cvs mailing list