PERFORCE change 82735 for review

Murray Stokely murray at FreeBSD.org
Mon Aug 29 01:53:30 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=82735

Change 82735 by murray at murray_doc on 2005/08/29 01:53:23

	Get email field from slidesinfo/author/email and be more
	intelligent about numbering the slides.

Affected files ...

.. //depot/projects/docbook_slides/share/openoffice/BSDi.xsl#4 edit

Differences ...

==== //depot/projects/docbook_slides/share/openoffice/BSDi.xsl#4 (text+ko) ====

@@ -11,7 +11,6 @@
 
   <xsl:variable name="base" select="'.'"/>
   <xsl:variable name="date" select="'$Id$'"/>
-  <xsl:variable name="title" select="'Murray Stokely Resume'"/>
 
   <xsl:output type="xml" encoding="iso-8859-1" indent="yes" />
   <xsl:include href="include.xsl"/>
@@ -394,7 +393,10 @@
 <text:p text:style-name="P3">
 <text:span text:style-name="T4">&lt;</text:span>
 <text:span text:style-name="T5">
-<text:a xlink:href="mailto:murray at freebsd.org">murray at freebsd.org</text:a>
+
+<xsl:variable name="slidesinfo-email" select="author/email"/>
+
+<text:a xlink:href="mailto:{$slidesinfo-email}"><xsl:value-of select="$slidesinfo-email"/></text:a>
 </text:span>
 <text:span text:style-name="T4">&gt;</text:span>
 </text:p>
@@ -412,8 +414,17 @@
 
 </xsl:template>
 
+<xsl:template match="author">
+<xsl:apply-templates select="firstname"/>
+<xsl:text> </xsl:text>
+<xsl:apply-templates select="surname"/>
+</xsl:template>
+
 <xsl:template match="foil">
-<draw:page draw:name="page2" draw:style-name="dp1" draw:id="2" draw:master-page-name="BSDi - Template" presentation:presentation-page-layout-name="AL2T19" xlink:href="./BSDi%20-%20WellsFargo.sdd#" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">
+<xsl:variable name="pagenum"><xsl:number value="position()" format="1"/></xsl:variable>
+<draw:page draw:style-name="dp1" draw:master-page-name="BSDi - Template" presentation:presentation-page-layout-name="AL2T19" xlink:href="./BSDi%20-%20WellsFargo.sdd#" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">
+  <xsl:attribute name="draw:name">page<xsl:value-of select="$pagenum"/></xsl:attribute>
+  <xsl:attribute name="draw:id"><xsl:value-of select="$pagenum"/></xsl:attribute>
 
 <draw:text-box presentation:style-name="pr4" draw:text-style-name="P8" draw:layer="layout" svg:width="23.912cm" svg:height="13.231cm" svg:x="2.059cm" svg:y="5.805cm" presentation:class="outline" presentation:user-transformed="true">
 


More information about the p4-projects mailing list