home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / Bureautique / OpenOffice / Apache_OpenOffice_4.1.1_Win_x86_install_fr.exe / openoffice1.cab / odf2uof_presentation.xsl < prev    next >
Extensible Markup Language  |  2014-02-25  |  199KB  |  3,396 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--***********************************************************
  3.  * 
  4.  * Licensed to the Apache Software Foundation (ASF) under one
  5.  * or more contributor license agreements.  See the NOTICE file
  6.  * distributed with this work for additional information
  7.  * regarding copyright ownership.  The ASF licenses this file
  8.  * to you under the Apache License, Version 2.0 (the
  9.  * "License"); you may not use this file except in compliance
  10.  * with the License.  You may obtain a copy of the License at
  11.  * 
  12.  *   http://www.apache.org/licenses/LICENSE-2.0
  13.  * 
  14.  * Unless required by applicable law or agreed to in writing,
  15.  * software distributed under the License is distributed on an
  16.  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  17.  * KIND, either express or implied.  See the License for the
  18.  * specific language governing permissions and limitations
  19.  * under the License.
  20.  * 
  21.  ***********************************************************-->
  22. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0" xmlns:uof="http://schemas.uof.org/cn/2003/uof" xmlns:Φí¿="http://schemas.uof.org/cn/2003/uof-spreadsheet" xmlns:µ╝ö="http://schemas.uof.org/cn/2003/uof-slideshow" xmlns:σ¡ù="http://schemas.uof.org/cn/2003/uof-wordproc" xmlns:µò░="http://www.w3.org/1998/Math/MathML" xmlns:σ¢╛="http://schemas.uof.org/cn/2003/graph" exclude-result-prefixes="office style text table draw fo xlink dc meta number presentation svg chart dr3d math form script config ooo ooow oooc dom xforms smil anim">
  23.     <xsl:output method="xml" indent="no" encoding="UTF-8" version="1.0" standalone="no" omit-xml-declaration="no"/>
  24.     <xsl:variable name="impresswithUnit">
  25.         <xsl:value-of select="/office:document/office:styles/style:style[@style:family='graphic']/style:graphic-properties/@svg:stroke-width"/>
  26.     </xsl:variable>
  27.     <xsl:variable name="uofUnit">
  28.         <xsl:choose>
  29.             <xsl:when test="contains($impresswithUnit,'inch')">inch</xsl:when>
  30.             <xsl:when test="contains($impresswithUnit,'cm')">cm</xsl:when>
  31.             <xsl:when test="contains($impresswithUnit,'mm')">mm</xsl:when>
  32.             <xsl:when test="contains($impresswithUnit,'pt')">pt</xsl:when>
  33.             <xsl:otherwise>cm</xsl:otherwise>
  34.         </xsl:choose>
  35.     </xsl:variable>
  36.     <xsl:variable name="cm-to-other">
  37.         <xsl:choose>
  38.             <xsl:when test="$uofUnit='cm'">1</xsl:when>
  39.             <xsl:when test="$uofUnit='inch'">0.394</xsl:when>
  40.             <xsl:when test="$uofUnit='pt'">28.346</xsl:when>
  41.             <xsl:when test="$uofUnit='mm'">10</xsl:when>
  42.             <xsl:when test="$uofUnit='pica'">2.364</xsl:when>
  43.             <xsl:otherwise>1</xsl:otherwise>
  44.         </xsl:choose>
  45.     </xsl:variable>
  46.     <xsl:key match="/office:document/office:automatic-styles/style:style | /office:document/office:styles/style:style" name="graphicset" use="@style:name"/>
  47.     <xsl:template match="/">
  48.         <xsl:apply-templates select="office:document"/>
  49.     </xsl:template>
  50.     <xsl:template match="office:document">
  51.         <uof:UOF xmlns:uof="http://schemas.uof.org/cn/2003/uof" xmlns:σ¢╛="http://schemas.uof.org/cn/2003/graph" xmlns:µò░="http://www.w3.org/1998/Math/MathML" xmlns:σ¡ù="http://schemas.uof.org/cn/2003/uof-wordproc" xmlns:µ╝ö="http://schemas.uof.org/cn/2003/uof-slideshow" xmlns:Φí¿="http://schemas.uof.org/cn/2003/uof-spreadsheet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uof:language="cn" uof:version="1.0" uof:locID="u0000" uof:mimetype="vnd.uof.presentation">    
  52.             <xsl:apply-templates select="office:meta"/>
  53.             <xsl:if test="//text:bookmark|//text:bookmark-start">
  54.             <uof:Σ╣ªτ¡╛Θ¢å uof:locID="u0027">
  55.                 <xsl:for-each select="//text:bookmark|//text:bookmark-start">
  56.                     <uof:Σ╣ªτ¡╛ uof:σÉìτº░="{@text:name}" uof:locID="u0028" uof:attrList="σÉìτº░">
  57.                         <uof:µûçµ£¼Σ╜ìτ╜« uof:σî║σƒƒσ╝òτö¿="{generate-id(.)}" uof:locID="u0029" uof:attrList="σî║σƒƒσ╝òτö¿"/>
  58.                     </uof:Σ╣ªτ¡╛>
  59.                 </xsl:for-each>
  60.             </uof:Σ╣ªτ¡╛Θ¢å>
  61.         </xsl:if>
  62.             <xsl:if test="/office:document/office:body/text:p/text:a | /office:document/office:body/text:p/draw:a">
  63.                 <uof:Θô╛µÄÑΘ¢å uof:locID="u0031">
  64.                     <xsl:for-each select="/office:document/office:body/text:p/text:a | /office:document/office:body/text:p/draw:a">
  65.                         <xsl:variable name="hyperStr" select="@xlink:href"/>
  66.                         <uof:Φ╢àτ║ºΘô╛µÄÑ uof:locID="u0032" uof:attrList="µáçΦ»åτ¼ª τ¢«µáç Σ╣ªτ¡╛ σ╝ŵá╖σ╝òτö¿ σ╖▓Φ«┐Θù«σ╝ŵá╖σ╝òτö¿ µÅÉτñ║ Θô╛µ║É">
  67.                             <xsl:if test="contains($hyperStr,'#')">
  68.                                 <xsl:attribute name="uof:Σ╣ªτ¡╛"><xsl:value-of select="substring-after($hyperStr,'#')"/></xsl:attribute>
  69.                                 <xsl:attribute name="uof:µÅÉτñ║"><xsl:value-of select="."/></xsl:attribute>
  70.                             </xsl:if>
  71.                             <xsl:variable name="num">
  72.                                 <xsl:number from="/office:document/office:body" level="any" count="text:p[text:a]"/>
  73.                             </xsl:variable>
  74.                             <xsl:attribute name="uof:Θô╛µ║É"><xsl:value-of select="concat('hlnk',$num)"/></xsl:attribute>
  75.                             <xsl:attribute name="uof:µáçΦ»åτ¼ª"><xsl:value-of select="concat('hyk_','hlnk',$num)"/></xsl:attribute>
  76.                             <xsl:if test="not(contains($hyperStr,'#'))">
  77.                                 <xsl:attribute name="uof:τ¢«µáç"><xsl:value-of select="$hyperStr"/></xsl:attribute>
  78.                                 <xsl:choose>
  79.                                     <xsl:when test="contains($hyperStr,'@')">
  80.                                         <xsl:attribute name="uof:µÅÉτñ║">Θô╛µÄÑσê░Θé«Σ╗╢σ£░σ¥Ç</xsl:attribute>
  81.                                     </xsl:when>
  82.                                     <xsl:otherwise>
  83.                                         <xsl:attribute name="uof:µÅÉτñ║">Θô╛µÄѵûçΣ╗╢</xsl:attribute>
  84.                                     </xsl:otherwise>
  85.                                 </xsl:choose>
  86.                             </xsl:if>
  87.                             <xsl:if test="@text:style-name">
  88.                                 <xsl:attribute name="uof:σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="@text:style-name"/></xsl:attribute>
  89.                             </xsl:if>
  90.                             <xsl:if test="@text:visited-style-name">
  91.                                 <xsl:attribute name="uof:σ╖▓Φ«┐Θù«σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="@text:visited-style-name"/></xsl:attribute>
  92.                             </xsl:if>
  93.                         </uof:Φ╢àτ║ºΘô╛µÄÑ>
  94.                     </xsl:for-each>
  95.                 </uof:Θô╛µÄÑΘ¢å>
  96.             </xsl:if>
  97.             <uof:σ»╣Φ▒íΘ¢å uof:locID="u0033">
  98.                 <xsl:apply-templates select="office:master-styles/style:handout-master" mode="styles"/>
  99.                 <xsl:apply-templates select="office:master-styles/style:master-page" mode="styles"/>
  100.                 <xsl:apply-templates select="office:body/office:presentation/draw:page" mode="styles"/>
  101.                 <xsl:apply-templates select="office:styles/style:presentation-page-layout/presentation:placeholder" mode="graphic"/>
  102.                 <xsl:apply-templates select="office:body/office:presentation/draw:page/presentation:notes" mode="styles"/>
  103.                 <xsl:for-each select="(/office:document/office:styles/draw:fill-image) | (/office:document/office:automatic-styles/draw:fill-image)">
  104.                     <uof:σà╢Σ╗ûσ»╣Φ▒í uof:locID="u0036" uof:attrList="µáçΦ»åτ¼ª σåàσ╡î σà¼σà▒τ▒╗σ₧ï τºüµ£ëτ▒╗σ₧ï">
  105.                         <xsl:attribute name="uof:µáçΦ»åτ¼ª"><xsl:value-of select="@draw:name"/></xsl:attribute>
  106.                         <xsl:attribute name="uof:σà¼σà▒τ▒╗σ₧ï">jpg</xsl:attribute>
  107.                         <xsl:attribute name="uof:σåàσ╡î">true</xsl:attribute>
  108.                         <uof:µò░µì« uof:locID="u0037">
  109.                             <xsl:value-of select="office:binary-data"/>
  110.                         </uof:µò░µì«>
  111.                     </uof:σà╢Σ╗ûσ»╣Φ▒í>
  112.                 </xsl:for-each>
  113.                 <xsl:for-each select="(/office:document/office:styles/style:style/style:graphic-properties/text:list-style/text:list-level-style-image) | (/office:document/office:automatic-styles/style:style/style:graphic-properties/text:list-style/text:list-level-style-image)">
  114.                     <uof:σà╢Σ╗ûσ»╣Φ▒í uof:locID="u0036" uof:attrList="µáçΦ»åτ¼ª σåàσ╡î σà¼σà▒τ▒╗σ₧ï τºüµ£ëτ▒╗σ₧ï">
  115.                         <xsl:attribute name="uof:µáçΦ»åτ¼ª"><xsl:value-of select="concat('image_numbering_',count(preceding::text:list-level-style-image))"/></xsl:attribute>
  116.                         <xsl:attribute name="uof:σà¼σà▒τ▒╗σ₧ï">jpg</xsl:attribute>
  117.                         <xsl:attribute name="uof:σåàσ╡î">true</xsl:attribute>
  118.                         <uof:µò░µì« uof:locID="u0037">
  119.                             <xsl:value-of select="office:binary-data"/>
  120.                         </uof:µò░µì«>
  121.                     </uof:σà╢Σ╗ûσ»╣Φ▒í>
  122.                 </xsl:for-each>
  123.             </uof:σ»╣Φ▒íΘ¢å>
  124.             <uof:σ╝ŵá╖Θ¢å uof:locID="u0039">
  125.                 <xsl:apply-templates select="office:font-face-decls"/>
  126.                 <xsl:element name="uof:Φç¬σè¿τ╝ûσÅ╖Θ¢å">
  127.                     <xsl:attribute name="uof:locID">u0042</xsl:attribute>
  128.                     <xsl:for-each select="/office:document//text:list-style">
  129.                         <xsl:element name="σ¡ù:Φç¬σè¿τ╝ûσÅ╖">
  130.                             <xsl:attribute name="uof:locID">t0169</xsl:attribute>
  131.                             <xsl:attribute name="uof:attrList">µáçΦ»åτ¼ª σÉìτº░ τê╢τ╝ûσÅ╖σ╝òτö¿ σñÜτ║ºτ╝ûσÅ╖</xsl:attribute>
  132.                             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª">
  133.                                 <xsl:variable name="count1" select="count(preceding::text:list-style)"/>
  134.                             <xsl:choose><xsl:when test="@style:name"><xsl:value-of select="concat(@style:name,$count1)"/></xsl:when><xsl:otherwise><xsl:value-of select="concat(../../@style:name,$count1)"/></xsl:otherwise></xsl:choose></xsl:attribute>
  135.                             <xsl:attribute name="σ¡ù:σÉìτº░"><xsl:value-of select="@style:name"/></xsl:attribute>
  136.                             <xsl:attribute name="σ¡ù:σñÜτ║ºτ╝ûσÅ╖">true</xsl:attribute>
  137.                             <xsl:for-each select="./* ">
  138.                             <xsl:if test="number(@text:level) < 10">
  139.                                 <xsl:element name="σ¡ù:τ║ºσê½">
  140.                                     <xsl:attribute name="uof:locID">t0159</xsl:attribute>
  141.                                     <xsl:attribute name="uof:attrList">τ║ºσê½σÇ╝ τ╝ûσÅ╖σ»╣Θ╜ɵû╣σ╝Å σ░╛ΘÜÅσ¡ùτ¼ª</xsl:attribute>
  142.                                     <xsl:attribute name="σ¡ù:τ║ºσê½σÇ╝"><xsl:value-of select="number(@text:level)"/></xsl:attribute>
  143.                                     <xsl:if test="style:list-level-properties/@fo:text-align">
  144.                                     <xsl:attribute name="σ¡ù:τ╝ûσÅ╖σ»╣Θ╜ɵû╣σ╝Å"><xsl:value-of select="style:list-level-properties/@fo:text-align"/></xsl:attribute>
  145.                                     </xsl:if>
  146.                                     <xsl:variable name="level">
  147.                                         <xsl:value-of select="@text:level"/>
  148.                                     </xsl:variable>
  149.                                     <xsl:if test="office:binary-data">
  150.                                         <xsl:element name="σ¡ù:σ¢╛τëçτ¼ªσÅ╖σ╝òτö¿" uof:locID="t0164" uof:attrList="σ«╜σ║ª Θ½ÿσ║ª">
  151.                                             <xsl:attribute name="σ¡ù:σ«╜σ║ª"><xsl:value-of select="substring-before(style:list-level-properties/@fo:width,$uofUnit)"/></xsl:attribute>
  152.                                             <xsl:attribute name="σ¡ù:Θ½ÿσ║ª"><xsl:value-of select="substring-before(style:list-level-properties/@fo:height,$uofUnit)"/></xsl:attribute>
  153.                                             <xsl:value-of select="concat('image_numbering_',count(preceding::text:list-level-style-image))"/>
  154.                                         </xsl:element>
  155.                                     </xsl:if>
  156.                                     <xsl:if test="@text:bullet-char">
  157.                                         <xsl:element name="σ¡ù:Θí╣τ¢«τ¼ªσÅ╖">
  158.                                             <xsl:attribute name="uof:locID">t0171</xsl:attribute>
  159.                                             <xsl:value-of select="@text:bullet-char"/>
  160.                                         </xsl:element>
  161.                                     </xsl:if>
  162.                                     <xsl:element name="σ¡ù:τ¼ªσÅ╖σ¡ùΣ╜ô">
  163.                                         <xsl:attribute name="uof:locID">t0160</xsl:attribute>
  164.                                         <xsl:attribute name="uof:attrList">σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  165.                                         <xsl:call-template name="σ¡ù:σÅÑσ▒₧µÇº"/>
  166.                                     </xsl:element>
  167.                                     <xsl:if test="@style:num-format">
  168.                                         <xsl:choose>
  169.                                             <xsl:when test="string(@style:num-format)='a'">
  170.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">lower-letter</xsl:element>
  171.                                             </xsl:when>
  172.                                             <xsl:when test="string(@style:num-format)='A'">
  173.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">upper-letter</xsl:element>
  174.                                             </xsl:when>
  175.                                             <xsl:when test="string(@style:num-format)='i'">
  176.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">lower-roman</xsl:element>
  177.                                             </xsl:when>
  178.                                             <xsl:when test="string(@style:num-format)='I'">
  179.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">upper-roman</xsl:element>
  180.                                             </xsl:when>
  181.                                             <xsl:when test="string(@style:num-format)='Γæá, Γæí, Γæó, ...'">
  182.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">decimal-enclosed-circle</xsl:element>
  183.                                             </xsl:when>
  184.                                             <xsl:when test="string(@style:num-format)='τö▓, Σ╣Ö, Σ╕Ö, ...'">
  185.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">ideograph-traditional</xsl:element>
  186.                                             </xsl:when>
  187.                                             <xsl:when test="string(@style:num-format)='σ¡É, Σ╕æ, σ»à, ...'">
  188.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">ideograph-zodiac</xsl:element>
  189.                                             </xsl:when>
  190.                                             <xsl:when test="string(@style:num-format)='Σ╕Ç, Σ║î, Σ╕ë, ...'">
  191.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">chinese-counting</xsl:element>
  192.                                             </xsl:when>
  193.                                             <xsl:when test="string(@style:num-format)='σú╣, Φ┤░, σÅü, ...'">
  194.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">chinese-legal-simplified</xsl:element>
  195.                                             </xsl:when>
  196.                                             <xsl:otherwise>
  197.                                                 <xsl:element name="σ¡ù:τ╝ûσÅ╖µá╝σ╝Å" uof:locID="t0162">decimal</xsl:element>
  198.                                             </xsl:otherwise>
  199.                                         </xsl:choose>
  200.                                     </xsl:if>
  201.                                     <xsl:variable name="jibie">
  202.                                         <xsl:value-of select="position()"/>
  203.                                     </xsl:variable>
  204.                                     <xsl:variable name="xianshijibie">
  205.                                         <xsl:choose>
  206.                                             <xsl:when test="@text:display-levels">
  207.                                                 <xsl:value-of select="@text:display-levels"/>
  208.                                             </xsl:when>
  209.                                             <xsl:otherwise>1</xsl:otherwise>
  210.                                         </xsl:choose>
  211.                                     </xsl:variable>
  212.                                     <σ¡ù:τ╝ûσÅ╖µá╝σ╝ÅΦí¿τñ║ uof:locID="t0163">
  213.                                         <xsl:call-template name="σ¡ù:τ╝ûσÅ╖µá╝σ╝ÅΦí¿τñ║">
  214.                                             <xsl:with-param name="bubianjibie" select="$jibie"/>
  215.                                             <xsl:with-param name="jibie" select="$jibie"/>
  216.                                             <xsl:with-param name="xianshijibie" select="$xianshijibie"/>
  217.                                             <xsl:with-param name="biaoshi" select="concat(string(@style:num-prefix),'%',$jibie,string(@style:num-suffix))"/>
  218.                                         </xsl:call-template>
  219.                                     </σ¡ù:τ╝ûσÅ╖µá╝σ╝ÅΦí¿τñ║>
  220.                                     <xsl:element name="σ¡ù:τ╝⌐Φ┐¢">
  221.                                         <xsl:attribute name="uof:locID">t0165</xsl:attribute>
  222.                                         <xsl:call-template name="σ¡ù:τ╝⌐Φ┐¢τ▒╗σ₧ï"/>
  223.                                     </xsl:element>
  224.                                     <xsl:element name="σ¡ù:σê╢Φí¿τ¼ªΣ╜ìτ╜«">
  225.                                     <xsl:attribute name="uof:locID">t0166</xsl:attribute>
  226.                                         <xsl:value-of select="substring-before(style:list-level-properties/@text:min-label-width,$uofUnit)"/>
  227.                                     </xsl:element>
  228.                                     <xsl:if test="@text:start-value">
  229.                                         <xsl:element name="σ¡ù:Φ╡╖σºïτ╝ûσÅ╖">
  230.                                             <xsl:value-of select="@text:start-value"/>
  231.                                         </xsl:element>
  232.                                     </xsl:if>
  233.                                     <xsl:if test="@text:num-regular-exp">
  234.                                         <xsl:element name="σ¡ù:µ¡úΦºäµá╝σ╝Å" uof:locID="t0168" uof:attrList="σÇ╝">
  235.                                             <xsl:attribute name="σÇ╝"><xsl:value-of select="@text:num-regular-exp"/></xsl:attribute>
  236.                                         </xsl:element>
  237.                                     </xsl:if>
  238.                                 </xsl:element>
  239.                                 </xsl:if>
  240.                             </xsl:for-each>
  241.                         </xsl:element>
  242.                     </xsl:for-each>
  243.                 </xsl:element>
  244.                 <xsl:for-each select="/office:document//text:list-style/*">
  245.                     <xsl:if test="style:text-properties/@fo:font-family">
  246.                         <xsl:element name="uof:σÅÑσ╝ŵá╖">
  247.                             <xsl:attribute name="uof:locID">u0043</xsl:attribute>
  248.                             <xsl:attribute name="uof:attrList">µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï σê½σÉì σƒ║σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  249.                             <xsl:variable name="count"><xsl:value-of select="count(preceding::node())"/></xsl:variable> 
  250.                             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª"><xsl:value-of select="concat('ID',$count)"/></xsl:attribute>
  251.                             <xsl:attribute name="σ¡ù:σÉìτº░"><xsl:value-of select="concat(ancestor::style:style/@style:name,@text:level)"/></xsl:attribute>
  252.                             <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">auto</xsl:attribute>
  253.                             <xsl:if test="ancestor::style:style/@style:parent-style-name">
  254.                                 <xsl:attribute name="σ¡ù:σƒ║σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="ancestor::style:style/@style:parent-style-name"/></xsl:attribute>
  255.                             </xsl:if>
  256.                             <xsl:call-template name="σ¡ù:σÅÑσ▒₧µÇº"/>
  257.                         </xsl:element>
  258.                     </xsl:if>
  259.                 </xsl:for-each>
  260.                 <xsl:apply-templates select="office:styles | office:automatic-styles" mode="style"/>
  261.                 <xsl:for-each select="/office:document/office:master-styles/style:master-page">
  262.                     <xsl:for-each select="child::draw:frame">
  263.                         <xsl:variable name="stylename" select="@presentation:style-name"/>
  264.                         <xsl:variable name="parent" select="/office:document/office:automatic-styles/style:style[@style:name=$stylename]/@style:parent-style-name"/>
  265.                         <xsl:for-each select="/office:document/*/style:style[@style:name=$parent]">
  266.                             <xsl:if test="not(contains(@style:name,'outline'))">
  267.                                 <xsl:call-template name="µ«╡ΦÉ╜σ╝ŵá╖"/>
  268.                             </xsl:if>
  269.                         </xsl:for-each>
  270.                     </xsl:for-each>
  271.                 </xsl:for-each>
  272.                 <xsl:for-each select="/office:document/office:styles/style:style[contains(@style:name,'outline')]">
  273.                     <xsl:call-template name="µ«╡ΦÉ╜σ╝ŵá╖"/>
  274.                 </xsl:for-each>
  275.             </uof:σ╝ŵá╖Θ¢å>
  276.             <uof:µ╝öτñ║µûçτ¿┐ uof:locID="u0048">
  277.                 <µ╝ö:σà¼τö¿σñäτÉåΦºäσêÖ uof:locID="p0000">
  278.                     <xsl:element name="µ╝ö:σ║ªΘçÅσìòΣ╜ì">
  279.                         <xsl:attribute name="uof:locID">p0055</xsl:attribute>
  280.                         <xsl:value-of select="$uofUnit"/>
  281.                     </xsl:element>
  282.                     <µ╝ö:Θí╡Θ¥óΦ«╛τ╜«Θ¢å uof:locID="p0001">
  283.                         <xsl:apply-templates select="office:automatic-styles/style:page-layout"/>
  284.                     </µ╝ö:Θí╡Θ¥óΦ«╛τ╜«Θ¢å>
  285.                     <µ╝ö:ΘàìΦë▓µû╣µíêΘ¢å uof:locID="p0007">
  286.                             <xsl:for-each select="/office:document/office:master-styles/*[@draw:style-name]">
  287.                                <xsl:call-template name="ΘàìΦë▓µû╣µíê"/>
  288.                             </xsl:for-each>
  289.                         <xsl:for-each select="/office:document/office:body/office:presentation/draw:page">
  290.                           <xsl:call-template name="ΘàìΦë▓µû╣µíê"/>
  291.                         </xsl:for-each>
  292.                     </µ╝ö:ΘàìΦë▓µû╣µíêΘ¢å>
  293.                     <µ╝ö:Θí╡Θ¥óτëêσ╝ÅΘ¢å uof:locID="p0017">
  294.                         <xsl:apply-templates select="office:styles/style:presentation-page-layout" mode="pagestyle"/>
  295.                     </µ╝ö:Θí╡Θ¥óτëêσ╝ÅΘ¢å>
  296.                     <xsl:if test="office:styles/style:style='µáçσçå-title' or office:styles/style:style='µáçσçå-outline'" >
  297.                     <µ╝ö:µûçµ£¼σ╝ŵá╖Θ¢å uof:locID="p0131">
  298.                         <xsl:for-each select="office:styles/style:style">
  299.                         <xsl:variable name="name"><xsl:value-of select="@style:name"/></xsl:variable>
  300.                         <xsl:if test="$name='µáçσçå-title' or contains($name,'µáçσçå-outline')">
  301.                         <µ╝ö:µûçµ£¼σ╝ŵá╖ uof:locID="p0132" uof:attrList="µáçΦ»åτ¼ª σÉìτº░">
  302.                            <xsl:attribute name="µ╝ö:µáçΦ»åτ¼ª">text-style</xsl:attribute>
  303.                             <xsl:attribute name="µ╝ö:σÉìτº░">µûçµ£¼σ╝ŵá╖</xsl:attribute>
  304.                             <xsl:element name="µ╝ö:µ«╡ΦÉ╜σ╝ŵá╖">
  305.                                <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª"><xsl:value-of select="@style:name"/></xsl:attribute>
  306.                                <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">auto</xsl:attribute>
  307.                               <xsl:if test="@style:parent-style-name">
  308.                                <xsl:attribute name="σ¡ù:σƒ║σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="@style:parent-style-name"/></xsl:attribute>
  309.                               </xsl:if>
  310.                               <xsl:attribute name="σ¡ù:σÉìτº░"><xsl:value-of select="@style:name"/></xsl:attribute>
  311.                               <xsl:attribute name="σ¡ù:σê½σÉì"><xsl:value-of select="@style:class"/></xsl:attribute>
  312.                         <xsl:call-template name="ParaAttribute">
  313.                            <xsl:with-param name="text-style-name" select="@text:style-name"/>
  314.                         </xsl:call-template>
  315.                         <xsl:call-template name="σ¡ù:σÅÑσ▒₧µÇº"/>
  316.                     </xsl:element>
  317.                         </µ╝ö:µûçµ£¼σ╝ŵá╖>
  318.                         </xsl:if>
  319.                     </xsl:for-each>                            
  320.                     </µ╝ö:µûçµ£¼σ╝ŵá╖Θ¢å>
  321.                     </xsl:if>
  322.                     <µ╝ö:µÿ╛τñ║µ»öΣ╛ï uof:locID="p0020">
  323.                         <xsl:variable name="VisibleAreaWidth">
  324.                             <xsl:value-of select="/office:document/office:settings/config:config-item-set/config:config-item-map-indexed/config:config-item-map-entry/config:config-item[@config:name='VisibleAreaWidth']"/>
  325.                         </xsl:variable>
  326.                         <xsl:value-of select="substring-before((13997 div $VisibleAreaWidth)*100,'.')"/>
  327.                     </µ╝ö:µÿ╛τñ║µ»öΣ╛ï>
  328.                     <µ╝ö:µö╛µÿáΦ«╛τ╜« uof:locID="p0021">
  329.                         <µ╝ö:σ╣╗τü»τëçσ║Åσêù uof:locID="p0022" uof:attrList="µáçΦ»åτ¼ª σÉìτº░ Φç¬σ«ÜΣ╣ë">
  330.                             <xsl:attribute name="µ╝ö:µáçΦ»åτ¼ª">customList</xsl:attribute>
  331.                             <xsl:attribute name="µ╝ö:σÉìτº░">σ╣╗τü»τëçσ║Åσêù</xsl:attribute>
  332.                             <xsl:attribute name="µ╝ö:Φç¬σ«ÜΣ╣ë">true</xsl:attribute>
  333.                             <xsl:choose>
  334.                                 <xsl:when test="office:body/office:presentation/presentation:settings/@presentation:start-page">
  335.                                     <xsl:variable name="start-page">
  336.                                         <xsl:value-of select="office:body/office:presentation/presentation:settings/@presentation:start-page"/>
  337.                                     </xsl:variable>
  338.                                     <xsl:variable name="before-slides">
  339.                                         <xsl:call-template name="σ╣╗τü»τëçσ║Åσêù">
  340.                                             <xsl:with-param name="start-node" select="office:body/office:presentation/draw:page[@draw:name=$start-page]"/>
  341.                                             <xsl:with-param name="end-node" select="office:body/office:presentation/draw:page[last()]"/>
  342.                                             <xsl:with-param name="value"/>
  343.                                         </xsl:call-template>
  344.                                     </xsl:variable>
  345.                                     <xsl:variable name="after-slides">
  346.                                         <xsl:for-each select="office:body/office:presentation/draw:page[@draw:name=$start-page]">
  347.                                             <xsl:call-template name="σ╣╗τü»τëçσ║Åσêù">
  348.                                                 <xsl:with-param name="start-node" select="/office:document/office:body/office:presentation/draw:page[1]"/>
  349.                                                 <xsl:with-param name="end-node" select="preceding-sibling::node()[1]"/>
  350.                                                 <xsl:with-param name="value"/>
  351.                                             </xsl:call-template>
  352.                                         </xsl:for-each>
  353.                                     </xsl:variable>
  354.                                     <xsl:value-of select="concat($before-slides,' ',$after-slides)"/>
  355.                                 </xsl:when>
  356.                                 <xsl:otherwise>
  357.                                     <xsl:call-template name="σ╣╗τü»τëçσ║Åσêù">
  358.                                         <xsl:with-param name="start-node" select="office:body/office:presentation/draw:page[1]"/>
  359.                                         <xsl:with-param name="end-node" select="office:body/office:presentation/draw:page[last()]"/>
  360.                                         <xsl:with-param name="value"/>
  361.                                     </xsl:call-template>
  362.                                 </xsl:otherwise>
  363.                             </xsl:choose>
  364.                         </µ╝ö:σ╣╗τü»τëçσ║Åσêù>
  365.                         <µ╝ö:µö╛µÿáΘí║σ║Å uof:locID="p0023" uof:attrList="σÉìτº░ σ║Åσêùσ╝òτö¿">
  366.                             <xsl:attribute name="µ╝ö:σÉìτº░">µö╛µÿáΘí║σ║Å</xsl:attribute>
  367.                             <xsl:attribute name="µ╝ö:σ║Åσêùσ╝òτö¿">customList</xsl:attribute>
  368.                         </µ╝ö:µö╛µÿáΘí║σ║Å>
  369.                         <µ╝ö:σà¿σ▒ŵö╛µÿá uof:locID="p0024">
  370.                             <xsl:choose>
  371.                                 <xsl:when test="office:body/office:presentation/presentation:settings/@presentation:full-screen='false'">false</xsl:when>
  372.                                 <xsl:otherwise>true</xsl:otherwise>
  373.                             </xsl:choose>
  374.                         </µ╝ö:σà¿σ▒ŵö╛µÿá>
  375.                         <µ╝ö:σ╛¬τÄ»µö╛µÿá uof:locID="p0025">
  376.                             <xsl:choose>
  377.                                 <xsl:when test="office:body/office:presentation/presentation:settings/@presentation:endless='true'">true</xsl:when>
  378.                                 <xsl:otherwise>false</xsl:otherwise>
  379.                             </xsl:choose>
  380.                         </µ╝ö:σ╛¬τÄ»µö╛µÿá>
  381.                         <xsl:if test="office:body/office:presentation/presentation:settings/@presentation:pause">
  382.                             <µ╝ö:µö╛µÿáΘù┤ΘÜö uof:locID="p0026">
  383.                                 <xsl:variable name="hms">
  384.                                     <xsl:value-of select="substring-after(office:body/office:presentation/presentation:settings/@presentation:pause,'PT')"/>
  385.                                 </xsl:variable>
  386.                                 <xsl:value-of select="concat('P0Y0M0DT',$hms)"/>
  387.                             </µ╝ö:µö╛µÿáΘù┤ΘÜö>
  388.                         </xsl:if>
  389.                         <µ╝ö:µëïσ迵û╣σ╝Å uof:locID="p0027">
  390.                             <xsl:choose>
  391.                                 <xsl:when test="office:body/office:presentation/presentation:settings/@presentation:force-manual='true'">true</xsl:when>
  392.                                 <xsl:otherwise>false</xsl:otherwise>
  393.                             </xsl:choose>
  394.                         </µ╝ö:µëïσ迵û╣σ╝Å>
  395.                         <µ╝ö:σ»╝Φê¬σ╕«σè⌐ uof:locID="p0029">
  396.                             <xsl:choose>
  397.                                 <xsl:when test="office:body/office:presentation/presentation:settings/@presentation:start-with-navigator='true'">true</xsl:when>
  398.                                 <xsl:otherwise>false</xsl:otherwise>
  399.                             </xsl:choose>
  400.                         </µ╝ö:σ»╝Φê¬σ╕«σè⌐>
  401.                         <µ╝ö:µö╛µÿáσè¿τö╗ uof:locID="p0030">
  402.                             <xsl:choose>
  403.                                 <xsl:when test="office:body/office:presentation/presentation:settings/@presentation:animations='disabled'">false</xsl:when>
  404.                                 <xsl:otherwise>true</xsl:otherwise>
  405.                             </xsl:choose>
  406.                         </µ╝ö:µö╛µÿáσè¿τö╗>
  407.                         <µ╝ö:σëìτ½»µÿ╛τñ║ uof:locID="p0031">
  408.                             <xsl:choose>
  409.                                 <xsl:when test="office:body/office:presentation/presentation:settings/@presentation:stay-on-top='true'">true</xsl:when>
  410.                                 <xsl:otherwise>false</xsl:otherwise>
  411.                             </xsl:choose>
  412.                         </µ╝ö:σëìτ½»µÿ╛τñ║>
  413.                     </µ╝ö:µö╛µÿáΦ«╛τ╜«>
  414.                 </µ╝ö:σà¼τö¿σñäτÉåΦºäσêÖ>
  415.                 <µ╝ö:Σ╕╗Σ╜ô uof:locID="p0034">
  416.                     <µ╝ö:µ»ìτëêΘ¢å uof:locID="p0035">
  417.                         <xsl:apply-templates select="office:master-styles"/>
  418.                     </µ╝ö:µ»ìτëêΘ¢å>
  419.                     <µ╝ö:σ╣╗τü»τëçΘ¢å uof:locID="p0039">
  420.                         <xsl:apply-templates select="office:body/office:presentation/draw:page"/>
  421.                     </µ╝ö:σ╣╗τü»τëçΘ¢å>
  422.                 </µ╝ö:Σ╕╗Σ╜ô>
  423.             </uof:µ╝öτñ║µûçτ¿┐>
  424.         </uof:UOF>
  425.     </xsl:template>
  426. <xsl:template name="ΘàìΦë▓µû╣µíê">
  427.    <xsl:variable name="page-name"><xsl:value-of select="@draw:style-name"/></xsl:variable>
  428.                             <µ╝ö:ΘàìΦë▓µû╣µíê uof:locID="p0008" uof:attrList="µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï">
  429.                                 <xsl:attribute name="µ╝ö:µáçΦ»åτ¼ª">
  430.                                    <xsl:choose>
  431.                                                 <xsl:when test="@draw:name"><xsl:value-of select="@draw:name"/></xsl:when>
  432.                                                 <xsl:otherwise><xsl:value-of select="@draw:style-name"/></xsl:otherwise>
  433.                                             </xsl:choose>
  434.                                             
  435.                                 </xsl:attribute>
  436.                                 <xsl:for-each select="/office:document/office:automatic-styles/style:style[@style:name = $page-name]">
  437.                                 <xsl:attribute name="µ╝ö:σÉìτº░"><xsl:value-of select="@style:name"/></xsl:attribute>
  438.                                 <xsl:attribute name="µ╝ö:τ▒╗σ₧ï"><xsl:choose><xsl:when test="not(contains(@style:name,'color'))">custom</xsl:when><xsl:otherwise>standard</xsl:otherwise></xsl:choose></xsl:attribute>
  439.                                 <xsl:if test="style:drawing-page-properties/@draw:fill-color">
  440.                                     <µ╝ö:ΦâîµÖ»Φë▓ uof:locID="p0009">
  441.                                         <xsl:value-of select="style:drawing-page-properties/@draw:fill-color"/>
  442.                                     </µ╝ö:ΦâîµÖ»Φë▓>
  443.                                 </xsl:if>
  444.                                 <xsl:if test="style:drawing-page-properties/@svg:stroke-color">
  445.                                     <µ╝ö:µûçµ£¼σÆîτ║┐µ¥í uof:locID="p0010">
  446.                                         <xsl:value-of select="style:drawing-page-properties/@svg:stroke-color"/>
  447.                                     </µ╝ö:µûçµ£¼σÆîτ║┐µ¥í>
  448.                                 </xsl:if>
  449.                                 <xsl:if test="style:drawing-page-properties/@draw:shadow-color">
  450.                                     <µ╝ö:Θÿ┤σ╜▒ uof:locID="p0011">
  451.                                         <xsl:value-of select="style:drawing-page-properties/@draw:shadow-color"/>
  452.                                     </µ╝ö:Θÿ┤σ╜▒>
  453.                                 </xsl:if>
  454.                                 <xsl:if test="style:drawing-page-properties/@svg:stroke-color">
  455.                                 <µ╝ö:µáçΘóÿµûçµ£¼ uof:locID="p0012">
  456.                                     <xsl:value-of select="style:drawing-page-properties/@svg:stroke-color"/>
  457.                                 </µ╝ö:µáçΘóÿµûçµ£¼>
  458.                                 </xsl:if>
  459.                                 <xsl:if test="style:drawing-page-properties/@draw:fill-color">
  460.                                     <µ╝ö:σí½σàà uof:locID="p0013">
  461.                                         <xsl:value-of select="style:drawing-page-properties/@draw:fill-color"/>
  462.                                     </µ╝ö:σí½σàà>
  463.                                 </xsl:if>
  464.                                 <µ╝ö:σ╝║Φ░â uof:locID="p0014">#FFFFFF</µ╝ö:σ╝║Φ░â>
  465.                                 <µ╝ö:σ╝║Φ░âσÆîΦ╢àτ║ºΘô╛µÄÑ uof:locID="p0015">#FF0000</µ╝ö:σ╝║Φ░âσÆîΦ╢àτ║ºΘô╛µÄÑ>
  466.                                 <µ╝ö:σ╝║Φ░âσÆîσ░╛ΘÜÅΦ╢àτ║ºΘô╛µÄÑ uof:locID="p0016">#FF00FF</µ╝ö:σ╝║Φ░âσÆîσ░╛ΘÜÅΦ╢àτ║ºΘô╛µÄÑ>
  467.                                 </xsl:for-each>
  468.                             </µ╝ö:ΘàìΦë▓µû╣µíê>
  469. </xsl:template>
  470.     <xsl:template name="σ╣╗τü»τëçσ║Åσêù">
  471.         <xsl:param name="start-node"/>
  472.         <xsl:param name="end-node"/>
  473.         <xsl:param name="value"/>
  474.         <xsl:choose>
  475.             <xsl:when test="not($start-node/@draw:name = $end-node/@draw:name)">
  476.                 <xsl:for-each select="$start-node">
  477.                     <xsl:variable name="value1">
  478.                         <xsl:value-of select="concat($value,@draw:name,'_',@draw:style-name,' ')"/>
  479.                     </xsl:variable>
  480.                     <xsl:call-template name="σ╣╗τü»τëçσ║Åσêù">
  481.                         <xsl:with-param name="start-node" select="following-sibling::node()[1]"/>
  482.                         <xsl:with-param name="end-node" select="$end-node"/>
  483.                         <xsl:with-param name="value" select="$value1"/>
  484.                     </xsl:call-template>
  485.                 </xsl:for-each>
  486.             </xsl:when>
  487.             <xsl:otherwise>
  488.                 <xsl:value-of select="concat($value,$start-node/@draw:name)"/>
  489.             </xsl:otherwise>
  490.         </xsl:choose>
  491.     </xsl:template>
  492.     <xsl:template name="σ¡ù:τ╝ûσÅ╖µá╝σ╝ÅΦí¿τñ║">
  493.         <xsl:param name="bubianjibie"/>
  494.         <xsl:param name="jibie"/>
  495.         <xsl:param name="xianshijibie"/>
  496.         <xsl:param name="biaoshi"/>
  497.         <xsl:choose>
  498.             <xsl:when test="number($xianshijibie)= 1">
  499.                 <xsl:value-of select="$biaoshi"/>
  500.             </xsl:when>
  501.             <xsl:otherwise>
  502.                 <xsl:variable name="num-prefix">
  503.                     <xsl:value-of select="preceding-sibling::*[number($bubianjibie -$jibie +1)]/@style:num-prefix"/>
  504.                 </xsl:variable>
  505.                 <xsl:variable name="num-suffix">
  506.                     <xsl:value-of select="preceding-sibling::*[number($bubianjibie -$jibie +1)]/@style:num-suffix"/>
  507.                 </xsl:variable>
  508.                 <xsl:call-template name="σ¡ù:τ╝ûσÅ╖µá╝σ╝ÅΦí¿τñ║">
  509.                     <xsl:with-param name="bubianjibie" select="$bubianjibie"/>
  510.                     <xsl:with-param name="jibie" select="$jibie -1"/>
  511.                     <xsl:with-param name="xianshijibie" select="$xianshijibie -1"/>
  512.                     <xsl:with-param name="biaoshi" select="concat($num-prefix,'%',number($jibie -1),$num-suffix,'.',$biaoshi)"/>
  513.                 </xsl:call-template>
  514.             </xsl:otherwise>
  515.         </xsl:choose>
  516.     </xsl:template>
  517.     <xsl:template name="σ¡ù:σÅÑσ▒₧µÇº">
  518.         <xsl:element name="σ¡ù:σ¡ùΣ╜ô">
  519.             <xsl:attribute name="uof:locID">t0088</xsl:attribute>
  520.             <xsl:attribute name="uof:attrList">ΦÑ┐µûçσ¡ùΣ╜ôσ╝òτö¿ Σ╕¡µûçσ¡ùΣ╜ôσ╝òτö¿ τë╣µ«èσ¡ùΣ╜ôσ╝òτö¿ ΦÑ┐µûçτ╗ÿσê╢ σ¡ùσÅ╖ τ¢╕σ»╣σ¡ùσÅ╖ Θó£Φë▓</xsl:attribute>
  521.             <xsl:if test=".//@fo:font-size or .//@style:font-size-asian or  .//@style:font-size-complex">
  522.                 <xsl:choose>
  523.                     <xsl:when test="contains(.//@fo:font-size,'%') or contains(.//@style:font-size-asian,'%')">
  524.                         <xsl:attribute name="σ¡ù:τ¢╕σ»╣σ¡ùσÅ╖"><xsl:choose><xsl:when test=".//@fo:font-size"><xsl:value-of select="substring-before(.//@fo:font-size,'%')"/></xsl:when><xsl:when test=".//@style:font-size-asian"><xsl:value-of select="substring-before(.//@style:font-size-asian,'%')"/></xsl:when></xsl:choose></xsl:attribute>
  525.                     </xsl:when>
  526.                     <xsl:otherwise>
  527.                         <xsl:attribute name="σ¡ù:σ¡ùσÅ╖"><xsl:choose><xsl:when test=".//@fo:font-size"><xsl:value-of select="substring-before(.//@fo:font-size,'pt')"/></xsl:when><xsl:when test=".//@style:font-size-asian"><xsl:value-of select="substring-before(.//@style:font-size-asian,'pt')"/></xsl:when><xsl:when test=".//@style:font-size-complex"><xsl:value-of select="substring-before(.//@style:font-size-complex,'pt')"/></xsl:when></xsl:choose></xsl:attribute>
  528.                     </xsl:otherwise>
  529.                 </xsl:choose>
  530.             </xsl:if>
  531.             <xsl:if test=".//@style:font-name">
  532.                 <xsl:attribute name="σ¡ù:ΦÑ┐µûçσ¡ùΣ╜ôσ╝òτö¿"><xsl:value-of select=".//@style:font-name"/></xsl:attribute>
  533.             </xsl:if>
  534.             <xsl:if test=".//@style:font-name-asian">
  535.                 <xsl:attribute name="σ¡ù:Σ╕¡µûçσ¡ùΣ╜ôσ╝òτö¿"><xsl:value-of select=".//@style:font-name-asian"/></xsl:attribute>
  536.             </xsl:if>
  537.             <xsl:if test=".//@fo:color">
  538.                 <xsl:attribute name="σ¡ù:Θó£Φë▓"><xsl:value-of select=".//@fo:color"/></xsl:attribute>
  539.             </xsl:if>
  540.         </xsl:element>
  541.         <xsl:if test=".//@style:text-background-color and not(.//@style:text-background-color='transparent')">
  542.             <xsl:element name="σ¡ù:σí½σàà">
  543.                 <xsl:element name="σ¢╛:σ¢╛µíê">
  544.                     <xsl:attribute name="uof:locID">g0036</xsl:attribute>
  545.                     <xsl:attribute name="uof:attrList">τ▒╗σ₧ï σ¢╛σ╜óσ╝òτö¿ σëìµÖ»Φë▓ ΦâîµÖ»Φë▓</xsl:attribute>
  546.                     <xsl:if test=".//@style:text-background-color">
  547.                         <xsl:attribute name="σ¢╛:σëìµÖ»Φë▓"><xsl:value-of select=".//@style:text-background-color"/></xsl:attribute>
  548.                     </xsl:if>
  549.                 </xsl:element>
  550.             </xsl:element>
  551.         </xsl:if>
  552.         <xsl:if test=".//@fo:font-weight or .//@style:font-weight-asian">
  553.             <xsl:element name="σ¡ù:τ▓ùΣ╜ô">
  554.                 <xsl:attribute name="uof:locID">t0089</xsl:attribute>
  555.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  556.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:choose><xsl:when test=".//@style:font-weight-asian='bold' or .//@fo:font-weight='bold'">true</xsl:when><xsl:otherwise>false</xsl:otherwise></xsl:choose></xsl:attribute>
  557.             </xsl:element>
  558.         </xsl:if>
  559.         <xsl:if test=".//@fo:font-style or .//@style:font-style-asian">
  560.             <xsl:element name="σ¡ù:µû£Σ╜ô">
  561.                 <xsl:attribute name="uof:locID">t0090</xsl:attribute>
  562.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  563.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:choose><xsl:when test=".//@fo:font-style='italic' or .//@style:font-style-asian='italic'">true</xsl:when><xsl:otherwise>false</xsl:otherwise></xsl:choose></xsl:attribute>
  564.             </xsl:element>
  565.         </xsl:if>
  566.         <xsl:if test=".//@style:text-crossing-out">
  567.             <xsl:element name="σ¡ù:σêáΘÖñτ║┐">
  568.                 <xsl:attribute name="uof:locID">t0094</xsl:attribute>
  569.                 <xsl:attribute name="uof:attrList">τ▒╗σ₧ï</xsl:attribute>
  570.                 <xsl:attribute name="σ¡ù:τ▒╗σ₧ï"><xsl:call-template name="uof:τ║┐σ₧ïτ▒╗σ₧ï"><xsl:with-param name="lineType" select=".//@style:text-crossing-out"/></xsl:call-template></xsl:attribute>
  571.             </xsl:element>
  572.         </xsl:if>
  573.         <xsl:if test=".//@style:text-underline">
  574.             <xsl:element name="σ¡ù:Σ╕ïσêÆτ║┐">
  575.                 <xsl:attribute name="σ¡ù:τ▒╗σ₧ï"><xsl:call-template name="uof:τ║┐σ₧ïτ▒╗σ₧ï"><xsl:with-param name="lineType" select=".//@style:text-underline"/></xsl:call-template></xsl:attribute>
  576.                 <xsl:attribute name="uof:locID">t0095</xsl:attribute>
  577.                 <xsl:attribute name="uof:attrList">τ▒╗σ₧ï</xsl:attribute>
  578.                 <xsl:if test=".//@style:text-underline-color">
  579.                     <xsl:attribute name="σ¡ù:Θó£Φë▓"><xsl:value-of select=".//@style:text-underline-color"/></xsl:attribute>
  580.                 </xsl:if>
  581.             </xsl:element>
  582.         </xsl:if>
  583.         <xsl:if test=".//@fo:text-shadow and not(.//@fo:text-shadow='none')">
  584.             <xsl:element name="σ¡ù:Θÿ┤σ╜▒">
  585.                 <xsl:attribute name="uof:locID">t0100</xsl:attribute>
  586.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  587.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:choose><xsl:when test=".//@fo:text-shadow='none'">false</xsl:when><xsl:otherwise>true</xsl:otherwise></xsl:choose></xsl:attribute>
  588.             </xsl:element>
  589.         </xsl:if>
  590.         <xsl:if test=".//@style:text-emphasize">
  591.             <xsl:element name="σ¡ù:τ¥ÇΘçìσÅ╖">
  592.                 <xsl:attribute name="uof:locID">t0096</xsl:attribute>
  593.                 <xsl:attribute name="uof:attrList">τ▒╗σ₧ï Θó£Φë▓ σ¡ùτ¥ÇΘçìσÅ╖</xsl:attribute>
  594.                 <xsl:choose>
  595.                     <xsl:when test=".//@style:text-emphasize='none'">
  596.                         <xsl:attribute name="σ¡ù:σ¡ùτ¥ÇΘçìσÅ╖">false</xsl:attribute>
  597.                         <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">none</xsl:attribute>
  598.                     </xsl:when>
  599.                     <xsl:otherwise>
  600.                         <xsl:attribute name="σ¡ù:σ¡ùτ¥ÇΘçìσÅ╖">true</xsl:attribute>
  601.                         <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">dot</xsl:attribute>
  602.                     </xsl:otherwise>
  603.                 </xsl:choose>
  604.                 <xsl:if test=".//@fo:color">
  605.                     <xsl:attribute name="σ¡ù:Θó£Φë▓"><xsl:value-of select=".//@fo:color"/></xsl:attribute>
  606.                 </xsl:if>
  607.             </xsl:element>
  608.         </xsl:if>
  609.         <xsl:if test=".//@text:display and not(.//@text:display='none')">
  610.             <xsl:element name="σ¡ù:ΘÜÉΦùŵûçσ¡ù">
  611.                 <xsl:attribute name="uof:locID">t0097</xsl:attribute>
  612.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  613.                 <xsl:attribute name="σ¡ù:σÇ╝">true</xsl:attribute>
  614.             </xsl:element>
  615.         </xsl:if>
  616.         <xsl:if test=".//@style:text-outline and not(.//@style:text-outline='none')">
  617.             <xsl:element name="σ¡ù:τ⌐║σ┐â">
  618.                 <xsl:attribute name="uof:locID">t0098</xsl:attribute>
  619.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  620.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select=".//@style:text-outline"/></xsl:attribute>
  621.             </xsl:element>
  622.         </xsl:if>
  623.         <xsl:if test=".//@style:font-relief and not(.//@style:font-relief='none')">
  624.             <xsl:element name="σ¡ù:µ╡«Θ¢ò">
  625.                 <xsl:attribute name="uof:locID">t0099</xsl:attribute>
  626.                 <xsl:attribute name="uof:attrList">τ▒╗σ₧ï</xsl:attribute>
  627.                 <xsl:attribute name="σ¡ù:τ▒╗σ₧ï"><xsl:choose><xsl:when test=".//@style:font-relief='embossed'">emboss</xsl:when><xsl:when test=".//@style:font-relief='engraved'">engrave</xsl:when><xsl:otherwise>none</xsl:otherwise></xsl:choose></xsl:attribute>
  628.             </xsl:element>
  629.         </xsl:if>
  630.         <xsl:if test=".//@fo:text-transform or .//@fo:font-variant">
  631.             <xsl:element name="σ¡ù:ΘåÆτ¢«σ¡ùΣ╜ô">
  632.                 <xsl:attribute name="uof:locID">t0101</xsl:attribute>
  633.                 <xsl:attribute name="uof:attrList">τ▒╗σ₧ï</xsl:attribute>
  634.                 <xsl:attribute name="σ¡ù:τ▒╗σ₧ï"><xsl:choose><xsl:when test=".//@fo:text-transform='uppercase'">uppercase</xsl:when><xsl:when test=".//@fo:text-transform='lowercase'">lowercase</xsl:when><xsl:when test=".//@fo:text-transform='capitalize'">capital</xsl:when><xsl:when test=".//@fo:font-variant='small-caps'">small-caps</xsl:when><xsl:otherwise>none</xsl:otherwise></xsl:choose></xsl:attribute>
  635.             </xsl:element>
  636.         </xsl:if>
  637.         <xsl:if test=".//@style:text-position">
  638.             <xsl:element name="σ¡ù:Σ╜ìτ╜«">
  639.                 <xsl:attribute name="uof:locID">t0102</xsl:attribute>
  640.                 <xsl:value-of select=".//@style:text-position"/>
  641.             </xsl:element>
  642.             <σ¡ù:Σ╕èΣ╕ïµáç uof:locID="t0205" uof:attrList="σÇ╝">
  643.                 <xsl:attribute name="σ¡ù:σÇ╝">none</xsl:attribute>
  644.             </σ¡ù:Σ╕èΣ╕ïµáç>
  645.         </xsl:if>
  646.         <xsl:if test=".//@style:text-scale">
  647.             <xsl:element name="σ¡ù:τ╝⌐µö╛">
  648.                 <xsl:attribute name="uof:locID">t0103</xsl:attribute>
  649.                 <xsl:value-of select=".//@style:text-scale"/>
  650.             </xsl:element>
  651.         </xsl:if>
  652.         <xsl:if test=".//@fo:letter-spacing">
  653.             <xsl:element name="σ¡ù:σ¡ùτ¼ªΘù┤Φ╖¥">
  654.                 <xsl:attribute name="uof:locID">t0104</xsl:attribute>
  655.                 <xsl:value-of select=".//@fo:letter-spacing"/>
  656.             </xsl:element>
  657.         </xsl:if>
  658.         <xsl:if test=".//@style:letter-kerning">
  659.             <xsl:element name="σ¡ù:Φ░âµò┤σ¡ùΘù┤Φ╖¥">
  660.                 <xsl:attribute name="uof:locID">t015</xsl:attribute>
  661.                 <xsl:value-of select=".//@style:letter-kerning"/>
  662.             </xsl:element>
  663.         </xsl:if>
  664.         <xsl:element name="σ¡ù:σ¡ùτ¼ªσ»╣Θ╜Éτ╜æµá╝">
  665.             <xsl:attribute name="σ¡ù:σÇ╝">false</xsl:attribute>
  666.             <xsl:attribute name="uof:locID">t0106</xsl:attribute>
  667.             <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  668.         </xsl:element>
  669.     </xsl:template>
  670.     <xsl:template match="style:presentation-page-layout" mode="pagestyle">
  671.         <µ╝ö:Θí╡Θ¥óτëêσ╝Å uof:locID="p0018" uof:attrList="µáçΦ»åτ¼ª σÉìτº░">
  672.             <xsl:attribute name="µ╝ö:µáçΦ»åτ¼ª"><xsl:value-of select="@style:name"/></xsl:attribute>
  673.             <xsl:attribute name="µ╝ö:σÉìτº░"><xsl:value-of select="@style:name"/></xsl:attribute>
  674.             <µ╝ö:σ╕âσ▒Ç uof:locID="p0129" uof:attrList="τ▒╗σ₧ï">
  675.                 <xsl:attribute name="µ╝ö:τ▒╗σ₧ï">
  676.                 <xsl:variable name="layout" select="substring-after(@style:name,'T')"/>
  677.                 <xsl:choose>
  678.                 <xsl:when test="$layout='0'">title-subtitle</xsl:when><xsl:when test="$layout='1'">title-body</xsl:when><xsl:when test="$layout='19'">title-only</xsl:when><xsl:when test="$layout='12'">column-2-rows</xsl:when><xsl:when test="$layout='15'">2-rows-column</xsl:when><xsl:when test="$layout='16'">2-columns-row</xsl:when><xsl:when test="$layout='17'">2-rows</xsl:when><xsl:when test="$layout='18'">4-objects</xsl:when><xsl:when test="$layout='27'">v-2-rows</xsl:when><xsl:when test="$layout='28'">v-title-body</xsl:when><xsl:when test="$layout='29'">big-object</xsl:when><xsl:when test="$layout='30'">2-columns</xsl:when>
  679.                     <xsl:otherwise>title-only</xsl:otherwise>
  680.                 </xsl:choose></xsl:attribute>
  681.             </µ╝ö:σ╕âσ▒Ç>
  682.             <xsl:apply-templates select="presentation:placeholder" mode="anchor"/>
  683.         </µ╝ö:Θí╡Θ¥óτëêσ╝Å>
  684.     </xsl:template>
  685.     <xsl:template match="presentation:placeholder" mode="anchor">
  686.         <µ╝ö:σìáΣ╜ìτ¼ª uof:locID="p0130" uof:attrList="τ▒╗σ₧ï">
  687.             <xsl:attribute name="µ╝ö:τ▒╗σ₧ï"><xsl:choose><xsl:when test="@presentation:object = 'vertical_outline'">vertical_text</xsl:when><xsl:when test="@presentation:object = 'date-time'">date</xsl:when><xsl:when test="@presentation:object = 'page_number'">number</xsl:when><xsl:otherwise><xsl:value-of select="@presentation:object"/></xsl:otherwise></xsl:choose></xsl:attribute>
  688.             <uof:ΘöÜτé╣ uof:locID="u0064" uof:attrList="xσ¥Éµáç yσ¥Éµáç σ«╜σ║ª Θ½ÿσ║ª σ¢╛σ╜óσ╝òτö¿ ΘÜÅσ迵û╣σ╝Å τ╝⌐τòÑσ¢╛ σìáΣ╜ìτ¼ª">
  689.                 <xsl:attribute name="uof:xσ¥Éµáç"><xsl:value-of select="substring-before(@svg:x,$uofUnit)"/></xsl:attribute>
  690.                 <xsl:attribute name="uof:yσ¥Éµáç"><xsl:value-of select="substring-before(@svg:y,$uofUnit)"/></xsl:attribute>
  691.                 <xsl:attribute name="uof:σ«╜σ║ª"><xsl:value-of select="substring-before(@svg:width,$uofUnit)"/></xsl:attribute>
  692.                 <xsl:attribute name="uof:Θ½ÿσ║ª"><xsl:value-of select="substring-before(@svg:height,$uofUnit)"/></xsl:attribute>
  693.                 <xsl:attribute name="uof:σ¢╛σ╜óσ╝òτö¿"><xsl:variable name="number"><xsl:value-of select="concat('_',count(preceding-sibling::presentation:placeholder))"/></xsl:variable><xsl:value-of select="concat(parent::style:presentation-page-layout/@style:name,$number)"/></xsl:attribute>
  694.             </uof:ΘöÜτé╣>
  695.         </µ╝ö:σìáΣ╜ìτ¼ª>
  696.     </xsl:template>
  697.     <xsl:template match="presentation:placeholder" mode="graphic">
  698.         <σ¢╛:σ¢╛σ╜ó uof:locID="g0000" uof:attrList="σ▒éµ¼í µáçΦ»åτ¼ª τ╗äσÉêσêùΦí¿ σà╢Σ╗ûσ»╣Φ▒í" σ¢╛:σ▒éµ¼í="3">
  699.             <xsl:attribute name="σ¢╛:µáçΦ»åτ¼ª"><xsl:variable name="number"><xsl:value-of select="concat('_',count(preceding-sibling::presentation:placeholder))"/></xsl:variable><xsl:value-of select="concat(parent::style:presentation-page-layout/@style:name,$number)"/></xsl:attribute>
  700.         </σ¢╛:σ¢╛σ╜ó>
  701.     </xsl:template>
  702.     <xsl:template match="office:master-styles">
  703.         <xsl:apply-templates select="style:handout-master"/>
  704.         <xsl:apply-templates select="style:master-page"/>
  705.         <xsl:if test="style:master-page/presentation:notes">
  706.             <xsl:apply-templates select="style:master-page/presentation:notes"/>
  707.         </xsl:if>
  708.     </xsl:template>
  709.     <xsl:template match="style:handout-master">
  710.         <µ╝ö:µ»ìτëê uof:locID="p0036" uof:attrList="µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï Θí╡Θ¥óΦ«╛τ╜«σ╝òτö¿ ΘàìΦë▓µû╣µíêσ╝òτö¿ Θí╡Θ¥óτëêσ╝Åσ╝òτö¿ µûçµ£¼σ╝ŵá╖σ╝òτö¿" µ╝ö:σÉìτº░="handoutµ»ìτëê" µ╝ö:τ▒╗σ₧ï="handout">
  711.             <xsl:attribute name="µ╝ö:Θí╡Θ¥óΦ«╛τ╜«σ╝òτö¿"><xsl:value-of select="@style:page-layout-name"/></xsl:attribute>
  712.             <xsl:if test="@draw:style-name">
  713.                 <xsl:attribute name="µ╝ö:ΘàìΦë▓µû╣µíêσ╝òτö¿"><xsl:value-of select="@draw:style-name"/></xsl:attribute>
  714.             </xsl:if>
  715.             <xsl:if test="@presentation:presentation-page-layout-name">
  716.                 <xsl:attribute name="µ╝ö:Θí╡Θ¥óτëêσ╝Åσ╝òτö¿"><xsl:value-of select="@presentation:presentation-page-layout-name"/></xsl:attribute>
  717.             </xsl:if>
  718.             <xsl:call-template name="Σ║ºτöƒΘöÜτé╣"/>
  719.         </µ╝ö:µ»ìτëê>
  720.     </xsl:template>
  721.     <xsl:template match="style:master-page">
  722.         <µ╝ö:µ»ìτëê uof:locID="p0036" uof:attrList="µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï Θí╡Θ¥óΦ«╛τ╜«σ╝òτö¿ ΘàìΦë▓µû╣µíêσ╝òτö¿ Θí╡Θ¥óτëêσ╝Åσ╝òτö¿ µûçµ£¼σ╝ŵá╖σ╝òτö¿" µ╝ö:σÉìτº░="slideµ»ìτëê" µ╝ö:τ▒╗σ₧ï="slide">
  723.             <xsl:attribute name="µ╝ö:µáçΦ»åτ¼ª"><xsl:value-of select="@style:name"/></xsl:attribute>
  724.             <xsl:attribute name="µ╝ö:Θí╡Θ¥óΦ«╛τ╜«σ╝òτö¿"><xsl:value-of select="@style:page-layout-name"/></xsl:attribute>
  725.             <xsl:if test="@draw:style-name">
  726.                 <xsl:attribute name="µ╝ö:ΘàìΦë▓µû╣µíêσ╝òτö¿"><xsl:value-of select="@draw:style-name"/></xsl:attribute>
  727.             </xsl:if>
  728.             <xsl:if test="@presentation:presentation-page-layout-name">
  729.                 <xsl:attribute name="µ╝ö:Θí╡Θ¥óτëêσ╝Åσ╝òτö¿"><xsl:value-of select="@presentation:presentation-page-layout-name"/></xsl:attribute>
  730.             </xsl:if>
  731.             <xsl:call-template name="Σ║ºτöƒΘöÜτé╣"/>
  732.             <xsl:variable name="stylename">
  733.                 <xsl:value-of select="@draw:style-name"/>
  734.             </xsl:variable>
  735.             <xsl:variable name="name">
  736.                 <xsl:value-of select="name(.)"/>
  737.             </xsl:variable>
  738.             <xsl:for-each select="/office:document/*/style:style[@style:name=$stylename]/style:drawing-page-properties">
  739.                 <xsl:if test="@draw:fill and not(@draw:fill='none')">
  740.                     <µ╝ö:ΦâîµÖ» uof:locID="p0057">
  741.                         <xsl:call-template name="σí½σàà">
  742.                             <xsl:with-param name="picname" select="$stylename"/>
  743.                             <xsl:with-param name="nodename" select="$name"/>
  744.                         </xsl:call-template>
  745.                     </µ╝ö:ΦâîµÖ»>
  746.                 </xsl:if>
  747.             </xsl:for-each>
  748.         </µ╝ö:µ»ìτëê>
  749.     </xsl:template>
  750.     <xsl:template match="presentation:notes">
  751.         <µ╝ö:µ»ìτëê uof:locID="p0036" uof:attrList="µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï Θí╡Θ¥óΦ«╛τ╜«σ╝òτö¿ ΘàìΦë▓µû╣µíêσ╝òτö¿ Θí╡Θ¥óτëêσ╝Åσ╝òτö¿ µûçµ£¼σ╝ŵá╖σ╝òτö¿" µ╝ö:σÉìτº░="notesµ»ìτëê" µ╝ö:τ▒╗σ₧ï="notes">
  752.             <xsl:attribute name="µ╝ö:µáçΦ»åτ¼ª"><xsl:value-of select="concat('note-',parent::style:master-page/@style:name)"/></xsl:attribute>
  753.             <xsl:attribute name="µ╝ö:Θí╡Θ¥óΦ«╛τ╜«σ╝òτö¿"><xsl:value-of select="@style:page-layout-name"/></xsl:attribute>
  754.             <xsl:if test="@draw:style-name">
  755.                 <xsl:attribute name="µ╝ö:ΘàìΦë▓µû╣µíêσ╝òτö¿"><xsl:value-of select="@draw:style-name"/></xsl:attribute>
  756.             </xsl:if>
  757.             <xsl:if test="@presentation:presentation-page-layout-name">
  758.                 <xsl:attribute name="µ╝ö:Θí╡Θ¥óτëêσ╝Åσ╝òτö¿"><xsl:value-of select="@presentation:presentation-page-layout-name"/></xsl:attribute>
  759.             </xsl:if>
  760.             <xsl:call-template name="Σ║ºτöƒΘöÜτé╣"/>
  761.         </µ╝ö:µ»ìτëê>
  762.     </xsl:template>
  763.     <xsl:template match="draw:page">
  764.         <µ╝ö:σ╣╗τü»τëç uof:locID="p0040" uof:attrList="σÉìτº░ µáçΦ»åτ¼ª µ»ìτëêσ╝òτö¿ ΘàìΦë▓µû╣µíêσ╝òτö¿ Θí╡Θ¥óτëêσ╝Åσ╝òτö¿ µÿ╛τñ║ µÿ╛τñ║ΦâîµÖ» µÿ╛τñ║ΦâîµÖ»σ»╣Φ▒í">
  765.             <xsl:attribute name="µ╝ö:µáçΦ»åτ¼ª"><xsl:value-of select="concat(@draw:name,'_',@draw:style-name)"/></xsl:attribute>
  766.             <xsl:attribute name="µ╝ö:σÉìτº░"><xsl:value-of select="@draw:name"/></xsl:attribute>
  767.             <xsl:attribute name="µ╝ö:µ»ìτëêσ╝òτö¿"><xsl:value-of select="@draw:master-page-name"/></xsl:attribute>
  768.             <xsl:if test="@presentation:presentation-page-layout-name">
  769.                 <xsl:attribute name="µ╝ö:Θí╡Θ¥óτëêσ╝Åσ╝òτö¿"><xsl:value-of select="@presentation:presentation-page-layout-name"/></xsl:attribute>
  770.             </xsl:if>
  771.             <xsl:call-template name="Σ║ºτöƒΘöÜτé╣"/>
  772.             <xsl:apply-templates select="presentation:notes" mode="page"/>
  773.             <xsl:variable name="stylename">
  774.                 <xsl:value-of select="@draw:style-name"/>
  775.             </xsl:variable>
  776.             <xsl:variable name="name">
  777.                 <xsl:value-of select="name(.)"/>
  778.             </xsl:variable>
  779.             <xsl:for-each select="/office:document/*/style:style[@style:name=$stylename]/style:drawing-page-properties">
  780.                 <xsl:if test="@draw:fill and not(@draw:fill='none')">
  781.                     <µ╝ö:ΦâîµÖ» uof:locID="p0057"> 
  782.                         <xsl:call-template name="σí½σàà">
  783.                             <xsl:with-param name="picname" select="$stylename"/>
  784.                             <xsl:with-param name="nodename" select="$name"/>
  785.                         </xsl:call-template>
  786.                     </µ╝ö:ΦâîµÖ»>
  787.                 </xsl:if>
  788.             </xsl:for-each>
  789.             <µ╝ö:σêçµìó uof:locID="p0058" uof:attrList="µòêµ₧£ Θǃσ║ª">
  790.                 <xsl:for-each select="key('graphicset',$stylename)/style:drawing-page-properties">
  791.                     <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:choose><xsl:when test="@presentation:transition-speed='slow'">slow</xsl:when><xsl:otherwise>fast</xsl:otherwise></xsl:choose></xsl:attribute>
  792.                     <xsl:attribute name="µ╝ö:µòêµ₧£"><xsl:variable name="type"><xsl:value-of select="@smil:type"/></xsl:variable><xsl:variable name="subtype"><xsl:value-of select="@smil:subtype"/></xsl:variable><xsl:choose><xsl:when test="$type='irisWipe' and $subtype='rectangle' and @smil:direction='reverse'">box in</xsl:when><xsl:when test="$type='irisWipe' and $subtype='rectangle'">box out</xsl:when><xsl:when test="$type='checkerBoardWipe' and $subtype='across'">checkerboard across</xsl:when><xsl:when test="$type='checkerBoardWipe' and $subtype='down'">checkerboard down</xsl:when><xsl:when test="$type='pushWipe' and $subtype='combHorizontal'">comb horizontal</xsl:when><xsl:when test="$type='pushWipe' and $subtype='combVertical'">comb vertical</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromTop' and @smil:direction='reverse'">uncover down</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromRight' and @smil:direction='reverse'">uncover left</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromLeft' and @smil:direction='reverse'">uncover right</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromBottom' and @smil:direction='reverse'">uncover up</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromTopRight' and @smil:direction='reverse'">uncover left-down</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromBottomRight' and @smil:direction='reverse'">uncover left-up</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromTopLeft' and @smil:direction='reverse'">uncover right-down</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromBottomLeft' and @smil:direction='reverse'">uncover right-up</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromTop'">cover down</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromRight'">cover left</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromLeft'">cover right</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromBottom'">cover up</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromTopRight'">cover left-down</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromBottomRight'">cover left-up</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromTopLeft'">cover right-down</xsl:when><xsl:when test="$type='slideWipe' and $subtype='fromBottomLeft'">cover right-up</xsl:when><xsl:when test="$type='fade' and $subtype='fadeOverColor'">fade through black</xsl:when><xsl:when test="$type='pushWipe' and $subtype='fromTop'">push down</xsl:when><xsl:when test="$type='pushWipe' and $subtype='fromRight'">push left</xsl:when><xsl:when test="$type='pushWipe' and $subtype='fromLeft'">push right</xsl:when><xsl:when test="$type='pushWipe' and $subtype='fromBottom'">push up</xsl:when><xsl:when test="$type='randomBarWipe' and $subtype='horizontal'">random bars horizontal</xsl:when><xsl:when test="$type='randomBarWipe' and $subtype='vertical'">random bars vertical</xsl:when><xsl:when test="$type='ellipseWipe' and $subtype='circle'">shape circle</xsl:when><xsl:when test="$type='irisWipe' and $subtype='diamond'">shape diamond</xsl:when><xsl:when test="$type='fourBoxWipe' and $subtype='cornersOut'">shape plus</xsl:when><xsl:when test="$type='barnDoorWipe' and $subtype='horizontal' and @smil:direction='reverse'">split horizontal in</xsl:when><xsl:when test="$type='barnDoorWipe' and $subtype='horizontal'">split horizontal out</xsl:when><xsl:when test="$type='barnDoorWipe' and $subtype='vertical' and @smil:direction='reverse'">split vertical in</xsl:when><xsl:when test="$type='barnDoorWipe' and $subtype='vertical'">split vertical out</xsl:when><xsl:when test="$type='fanWipe' and $subtype='centerTop'">wedge</xsl:when><xsl:when test="$type='pinWheelWipe' and $subtype='oneBlade'">wheel clockwise ΓÇô 1 spoke</xsl:when><xsl:when test="$type='pinWheelWipe' and $subtype='twoBladeVertical'">wheel clockwise ΓÇô 2 spoke</xsl:when><xsl:when test="$type='pinWheelWipe' and $subtype='threeBlade'">wheel clockwise ΓÇô 3 spoke</xsl:when><xsl:when test="$type='pinWheelWipe' and $subtype='fourBlade'">wheel clockwise ΓÇô 4 spoke</xsl:when><xsl:when test="$type='pinWheelWipe' and $subtype='eightBlade'">wheel clockwise ΓÇô 8 spoke</xsl:when><xsl:when test="$type='barWipe' and $subtype='leftToRight' and @smil:direction='reverse'">wipe left</xsl:when><xsl:when test="$type='barWipe' and $subtype='leftToRight'">wipe right</xsl:when><xsl:when test="$type='barWipe' and $subtype='topToBottom' and @smil:direction='reverse'">wipe up</xsl:when><xsl:when test="$type='barWipe' and $subtype='topToBottom'">wipe down</xsl:when><xsl:when test="$type='blindsWipe' and $subtype='vertical'">blinds vertical</xsl:when><xsl:when test="$type='blindsWipe' and $subtype='horizontal'">blinds horizontal</xsl:when><xsl:when test="$type='dissolve'">dissolve</xsl:when><xsl:when test="$type='random'">random transition</xsl:when><xsl:otherwise>none</xsl:otherwise></xsl:choose></xsl:attribute>
  793.                     <µ╝ö:σú░Θƒ│ uof:locID="p0061" uof:attrList="Θóäσ«ÜΣ╣ëσú░Θƒ│ Φç¬σ«ÜΣ╣ëσú░Θƒ│">
  794.                         <xsl:choose>
  795.                             <xsl:when test="not(presentation:sound)">
  796.                                 <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσú░Θƒ│">none</xsl:attribute>
  797.                             </xsl:when>
  798.                             <xsl:otherwise>
  799.                                 <xsl:variable name="lujing">
  800.                                     <xsl:value-of select="substring-after(presentation:sound/@xlink:href,'share/gallery/sounds/')"/>
  801.                                 </xsl:variable>
  802.                                 <xsl:variable name="ming">
  803.                                     <xsl:value-of select="substring-before($lujing,'.wav')"/>
  804.                                 </xsl:variable>
  805.                                 <xsl:choose>
  806.                                     <xsl:when test="$ming='applause'">
  807.                                         <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσú░Θƒ│">applause</xsl:attribute>
  808.                                     </xsl:when>
  809.                                     <xsl:when test="$ming='explos'">
  810.                                         <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσú░Θƒ│">explosion</xsl:attribute>
  811.                                     </xsl:when>
  812.                                     <xsl:when test="$ming='laser'">
  813.                                         <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσú░Θƒ│">laser</xsl:attribute>
  814.                                     </xsl:when>
  815.                                     <xsl:otherwise>
  816.                                         <xsl:attribute name="µ╝ö:Φç¬σ«ÜΣ╣ëσú░Θƒ│"><xsl:value-of select="presentation:sound/@xlink:href"/></xsl:attribute>
  817.                                     </xsl:otherwise>
  818.                                 </xsl:choose>
  819.                             </xsl:otherwise>
  820.                         </xsl:choose>
  821.                     </µ╝ö:σú░Θƒ│>
  822.                     <µ╝ö:µû╣σ╝Å uof:locID="p0062">
  823.                         <µ╝ö:σìòσç╗Θ╝áµáç uof:locID="p0065">
  824.                             <xsl:choose>
  825.                                 <xsl:when test="@presentation:transition-type='automatic'">false</xsl:when>
  826.                                 <xsl:otherwise>true</xsl:otherwise>
  827.                             </xsl:choose>
  828.                         </µ╝ö:σìòσç╗Θ╝áµáç>
  829.                         <xsl:if test="@presentation:duration">
  830.                             <µ╝ö:µù╢Θù┤Θù┤ΘÜö uof:locID="p0066">
  831.                                 <xsl:variable name="hms">
  832.                                     <xsl:value-of select="substring-after(@presentation:duration,'PT')"/>
  833.                                 </xsl:variable>
  834.                                 <xsl:variable name="h">
  835.                                     <xsl:value-of select="number(substring-before($hms,'H'))"/>
  836.                                 </xsl:variable>
  837.                                 <xsl:variable name="ms">
  838.                                     <xsl:value-of select="substring-after($hms,'H')"/>
  839.                                 </xsl:variable>
  840.                                 <xsl:variable name="m">
  841.                                     <xsl:value-of select="number(substring-before($ms,'M'))"/>
  842.                                 </xsl:variable>
  843.                                 <xsl:variable name="s">
  844.                                     <xsl:value-of select="number(substring-before(substring-after($ms,'M'),'S'))"/>
  845.                                 </xsl:variable>
  846.                                 <xsl:value-of select="$h *3600 + $m * 60 + $s"/>
  847.                             </µ╝ö:µù╢Θù┤Θù┤ΘÜö>
  848.                         </xsl:if>
  849.                     </µ╝ö:µû╣σ╝Å>
  850.                 </xsl:for-each>
  851.             </µ╝ö:σêçµìó>
  852.         </µ╝ö:σ╣╗τü»τëç>
  853.     </xsl:template>
  854.     <xsl:template match="presentation:notes" mode="page">
  855.         <µ╝ö:σ╣╗τü»τëçσñçµ│¿ uof:locID="p0054" uof:attrList="σñçµ│¿µ»ìτëêσ╝òτö¿">
  856.             <xsl:attribute name="µ╝ö:σñçµ│¿µ»ìτëêσ╝òτö¿"><xsl:variable name="cute"><xsl:value-of select="parent::node()/@draw:master-page-name"/></xsl:variable><xsl:value-of select="concat('note-',$cute)"/></xsl:attribute>
  857.             <xsl:call-template name="Σ║ºτöƒΘöÜτé╣"/>
  858.             <µ╝ö:ΦâîµÖ» uof:locID="p0057">
  859.                <σ¢╛:Θó£Φë▓ uof:locID="g0034">#ffffff</σ¢╛:Θó£Φë▓>
  860.             </µ╝ö:ΦâîµÖ»>
  861.         </µ╝ö:σ╣╗τü»τëçσñçµ│¿>
  862.     </xsl:template>
  863.     <xsl:template name="Σ║ºτöƒΘöÜτé╣">
  864.         <xsl:for-each select="child::node( )">
  865.             <xsl:choose>
  866.                 <xsl:when test="substring-before(name(),':')='draw'">
  867.                     <uof:ΘöÜτé╣ uof:locID="u0064" uof:attrList="xσ¥Éµáç yσ¥Éµáç σ«╜σ║ª Θ½ÿσ║ª σ¢╛σ╜óσ╝òτö¿ ΘÜÅσ迵û╣σ╝Å τ╝⌐τòÑσ¢╛ σìáΣ╜ìτ¼ª">
  868.                         <xsl:variable name="nodename">
  869.                             <xsl:value-of select="name(.)"/>
  870.                         </xsl:variable>
  871.                         <xsl:variable name="refpicname">
  872.                             <xsl:choose>
  873.                                 <xsl:when test="@draw:style-name">
  874.                                     <xsl:value-of select="@draw:style-name"/>
  875.                                 </xsl:when>
  876.                                 <xsl:otherwise>
  877.                                     <xsl:value-of select="@presentation:style-name"/>
  878.                                 </xsl:otherwise>
  879.                             </xsl:choose>
  880.                         </xsl:variable>
  881.                         <xsl:variable name="picnumber">
  882.                             <xsl:choose>
  883.                                 <xsl:when test="@draw:style-name">
  884.                                     <xsl:value-of select="count(preceding::*[@draw:style-name=$refpicname])"/>
  885.                                 </xsl:when>
  886.                                 <xsl:otherwise>
  887.                                     <xsl:value-of select="count(preceding::*[@presentation:style-name=$refpicname])"/>
  888.                                 </xsl:otherwise>
  889.                             </xsl:choose>
  890.                         </xsl:variable>
  891.                         <xsl:attribute name="uof:xσ¥Éµáç"><xsl:choose><xsl:when test="name(.)='draw:g'"><xsl:call-template name="groupminx"><xsl:with-param name="value" select="number(substring-before(descendant::node()[@svg:x][1]/@svg:x,$uofUnit))"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:choose><xsl:when test="@svg:x"><xsl:value-of select="substring-before(@svg:x,$uofUnit)"/></xsl:when><xsl:when test="@svg:x1"><xsl:value-of select="substring-before(@svg:x1,$uofUnit)"/></xsl:when></xsl:choose></xsl:otherwise></xsl:choose></xsl:attribute>
  892.                         <xsl:attribute name="uof:yσ¥Éµáç"><xsl:choose><xsl:when test="name(.)='draw:g'"><xsl:call-template name="groupminx"><xsl:with-param name="value" select="number(substring-before(descendant::node()[@svg:y][1]/@svg:y,$uofUnit))"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:when><xsl:otherwise><xsl:choose><xsl:when test="@svg:y"><xsl:value-of select="substring-before(@svg:y,$uofUnit)"/></xsl:when><xsl:when test="@svg:y1"><xsl:value-of select="substring-before(@svg:y1,$uofUnit)"/></xsl:when></xsl:choose></xsl:otherwise></xsl:choose></xsl:attribute>
  893.                         <xsl:attribute name="uof:σ«╜σ║ª"><xsl:choose><xsl:when test="@svg:width"><xsl:value-of select="substring-before(@svg:width,$uofUnit)"/></xsl:when><xsl:when test="@svg:x1"><xsl:value-of select="substring-before(@svg:x2,$uofUnit) - substring-before(@svg:x1,$uofUnit)"/></xsl:when><xsl:when test="name(.)='draw:g'"><xsl:variable name="minx"><xsl:call-template name="groupminx"><xsl:with-param name="value" select="number(substring-before(descendant::node()[@svg:x][1]/@svg:x,$uofUnit))"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:variable><xsl:variable name="svgx"><xsl:value-of select="number(substring-before(descendant::node()[@svg:x][1]/@svg:x,$uofUnit))"/></xsl:variable><xsl:variable name="width"><xsl:value-of select="number(substring-before(descendant::node()[@svg:x][1]/@svg:width,$uofUnit))"/></xsl:variable><xsl:variable name="maxx"><xsl:call-template name="groupmaxx"><xsl:with-param name="value" select="$svgx + $width"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:variable><xsl:value-of select="$maxx - $minx"/></xsl:when></xsl:choose></xsl:attribute>
  894.                         <xsl:attribute name="uof:Θ½ÿσ║ª"><xsl:choose><xsl:when test="@svg:height"><xsl:value-of select="substring-before(@svg:height,$uofUnit)"/></xsl:when><xsl:when test="@svg:x1"><xsl:value-of select="substring-before(@svg:y2,$uofUnit) - substring-before(@svg:y1,$uofUnit)"/></xsl:when><xsl:when test="name(.)='draw:g'"><xsl:variable name="miny"><xsl:call-template name="groupminy"><xsl:with-param name="value" select="number(substring-before(descendant::node()[@svg:y][1]/@svg:y,$uofUnit))"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:variable><xsl:variable name="svgy"><xsl:value-of select="number(substring-before(descendant::node()[@svg:y][1]/@svg:y,$uofUnit))"/></xsl:variable><xsl:variable name="height"><xsl:value-of select="number(substring-before(descendant::node()[@svg:y][1]/@svg:height,$uofUnit))"/></xsl:variable><xsl:variable name="maxy"><xsl:call-template name="groupmaxy"><xsl:with-param name="value" select="$svgy + $height"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:variable><xsl:value-of select="$maxy - $miny"/></xsl:when></xsl:choose></xsl:attribute>
  895.                         <xsl:attribute name="uof:σ¢╛σ╜óσ╝òτö¿"><xsl:choose><xsl:when test="@draw:id"><xsl:value-of select="@draw:id"/></xsl:when><xsl:when test="not(@draw:style-name) and name()='draw:g'"><xsl:value-of select="concat(child::node()[1]/@draw:style-name,'_',$picnumber)"/></xsl:when><xsl:otherwise><xsl:value-of select="concat($refpicname,'_',$picnumber)"/></xsl:otherwise></xsl:choose></xsl:attribute>
  896.                         <xsl:attribute name="uof:ΘÜÅσ迵û╣σ╝Å"><xsl:choose><xsl:when test="key('graphicset',$refpicname)/node()/@style:protect"><xsl:for-each select="key('graphicset',$refpicname)/node()"><xsl:choose><xsl:when test="@style:protect='size'">move</xsl:when><xsl:otherwise>none</xsl:otherwise></xsl:choose></xsl:for-each></xsl:when><xsl:otherwise>movesize</xsl:otherwise></xsl:choose></xsl:attribute>
  897.                         <xsl:if test="name(.)='draw:page-thumbnail'">
  898.                             <xsl:attribute name="uof:τ╝⌐τòÑσ¢╛">true</xsl:attribute>
  899.                         </xsl:if>
  900.                         <xsl:if test="not(name(parent::node())='style:handout-master')">
  901.                         <xsl:attribute name="uof:σìáΣ╜ìτ¼ª"><xsl:choose><xsl:when test="@presentation:object"><xsl:value-of select="@presentation:object"/></xsl:when><xsl:when test=".//draw:image">graphic</xsl:when></xsl:choose></xsl:attribute>
  902.                         <xsl:if test="@presentation:class">
  903.                             <xsl:attribute name="uof:σìáΣ╜ìτ¼ª"><xsl:value-of select="@presentation:class"/></xsl:attribute>
  904.                         </xsl:if>
  905.                         </xsl:if>
  906.                     </uof:ΘöÜτé╣>
  907.                 </xsl:when>
  908.                 <xsl:when test="name()= 'anim:par'">
  909.                     <µ╝ö:σè¿τö╗ uof:locID="p0042">
  910.                         <xsl:apply-templates select="anim:seq"/>
  911.                     </µ╝ö:σè¿τö╗>
  912.                 </xsl:when>
  913.             </xsl:choose>
  914.         </xsl:for-each>
  915.     </xsl:template>
  916.     <xsl:template match="anim:seq">
  917.         <xsl:apply-templates select="anim:par/anim:par/anim:par"/>
  918.         <xsl:apply-templates select="anim:par/anim:par/anim:iterate"/>
  919.     </xsl:template>
  920.     <xsl:template match="anim:par | anim:iterate">
  921.         <µ╝ö:σ║Åσêù uof:locID="p0043" uof:attrList="µ«╡ΦÉ╜σ╝òτö¿ σè¿τö╗σ»╣Φ▒í">
  922.             <xsl:attribute name="µ╝ö:σè¿τö╗σ»╣Φ▒í"><xsl:choose>
  923.             <xsl:when test=".//@smil:targetElement"><xsl:value-of select=".//@smil:targetElement"/></xsl:when><xsl:when test="@anim:id"><xsl:value-of select="@anim:id"/></xsl:when><xsl:otherwise><xsl:value-of select="../@smil:targetElement"/></xsl:otherwise></xsl:choose></xsl:attribute>
  924.  
  925.             <µ╝ö:σ«Üµù╢ uof:locID="p0067" uof:attrList="Σ║ïΣ╗╢ σ╗╢µù╢ Θǃσ║ª Θçìσñì σ¢₧σì╖">
  926.                 <xsl:attribute name="µ╝ö:Σ║ïΣ╗╢">
  927.                 <xsl:choose>
  928.                     <xsl:when test="@presentation:node-type='on-click'">on click</xsl:when>
  929.                     <xsl:when test="@presentation:node-type='with-previous'">with previous</xsl:when>
  930.                     <xsl:otherwise><xsl:value-of select="@presentation:node-type"/></xsl:otherwise>
  931.                 </xsl:choose>
  932.                 </xsl:attribute>
  933.                 <xsl:attribute name="µ╝ö:σ╗╢µù╢"><xsl:value-of select="substring-before(@smil:begin,'s')"/></xsl:attribute>
  934.                 <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:choose><xsl:when test="anim:animate/@smil:dur='0.5s'">very fast</xsl:when><xsl:when test="anim:animate/@smil:dur='1s'">fast</xsl:when><xsl:when test="anim:animate/@smil:dur='2s'">medium</xsl:when><xsl:when test="anim:animate/@smil:dur='3s'">slow</xsl:when><xsl:when test="anim:animate/@smil:dur='5s'">very slow</xsl:when><xsl:otherwise>medium</xsl:otherwise></xsl:choose></xsl:attribute>
  935.                 <xsl:attribute name="µ╝ö:Θçìσñì"><xsl:choose><xsl:when test="@smil:repeatCount = 'indefinite' "><xsl:choose><xsl:when test="@smil:end='next'">until next click</xsl:when><xsl:otherwise>until next slide</xsl:otherwise></xsl:choose></xsl:when><xsl:when test="@smil:repeatCount ='2' or @smil:repeatCount ='3' or @smil:repeatCount ='4' or @smil:repeatCount ='5' or @smil:repeatCount ='10' "><xsl:value-of select="@smil:repeatCount"/></xsl:when><xsl:otherwise>none</xsl:otherwise></xsl:choose></xsl:attribute>
  936.                 <xsl:attribute name="µ╝ö:σ¢₧σì╖"><xsl:choose><xsl:when test="@smil:fill='remove'">true</xsl:when><xsl:otherwise>false</xsl:otherwise></xsl:choose></xsl:attribute>
  937.             </µ╝ö:σ«Üµù╢>
  938.             <µ╝ö:σó₧σ╝║ uof:locID="p0068">
  939.                 <µ╝ö:σè¿τö╗µÆ¡µö╛σÉÄ uof:locID="p0070" uof:attrList="Θó£Φë▓ σÅÿµÜù µÆ¡µö╛σÉÄΘÜÉΦùÅ σìòσç╗σÉÄΘÜÉΦùÅ">
  940.                     <xsl:if test="../anim:animateColor">
  941.                         <xsl:attribute name="µ╝ö:Θó£Φë▓"><xsl:value-of select="../anim:animateColor/@smil:to"/></xsl:attribute>
  942.                     </xsl:if>
  943.                     <xsl:choose>
  944.                         <xsl:when test="../anim:animateColor">
  945.                             <xsl:attribute name="µ╝ö:σÅÿµÜù">true</xsl:attribute>
  946.                         </xsl:when>
  947.                         <xsl:otherwise>
  948.                             <xsl:attribute name="µ╝ö:σÅÿµÜù">false</xsl:attribute>
  949.                         </xsl:otherwise>
  950.                     </xsl:choose>
  951.                     <xsl:choose>
  952.                         <xsl:when test="@presentation:preset-property='Direction;Accelerate;Decelerate' ">
  953.                             <xsl:attribute name="µ╝ö:µÆ¡µö╛σÉÄΘÜÉΦùÅ">true</xsl:attribute>
  954.                         </xsl:when>
  955.                         <xsl:otherwise>
  956.                             <xsl:attribute name="µ╝ö:µÆ¡µö╛σÉÄΘÜÉΦùÅ">false</xsl:attribute>
  957.                         </xsl:otherwise>
  958.                     </xsl:choose>
  959.                     <xsl:choose>
  960.                         <xsl:when test="../anim:set/@smil:to">
  961.                             <xsl:attribute name="µ╝ö:σìòσç╗σÉÄΘÜÉΦùÅ">true</xsl:attribute>
  962.                         </xsl:when>
  963.                         <xsl:otherwise>
  964.                             <xsl:attribute name="µ╝ö:σìòσç╗σÉÄΘÜÉΦùÅ">false</xsl:attribute>
  965.                         </xsl:otherwise>
  966.                     </xsl:choose>
  967.                 </µ╝ö:σè¿τö╗µÆ¡µö╛σÉÄ>
  968.                     <µ╝ö:σè¿τö╗µûçµ£¼ uof:locID="p0071" uof:attrList="σÅæΘÇü Θù┤ΘÜö σè¿τö╗σ╜óτè╢ τ¢╕σÅìΘí║σ║Å">
  969.                         <xsl:attribute name="µ╝ö:σÅæΘÇü"><xsl:choose><xsl:when test="@anim:iterate-type = 'by-word' ">by word</xsl:when><xsl:when test="@anim:iterate-type = 'by-letter' ">by letter</xsl:when><xsl:otherwise>all at once</xsl:otherwise></xsl:choose></xsl:attribute>
  970.                         <xsl:attribute name="µ╝ö:Θù┤ΘÜö"><xsl:choose><xsl:when test="@anim:iterate-interval"><xsl:value-of select="substring-before(@anim:iterate-interval,'s')"/>
  971. </xsl:when><xsl:otherwise>0</xsl:otherwise></xsl:choose></xsl:attribute>
  972.                         <xsl:attribute name="µ╝ö:σè¿τö╗σ╜óτè╢">false</xsl:attribute>
  973.                         <xsl:attribute name="µ╝ö:τ¢╕σÅìΘí║σ║Å">false</xsl:attribute>
  974.                     </µ╝ö:σè¿τö╗µûçµ£¼>
  975.                 <xsl:if test="anim:audio">
  976.                     <µ╝ö:σú░Θƒ│ uof:locID="p0061" uof:attrList="Θóäσ«ÜΣ╣ëσú░Θƒ│ Φç¬σ«ÜΣ╣ëσú░Θƒ│">
  977.                         <xsl:variable name="audioname">
  978.                             <xsl:value-of select="substring-after(anim:audio/@xlink:href,'gallery/sounds/')"/>
  979.                         </xsl:variable>
  980.                         <xsl:choose>
  981.                             <xsl:when test="not($audioname='')">
  982.                                 <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσú░Θƒ│"><xsl:choose><xsl:when test="anim:audio/@xlink:href"><xsl:value-of select="anim:audio/@xlink:href"/></xsl:when><xsl:otherwise>none</xsl:otherwise></xsl:choose></xsl:attribute>
  983.                             </xsl:when>
  984.                             <xsl:otherwise>
  985.                                 <xsl:attribute name="µ╝ö:Φç¬σ«ÜΣ╣ëσú░Θƒ│"><xsl:value-of select="anim:audio/@xlink:href"/></xsl:attribute>
  986.                             </xsl:otherwise>
  987.                         </xsl:choose>
  988.                     </µ╝ö:σú░Θƒ│>
  989.                 </xsl:if>
  990.             </µ╝ö:σó₧σ╝║>
  991.             <µ╝ö:µòêµ₧£ uof:locID="p0069">
  992.                 <xsl:choose>
  993.                     <xsl:when test="./@presentation:preset-class = 'entrance'">
  994.                         <µ╝ö:Φ┐¢σàÑ uof:locID="p0073">
  995.                             <xsl:apply-templates select="@presentation:preset-id"/>
  996.                         </µ╝ö:Φ┐¢σàÑ>
  997.                     </xsl:when>
  998.                     <xsl:when test="./@presentation:preset-class = 'exit'">
  999.                         <µ╝ö:ΘÇÇσç║ uof:locID="p0074">
  1000.                             <xsl:apply-templates select="@presentation:preset-id"/>
  1001.                         </µ╝ö:ΘÇÇσç║>
  1002.                     </xsl:when>
  1003.                     <xsl:when test="./@presentation:preset-class = 'emphasis' ">
  1004.                         <µ╝ö:σ╝║Φ░â uof:locID="p0075">
  1005.                             <xsl:apply-templates select="@presentation:preset-id"/>
  1006.                         </µ╝ö:σ╝║Φ░â>
  1007.                     </xsl:when>
  1008.                     <xsl:otherwise>
  1009.                         <µ╝ö:σè¿Σ╜£Φ╖»σ╛ä uof:locID="p0133" uof:attrList="Φ╖»σ╛ä">
  1010.                             <xsl:attribute name="µ╝ö:Φ╖»σ╛ä">
  1011.                                 <xsl:value-of select="anim:animateMotion/@svg:path"/>
  1012.                             </xsl:attribute>
  1013.                         </µ╝ö:σè¿Σ╜£Φ╖»σ╛ä>
  1014.                     </xsl:otherwise>
  1015.                 </xsl:choose>
  1016.             </µ╝ö:µòêµ₧£>
  1017.         </µ╝ö:σ║Åσêù>
  1018.     </xsl:template>
  1019.     <xsl:template name="anim_speed">
  1020.         <xsl:param name="speed"/>
  1021.         <xsl:choose>
  1022.             <xsl:when test="$speed='0.5s' or $speed='0.25s'">very fast</xsl:when>
  1023.             <xsl:when test="$speed='1s'">fast</xsl:when>
  1024.             <xsl:when test="$speed='2s'">medium</xsl:when>
  1025.             <xsl:when test="$speed='3s'">slow</xsl:when>
  1026.             <xsl:when test="$speed='5s'">very slow</xsl:when>
  1027.             <xsl:otherwise>medium</xsl:otherwise>
  1028.         </xsl:choose>
  1029.     </xsl:template>
  1030.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-venetian-blinds']">
  1031.         <µ╝ö:τÖ╛σÅ╢τ¬ù uof:locID="p0080" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1032.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1033.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1034.         </µ╝ö:τÖ╛σÅ╢τ¬ù>
  1035.     </xsl:template>
  1036.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-appear']">
  1037.         <µ╝ö:σç║τÄ░ uof:locID="p0081">
  1038.     </µ╝ö:σç║τÄ░>
  1039.     </xsl:template>
  1040.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-box']">
  1041.         <µ╝ö:τ¢Æτè╢ uof:locID="p0082" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1042.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1043.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1044.         </µ╝ö:τ¢Æτè╢>
  1045.     </xsl:template>
  1046.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-diagonal-squares']">
  1047.         <µ╝ö:Θÿ╢µó»τè╢ uof:locID="p0083" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1048.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1049.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'left-to-bottom' ">left down</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'left-to-top' ">left up</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'right-to-bottom' ">right down</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'right-to-top' ">right up</xsl:when></xsl:choose></xsl:attribute>
  1050.         </µ╝ö:Θÿ╢µó»τè╢>
  1051.     </xsl:template>
  1052.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-wheel']">
  1053.         <µ╝ö:Φ╜«σ¡É uof:locID="p0084" uof:attrList="Θǃσ║ª Φ╛Éσ░äτè╢">
  1054.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1055.             <xsl:attribute name="µ╝ö:Φ╛Éσ░äτè╢"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1056.         </µ╝ö:Φ╜«σ¡É>
  1057.     </xsl:template>
  1058.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-checkerboard']">
  1059.         <µ╝ö:µúïτ¢ÿ uof:locID="p0085" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1060.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1061.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:subtype"/></xsl:attribute>
  1062.         </µ╝ö:µúïτ¢ÿ>
  1063.     </xsl:template>
  1064.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-flash-once']">
  1065.         <µ╝ö:Θù¬τâüΣ╕ǵ¼í uof:locID="p0086" uof:attrList="Θǃσ║ª">
  1066.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:set/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1067.         </µ╝ö:Θù¬τâüΣ╕ǵ¼í>
  1068.     </xsl:template>
  1069.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-plus']">
  1070.         <µ╝ö:σìüσ¡ùσ╜óµë⌐σ▒ò uof:locID="p0087" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1071.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1072.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1073.         </µ╝ö:σìüσ¡ùσ╜óµë⌐σ▒ò>
  1074.     </xsl:template>
  1075.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-random']">
  1076.         <µ╝ö:ΘÜŵ£║µòêµ₧£ uof:locID="p0088">
  1077.         </µ╝ö:ΘÜŵ£║µòêµ₧£>
  1078.     </xsl:template>
  1079.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-circle']">
  1080.         <µ╝ö:σ£åσ╜óµë⌐σ▒ò uof:locID="p0089" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1081.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1082.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1083.         </µ╝ö:σ£åσ╜óµë⌐σ▒ò>
  1084.     </xsl:template>
  1085.         <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-wipe']">
  1086.         <µ╝ö:µôªΘÖñ uof:locID="p0090" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1087.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1088.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'from-right'">from right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-left'">from left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top'">from top</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom'">from bottom</xsl:when></xsl:choose></xsl:attribute>
  1089.         </µ╝ö:µôªΘÖñ>
  1090.     </xsl:template>
  1091.         <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-fly-in']">
  1092.         <µ╝ö:Θú₧σàÑ uof:locID="p0091" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1093.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:animate/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1094.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'from-bottom'">from bottom</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top-right'">from top-right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top-left'">from top-left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom-left'">from bottom-left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom-right'">from bottom-right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-right'">from right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-left'">from left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top'">from top</xsl:when></xsl:choose></xsl:attribute>
  1095.         </µ╝ö:Θú₧σàÑ>
  1096.     </xsl:template>
  1097.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-fly-in-slow']">
  1098.         <µ╝ö:τ╝ôµàóΘú₧σàÑ uof:locID="p0092" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1099.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:animate/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1100.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'from-right'">from right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-left'">from left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top'">from top</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom'">from bottom</xsl:when></xsl:choose></xsl:attribute>
  1101.         </µ╝ö:τ╝ôµàóΘú₧σàÑ>
  1102.     </xsl:template>
  1103.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-diamond']">
  1104.         <µ╝ö:ΦÅ▒σ╜ó uof:locID="p0093" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1105.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1106.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1107.         </µ╝ö:ΦÅ▒σ╜ó>
  1108.     </xsl:template>
  1109.         <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-split']">
  1110.         <µ╝ö:σèêΦúé uof:locID="p0094" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1111.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1112.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'horizontal-out'">horizontal out</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'horizontal-in'">horizontal in</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'vertical-in'">vertical in</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'vertical-out'">vertical out</xsl:when></xsl:choose></xsl:attribute>
  1113.         </µ╝ö:σèêΦúé>
  1114.     </xsl:template>
  1115.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-peek-in']">
  1116.         <µ╝ö:σêçσàÑ uof:locID="p0095" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1117.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1118.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'from-right'">from right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-left'">from left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top'">from top</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom'">from bottom</xsl:when></xsl:choose></xsl:attribute>
  1119.         </µ╝ö:σêçσàÑ>
  1120.     </xsl:template>
  1121.         <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-wedge']">
  1122.         <µ╝ö:µëçσ╜óσ▒òσ╝Ç uof:locID="p0096" uof:attrList="Θǃσ║ª">
  1123.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1124.         </µ╝ö:µëçσ╜óσ▒òσ╝Ç>
  1125.     </xsl:template>
  1126.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-random-bars']">
  1127.         <µ╝ö:ΘÜŵ£║τ║┐µ¥í uof:locID="p0097" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1128.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1129.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1130.         </µ╝ö:ΘÜŵ£║τ║┐µ¥í>
  1131.     </xsl:template>
  1132.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-dissolve-in']">
  1133.         <µ╝ö:σÉæσåàµ║╢Φºú uof:locID="p0098" uof:attrList="Θǃσ║ª">
  1134.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1135.         </µ╝ö:σÉæσåàµ║╢Φºú>
  1136.     </xsl:template>
  1137.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-boomerang']">
  1138.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1139.             <xsl:copy-of select="parent::node()"/>
  1140.         </µ╝ö:σà╢Σ╗û>
  1141.     </xsl:template>
  1142.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-bounce']">
  1143.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1144.             <xsl:copy-of select="parent::node()"/>
  1145.         </µ╝ö:σà╢Σ╗û>
  1146.     </xsl:template>
  1147.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-curve-up']">
  1148.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1149.             <xsl:copy-of select="parent::node()"/>
  1150.         </µ╝ö:σà╢Σ╗û>
  1151.     </xsl:template>
  1152.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-falling-in']">
  1153.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1154.             <xsl:copy-of select="parent::node()"/>
  1155.         </µ╝ö:σà╢Σ╗û>
  1156.     </xsl:template>
  1157.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-flip']">
  1158.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1159.             <xsl:copy-of select="parent::node()"/>
  1160.         </µ╝ö:σà╢Σ╗û>
  1161.     </xsl:template>
  1162.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-float']">
  1163.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1164.             <xsl:copy-of select="parent::node()"/>
  1165.         </µ╝ö:σà╢Σ╗û>
  1166.     </xsl:template>
  1167.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-fold']">
  1168.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1169.             <xsl:copy-of select="parent::node()"/>
  1170.         </µ╝ö:σà╢Σ╗û>
  1171.     </xsl:template>
  1172.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-glide']">
  1173.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1174.             <xsl:copy-of select="parent::node()"/>
  1175.         </µ╝ö:σà╢Σ╗û>
  1176.     </xsl:template>
  1177.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-magnify']">
  1178.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1179.             <xsl:copy-of select="parent::node()"/>
  1180.         </µ╝ö:σà╢Σ╗û>
  1181.     </xsl:template>
  1182.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-movie-credits']">
  1183.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1184.             <xsl:copy-of select="parent::node()"/>
  1185.         </µ╝ö:σà╢Σ╗û>
  1186.     </xsl:template>
  1187.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-pinwheel']">
  1188.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1189.             <xsl:copy-of select="parent::node()"/>
  1190.         </µ╝ö:σà╢Σ╗û>
  1191.     </xsl:template>
  1192.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-breaks']">
  1193.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1194.             <xsl:copy-of select="parent::node()"/>
  1195.         </µ╝ö:σà╢Σ╗û>
  1196.     </xsl:template>
  1197.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-sling']">
  1198.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1199.             <xsl:copy-of select="parent::node()"/>
  1200.         </µ╝ö:σà╢Σ╗û>
  1201.     </xsl:template>
  1202.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-spiral-in']">
  1203.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1204.             <xsl:copy-of select="parent::node()"/>
  1205.         </µ╝ö:σà╢Σ╗û>
  1206.     </xsl:template>
  1207.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-swivel']">
  1208.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1209.             <xsl:copy-of select="parent::node()"/>
  1210.         </µ╝ö:σà╢Σ╗û>
  1211.     </xsl:template>
  1212.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-thread']">
  1213.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1214.             <xsl:copy-of select="parent::node()"/>
  1215.         </µ╝ö:σà╢Σ╗û>
  1216.     </xsl:template>
  1217.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-whip']">
  1218.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1219.             <xsl:copy-of select="parent::node()"/>
  1220.         </µ╝ö:σà╢Σ╗û>
  1221.     </xsl:template>
  1222.     <xsl:template match="@presentation:preset-id[. = 'oooo-entrance-ascend']">
  1223.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1224.             <xsl:copy-of select="parent::node()"/>
  1225.         </µ╝ö:σà╢Σ╗û>
  1226.     </xsl:template>
  1227.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-center-revolve']">
  1228.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1229.             <xsl:copy-of select="parent::node()"/>
  1230.         </µ╝ö:σà╢Σ╗û>
  1231.     </xsl:template>
  1232.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-colored-lettering']">
  1233.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1234.             <xsl:copy-of select="parent::node()"/>
  1235.         </µ╝ö:σà╢Σ╗û>
  1236.     </xsl:template>
  1237.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-compress']">
  1238.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1239.             <xsl:copy-of select="parent::node()"/>
  1240.         </µ╝ö:σà╢Σ╗û>
  1241.     </xsl:template>
  1242.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-descend']">
  1243.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1244.             <xsl:copy-of select="parent::node()"/>
  1245.         </µ╝ö:σà╢Σ╗û>
  1246.     </xsl:template>
  1247.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-ease-in']">
  1248.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1249.             <xsl:copy-of select="parent::node()"/>
  1250.         </µ╝ö:σà╢Σ╗û>
  1251.     </xsl:template>
  1252.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-rise-up']">
  1253.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1254.             <xsl:copy-of select="parent::node()"/>
  1255.         </µ╝ö:σà╢Σ╗û>
  1256.     </xsl:template>
  1257.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-spin-in']">
  1258.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1259.             <xsl:copy-of select="parent::node()"/>
  1260.         </µ╝ö:σà╢Σ╗û>
  1261.     </xsl:template>
  1262.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-stretchy']">
  1263.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1264.             <xsl:copy-of select="parent::node()"/>
  1265.         </µ╝ö:σà╢Σ╗û>
  1266.     </xsl:template>
  1267.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-turn-and-grow']">
  1268.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1269.             <xsl:copy-of select="parent::node()"/>
  1270.         </µ╝ö:σà╢Σ╗û>
  1271.     </xsl:template>
  1272.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-unfold']">
  1273.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1274.             <xsl:copy-of select="parent::node()"/>
  1275.         </µ╝ö:σà╢Σ╗û>
  1276.     </xsl:template>
  1277.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-colored-lettering']">
  1278.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1279.             <xsl:copy-of select="parent::node()"/>
  1280.         </µ╝ö:σà╢Σ╗û>
  1281.     </xsl:template>
  1282.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-expand']">
  1283.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1284.             <xsl:copy-of select="parent::node()"/>
  1285.         </µ╝ö:σà╢Σ╗û>
  1286.     </xsl:template>
  1287.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-fade-in']">
  1288.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1289.             <xsl:copy-of select="parent::node()"/>
  1290.         </µ╝ö:σà╢Σ╗û>
  1291.     </xsl:template>
  1292.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-fade-in-and-swivel']">
  1293.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1294.             <xsl:copy-of select="parent::node()"/>
  1295.         </µ╝ö:σà╢Σ╗û>
  1296.     </xsl:template>
  1297.     <xsl:template match="@presentation:preset-id[. = 'ooo-entrance-fade-in-and-zoom']">
  1298.         <µ╝ö:σà╢Σ╗û uof:locID="p0099">
  1299.             <xsl:copy-of select="parent::node()"/>
  1300.         </µ╝ö:σà╢Σ╗û>
  1301.     </xsl:template>
  1302.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-fill-color']">
  1303.         <µ╝ö:µ¢┤µö╣σí½σààΘó£Φë▓ uof:locID="p0124" uof:attrList="Θǃσ║ª Θó£Φë▓">
  1304.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="../anim:animateColor/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1305.             <xsl:attribute name="µ╝ö:Θó£Φë▓"><xsl:value-of select="../anim:animateColor/@smil:to"/></xsl:attribute>
  1306.         </µ╝ö:µ¢┤µö╣σí½σààΘó£Φë▓>
  1307.     </xsl:template>
  1308.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-font-color']">
  1309.         <µ╝ö:µ¢┤µö╣σ¡ùΣ╜ôΘó£Φë▓ uof:locID="p0126" uof:attrList="Θǃσ║ª Θó£Φë▓">
  1310.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="../anim:animateColor/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1311.             <xsl:attribute name="µ╝ö:Θó£Φë▓"><xsl:value-of select="../anim:animateColor/@smil:to"/></xsl:attribute>
  1312.         </µ╝ö:µ¢┤µö╣σ¡ùΣ╜ôΘó£Φë▓>
  1313.     </xsl:template>
  1314.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-grow-and-shrink']">
  1315.         <µ╝ö:τ╝⌐µö╛ uof:locID="p0120" uof:attrList="Θǃσ║ª µû╣σÉæ Θóäσ«ÜΣ╣ëσ░║σ»╕ Φç¬σ«ÜΣ╣ëσ░║σ»╕">
  1316.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="../anim:animateTransform/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1317.             <xsl:attribute name="µ╝ö:µû╣σÉæ">horizontal</xsl:attribute>
  1318.             <xsl:choose>
  1319.                 <xsl:when test="../anim:animateTransform/@smil:to='0.25,1' ">
  1320.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσ░║σ»╕">tiny</xsl:attribute>
  1321.                 </xsl:when>
  1322.                 <xsl:when test="../anim:animateTransform/@smil:to='0.5,1' ">
  1323.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσ░║σ»╕">smaller</xsl:attribute>
  1324.                 </xsl:when>
  1325.                 <xsl:when test="../anim:animateTransform/@smil:to='1.5,1' ">
  1326.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσ░║σ»╕">larger</xsl:attribute>
  1327.                 </xsl:when>
  1328.                 <xsl:when test="../anim:animateTransform/@smil:to='4,1' ">
  1329.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσ░║σ»╕">huge</xsl:attribute>
  1330.                 </xsl:when>
  1331.                 <xsl:otherwise>
  1332.                     <xsl:attribute name="µ╝ö:Φç¬σ«ÜΣ╣ëσ░║σ»╕"><xsl:choose><xsl:when test="../anim:animateTransform/@smil:to"><xsl:value-of select="../anim:animateTransform/@smil:to"/></xsl:when><xsl:otherwise>1</xsl:otherwise></xsl:choose></xsl:attribute>
  1333.                 </xsl:otherwise>
  1334.             </xsl:choose>
  1335.         </µ╝ö:τ╝⌐µö╛>
  1336.     </xsl:template>
  1337.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-font-size']">
  1338.         <µ╝ö:µ¢┤µö╣σ¡ùσÅ╖ uof:locID="p0125" uof:attrList="Θǃσ║ª Θóäσ«ÜΣ╣ëσ░║σ»╕ Φç¬σ«ÜΣ╣ëσ░║σ»╕">
  1339.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="../anim:animate/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1340.             <xsl:choose>
  1341.                 <xsl:when test="parent::anim:par/anim:animate/@smil:to='0.25,1' ">
  1342.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσ░║σ»╕">tiny</xsl:attribute>
  1343.                 </xsl:when>
  1344.                 <xsl:when test="parent::anim:par/anim:animate/@smil:to='0.5,1' ">
  1345.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσ░║σ»╕">smaller</xsl:attribute>
  1346.                 </xsl:when>
  1347.                 <xsl:when test="parent::anim:par/anim:animate/@smil:to='1.5,1' ">
  1348.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσ░║σ»╕">larger</xsl:attribute>
  1349.                 </xsl:when>
  1350.                 <xsl:when test="parent::anim:par/anim:animate/@smil:to='4,1' ">
  1351.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëσ░║σ»╕">huge</xsl:attribute>
  1352.                 </xsl:when>
  1353.                 <xsl:otherwise>
  1354.                     <xsl:attribute name="µ╝ö:Φç¬σ«ÜΣ╣ëσ░║σ»╕"><xsl:choose><xsl:when test="parent::anim:par/anim:animate/@smil:to"><xsl:value-of select="parent::anim:par/anim:animate/@smil:to"/></xsl:when><xsl:otherwise>1</xsl:otherwise></xsl:choose></xsl:attribute>
  1355.                 </xsl:otherwise>
  1356.             </xsl:choose>
  1357.         </µ╝ö:µ¢┤µö╣σ¡ùσÅ╖>
  1358.     </xsl:template>
  1359.     <xsl:template name="getfontstyle_emphasis">
  1360.         <xsl:value-of select="concat(@smil:to,' ')"/>
  1361.     </xsl:template>
  1362.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-font-style']">
  1363.         <µ╝ö:µ¢┤µö╣σ¡ùσ╜ó uof:locID="p0122" uof:attrList="σ¡ùσ╜ó µ£ƒΘù┤">
  1364.             <xsl:attribute name="µ╝ö:σ¡ùσ╜ó"><xsl:variable name="fontstyle"><xsl:for-each select="../anim:set"><xsl:call-template name="getfontstyle_emphasis"/></xsl:for-each></xsl:variable><xsl:value-of select="$fontstyle"/></xsl:attribute>
  1365.             <xsl:attribute name="µ╝ö:µ£ƒΘù┤"><xsl:choose><xsl:when test="../@smil:repeatCount = 'indefinite' "><xsl:choose><xsl:when test="../@smil:end='next'">until next click</xsl:when><xsl:otherwise>until next slide</xsl:otherwise></xsl:choose></xsl:when><xsl:when test="../@smil:repeatCount ='2' or ../@smil:repeatCount ='3' or ../@smil:repeatCount ='4' or ../@smil:repeatCount ='5' or ../@smil:repeatCount ='10'"><xsl:value-of select="../@smil:repeatCount"/></xsl:when><xsl:otherwise>none</xsl:otherwise></xsl:choose></xsl:attribute>
  1366.         </µ╝ö:µ¢┤µö╣σ¡ùσ╜ó>
  1367.     </xsl:template>
  1368.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-line-color']">
  1369.         <µ╝ö:µ¢┤µö╣τ║┐µ¥íΘó£Φë▓ uof:locID="p0121" uof:attrList="Θǃσ║ª Θó£Φë▓">
  1370.             <xsl:attribute name="µ╝ö:Θǃσ║ª">medium</xsl:attribute>
  1371.             <xsl:attribute name="µ╝ö:Θó£Φë▓"><xsl:value-of select="../anim:animateColor/@smil:to"/></xsl:attribute>
  1372.         </µ╝ö:µ¢┤µö╣τ║┐µ¥íΘó£Φë▓>
  1373.     </xsl:template>
  1374.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-spin']">
  1375.         <µ╝ö:ΘÖÇΦ₧║µùï uof:locID="p0123" uof:attrList="Θǃσ║ª Θí║µù╢ΘÆêµû╣σÉæ Θóäσ«ÜΣ╣ëΦºÆσ║ª Φç¬σ«ÜΣ╣ëΦºÆσ║ª">
  1376.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:animateTransform/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1377.             <xsl:attribute name="µ╝ö:Θí║µù╢ΘÆêµû╣σÉæ">true</xsl:attribute>
  1378.             <xsl:choose>
  1379.                 <xsl:when test="parent::anim:par/anim:animateTransform/@smil:by='90'">
  1380.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëΦºÆσ║ª">quarter spin</xsl:attribute>
  1381.                 </xsl:when>
  1382.                 <xsl:when test="parent::anim:par/anim:animateTransform/@smil:by='180'">
  1383.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëΦºÆσ║ª">half spin</xsl:attribute>
  1384.                 </xsl:when>
  1385.                 <xsl:when test="parent::anim:par/anim:animateTransform/@smil:by='360'">
  1386.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëΦºÆσ║ª">full spin</xsl:attribute>
  1387.                 </xsl:when>
  1388.                 <xsl:when test="parent::anim:par/anim:animateTransform/@smil:by='720'">
  1389.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëΦºÆσ║ª">two spins</xsl:attribute>
  1390.                 </xsl:when>
  1391.                 <xsl:otherwise>
  1392.                     <xsl:attribute name="µ╝ö:Φç¬σ«ÜΣ╣ëΦºÆσ║ª"><xsl:value-of select="parent::anim:par/anim:animateTransform/@smil:by"/></xsl:attribute>
  1393.                 </xsl:otherwise>
  1394.             </xsl:choose>
  1395.         </µ╝ö:ΘÖÇΦ₧║µùï>
  1396.     </xsl:template>
  1397.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-transparency']">
  1398.         <µ╝ö:ΘÇŵÿÄ uof:locID="p0127" uof:attrList="Θóäσ«ÜΣ╣ëΘÇŵÿÄσ║ª Φç¬σ«ÜΣ╣ëΘÇŵÿÄσ║ª µ£ƒΘù┤">
  1399.             <xsl:choose>
  1400.                 <xsl:when test="../anim:set/@smil:to='0.25' ">
  1401.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëΘÇŵÿÄσ║ª">25</xsl:attribute>
  1402.                 </xsl:when>
  1403.                 <xsl:when test="../anim:set/@smil:to='0.5' ">
  1404.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëΘÇŵÿÄσ║ª">50</xsl:attribute>
  1405.                 </xsl:when>
  1406.                 <xsl:when test="../anim:set/@smil:to='0.75' ">
  1407.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëΘÇŵÿÄσ║ª">75</xsl:attribute>
  1408.                 </xsl:when>
  1409.                 <xsl:when test="../anim:set/@smil:to='1' ">
  1410.                     <xsl:attribute name="µ╝ö:Θóäσ«ÜΣ╣ëΘÇŵÿÄσ║ª">100</xsl:attribute>
  1411.                 </xsl:when>
  1412.                 <xsl:otherwise>
  1413.                     <xsl:attribute name="µ╝ö:Φç¬σ«ÜΣ╣ëΘÇŵÿÄσ║ª"><xsl:value-of select="../anim:set/@smil:to"/></xsl:attribute>
  1414.                 </xsl:otherwise>
  1415.             </xsl:choose>
  1416.             <xsl:attribute name="µ╝ö:µ£ƒΘù┤"><xsl:choose><xsl:when test="../@smil:repeatCount = 'indefinite' "><xsl:choose><xsl:when test="../@smil:end='next'">until next click</xsl:when><xsl:otherwise>until next slide</xsl:otherwise></xsl:choose></xsl:when><xsl:when test="../@smil:repeatCount ='2' or ../@smil:repeatCount ='3' or ../@smil:repeatCount ='4' or ../@smil:repeatCount ='5' or ../@smil:repeatCount ='10'"><xsl:value-of select="../@smil:repeatCount"/></xsl:when><xsl:otherwise>until next click</xsl:otherwise></xsl:choose></xsl:attribute>
  1417.         </µ╝ö:ΘÇŵÿÄ>
  1418.     </xsl:template>
  1419.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-font']">
  1420.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1421.             <xsl:copy-of select="parent::node()"/>
  1422.         </µ╝ö:σà╢Σ╗û>
  1423.     </xsl:template>
  1424.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-blast']">
  1425.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1426.             <xsl:copy-of select="parent::node()"/>
  1427.         </µ╝ö:σà╢Σ╗û>
  1428.     </xsl:template>
  1429.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-blink']">
  1430.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1431.             <xsl:copy-of select="parent::node()"/>
  1432.         </µ╝ö:σà╢Σ╗û>
  1433.     </xsl:template>
  1434.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-bold-reveal']">
  1435.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1436.             <xsl:copy-of select="parent::node()"/>
  1437.         </µ╝ö:σà╢Σ╗û>
  1438.     </xsl:template>
  1439.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-style-emphasis']">
  1440.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1441.             <xsl:copy-of select="parent::node()"/>
  1442.         </µ╝ö:σà╢Σ╗û>
  1443.     </xsl:template>
  1444.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-wave']">
  1445.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1446.             <xsl:copy-of select="parent::node()"/>
  1447.         </µ╝ö:σà╢Σ╗û>
  1448.     </xsl:template>
  1449.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-flicker']">
  1450.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1451.             <xsl:copy-of select="parent::node()"/>
  1452.         </µ╝ö:σà╢Σ╗û>
  1453.     </xsl:template>
  1454.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-grow-with-color']">
  1455.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1456.             <xsl:copy-of select="parent::node()"/>
  1457.         </µ╝ö:σà╢Σ╗û>
  1458.     </xsl:template>
  1459.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-shimmer']">
  1460.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1461.             <xsl:copy-of select="parent::node()"/>
  1462.         </µ╝ö:σà╢Σ╗û>
  1463.     </xsl:template>
  1464.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-teeter']">
  1465.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1466.             <xsl:copy-of select="parent::node()"/>
  1467.         </µ╝ö:σà╢Σ╗û>
  1468.     </xsl:template>
  1469.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-bold-flash']">
  1470.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1471.             <xsl:copy-of select="parent::node()"/>
  1472.         </µ╝ö:σà╢Σ╗û>
  1473.     </xsl:template>
  1474.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-color-blend']">
  1475.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1476.             <xsl:copy-of select="parent::node()"/>
  1477.         </µ╝ö:σà╢Σ╗û>
  1478.     </xsl:template>
  1479.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-color-over-by-letter']">
  1480.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1481.             <xsl:copy-of select="parent::node()"/>
  1482.         </µ╝ö:σà╢Σ╗û>
  1483.     </xsl:template>
  1484.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-color-over-by-word']">
  1485.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1486.             <xsl:copy-of select="parent::node()"/>
  1487.         </µ╝ö:σà╢Σ╗û>
  1488.     </xsl:template>
  1489.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-complementary-color']">
  1490.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1491.             <xsl:copy-of select="parent::node()"/>
  1492.         </µ╝ö:σà╢Σ╗û>
  1493.     </xsl:template>
  1494.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-complementary-color-2']">
  1495.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1496.             <xsl:copy-of select="parent::node()"/>
  1497.         </µ╝ö:σà╢Σ╗û>
  1498.     </xsl:template>
  1499.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-contrasting-color']">
  1500.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1501.             <xsl:copy-of select="parent::node()"/>
  1502.         </µ╝ö:σà╢Σ╗û>
  1503.     </xsl:template>
  1504.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-darken']">
  1505.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1506.             <xsl:copy-of select="parent::node()"/>
  1507.         </µ╝ö:σà╢Σ╗û>
  1508.     </xsl:template>
  1509.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-desaturate']">
  1510.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1511.             <xsl:copy-of select="parent::node()"/>
  1512.         </µ╝ö:σà╢Σ╗û>
  1513.     </xsl:template>
  1514.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-flash-bulb']">
  1515.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1516.             <xsl:copy-of select="parent::node()"/>
  1517.         </µ╝ö:σà╢Σ╗û>
  1518.     </xsl:template>
  1519.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-lighten']">
  1520.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1521.             <xsl:copy-of select="parent::node()"/>
  1522.         </µ╝ö:σà╢Σ╗û>
  1523.     </xsl:template>
  1524.     <xsl:template match="@presentation:preset-id[. = 'ooo-emphasis-reveal-underline']">
  1525.         <µ╝ö:σà╢Σ╗û uof:locID="p0128">
  1526.             <xsl:copy-of select="parent::node()"/>
  1527.         </µ╝ö:σà╢Σ╗û>
  1528.     </xsl:template>
  1529.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-box']">
  1530.         <µ╝ö:τ¢Æτè╢ uof:locID="p0111" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1531.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1532.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1533.         </µ╝ö:τ¢Æτè╢>
  1534.     </xsl:template>
  1535.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-checkerboard']">
  1536.         <µ╝ö:µúïτ¢ÿ uof:locID="p0114" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1537.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1538.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:subtype"/></xsl:attribute>
  1539.         </µ╝ö:µúïτ¢ÿ>
  1540.     </xsl:template>
  1541.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-circle']">
  1542.         <µ╝ö:σ£åσ╜óµë⌐σ▒ò uof:locID="p0109" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1543.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1544.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1545.         </µ╝ö:σ£åσ╜óµë⌐σ▒ò>
  1546.     </xsl:template>
  1547.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-crawl-out']">
  1548.         <µ╝ö:τ╝ôµàóτº╗σç║ uof:locID="p0102" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1549.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="../anim:animate/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1550.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'from-right'">to right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-left'">to left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top'">to top</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom'">to bottom</xsl:when></xsl:choose></xsl:attribute>
  1551.         </µ╝ö:τ╝ôµàóτº╗σç║>
  1552.     </xsl:template>
  1553.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-diagonal-squares']">
  1554.         <µ╝ö:Θÿ╢µó»τè╢ uof:locID="p0112" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1555.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1556.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'left-to-bottom' ">left down</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'left-to-top' ">left up</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'right-to-bottom' ">right down</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'right-to-top' ">right up</xsl:when></xsl:choose></xsl:attribute>
  1557.         </µ╝ö:Θÿ╢µó»τè╢>
  1558.     </xsl:template>
  1559.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-diamond']">
  1560.         <µ╝ö:ΦÅ▒σ╜ó uof:locID="p0103" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1561.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1562.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1563.         </µ╝ö:ΦÅ▒σ╜ó>
  1564.     </xsl:template>
  1565.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-disappear']">
  1566.         <µ╝ö:µ╢êσñ▒ uof:locID="p0118">
  1567.          </µ╝ö:µ╢êσñ▒>
  1568.     </xsl:template>
  1569.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-dissolve']">
  1570.         <µ╝ö:σÉæσñûµ║╢Φºú uof:locID="p0108" uof:attrList="Θǃσ║ª">
  1571.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1572.         </µ╝ö:σÉæσñûµ║╢Φºú>
  1573.     </xsl:template>
  1574.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-flash-once']">
  1575.         <µ╝ö:Θù¬τâüΣ╕ǵ¼í uof:locID="p0115" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1576.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="../anim:animate/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1577.         </µ╝ö:Θù¬τâüΣ╕ǵ¼í>
  1578.     </xsl:template>
  1579.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-fly-out']">
  1580.         <µ╝ö:Θú₧σç║ uof:locID="p0101" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1581.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="../anim:animate/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1582.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'from-bottom'">to bottom</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top-right'">to top-right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top-left'">to top-left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom-left'">to bottom-left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom-right'">to bottom-right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-right'">to right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-left'">to left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top'">to top</xsl:when></xsl:choose></xsl:attribute>
  1583.         </µ╝ö:Θú₧σç║>
  1584.     </xsl:template>
  1585.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-peek-out']">
  1586.         <µ╝ö:σêçσç║ uof:locID="p0105" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1587.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1588.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'from-right'">to right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-left'">to left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top'">to top</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom'">to bottom</xsl:when></xsl:choose></xsl:attribute>
  1589.         </µ╝ö:σêçσç║>
  1590.     </xsl:template>
  1591.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-plus']">
  1592.         <µ╝ö:σìüσ¡ùσ╜óµë⌐σ▒ò uof:locID="p0116" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1593.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1594.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1595.         </µ╝ö:σìüσ¡ùσ╜óµë⌐σ▒ò>
  1596.     </xsl:template>
  1597.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-random-bars']">
  1598.         <µ╝ö:ΘÜŵ£║τ║┐µ¥í uof:locID="p0107" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1599.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1600.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1601.         </µ╝ö:ΘÜŵ£║τ║┐µ¥í>
  1602.     </xsl:template>
  1603.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-random']">
  1604.         <µ╝ö:ΘÜŵ£║µòêµ₧£ uof:locID="p0117">
  1605.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:choose><xsl:when test="parent::anim:par/anim:transitionFilter/@smil:dur"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:when><xsl:otherwise><xsl:value-of select="../anim:animate/@smil:dur"/></xsl:otherwise></xsl:choose></xsl:with-param></xsl:call-template></xsl:attribute>
  1606.         </µ╝ö:ΘÜŵ£║µòêµ₧£>
  1607.     </xsl:template>
  1608.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-split']">
  1609.         <µ╝ö:σèêΦúé uof:locID="p0104" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1610.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1611.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'horizontal-out'">horizontal out</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'horizontal-in'">horizontal in</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'vertical-in'">vertical in</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'vertical-out'">vertical out</xsl:when></xsl:choose></xsl:attribute>
  1612.         </µ╝ö:σèêΦúé>
  1613.     </xsl:template>
  1614.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-venetian-blinds']">
  1615.         <µ╝ö:τÖ╛σÅ╢τ¬ù uof:locID="p0100" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1616.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1617.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1618.         </µ╝ö:τÖ╛σÅ╢τ¬ù>
  1619.     </xsl:template>
  1620.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-wedge']">
  1621.         <µ╝ö:µëçσ╜óσ▒òσ╝Ç uof:locID="p0106" uof:attrList="Θǃσ║ª">
  1622.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1623.         </µ╝ö:µëçσ╜óσ▒òσ╝Ç>
  1624.     </xsl:template>
  1625.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-wheel']">
  1626.         <µ╝ö:Φ╜«σ¡É uof:locID="p0113" uof:attrList="Θǃσ║ª Φ╜«Φ╛É">
  1627.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1628.             <xsl:attribute name="µ╝ö:Φ╜«Φ╛É"><xsl:value-of select="../@presentation:preset-sub-type"/></xsl:attribute>
  1629.         </µ╝ö:Φ╜«σ¡É>
  1630.     </xsl:template>
  1631.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-wipe']">
  1632.         <µ╝ö:µôªΘÖñ uof:locID="p0110" uof:attrList="Θǃσ║ª µû╣σÉæ">
  1633.             <xsl:attribute name="µ╝ö:Θǃσ║ª"><xsl:call-template name="anim_speed"><xsl:with-param name="speed"><xsl:value-of select="parent::anim:par/anim:transitionFilter/@smil:dur"/></xsl:with-param></xsl:call-template></xsl:attribute>
  1634.             <xsl:attribute name="µ╝ö:µû╣σÉæ"><xsl:choose><xsl:when test="../@presentation:preset-sub-type = 'from-right'">from right</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-left'">from left</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-top'">from top</xsl:when><xsl:when test="../@presentation:preset-sub-type = 'from-bottom'">from bottom</xsl:when></xsl:choose></xsl:attribute>
  1635.         </µ╝ö:µôªΘÖñ>
  1636.     </xsl:template>
  1637.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-boomerang']">
  1638.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1639.             <xsl:copy-of select="parent::node()"/>
  1640.         </µ╝ö:σà╢Σ╗û>
  1641.     </xsl:template>
  1642.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-bounce']">
  1643.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1644.             <xsl:copy-of select="parent::node()"/>
  1645.         </µ╝ö:σà╢Σ╗û>
  1646.     </xsl:template>
  1647.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-curve-down']">
  1648.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1649.             <xsl:copy-of select="parent::node()"/>
  1650.         </µ╝ö:σà╢Σ╗û>
  1651.     </xsl:template>
  1652.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-flip']">
  1653.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1654.             <xsl:copy-of select="parent::node()"/>
  1655.         </µ╝ö:σà╢Σ╗û>
  1656.     </xsl:template>
  1657.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-float']">
  1658.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1659.             <xsl:copy-of select="parent::node()"/>
  1660.         </µ╝ö:σà╢Σ╗û>
  1661.     </xsl:template>
  1662.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-fold']">
  1663.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1664.             <xsl:copy-of select="parent::node()"/>
  1665.         </µ╝ö:σà╢Σ╗û>
  1666.     </xsl:template>
  1667.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-glide']">
  1668.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1669.             <xsl:copy-of select="parent::node()"/>
  1670.         </µ╝ö:σà╢Σ╗û>
  1671.     </xsl:template>
  1672.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-magnify']">
  1673.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1674.             <xsl:copy-of select="parent::node()"/>
  1675.         </µ╝ö:σà╢Σ╗û>
  1676.     </xsl:template>
  1677.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-movie-credits']">
  1678.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1679.             <xsl:copy-of select="parent::node()"/>
  1680.         </µ╝ö:σà╢Σ╗û>
  1681.     </xsl:template>
  1682.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-pinwheel']">
  1683.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1684.             <xsl:copy-of select="parent::node()"/>
  1685.         </µ╝ö:σà╢Σ╗û>
  1686.     </xsl:template>
  1687.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-breaks']">
  1688.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1689.             <xsl:copy-of select="parent::node()"/>
  1690.         </µ╝ö:σà╢Σ╗û>
  1691.     </xsl:template>
  1692.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-sling']">
  1693.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1694.             <xsl:copy-of select="parent::node()"/>
  1695.         </µ╝ö:σà╢Σ╗û>
  1696.     </xsl:template>
  1697.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-swish']">
  1698.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1699.             <xsl:copy-of select="parent::node()"/>
  1700.         </µ╝ö:σà╢Σ╗û>
  1701.     </xsl:template>
  1702.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-swivel']">
  1703.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1704.             <xsl:copy-of select="parent::node()"/>
  1705.         </µ╝ö:σà╢Σ╗û>
  1706.     </xsl:template>
  1707.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-thread']">
  1708.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1709.             <xsl:copy-of select="parent::node()"/>
  1710.         </µ╝ö:σà╢Σ╗û>
  1711.     </xsl:template>
  1712.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-whip']">
  1713.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1714.             <xsl:copy-of select="parent::node()"/>
  1715.         </µ╝ö:σà╢Σ╗û>
  1716.     </xsl:template>
  1717.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-ascend']">
  1718.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1719.             <xsl:copy-of select="parent::node()"/>
  1720.         </µ╝ö:σà╢Σ╗û>
  1721.     </xsl:template>
  1722.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-center-revolve']">
  1723.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1724.             <xsl:copy-of select="parent::node()"/>
  1725.         </µ╝ö:σà╢Σ╗û>
  1726.     </xsl:template>
  1727.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-collapse']">
  1728.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1729.             <xsl:copy-of select="parent::node()"/>
  1730.         </µ╝ö:σà╢Σ╗û>
  1731.     </xsl:template>
  1732.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-colored-lettering']">
  1733.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1734.             <xsl:copy-of select="parent::node()"/>
  1735.         </µ╝ö:σà╢Σ╗û>
  1736.     </xsl:template>
  1737.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-descend']">
  1738.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1739.             <xsl:copy-of select="parent::node()"/>
  1740.         </µ╝ö:σà╢Σ╗û>
  1741.     </xsl:template>
  1742.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-ease-out']">
  1743.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1744.             <xsl:copy-of select="parent::node()"/>
  1745.         </µ╝ö:σà╢Σ╗û>
  1746.     </xsl:template>
  1747.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-sink-down']">
  1748.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1749.             <xsl:copy-of select="parent::node()"/>
  1750.         </µ╝ö:σà╢Σ╗û>
  1751.     </xsl:template>
  1752.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-spin-out']">
  1753.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1754.             <xsl:copy-of select="parent::node()"/>
  1755.         </µ╝ö:σà╢Σ╗û>
  1756.     </xsl:template>
  1757.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-stretchy']">
  1758.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1759.             <xsl:copy-of select="parent::node()"/>
  1760.         </µ╝ö:σà╢Σ╗û>
  1761.     </xsl:template>
  1762.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-turn-and-grow ']">
  1763.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1764.             <xsl:copy-of select="parent::node()"/>
  1765.         </µ╝ö:σà╢Σ╗û>
  1766.     </xsl:template>
  1767.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-unfold']">
  1768.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1769.             <xsl:copy-of select="parent::node()"/>
  1770.         </µ╝ö:σà╢Σ╗û>
  1771.     </xsl:template>
  1772.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-zoom']">
  1773.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1774.             <xsl:copy-of select="parent::node()"/>
  1775.         </µ╝ö:σà╢Σ╗û>
  1776.     </xsl:template>
  1777.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-contract']">
  1778.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1779.             <xsl:copy-of select="parent::node()"/>
  1780.         </µ╝ö:σà╢Σ╗û>
  1781.     </xsl:template>
  1782.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-fade-out']">
  1783.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1784.             <xsl:copy-of select="parent::node()"/>
  1785.         </µ╝ö:σà╢Σ╗û>
  1786.     </xsl:template>
  1787.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-fade-out-and-swivel']">
  1788.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1789.             <xsl:copy-of select="parent::node()"/>
  1790.         </µ╝ö:σà╢Σ╗û>
  1791.     </xsl:template>
  1792.     <xsl:template match="@presentation:preset-id[. = 'ooo-exit-fade-out-and-zoom']">
  1793.         <µ╝ö:σà╢Σ╗û uof:locID="p0119">
  1794.             <xsl:copy-of select="parent::node()"/>
  1795.         </µ╝ö:σà╢Σ╗û>
  1796.     </xsl:template>
  1797.     <xsl:template match="draw:page" mode="styles">
  1798.         <xsl:call-template name="creategraphicstyles"/>
  1799.     </xsl:template>
  1800.     <xsl:template match="style:handout-master" mode="styles">
  1801.         <xsl:call-template name="creategraphicstyles"/>
  1802.     </xsl:template>
  1803.     <xsl:template match="style:master-page" mode="styles">
  1804.         <xsl:apply-templates select="presentation:notes" mode="styles"/>
  1805.         <xsl:call-template name="creategraphicstyles"/>
  1806.     </xsl:template>
  1807.     <xsl:template match="presentation:notes" mode="styles">
  1808.         <xsl:call-template name="creategraphicstyles"/>
  1809.     </xsl:template>
  1810.     <xsl:template name="creategraphicstyles">
  1811.         <xsl:for-each select="node()">
  1812.             <xsl:variable name="nodename1">
  1813.                 <xsl:value-of select="name()"/>
  1814.             </xsl:variable>
  1815.             <xsl:if test="(substring-before($nodename1,':') = 'draw')">
  1816.                 <xsl:call-template name="draw">
  1817.                     <xsl:with-param name="nodename1" select="$nodename1"/>
  1818.                 </xsl:call-template>
  1819.             </xsl:if>
  1820.         </xsl:for-each>
  1821.     </xsl:template>
  1822.     <xsl:template name="draw">
  1823.         <xsl:param name="nodename1"/>
  1824.         <xsl:choose>
  1825.             <xsl:when test="substring-after($nodename1,':') = 'a'">
  1826.                 <xsl:for-each select="child::*">
  1827.                     <xsl:call-template name="draw">
  1828.                         <xsl:with-param name="nodename">
  1829.                             <xsl:value-of select="name()"/>
  1830.                         </xsl:with-param>
  1831.                     </xsl:call-template>
  1832.                 </xsl:for-each>
  1833.             </xsl:when>
  1834.             <xsl:when test="substring-after($nodename1,':') = 'g'">
  1835.                 <xsl:call-template name="draw:g"/>
  1836.             </xsl:when>
  1837.             <xsl:otherwise>
  1838.                 <xsl:call-template name="creategraphic"/>
  1839.             </xsl:otherwise>
  1840.         </xsl:choose>
  1841.     </xsl:template>
  1842.     <xsl:template name="draw:g">
  1843.         <xsl:for-each select="child::*">
  1844.             <xsl:choose>
  1845.                 <xsl:when test="name()='draw:g'">
  1846.                     <xsl:call-template name="draw:g"/>
  1847.                 </xsl:when>
  1848.                 <xsl:otherwise>
  1849.                     <xsl:call-template name="creategraphic"/>
  1850.                 </xsl:otherwise>
  1851.             </xsl:choose>
  1852.         </xsl:for-each>
  1853.         <xsl:call-template name="creategraphic"/>
  1854.     </xsl:template>
  1855.     <xsl:template name="zuheliebiao">
  1856.         <xsl:param name="allnode"/>
  1857.         <xsl:param name="pos"/>
  1858.         <xsl:choose>
  1859.             <xsl:when test="../child::*[$pos]">
  1860.                 <xsl:for-each select="../child::*[$pos]">
  1861.                     <xsl:variable name="nodepos">
  1862.                         <xsl:value-of select="@draw:style-name"/>
  1863.                     </xsl:variable>
  1864.                     <xsl:variable name="picnumber1">
  1865.                         <xsl:value-of select="count(preceding::*[@draw:style-name=$nodepos])"/>
  1866.                     </xsl:variable>
  1867.                     <xsl:variable name="pic-name1">
  1868.                         <xsl:value-of select="concat($nodepos,'_',$picnumber1)"/>
  1869.                     </xsl:variable>
  1870.                     <xsl:variable name="allnode1">
  1871.                         <xsl:value-of select="concat($allnode,',',$pic-name1)"/>
  1872.                     </xsl:variable>
  1873.                     <xsl:call-template name="zuheliebiao">
  1874.                         <xsl:with-param name="allnode" select="$allnode1"/>
  1875.                         <xsl:with-param name="pos" select="$pos+1"/>
  1876.                     </xsl:call-template>
  1877.                 </xsl:for-each>
  1878.             </xsl:when>
  1879.             <xsl:otherwise>
  1880.                 <xsl:value-of select="$allnode"/>
  1881.             </xsl:otherwise>
  1882.         </xsl:choose>
  1883.     </xsl:template>
  1884.     <xsl:template name="creategraphic">
  1885.         <xsl:variable name="nodename">
  1886.             <xsl:value-of select="name()"/>
  1887.         </xsl:variable>
  1888.         <xsl:choose>
  1889.             <xsl:when test="@draw:style-name or name()='draw:g'">
  1890.                 <xsl:variable name="pic-name">
  1891.                     <xsl:value-of select="@draw:style-name"/>
  1892.                 </xsl:variable>
  1893.                 <xsl:variable name="pic-num">
  1894.                     <xsl:value-of select="count(/descendant::*[@draw:style-name=$pic-name])"/>
  1895.                 </xsl:variable>
  1896.                 <xsl:variable name="picnumber">
  1897.                     <xsl:value-of select="count(preceding::*[@draw:style-name=$pic-name])"/>
  1898.                 </xsl:variable>
  1899.                 <xsl:call-template name="pic-process">
  1900.                     <xsl:with-param name="pic-name" select="$pic-name"/>
  1901.                     <xsl:with-param name="nodename" select="$nodename"/>
  1902.                     <xsl:with-param name="picnumber" select="$picnumber"/>
  1903.                 </xsl:call-template>
  1904.             </xsl:when>
  1905.             <xsl:when test="@presentation:style-name">
  1906.                 <xsl:variable name="pic-name">
  1907.                     <xsl:value-of select="@presentation:style-name"/>
  1908.                 </xsl:variable>
  1909.                 <xsl:variable name="pic-num">
  1910.                     <xsl:value-of select="count(/descendant::*[@presentation:style-name=$pic-name])"/>
  1911.                 </xsl:variable>
  1912.                 <xsl:variable name="picnumber">
  1913.                     <xsl:value-of select="count(preceding::*[@presentation:style-name=$pic-name])"/>
  1914.                 </xsl:variable>
  1915.                 <xsl:call-template name="pic-process">
  1916.                     <xsl:with-param name="pic-name" select="$pic-name"/>
  1917.                     <xsl:with-param name="picnumber" select="$picnumber"/>
  1918.                     <xsl:with-param name="nodename" select="$nodename"/>
  1919.                 </xsl:call-template>
  1920.             </xsl:when>
  1921.         </xsl:choose>
  1922.     </xsl:template>
  1923.     <xsl:template name="pic-process">
  1924.         <xsl:param name="pic-name"/>
  1925.         <xsl:param name="nodename"/>
  1926.         <xsl:param name="picnumber"/>
  1927.         <σ¢╛:σ¢╛σ╜ó uof:locID="g0000" uof:attrList="σ▒éµ¼í µáçΦ»åτ¼ª τ╗äσÉêσêùΦí¿ σà╢Σ╗ûσ»╣Φ▒í">
  1928.             <xsl:attribute name="σ¢╛:µáçΦ»åτ¼ª"><xsl:choose><xsl:when test="@draw:id"><xsl:value-of select="@draw:id"/></xsl:when><xsl:when test="not(@draw:style-name) and name()='draw:g'"><xsl:value-of select="concat(child::node()[1]/@draw:style-name,'-',$picnumber)"/></xsl:when><xsl:otherwise><xsl:value-of select="concat($pic-name,'_',$picnumber)"/></xsl:otherwise></xsl:choose></xsl:attribute>
  1929.             <xsl:attribute name="σ¢╛:σ▒éµ¼í"><xsl:choose><xsl:when test="name(parent::node())='draw:g'"><xsl:value-of select="position()"/></xsl:when><xsl:when test="@draw:z-index"><xsl:value-of select="@draw:z-index"/></xsl:when>
  1930.                 <xsl:otherwise><xsl:value-of select="position()"/></xsl:otherwise>
  1931.             </xsl:choose></xsl:attribute>
  1932.             <xsl:if test="$nodename='draw:g'">
  1933.                 <xsl:attribute name="σ¢╛:τ╗äσÉêσêùΦí¿"><xsl:for-each select="child::*[1]"><xsl:variable name="node1"><xsl:value-of select="@draw:style-name"/></xsl:variable><xsl:variable name="picnumber2"><xsl:value-of select="count(preceding::*[@draw:style-name=$node1])"/></xsl:variable><xsl:call-template name="zuheliebiao"><xsl:with-param name="allnode"><xsl:value-of select="concat($node1,'_',$picnumber2)"/></xsl:with-param><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:for-each></xsl:attribute>
  1934.             </xsl:if>
  1935.             <xsl:if test=".//office:binary-data">
  1936.                 <xsl:attribute name="σ¢╛:σà╢Σ╗ûσ»╣Φ▒í"><xsl:choose><xsl:when test="@draw:name"><xsl:value-of select="@draw:name"/></xsl:when><xsl:otherwise><xsl:value-of select="concat($pic-name,'_b1')"/></xsl:otherwise></xsl:choose></xsl:attribute>
  1937.             </xsl:if>
  1938.             <xsl:variable name="arrow-sign">
  1939.                 <xsl:choose>
  1940.                     <xsl:when test="key('graphicset',$pic-name)/style:graphic-properties/@draw:marker-start or key('graphicset',$pic-name)/style:graphic-properties/@draw:marker-end">
  1941.                         <xsl:value-of select="'1'"/>
  1942.                     </xsl:when>
  1943.                     <xsl:otherwise>0</xsl:otherwise>
  1944.                 </xsl:choose>
  1945.             </xsl:variable>
  1946.             <xsl:choose>
  1947.                 <xsl:when test="$nodename='draw:line' or $nodename='draw:rect' or $nodename='draw:circle' or $nodename='draw:polygon' or $nodename='draw:polyline' or $nodename='draw:ellipse' or $nodename='draw:page-thumbnail' or $nodename='draw:frame' or $nodename='draw:path'or $nodename='draw:g'">
  1948.                     <σ¢╛:Θóäσ«ÜΣ╣ëσ¢╛σ╜ó uof:locID="g0005">
  1949.                         <σ¢╛:τ▒╗σê½ uof:locID="g0006">
  1950.                             <xsl:choose>
  1951.                                 <xsl:when test="$nodename='draw:rect'">11</xsl:when>
  1952.                                 <xsl:when test="$nodename='draw:line'">61</xsl:when>
  1953.                                 <xsl:when test="$nodename='draw:circle'">19</xsl:when>
  1954.                                 <xsl:when test="$nodename='draw:polygon'">65</xsl:when>
  1955.                                 <xsl:when test="$nodename='draw:polyline'">66</xsl:when>
  1956.                                 <xsl:when test="$nodename='draw:ellipse'">19</xsl:when>
  1957.                                 <xsl:when test="$nodename='draw:page-thumbnail'">67</xsl:when>
  1958.                                 <xsl:when test="$nodename='draw:frame'">3</xsl:when>
  1959.                                 <xsl:when test="$nodename='draw:path'">64</xsl:when>
  1960.                                 <xsl:when test="$nodename='draw:g'">4</xsl:when>
  1961.                             </xsl:choose>
  1962.                         </σ¢╛:τ▒╗σê½>
  1963.                         <σ¢╛:σÉìτº░ uof:locID="g0007">
  1964.                             <xsl:choose>
  1965.                                 <xsl:when test="$nodename='draw:rect'">Rectangle</xsl:when>
  1966.                                 <xsl:when test="$nodename='draw:line'">Line</xsl:when>
  1967.                                 <xsl:when test="$nodename='draw:circle'">Oval</xsl:when>
  1968.                                 <xsl:when test="$nodename='draw:polygon'">Freeform</xsl:when>
  1969.                                 <xsl:when test="$nodename='draw:polyline'">Scribble</xsl:when>
  1970.                                 <xsl:when test="$nodename='draw:ellipse'">Oval</xsl:when>
  1971.                                 <xsl:when test="$nodename='draw:page-thumbnail'">τ╝⌐τòÑσ¢╛</xsl:when>
  1972.                                 <xsl:when test="$nodename='draw:frame'">µûçµ£¼µíå</xsl:when>
  1973.                                 <xsl:when test="$nodename='draw:path'">Curve</xsl:when>
  1974.                                 <xsl:when test="$nodename='draw:g'">group</xsl:when>
  1975.                             </xsl:choose>
  1976.                         </σ¢╛:σÉìτº░>
  1977.                         <σ¢╛:τöƒµêÉΦ╜»Σ╗╢ uof:locID="g0008">PNG</σ¢╛:τöƒµêÉΦ╜»Σ╗╢>
  1978.                         <xsl:if test="./@draw:points or ./@svg:d">
  1979.                             <σ¢╛:σà│Θö«τé╣σ¥Éµáç uof:locID="g0009" uofattrList="Φ╖»σ╛ä">
  1980.                                 <xsl:attribute name="σ¢╛:Φ╖»σ╛ä"><xsl:choose><xsl:when test="@svg:d"><xsl:value-of select="@svg:d"/></xsl:when><xsl:when test="@draw:points"><xsl:call-template name="draw:points"><xsl:with-param name="point" select="@draw:points"/><xsl:with-param name="lujing"/></xsl:call-template></xsl:when></xsl:choose></xsl:attribute>
  1981.                             </σ¢╛:σà│Θö«τé╣σ¥Éµáç>
  1982.                         </xsl:if>
  1983.                         <σ¢╛:σ▒₧µÇº uof:locID="g0011">
  1984.                             <xsl:for-each select="(/office:document/office:styles/descendant::*[@style:name=$pic-name]) | (/office:document/*/style:style[@style:name=$pic-name]) ">
  1985.                                 <xsl:for-each select="style:graphic-properties">
  1986.                                     <xsl:if test="not(@draw:fill='none')">
  1987.                                         <σ¢╛:σí½σàà uof:locID="g0012">
  1988.                                             <xsl:call-template name="σí½σàà">
  1989.                                                 <xsl:with-param name="nodename" select="$nodename"/>
  1990.                                                 <xsl:with-param name="picname" select="$pic-name"/>
  1991.                                             </xsl:call-template>
  1992.                                         </σ¢╛:σí½σàà>
  1993.                                     </xsl:if>
  1994.                                 </xsl:for-each>
  1995.                                 <xsl:if test="style:graphic-properties/@svg:stroke-color">
  1996.                                     <σ¢╛:τ║┐Θó£Φë▓ uof:locID="g0013">
  1997.                                         <xsl:value-of select="style:graphic-properties/@svg:stroke-color"/>
  1998.                                     </σ¢╛:τ║┐Θó£Φë▓>
  1999.                                 </xsl:if>
  2000.                                 <σ¢╛:τ║┐σ₧ï uof:locID="g0014">
  2001.                                     <xsl:variable name="linetype" select="style:graphic-properties/@draw:stroke-dash"/>
  2002.                                     <xsl:choose>
  2003.                                         <xsl:when test="not(style:graphic-properties/@draw:stroke)">
  2004.                                             <xsl:choose>
  2005.                                                 <xsl:when test="not(style:graphic-properties/@svg:stroke-width)">single</xsl:when>
  2006.                                                 <xsl:otherwise>thick</xsl:otherwise>
  2007.                                             </xsl:choose>
  2008.                                         </xsl:when>
  2009.                                         <xsl:otherwise>
  2010.                                             <xsl:choose>
  2011.                                                 <xsl:when test="style:graphic-properties/@draw:stroke = 'none'">none</xsl:when>
  2012.                                                 <xsl:otherwise>
  2013.                                                     <xsl:choose>
  2014.                                                         <xsl:when test="$linetype='Fine_20_Dashed' and style:graphic-properties/@svg:stroke-width">dash-long-heavy</xsl:when>
  2015.                                                         <xsl:when test="$linetype='Fine_20_Dashed'">dash-long</xsl:when>
  2016.                                                         <xsl:when test="$linetype='_32__20_Dots_20_1_20_Dash' and style:graphic-properties/@svg:stroke-width">dash-dot-dot-heavy</xsl:when>
  2017.                                                         <xsl:when test="$linetype='_32__20_Dots_20_1_20_Dash'">dot-dot-dash</xsl:when>
  2018.                                                         <xsl:when test="$linetype='Ultrafine_20_Dashed' and style:graphic-properties/@svg:stroke-width">dashed-heavy</xsl:when>
  2019.                                                         <xsl:when test="$linetype='Ultrafine_20_Dotted_20__28_var_29_'and style:graphic-properties/@svg:stroke-width">dotted-heavy</xsl:when>
  2020.                                                         <xsl:when test="$linetype='Ultrafine_20_Dotted_20__28_var_29_'">dotted</xsl:when>
  2021.                                                         <xsl:when test="$linetype='Line_20_with_20_Fine_20_Dots'">double</xsl:when>
  2022.                                                         <xsl:when test="$linetype='_33__20_Dashes_20_3_20_Dots_20__28_var_29_' and style:graphic-properties/@svg:stroke-width">dash-dot-heavy</xsl:when>
  2023.                                                         <xsl:when test="$linetype='_33__20_Dashes_20_3_20_Dots_20__28_var_29_'">dot-dash</xsl:when>
  2024.                                                         <xsl:when test="$linetype='Ultrafine_20_2_20_Dots_20_3_20_Dashes'and style:graphic-properties/@svg:stroke-width">wavy-heavy</xsl:when>
  2025.                                                         <xsl:when test="$linetype='Ultrafine_20_2_20_Dots_20_3_20_Dashes'">wave</xsl:when>
  2026.                                                         <xsl:when test="$linetype='Fine_20_Dashed_20__28_var_29_'">wavy-double</xsl:when>
  2027.                                                         <xsl:otherwise>dash</xsl:otherwise>
  2028.                                                     </xsl:choose>
  2029.                                                 </xsl:otherwise>
  2030.                                             </xsl:choose>
  2031.                                         </xsl:otherwise>
  2032.                                     </xsl:choose>
  2033.                                 </σ¢╛:τ║┐σ₧ï>
  2034.                                 <xsl:if test="style:graphic-properties/@svg:stroke-width">
  2035.                                     <σ¢╛:τ║┐τ▓ùτ╗å uof:locID="g0016">
  2036.                                         <xsl:value-of select="substring-before(style:graphic-properties/@svg:stroke-width,$uofUnit)"/>
  2037.                                     </σ¢╛:τ║┐τ▓ùτ╗å>
  2038.                                 </xsl:if>
  2039.                                 <xsl:if test="style:graphic-properties/@draw:marker-start and string-length(style:graphic-properties/@draw:marker-start)>0">
  2040.                                     <σ¢╛:σëìτ½»τ«¡σñ┤ uof:locID="g0017">
  2041.                                         <σ¢╛:σ╝ŵá╖ uof:locID="g0018">
  2042.                                             <xsl:choose>
  2043.                                                 <xsl:when test="style:graphic-properties/@draw:marker-start='Arrow'">normal</xsl:when>
  2044.                                                 <xsl:when test="style:graphic-properties/@draw:marker-start='Line_20_Arrow'">open</xsl:when>
  2045.                                                 <xsl:when test="style:graphic-properties/@draw:marker-start='Arrow_20_concave'">stealth</xsl:when>
  2046.                                                 <xsl:when test="style:graphic-properties/@draw:marker-start='Circle'">oval</xsl:when>
  2047.                                                 <xsl:when test="style:graphic-properties/@draw:marker-start='Square_20_45'">diamond</xsl:when>
  2048.                                                 <xsl:otherwise>normal</xsl:otherwise>
  2049.                                             </xsl:choose>
  2050.                                         </σ¢╛:σ╝ŵá╖>
  2051.                                         <xsl:if test="style:graphic-properties/@draw:marker-start-width">
  2052.                                             <σ¢╛:σñºσ░Å uof:locID="g0019">
  2053.                                                 <xsl:variable name="width">
  2054.                                                     <xsl:value-of select="substring-before(style:graphic-properties/@draw:marker-start-width,$uofUnit)"/>
  2055.                                                 </xsl:variable>
  2056.                                                 <xsl:choose>
  2057.                                                     <xsl:when test="($width<0.05 and 0<$width) or $width=0.05">1</xsl:when>
  2058.                                                     <xsl:when test="($width<0.10 and 0.05<$width) or $width=0.10">2</xsl:when>
  2059.                                                     <xsl:when test="($width<0.15 and 0.10<$width) or $width=0.15">3</xsl:when>
  2060.                                                     <xsl:when test="($width<0.20 and 0.15<$width) or $width=0.20">4</xsl:when>
  2061.                                                     <xsl:when test="($width<0.25 and 0.20<$width) or $width=0.25">5</xsl:when>
  2062.                                                     <xsl:when test="($width<0.30 and 0.25<$width) or $width=0.30">6</xsl:when>
  2063.                                                     <xsl:when test="($width<0.35 and 0.30<$width) or $width=0.35">7</xsl:when>
  2064.                                                     <xsl:when test="($width<0.40 and 0.35<$width) or $width=0.40">8</xsl:when>
  2065.                                                     <xsl:otherwise>9</xsl:otherwise>
  2066.                                                 </xsl:choose>
  2067.                                             </σ¢╛:σñºσ░Å>
  2068.                                         </xsl:if>
  2069.                                     </σ¢╛:σëìτ½»τ«¡σñ┤>
  2070.                                 </xsl:if>
  2071.                                 <xsl:if test="style:graphic-properties/@draw:marker-end">
  2072.                                     <σ¢╛:σÉÄτ½»τ«¡σñ┤ uof:locID="g0020">
  2073.                                         <σ¢╛:σ╝ŵá╖ uof:locID="g0021">
  2074.                                             <xsl:choose>
  2075.                                                 <xsl:when test="style:graphic-properties/@draw:marker-end='Arrow'">normal</xsl:when>
  2076.                                                 <xsl:when test="style:graphic-properties/@draw:marker-end='Line_20_Arrow'">open</xsl:when>
  2077.                                                 <xsl:when test="style:graphic-properties/@draw:marker-end='Arrow_20_concave'">stealth</xsl:when>
  2078.                                                 <xsl:when test="style:graphic-properties/@draw:marker-end='Circle'">oval</xsl:when>
  2079.                                                 <xsl:when test="style:graphic-properties/@draw:marker-end='Square_20_45'">diamond</xsl:when>
  2080.                                                 <xsl:otherwise>normal</xsl:otherwise>
  2081.                                             </xsl:choose>
  2082.                                         </σ¢╛:σ╝ŵá╖>
  2083.                                         <xsl:if test="style:graphic-properties/@draw:marker-end-width">
  2084.                                             <σ¢╛:σñºσ░Å uof:locID="g0022">
  2085.                                                 <xsl:variable name="width">
  2086.                                                     <xsl:value-of select="number(substring-before(style:graphic-properties/@draw:marker-end-width,$uofUnit))"/>
  2087.                                                 </xsl:variable>
  2088.                                                 <xsl:choose>
  2089.                                                     <xsl:when test="($width<0.05 and 0<$width) or $width=0.05">1</xsl:when>
  2090.                                                     <xsl:when test="($width<0.10 and 0.05<$width) or $width=0.10">2</xsl:when>
  2091.                                                     <xsl:when test="($width<0.15 and 0.10<$width) or $width=0.15">3</xsl:when>
  2092.                                                     <xsl:when test="($width<0.20 and 0.15<$width) or $width=0.20">4</xsl:when>
  2093.                                                     <xsl:when test="($width<0.25 and 0.20<$width) or $width=0.25">5</xsl:when>
  2094.                                                     <xsl:when test="($width<0.30 and 0.25<$width) or $width=0.30">6</xsl:when>
  2095.                                                     <xsl:when test="($width<0.35 and 0.30<$width) or $width=0.35">7</xsl:when>
  2096.                                                     <xsl:when test="($width<0.40 and 0.35<$width) or $width=0.40">8</xsl:when>
  2097.                                                     <xsl:otherwise>9</xsl:otherwise>
  2098.                                                 </xsl:choose>
  2099.                                             </σ¢╛:σñºσ░Å>
  2100.                                         </xsl:if>
  2101.                                     </σ¢╛:σÉÄτ½»τ«¡σñ┤>
  2102.                                 </xsl:if>
  2103.                                 <xsl:if test="style:graphic-properties/@draw:opacity or style:graphic-properties/@svg:stroke-opacity or style:graphic-properties/@svg:stroke-opacity">
  2104.                                     <σ¢╛:ΘÇŵÿÄσ║ª uof:locID="g0038">
  2105.                                     <xsl:choose>
  2106.                                         <xsl:when test="style:graphic-properties/@draw:opacity">
  2107.                                         <xsl:variable name="transparency">
  2108.                                             <xsl:value-of select="substring-before(style:graphic-properties/@draw:opacity,'%')"/>
  2109.                                         </xsl:variable>
  2110.                                         <xsl:value-of select="(100 - $transparency) div 100"/>
  2111.                                         </xsl:when>
  2112.                                         <xsl:when test="style:graphic-properties/@svg:stroke-opacity">
  2113.                                         <xsl:variable name="transparency">
  2114.                                             <xsl:value-of select="substring-before(style:graphic-properties/@svg:stroke-opacity,'%')"/>
  2115.                                         </xsl:variable>
  2116.                                         <xsl:value-of select="(100 - $transparency) div 100"/>    
  2117.                                         </xsl:when>
  2118.                                         <xsl:when test="style:properties/@svg:stroke-opacity">
  2119.                                             <xsl:value-of select="substring-before(style:properties/@svg:stroke-opacity,'%')"/>            
  2120.                                         </xsl:when>
  2121.                                     </xsl:choose>
  2122.                                     </σ¢╛:ΘÇŵÿÄσ║ª>
  2123.                                 </xsl:if>
  2124.                             </xsl:for-each>
  2125.                             <xsl:choose>
  2126.                                 <xsl:when test="@svg:x1">
  2127.                                     <σ¢╛:σ«╜σ║ª uof:locID="g0023">
  2128.                                         <xsl:value-of select="substring-before(@svg:x2,$uofUnit) - substring-before(@svg:x1,$uofUnit)"/>
  2129.                                     </σ¢╛:σ«╜σ║ª>
  2130.                                     <σ¢╛:Θ½ÿσ║ª uof:locID="g0024">
  2131.                                         <xsl:value-of select="substring-before(@svg:y2,$uofUnit) - substring-before(@svg:y1,$uofUnit)"/>
  2132.                                     </σ¢╛:Θ½ÿσ║ª>
  2133.                                 </xsl:when>
  2134.                                 <xsl:when test="@svg:x">
  2135.                                     <σ¢╛:σ«╜σ║ª uof:locID="g0023">
  2136.                                         <xsl:value-of select="substring-before(@svg:width,$uofUnit)"/>
  2137.                                     </σ¢╛:σ«╜σ║ª>
  2138.                                     <σ¢╛:Θ½ÿσ║ª uof:locID="g0024">
  2139.                                         <xsl:value-of select="substring-before(@svg:height,$uofUnit)"/>
  2140.                                     </σ¢╛:Θ½ÿσ║ª>
  2141.                                 </xsl:when>
  2142.                                 <xsl:when test="@svg:width">
  2143.                                     <σ¢╛:σ«╜σ║ª uof:locID="g0023">
  2144.                                         <xsl:value-of select="substring-before(@svg:width,$uofUnit)"/>
  2145.                                     </σ¢╛:σ«╜σ║ª>
  2146.                                     <σ¢╛:Θ½ÿσ║ª uof:locID="g0024">
  2147.                                         <xsl:value-of select="substring-before(@svg:height,$uofUnit)"/>
  2148.                                     </σ¢╛:Θ½ÿσ║ª>
  2149.                                 </xsl:when>
  2150.                             </xsl:choose>
  2151.                             <σ¢╛:µùïΦ╜¼ΦºÆσ║ª uof:locID="g0025">
  2152.                                 <xsl:choose>
  2153.                                     <xsl:when test="@draw:transform">
  2154.                                         <xsl:variable name="rotate-angle">
  2155.                                             <xsl:value-of select="@draw:transform"/>
  2156.                                         </xsl:variable>
  2157.                                         <xsl:variable name="rotate-temp">
  2158.                                             <xsl:value-of select="substring-before(substring-after($rotate-angle,'rotate ('),')')"/>
  2159.                                         </xsl:variable>
  2160.                                         <xsl:value-of select="($rotate-temp * 360) div (2 * 3.14159265)"/>
  2161.                                     </xsl:when>
  2162.                                     <xsl:otherwise>0.0</xsl:otherwise>
  2163.                                 </xsl:choose>
  2164.                             </σ¢╛:µùïΦ╜¼ΦºÆσ║ª>
  2165.                             <σ¢╛:X-τ╝⌐µö╛µ»öΣ╛ï uof:locID="g0026">1</σ¢╛:X-τ╝⌐µö╛µ»öΣ╛ï>
  2166.                             <σ¢╛:Y-τ╝⌐µö╛µ»öΣ╛ï uof:locID="g0027">1</σ¢╛:Y-τ╝⌐µö╛µ»öΣ╛ï>
  2167.                             <σ¢╛:Θöüσ«Üτ║╡µ¿¬µ»ö uof:locID="g0028">0</σ¢╛:Θöüσ«Üτ║╡µ¿¬µ»ö>
  2168.                             <σ¢╛:τ¢╕σ»╣σăσºïµ»öΣ╛ï uof:locID="g0029">1</σ¢╛:τ¢╕σ»╣σăσºïµ»öΣ╛ï>
  2169.                             <σ¢╛:µëôσì░σ»╣Φ▒í uof:locID="g0032">true</σ¢╛:µëôσì░σ»╣Φ▒í>
  2170.                             <σ¢╛:Webµûçσ¡ù uof:locID="g0033"/>
  2171.                         </σ¢╛:σ▒₧µÇº>
  2172.                     </σ¢╛:Θóäσ«ÜΣ╣ëσ¢╛σ╜ó>
  2173.                 </xsl:when>
  2174.             </xsl:choose>            
  2175.             <xsl:if test="./text:p or ./draw:text-box">
  2176.                 <σ¢╛:µûçµ£¼σåàσ«╣ uof:locID="g0002" uof:attrList="µûçµ£¼µíå σ╖ªΦ╛╣Φ╖¥ σÅ│Φ╛╣Φ╖¥ Σ╕èΦ╛╣Φ╖¥ Σ╕ïΦ╛╣Φ╖¥ µ░┤σ╣│σ»╣Θ╜É σ₧éτ¢┤σ»╣Θ╜É µûçσ¡ùµÄÆσêùµû╣σÉæ Φç¬σ迵ìóΦíî σñºσ░ÅΘÇéσ║öµûçσ¡ù σëìΣ╕ÇΘô╛µÄÑ σÉÄΣ╕ÇΘô╛µÄÑ">
  2177.                     <xsl:if test="$nodename='draw:text-box'">
  2178.                         <xsl:attribute name="σ¢╛:µûçµ£¼µíå">true</xsl:attribute>
  2179.                         <xsl:if test="./@draw:name = /office:document/office:body
  2180. //draw:text-box/@draw:chain-next-name">
  2181.                             <xsl:attribute name="σ¢╛:σëìΣ╕ÇΘô╛µÄÑ"><xsl:variable name="drawname"><xsl:value-of select="./@draw:name"/></xsl:variable><xsl:variable name="befor-link-name"><xsl:value-of select="/office:document/office:body
  2182. //draw:text-box[@draw:name=$drawname]/@draw:style-name"/></xsl:variable><xsl:value-of select="concat($befor-link-name,'_',$picnumber)"/></xsl:attribute>
  2183.                         </xsl:if>
  2184.                         <xsl:if test="./@draw:chain-next-name">
  2185.                             <xsl:attribute name="σ¢╛:σÉÄΣ╕ÇΘô╛µÄÑ"><xsl:variable name="next-link"><xsl:value-of select="./@draw:chain-next-name"/></xsl:variable><xsl:variable name="link-name"><xsl:value-of select="/office:document/office:body
  2186. //draw:text-box[@draw:name=$next-link]/@draw:style-name"/></xsl:variable><xsl:value-of select="concat($link-name,'_',$picnumber)"/></xsl:attribute>
  2187.                         </xsl:if>
  2188.                     </xsl:if>
  2189.                     <xsl:for-each select="(/office:document/office:styles/descendant::*[@style:name=$pic-name]) | (/office:document/office:automatic-styles/descendant::*[@style:name=$pic-name]) ">
  2190.                         <xsl:if test="style:graphic-properties/@fo:padding-left">
  2191.                             <xsl:attribute name="σ¢╛:σ╖ªΦ╛╣Φ╖¥"><xsl:value-of select="substring-before(style:graphic-properties/@fo:padding-left,$uofUnit)"/></xsl:attribute>
  2192.                             <xsl:attribute name="σ¢╛:σÅ│Φ╛╣Φ╖¥"><xsl:value-of select="substring-before(style:graphic-properties/@fo:padding-right,$uofUnit)"/></xsl:attribute>
  2193.                             <xsl:attribute name="σ¢╛:Σ╕èΦ╛╣Φ╖¥"><xsl:value-of select="substring-before(style:graphic-properties/@fo:padding-top,$uofUnit)"/></xsl:attribute>
  2194.                             <xsl:attribute name="σ¢╛:Σ╕ïΦ╛╣Φ╖¥"><xsl:value-of select="substring-before(style:graphic-properties/@fo:padding-bottom,$uofUnit)"/></xsl:attribute>
  2195.                         </xsl:if>
  2196.                         <xsl:attribute name="σ¢╛:µûçσ¡ùµÄÆσêùµû╣σÉæ">
  2197.                             <xsl:choose>
  2198.                                 <xsl:when test="style:paragraph-properties/@style:writing-mode">
  2199.                                     <xsl:choose>
  2200.                                         <xsl:when test="style:paragraph-properties/@style:writing-mode='tb-rl' and style:graphic-properties/@draw:textarea-vertical-align='bottom'">vert-l2r</xsl:when>
  2201.                                         <xsl:when test="style:paragraph-properties/@style:writing-mode='tb-rl'">vert-r2l</xsl:when>
  2202.                                     </xsl:choose>
  2203.                                 </xsl:when>
  2204.                                 <xsl:when test="style:graphic-properties/@draw:textarea-horizontal-align='right'">hori-r2l</xsl:when>
  2205.                                 <xsl:otherwise>hori-l2r</xsl:otherwise>
  2206.                             </xsl:choose>
  2207.                         </xsl:attribute>
  2208.                         <xsl:if test="style:graphic-properties/@fo:wrap-option">
  2209.                             <xsl:attribute name="σ¢╛:Φç¬σ迵ìóΦíî">true</xsl:attribute>
  2210.                         </xsl:if>
  2211.                         <xsl:if test="style:graphic-properties/@draw:auto-grow-width='true'">
  2212.                             <xsl:attribute name="σ¢╛:σñºσ░ÅΘÇéσ║öµûçσ¡ù">true</xsl:attribute>
  2213.                         </xsl:if>
  2214.                     </xsl:for-each>
  2215.                     <xsl:if test="./draw:text-box">
  2216.                         <xsl:for-each select="draw:text-box/node( )">
  2217.                             <xsl:choose>
  2218.                                 <xsl:when test="name()='text:list'">
  2219.                                     <xsl:call-template name="unordered-ordered-list">
  2220.                                         <xsl:with-param name="currlistlvl" select="number('1')"/>
  2221.                                         <xsl:with-param name="liststylename" select="@text:style-name"/>
  2222.                                     </xsl:call-template>
  2223.                                 </xsl:when>
  2224.                                 <xsl:when test="name()='text:p'or name()='text:h'">
  2225.                                     <xsl:call-template name="execParagraph">
  2226.                                         <xsl:with-param name="currlistlvl" select="number('0')"/>
  2227.                                         <xsl:with-param name="liststylename" select="string('00000')"/>
  2228.                                     </xsl:call-template>
  2229.                                 </xsl:when>
  2230.                             </xsl:choose>
  2231.                         </xsl:for-each>
  2232.                     </xsl:if>
  2233.                     <xsl:if test="./text:p">
  2234.                         <xsl:call-template name="execParagraph">
  2235.                             <xsl:with-param name="currlistlvl" select="number('0')"/>
  2236.                             <xsl:with-param name="liststylename" select="string('00000')"/>
  2237.                         </xsl:call-template>
  2238.                     </xsl:if>
  2239.                 </σ¢╛:µûçµ£¼σåàσ«╣>
  2240.             </xsl:if>
  2241.             <σ¢╛:µÄºσê╢τé╣ uof:locID="g0003" uof:attrList="xσ¥Éµáç yσ¥Éµáç">
  2242.                 <xsl:attribute name="σ¢╛:xσ¥Éµáç"><xsl:value-of select="substring-before(@svg:x,$uofUnit)"/></xsl:attribute>
  2243.                 <xsl:attribute name="σ¢╛:yσ¥Éµáç"><xsl:value-of select="substring-before(@svg:y,$uofUnit)"/></xsl:attribute>
  2244.             </σ¢╛:µÄºσê╢τé╣>
  2245.                <σ¢╛:τ┐╗Φ╜¼ uof:locID="g0040" uof:attrList="µû╣σÉæ" σ¢╛:µû╣σÉæ="x"/>
  2246.         </σ¢╛:σ¢╛σ╜ó>
  2247.         <xsl:if test="name(..)='draw:g'">
  2248.             <σ¢╛:τ╗äσÉêΣ╜ìτ╜« uof:locID="g0041" uof:attrList="xσ¥Éµáç yσ¥Éµáç">
  2249.                 <xsl:attribute name="σ¢╛:xσ¥Éµáç"><xsl:variable name="minx"><xsl:for-each select="parent::node()"><xsl:call-template name="groupminx"><xsl:with-param name="value" select="number(substring-before(descendant::node()[@svg:x][1]/@svg:x,$uofUnit))"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:for-each></xsl:variable><xsl:choose><xsl:when test="name(.)='draw:g'"><xsl:variable name="current-minx"><xsl:call-template name="groupminx"><xsl:with-param name="value" select="number(substring-before(descendant::node()[@svg:x][1]/@svg:x,$uofUnit))"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:variable><xsl:value-of select="$current-minx - $minx"/></xsl:when><xsl:otherwise><xsl:variable name="current-x" select="number(substring-before(@svg:x,$uofUnit))"/><xsl:value-of select="$current-x - $minx"/></xsl:otherwise></xsl:choose></xsl:attribute>
  2250.                 <xsl:attribute name="σ¢╛:yσ¥Éµáç"><xsl:variable name="miny"><xsl:for-each select="parent::node()"><xsl:call-template name="groupminy"><xsl:with-param name="value" select="number(substring-before(descendant::node()[@svg:y][1]/@svg:y,$uofUnit))"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:for-each></xsl:variable><xsl:choose><xsl:when test="name(.)='draw:g'"><xsl:variable name="current-miny"><xsl:call-template name="groupminy"><xsl:with-param name="value" select="number(substring-before(descendant::node()[@svg:y][1]/@svg:y,$uofUnit))"/><xsl:with-param name="pos" select="2"/></xsl:call-template></xsl:variable><xsl:value-of select="$current-miny - $miny"/></xsl:when><xsl:otherwise><xsl:variable name="current-y" select="number(substring-before(@svg:y,$uofUnit))"/><xsl:value-of select="$current-y - $miny"/></xsl:otherwise></xsl:choose></xsl:attribute>
  2251.             </σ¢╛:τ╗äσÉêΣ╜ìτ╜«>
  2252.         </xsl:if>
  2253.         <xsl:if test="name()='draw:frame' and ./draw:image">
  2254.             <uof:σà╢Σ╗ûσ»╣Φ▒í uof:locID="u0036" uof:attrList="µáçΦ»åτ¼ª σåàσ╡î σà¼σà▒τ▒╗σ₧ï τºüµ£ëτ▒╗σ₧ï">
  2255.                 <xsl:attribute name="uof:µáçΦ»åτ¼ª"><xsl:choose><xsl:when test="@draw:id"><xsl:value-of select="@draw:id"/></xsl:when><xsl:otherwise><xsl:value-of select="concat($pic-name,'_',$picnumber)"/></xsl:otherwise></xsl:choose></xsl:attribute>
  2256.                 <xsl:attribute name="uof:σåàσ╡î">true</xsl:attribute>
  2257.                 <xsl:attribute name="uof:σà¼σà▒τ▒╗σ₧ï">jpg</xsl:attribute>
  2258.                 <xsl:if test="./draw:image/office:binary-data">
  2259.                     <uof:µò░µì« uof:locID="u0037">
  2260.                         <xsl:value-of select="./draw:image/office:binary-data"/>
  2261.                     </uof:µò░µì«>
  2262.                 </xsl:if>
  2263.                 <xsl:if test="./draw:image/@xlink:href">
  2264.                     <uof:Φ╖»σ╛ä uof:locID="u0038">
  2265.                         <xsl:value-of select="./draw:image/@xlink:href"/>
  2266.                     </uof:Φ╖»σ╛ä>
  2267.                 </xsl:if>
  2268.             </uof:σà╢Σ╗ûσ»╣Φ▒í>
  2269.         </xsl:if>
  2270.         <xsl:for-each select="(/office:document/office:styles/descendant::*[@style:name=$pic-name]) | (/office:document/office:automatic-styles/descendant::*[@style:name=$pic-name]) ">
  2271.             <xsl:if test="style:graphic-properties/@draw:fill-image-name and @draw:fill='bitmap'">
  2272.                 <uof:σà╢Σ╗ûσ»╣Φ▒í uof:locID="u0036" uof:attrList="µáçΦ»åτ¼ª σåàσ╡î σà¼σà▒τ▒╗σ₧ï τºüµ£ëτ▒╗σ₧ï">
  2273.                     <xsl:attribute name="uof:µáçΦ»åτ¼ª"><xsl:choose><xsl:when test="@draw:id"><xsl:value-of select="@draw:id"/></xsl:when><xsl:otherwise><xsl:value-of select="concat($pic-name,'_',$picnumber)"/></xsl:otherwise></xsl:choose></xsl:attribute>
  2274.                     <xsl:attribute name="uof:σà¼σà▒τ▒╗σ₧ï">jpg</xsl:attribute>
  2275.                     <xsl:attribute name="uof:σåàσ╡î">true</xsl:attribute>
  2276.                     <xsl:variable name="fill-name">
  2277.                         <xsl:value-of select="style:graphic-properties/@draw:fill-image-name"/>
  2278.                     </xsl:variable>
  2279.                     <uof:µò░µì« uof:locID="u0037">
  2280.                         <xsl:for-each select="/office:document/office:styles/draw:fill-image[@draw:name=$fill-name]">
  2281.                             <xsl:value-of select="office:binary-data"/>
  2282.                         </xsl:for-each>
  2283.                     </uof:µò░µì«>
  2284.                     <uof:Φ╖»σ╛ä uof:locID="u0038">
  2285.                         <xsl:value-of select="@xlink:href"/>
  2286.                     </uof:Φ╖»σ╛ä>
  2287.                 </uof:σà╢Σ╗ûσ»╣Φ▒í>
  2288.             </xsl:if>
  2289.         </xsl:for-each>
  2290.     </xsl:template>
  2291.     <xsl:template name="unordered-ordered-list">
  2292.         <xsl:param name="currlistlvl"/>
  2293.         <xsl:param name="liststylename"/>
  2294.         <xsl:for-each select="text:list-item">
  2295.             <xsl:if test="text:p">
  2296.                 <xsl:for-each select="text:p">
  2297.                     <xsl:call-template name="execParagraph">
  2298.                         <xsl:with-param name="currlistlvl" select="$currlistlvl"/>
  2299.                         <xsl:with-param name="liststylename" select="$liststylename"/>
  2300.                     </xsl:call-template>
  2301.                 </xsl:for-each>
  2302.             </xsl:if>
  2303.             <xsl:for-each select="node( )">
  2304.                 <xsl:if test="name()='text:list'">
  2305.                     <xsl:call-template name="unordered-ordered-list">
  2306.                         <xsl:with-param name="currlistlvl" select="$currlistlvl +1"/>
  2307.                         <xsl:with-param name="liststylename" select="$liststylename"/>
  2308.                     </xsl:call-template>
  2309.                 </xsl:if>
  2310.             </xsl:for-each>
  2311.         </xsl:for-each>
  2312.     </xsl:template>
  2313.     <xsl:template name="groupminx">
  2314.         <xsl:param name="value"/>
  2315.         <xsl:param name="pos"/>
  2316.         <xsl:choose>
  2317.             <xsl:when test="descendant::node()[@svg:x][position()=$pos]">
  2318.                 <xsl:variable name="othervalue" select="number(substring-before(descendant::node()[@svg:x][position()=$pos]/@svg:x,$uofUnit))"/>
  2319.                 <xsl:call-template name="groupminx">
  2320.                     <xsl:with-param name="value">
  2321.                         <xsl:choose>
  2322.                             <xsl:when test="$value>$othervalue">
  2323.                                 <xsl:value-of select="$othervalue"/>
  2324.                             </xsl:when>
  2325.                             <xsl:otherwise>
  2326.                                 <xsl:value-of select="$value"/>
  2327.                             </xsl:otherwise>
  2328.                         </xsl:choose>
  2329.                     </xsl:with-param>
  2330.                     <xsl:with-param name="pos" select="$pos+1"/>
  2331.                 </xsl:call-template>
  2332.             </xsl:when>
  2333.             <xsl:otherwise>
  2334.                 <xsl:value-of select="$value"/>
  2335.             </xsl:otherwise>
  2336.         </xsl:choose>
  2337.     </xsl:template>
  2338.     <xsl:template name="groupminy">
  2339.         <xsl:param name="value"/>
  2340.         <xsl:param name="pos"/>
  2341.         <xsl:choose>
  2342.             <xsl:when test="descendant::node()[@svg:y][position()=$pos]">
  2343.                 <xsl:variable name="othervalue" select="number(substring-before(descendant::node()[@svg:y][position()=$pos]/@svg:y,$uofUnit))"/>
  2344.                 <xsl:call-template name="groupminy">
  2345.                     <xsl:with-param name="value">
  2346.                         <xsl:choose>
  2347.                             <xsl:when test="$value>$othervalue">
  2348.                                 <xsl:value-of select="$othervalue"/>
  2349.                             </xsl:when>
  2350.                             <xsl:otherwise>
  2351.                                 <xsl:value-of select="$value"/>
  2352.                             </xsl:otherwise>
  2353.                         </xsl:choose>
  2354.                     </xsl:with-param>
  2355.                     <xsl:with-param name="pos" select="$pos+1"/>
  2356.                 </xsl:call-template>
  2357.             </xsl:when>
  2358.             <xsl:otherwise>
  2359.                 <xsl:value-of select="$value"/>
  2360.             </xsl:otherwise>
  2361.         </xsl:choose>
  2362.     </xsl:template>
  2363.     <xsl:template name="groupmaxx">
  2364.         <xsl:param name="value"/>
  2365.         <xsl:param name="pos"/>
  2366.         <xsl:choose>
  2367.             <xsl:when test="descendant::node()[@svg:x][position()=$pos]">
  2368.                 <xsl:variable name="svgx">
  2369.                     <xsl:value-of select="number(substring-before(descendant::node()[@svg:x][position()=$pos]/@svg:x,$uofUnit))"/>
  2370.                 </xsl:variable>
  2371.                 <xsl:variable name="width">
  2372.                     <xsl:value-of select="number(substring-before(descendant::node()[@svg:x][position()=$pos]/@svg:width,$uofUnit))"/>
  2373.                 </xsl:variable>
  2374.                 <xsl:variable name="othervalue" select="$svgx + $width"/>
  2375.                 <xsl:call-template name="groupminx">
  2376.                     <xsl:with-param name="value">
  2377.                         <xsl:choose>
  2378.                             <xsl:when test="$value>$othervalue">
  2379.                                 <xsl:value-of select="$value"/>
  2380.                             </xsl:when>
  2381.                             <xsl:otherwise>
  2382.                                 <xsl:value-of select="$othervalue"/>
  2383.                             </xsl:otherwise>
  2384.                         </xsl:choose>
  2385.                     </xsl:with-param>
  2386.                     <xsl:with-param name="pos" select="$pos+1"/>
  2387.                 </xsl:call-template>
  2388.             </xsl:when>
  2389.             <xsl:otherwise>
  2390.                 <xsl:value-of select="$value"/>
  2391.             </xsl:otherwise>
  2392.         </xsl:choose>
  2393.     </xsl:template>
  2394.     <xsl:template name="groupmaxy">
  2395.         <xsl:param name="value"/>
  2396.         <xsl:param name="pos"/>
  2397.         <xsl:choose>
  2398.             <xsl:when test="descendant::node()[@svg:y][position()=$pos]">
  2399.                 <xsl:variable name="svgy">
  2400.                     <xsl:value-of select="number(substring-before(descendant::node()[@svg:y][position()=$pos]/@svg:y,$uofUnit))"/>
  2401.                 </xsl:variable>
  2402.                 <xsl:variable name="height">
  2403.                     <xsl:value-of select="number(substring-before(descendant::node()[@svg:y][position()=$pos]/@svg:height,$uofUnit))"/>
  2404.                 </xsl:variable>
  2405.                 <xsl:variable name="othervalue" select="$svgy + $height"/>
  2406.                 <xsl:call-template name="groupminy">
  2407.                     <xsl:with-param name="value">
  2408.                         <xsl:choose>
  2409.                             <xsl:when test="$value>$othervalue">
  2410.                                 <xsl:value-of select="$value"/>
  2411.                             </xsl:when>
  2412.                             <xsl:otherwise>
  2413.                                 <xsl:value-of select="$othervalue"/>
  2414.                             </xsl:otherwise>
  2415.                         </xsl:choose>
  2416.                     </xsl:with-param>
  2417.                     <xsl:with-param name="pos" select="$pos+1"/>
  2418.                 </xsl:call-template>
  2419.             </xsl:when>
  2420.             <xsl:otherwise>
  2421.                 <xsl:value-of select="$value"/>
  2422.             </xsl:otherwise>
  2423.         </xsl:choose>
  2424.     </xsl:template>
  2425.     <xsl:template name="draw:points">
  2426.         <xsl:param name="point"/>
  2427.         <xsl:param name="lujing"/>
  2428.         <xsl:choose>
  2429.             <xsl:when test="contains($point,' ' )">
  2430.                 <xsl:variable name="first-point" select="substring-before($point,' ')"/>
  2431.                 <xsl:variable name="other-point" select="substring-after($point,' ')"/>
  2432.                 <xsl:variable name="xzuobiao">
  2433.                     <xsl:value-of select="substring-before($first-point,',') div 1000"/>
  2434.                 </xsl:variable>
  2435.                 <xsl:variable name="yzuobiao">
  2436.                     <xsl:value-of select="substring-after($first-point,',') div 1000"/>
  2437.                 </xsl:variable>
  2438.                 <xsl:call-template name="draw:points">
  2439.                     <xsl:with-param name="point" select="$other-point"/>
  2440.                     <xsl:with-param name="lujing" select="concat($lujing,$xzuobiao,' ',$yzuobiao,'lineto')"/>
  2441.                 </xsl:call-template>
  2442.             </xsl:when>
  2443.             <xsl:otherwise>
  2444.                 <xsl:variable name="xzuobiao">
  2445.                     <xsl:value-of select="substring-before($point,',') div 1000"/>
  2446.                 </xsl:variable>
  2447.                 <xsl:variable name="yzuobiao">
  2448.                     <xsl:value-of select="substring-after($point,',') div 1000"/>
  2449.                 </xsl:variable>
  2450.                 <xsl:value-of select="concat($lujing,$xzuobiao,' ',$yzuobiao)"/>
  2451.             </xsl:otherwise>
  2452.         </xsl:choose>
  2453.     </xsl:template>
  2454.     <xsl:template name="execParagraph">
  2455.         <xsl:param name="currlistlvl"/>
  2456.         <xsl:param name="liststylename"/>
  2457.         <σ¡ù:µ«╡ΦÉ╜ uof:locID="t0051" uof:attrList="µáçΦ»åτ¼ª">
  2458.         <xsl:if test="@text:id">
  2459.                 <xsl:attribute name="σ¡ù:σè¿τö╗µáçΦ»å"><xsl:value-of select="@text:id"/></xsl:attribute>
  2460.             </xsl:if>
  2461.             <xsl:element name="σ¡ù:µ«╡ΦÉ╜σ▒₧µÇº">
  2462.                 <xsl:attribute name="uof:locID">t0052</xsl:attribute>
  2463.                 <xsl:attribute name="uof:attrList">σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  2464.                 <xsl:attribute name="σ¡ù:σ╝ŵá╖σ╝òτö¿"><xsl:choose><xsl:when test="@text:id"><xsl:value-of select="@text:id"/></xsl:when><xsl:otherwise><xsl:value-of select="@text:style-name"/></xsl:otherwise></xsl:choose></xsl:attribute>
  2465.                 <xsl:if test="not(number($currlistlvl) =number('0'))">
  2466.                     <xsl:variable name="parent-position">
  2467.                         <xsl:number from="/office:document/office:body/text:ordered-list" level="any" count="text:list-item/text:p" format="1"/>
  2468.                     </xsl:variable>
  2469.                     <xsl:element name="σ¡ù:Φç¬σè¿τ╝ûσÅ╖Σ┐íµü»">
  2470.                         <xsl:attribute name="uof:locID">t0059</xsl:attribute>
  2471.                         <xsl:attribute name="uof:attrList">τ╝ûσÅ╖σ╝òτö¿ τ╝ûσÅ╖τ║ºσê½ Θçìµû░τ╝ûσÅ╖ Φ╡╖σºïτ╝ûσÅ╖</xsl:attribute>
  2472.                         <xsl:attribute name="σ¡ù:τ╝ûσÅ╖σ╝òτö¿"><xsl:value-of select="$liststylename"/></xsl:attribute>
  2473.                         <xsl:attribute name="σ¡ù:τ╝ûσÅ╖τ║ºσê½"><xsl:value-of select="$currlistlvl"/></xsl:attribute>
  2474.                         <xsl:attribute name="σ¡ù:Θçìµû░τ╝ûσÅ╖"><xsl:choose><xsl:when test="number($parent-position)=number('1')">true</xsl:when><xsl:otherwise>false</xsl:otherwise></xsl:choose></xsl:attribute>
  2475.                         <xsl:attribute name="σ¡ù:Φ╡╖σºïτ╝ûσÅ╖"><xsl:for-each select="//text:list-style[$liststylename=@style:name]/*[number($currlistlvl)=number(@text:level)]"><xsl:choose><xsl:when test="@text:start-value"><xsl:value-of select="@text:start-value"/></xsl:when><xsl:otherwise>1</xsl:otherwise></xsl:choose></xsl:for-each></xsl:attribute>
  2476.                     </xsl:element>
  2477.                 </xsl:if>
  2478.                 <xsl:variable name="stylename">
  2479.                     <xsl:value-of select="@text:style-name"/>
  2480.                 </xsl:variable>
  2481.                 <xsl:for-each select="(//style:style[@style:name=$stylename])">
  2482.                     <xsl:call-template name="ParaAttribute">
  2483.                         <xsl:with-param name="text-style-name" select="@text:style-name"/>
  2484.                     </xsl:call-template>
  2485.                 </xsl:for-each>
  2486.             </xsl:element>
  2487.             <xsl:for-each select="node( )">
  2488.                 <xsl:choose>
  2489.                     <xsl:when test="self::node( )[name(.)='text:span']">
  2490.                         <xsl:call-template name="textspan"/>
  2491.                     </xsl:when>
  2492.                     <xsl:when test="self::node()[name(.)='text:time']">
  2493.                         <xsl:apply-templates select="."/>
  2494.                     </xsl:when>
  2495.                     <xsl:when test="self::node()[name(.)='text:s']">
  2496.                         <xsl:apply-templates select="."/>
  2497.                     </xsl:when>
  2498.                     <xsl:when test="substring-before(name(.),':')='draw' and not(name(.)='draw:a')">
  2499.                     </xsl:when>
  2500.                     <xsl:when test="name(.)='text:a'">
  2501.                         <σ¡ù:σÅÑ uof:locID="t0085">
  2502.                             <xsl:element name="σ¡ù:σÅÑσ▒₧µÇº">
  2503.                                 <xsl:attribute name="uof:locID">t0086</xsl:attribute>
  2504.                                 <xsl:attribute name="uof:attrList">σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  2505.                                 <σ¡ù:σ¡ùΣ╜ô uof:locID="t0088" uof:attrList="ΦÑ┐µûçσ¡ùΣ╜ôσ╝òτö¿ Σ╕¡µûçσ¡ùΣ╜ôσ╝òτö¿ σ¡ùσÅ╖ Θó£Φë▓" σ¡ù:Θó£Φë▓="#0000ff"/>
  2506.                                 <σ¡ù:Σ╕ïσêÆτ║┐ uof:locID="t0095" σ¡ù:τ▒╗σ₧ï="single" σ¡ù:Θó£Φë▓="#0000ff" uof:attrList="τ▒╗σ₧ï Θó£Φë▓ σ¡ùΣ╕ïσêÆτ║┐"/>
  2507.                             </xsl:element>
  2508.                             <xsl:element name="σ¡ù:σî║σƒƒσ╝Çσºï">
  2509.                                 <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª">hlnk<xsl:number from="/office:document/office:body" level="any" count="text:p[text:a]"/></xsl:attribute>
  2510.                                 <xsl:attribute name="σ¡ù:σÉìτº░">Hyperlink</xsl:attribute>
  2511.                                 <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">hyperlink</xsl:attribute>
  2512.                                 <xsl:attribute name="uof:locID">t0121</xsl:attribute>
  2513.                                 <xsl:attribute name="uof:attrList">µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï</xsl:attribute>
  2514.                             </xsl:element>
  2515.                             <σ¡ù:µûçµ£¼Σ╕▓ uof:locID="t0109" uof:attrList="udsPath">
  2516.                                 <xsl:value-of select="."/>
  2517.                             </σ¡ù:µûçµ£¼Σ╕▓>
  2518.                             <xsl:element name="σ¡ù:σî║σƒƒτ╗ôµ¥ƒ">
  2519.                                 <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ªσ╝òτö¿">hlnk<xsl:number from="/office:document/office:body" level="any" count="text:p[text:a]"/></xsl:attribute>
  2520.                                 <xsl:attribute name="uof:locID">t0122</xsl:attribute>
  2521.                                 <xsl:attribute name="uof:attrList">µáçΦ»åτ¼ªσ╝òτö¿</xsl:attribute>
  2522.                             </xsl:element>
  2523.                         </σ¡ù:σÅÑ>
  2524.                     </xsl:when>
  2525.                     <xsl:otherwise>
  2526.                         <xsl:call-template name="σ¡ù:σÅÑ"/>
  2527.                     </xsl:otherwise>
  2528.                 </xsl:choose>
  2529.             </xsl:for-each>
  2530.         </σ¡ù:µ«╡ΦÉ╜>
  2531.     </xsl:template>
  2532.     <xsl:template name="σ¡ù:σÅÑ">
  2533.         <xsl:if test="not(name(.)='text:bookmark-start' or name(.)='text:bookmark-end' or  name(.)='draw:image' or name(.)='office:binary-data')">
  2534.             <σ¡ù:σÅÑ uof:locID="t0085">
  2535.                 <σ¡ù:σÅÑσ▒₧µÇº uof:locID="t0086" uof:attrList="σ╝ŵá╖σ╝òτö¿">
  2536.                     <xsl:choose>
  2537.                         <xsl:when test="@text:style-name">
  2538.                             <xsl:attribute name="σ¡ù:σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="@text:style-name"/></xsl:attribute>
  2539.                         </xsl:when>
  2540.                         <xsl:otherwise>
  2541.                             <xsl:attribute name="σ¡ù:σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="parent::node( )/@text:style-name"/></xsl:attribute>
  2542.                         </xsl:otherwise>
  2543.                     </xsl:choose>
  2544.                 </σ¡ù:σÅÑσ▒₧µÇº>
  2545.                 <xsl:choose>
  2546.                     <xsl:when test="(preceding-sibling::text:bookmark-start) and (following-sibling::text:bookmark-end)">
  2547.                         <σ¡ù:σî║σƒƒσ╝Çσºï uof:locID="t0121" uof:attrList="µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï">
  2548.                             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª"><xsl:value-of select="preceding-sibling::text:bookmark-start/@text:name"/></xsl:attribute>
  2549.                             <xsl:attribute name="σ¡ù:σÉìτº░">Bookmark</xsl:attribute>
  2550.                             <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">bookmark</xsl:attribute>
  2551.                         </σ¡ù:σî║σƒƒσ╝Çσºï>
  2552.                         <σ¡ù:µûçµ£¼Σ╕▓ uof:locID="t0109" uof:attrList="udsPath">
  2553.                             <xsl:value-of select="string(.)"/>
  2554.                         </σ¡ù:µûçµ£¼Σ╕▓>
  2555.                         <σ¡ù:σî║σƒƒτ╗ôµ¥ƒ uof:locID="t0122" uof:attrList="µáçΦ»åτ¼ªσ╝òτö¿">
  2556.                             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ªσ╝òτö¿"><xsl:value-of select="following-sibling::text:bookmark-end/@text:name"/></xsl:attribute>
  2557.                         </σ¡ù:σî║σƒƒτ╗ôµ¥ƒ>
  2558.                     </xsl:when>
  2559.                     <xsl:when test="preceding-sibling::text:bookmark">
  2560.                         <σ¡ù:σî║σƒƒσ╝Çσºï uof:locID="t0121" uof:attrList="µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï">
  2561.                             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª"><xsl:value-of select="preceding-sibling::text:bookmark/@text:name"/></xsl:attribute>
  2562.                             <xsl:attribute name="σ¡ù:σÉìτº░">Bookmark</xsl:attribute>
  2563.                             <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">bookmark</xsl:attribute>
  2564.                         </σ¡ù:σî║σƒƒσ╝Çσºï>
  2565.                         <σ¡ù:σî║σƒƒτ╗ôµ¥ƒ uof:locID="t0122" uof:attrList="µáçΦ»åτ¼ªσ╝òτö¿">
  2566.                             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ªσ╝òτö¿"><xsl:value-of select="preceding-sibling::text:bookmark/@text:name"/></xsl:attribute>
  2567.                         </σ¡ù:σî║σƒƒτ╗ôµ¥ƒ>
  2568.                         <σ¡ù:µûçµ£¼Σ╕▓ uof:locID="t0109" uof:attrList="udsPath">
  2569.                             <xsl:value-of select="string(.)"/>
  2570.                         </σ¡ù:µûçµ£¼Σ╕▓>
  2571.                     </xsl:when>
  2572.                     <xsl:when test="name(.)='draw:a'">
  2573.                         <xsl:variable name="link-name">
  2574.                             <xsl:value-of select="substring-after(@xlink:href,'#')"/>
  2575.                         </xsl:variable>
  2576.                         <σ¡ù:σî║σƒƒσ╝Çσºï uof:locID="t0121" uof:attrList="µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï">
  2577.                             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª"><xsl:value-of select="$link-name"/></xsl:attribute>
  2578.                             <xsl:attribute name="σ¡ù:σÉìτº░">Bookmark</xsl:attribute>
  2579.                             <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">bookmark</xsl:attribute>
  2580.                         </σ¡ù:σî║σƒƒσ╝Çσºï>
  2581.                         <σ¡ù:σî║σƒƒτ╗ôµ¥ƒ uof:locID="t0122" uof:attrList="µáçΦ»åτ¼ªσ╝òτö¿">
  2582.                             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ªσ╝òτö¿"><xsl:value-of select="$link-name"/></xsl:attribute>
  2583.                         </σ¡ù:σî║σƒƒτ╗ôµ¥ƒ>
  2584.                     </xsl:when>
  2585.                     <xsl:when test="self::node( )[name(.)='text:tab-stop']">
  2586.                         <xsl:element name="σ¡ù:σê╢Φí¿τ¼ª">
  2587.                             <xsl:attribute name="uof:locID">t0123</xsl:attribute>
  2588.                         </xsl:element>
  2589.                     </xsl:when>
  2590.                     <xsl:when test="name(.)='text:bookmark-start' or name(.)='text:bookmark-end' or  name(.)='draw:image' or name(.)='office:binary-data'">                        
  2591.                         </xsl:when>
  2592.                     <xsl:otherwise>
  2593.                         <σ¡ù:µûçµ£¼Σ╕▓ uof:locID="t0109" uof:attrList="udsPath">
  2594.                             <xsl:value-of select="string(.)"/>
  2595.                         </σ¡ù:µûçµ£¼Σ╕▓>
  2596.                     </xsl:otherwise>
  2597.                 </xsl:choose>
  2598.             </σ¡ù:σÅÑ>
  2599.         </xsl:if>
  2600.     </xsl:template>
  2601.     <xsl:template name="jiaozhu">
  2602.         <σ¡ù:Φäܵ│¿ uof:locID="t0107" uof:attrList="σ╝òµûçΣ╜ô">
  2603.             <xsl:call-template name="execParagraph">
  2604.                 <xsl:with-param name="currlistlvl" select="number('0')"/>
  2605.                 <xsl:with-param name="liststylename" select="string('00000')"/>
  2606.             </xsl:call-template>
  2607.         </σ¡ù:Φäܵ│¿>
  2608.     </xsl:template>
  2609.     <xsl:template match="text:s">
  2610.         <xsl:param name="bText"/>
  2611.         <xsl:choose>
  2612.             <xsl:when test="$bText='0'">
  2613.                 <xsl:variable name="count">
  2614.                     <xsl:choose>
  2615.                         <xsl:when test="not(@text:c)">1</xsl:when>
  2616.                         <xsl:otherwise>
  2617.                             <xsl:value-of select="@text:c+1"/>
  2618.                         </xsl:otherwise>
  2619.                     </xsl:choose>
  2620.                 </xsl:variable>
  2621.                 <σ¡ù:σÅÑ uof:locID="t0085">
  2622.                     <σ¡ù:τ⌐║µá╝τ¼ª uof:locID="t0126" uof:attrList="Σ╕¬µò░" σ¡ù:Σ╕¬µò░="{$count}"/>
  2623.                 </σ¡ù:σÅÑ>
  2624.             </xsl:when>
  2625.             <xsl:otherwise>
  2626.                 <σ¡ù:τ⌐║µá╝τ¼ª uof:locID="t0126" uof:attrList="Σ╕¬µò░" σ¡ù:Σ╕¬µò░="{@text:c}"/>
  2627.             </xsl:otherwise>
  2628.         </xsl:choose>
  2629.     </xsl:template>
  2630.     <xsl:template name="weizhu">
  2631.         <σ¡ù:σ░╛µ│¿ uof:locID="t0108" uof:attrList="σ╝òµûçΣ╜ô">
  2632.             <xsl:call-template name="execParagraph">
  2633.                 <xsl:with-param name="currlistlvl" select="number('0')"/>
  2634.                 <xsl:with-param name="liststylename" select="string('00000')"/>
  2635.             </xsl:call-template>
  2636.         </σ¡ù:σ░╛µ│¿>
  2637.     </xsl:template>
  2638.     <xsl:template match="text:time">
  2639.         <xsl:element name="σ¡ù:σƒƒσ╝Çσºï">
  2640.             <xsl:attribute name="σ¡ù:τ▒╗σ₧ï"><xsl:value-of select="'TIME'"/></xsl:attribute>
  2641.             <xsl:choose>
  2642.                 <xsl:when test="text:fixed='1'">
  2643.                     <xsl:attribute name="σ¡ù:Θöüσ«Ü">true</xsl:attribute>
  2644.                 </xsl:when>
  2645.                 <xsl:otherwise>
  2646.                     <xsl:attribute name="σ¡ù:Θöüσ«Ü">false</xsl:attribute>
  2647.                 </xsl:otherwise>
  2648.             </xsl:choose>
  2649.             <xsl:attribute name="uof:locID">t0079</xsl:attribute>
  2650.             <xsl:attribute name="uof:attrList">τ▒╗σ₧ï Θöüσ«Ü</xsl:attribute>
  2651.         </xsl:element>
  2652.         <xsl:element name="σ¡ù:σƒƒΣ╗úτáü">
  2653.             <σ¡ù:µ«╡ΦÉ╜ uof:locID="t0051">
  2654.                 <σ¡ù:σÅÑ uof:locID="t0085">
  2655.                     <σ¡ù:σÅÑσ▒₧µÇº uof:locID="t0086" uof:attrList="σ╝ŵá╖σ╝òτö¿"/>
  2656.                     <xsl:variable name="timefmt">
  2657.                         <xsl:variable name="aa" select="@style:data-style-name"/>
  2658.                         <xsl:for-each select="key('geshi',$aa)/number:hours | key('geshi',$aa)/number:minutes | key('geshi',$aa)/number:am-pm | key('geshi',$aa)/number:seconds | key('geshi',$aa)/number:text">
  2659.                             <xsl:choose>
  2660.                                 <xsl:when test="@number:style='long' ">
  2661.                                     <xsl:if test="self::node( )[name(.)='number:hours']">HH</xsl:if>
  2662.                                     <xsl:if test="self::node( )[name(.)='number:minutes']">MM</xsl:if>
  2663.                                     <xsl:if test="self::node( )[name(.)='number:seconds']">SS</xsl:if>
  2664.                                 </xsl:when>
  2665.                                 <xsl:otherwise>
  2666.                                     <xsl:if test="self::node( )[name(.)='number:text']">
  2667.                                         <xsl:value-of select="."/>
  2668.                                     </xsl:if>
  2669.                                     <xsl:if test="self::node( )[name(.)='number:hours']">H</xsl:if>
  2670.                                     <xsl:if test="self::node( )[name(.)='number:minutes']">M</xsl:if>
  2671.                                     <xsl:if test="self::node( )[name(.)='number:seconds']">S</xsl:if>
  2672.                                     <xsl:if test="self::node( )[name(.)='number:am-pm']">AMPM</xsl:if>
  2673.                                 </xsl:otherwise>
  2674.                             </xsl:choose>
  2675.                         </xsl:for-each>
  2676.                     </xsl:variable>
  2677.                     <xsl:variable name="quote">"</xsl:variable>
  2678.                     <σ¡ù:µûçµ£¼Σ╕▓ uof:locID="t0109" uof:attrList="udsPath">
  2679.                         <xsl:value-of select="concat('TIME \@ ',$quote,$timefmt,$quote,' \* MERGEFORMAT ')"/>
  2680.                     </σ¡ù:µûçµ£¼Σ╕▓>
  2681.                 </σ¡ù:σÅÑ>
  2682.             </σ¡ù:µ«╡ΦÉ╜>
  2683.         </xsl:element>
  2684.         <σ¡ù:σÅÑ uof:locID="t0085">
  2685.             <σ¡ù:µûçµ£¼Σ╕▓ uof:locID="t0109" uof:attrList="udsPath">
  2686.                 <xsl:value-of select="."/>
  2687.             </σ¡ù:µûçµ£¼Σ╕▓>
  2688.         </σ¡ù:σÅÑ>
  2689.         <xsl:element name="σ¡ù:σƒƒτ╗ôµ¥ƒ">
  2690.             <xsl:attribute name="uof:locID">t0081</xsl:attribute>
  2691.         </xsl:element>
  2692.     </xsl:template>
  2693.     <xsl:template name="ParaAttribute">
  2694.         <xsl:param name="text-style-name"/>
  2695.         <xsl:for-each select="/office:document/office:styles/style:style">
  2696.             <xsl:if test="@style:name=$text-style-name and not($text-style-name='Standard')">
  2697.                 <xsl:element name="σ¡ù:µá╝σ╝ÅΣ┐«Φ«ó">
  2698.                     <xsl:attribute name="uof:locID">t0053</xsl:attribute>
  2699.                     <xsl:attribute name="uof:attrList">Σ┐«Φ«óΣ┐íµü»σ╝òτö¿</xsl:attribute>
  2700.                     <xsl:attribute name="σ¡ù:Σ┐«Φ«óΣ┐íµü»σ╝òτö¿"><xsl:value-of select="@style:name"/></xsl:attribute>
  2701.                     <xsl:element name="σ¡ù:µ«╡ΦÉ╜σ▒₧µÇº">
  2702.                         <xsl:attribute name="uof:locID">t0052</xsl:attribute>
  2703.                         <xsl:attribute name="uof:attrList">σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  2704.                         <xsl:attribute name="σ¡ù:σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="@style:name"/></xsl:attribute>
  2705.                     </xsl:element>
  2706.                 </xsl:element>
  2707.             </xsl:if>
  2708.         </xsl:for-each>
  2709.         <xsl:if test="@style:name='Heading'">
  2710.             <xsl:element name="σ¡ù:σñºτ║▓τ║ºσê½">
  2711.                 <xsl:attribute name="uof:locID">t0054</xsl:attribute>            
  2712.                 <xsl:value-of select="substring-after(@style:name,'Heading')"/>
  2713.             </xsl:element>
  2714.         </xsl:if>
  2715.         <xsl:if test=".//@fo:text-align or .//@style:vertical-align">
  2716.             <xsl:element name="σ¡ù:σ»╣Θ╜É">
  2717.                 <xsl:attribute name="uof:locID">t0055</xsl:attribute>
  2718.                 <xsl:attribute name="uof:attrList">µ░┤σ╣│σ»╣Θ╜É µûçσ¡ùσ»╣Θ╜É</xsl:attribute>
  2719.                 <xsl:attribute name="σ¡ù:µ░┤σ╣│σ»╣Θ╜É"><xsl:choose><xsl:when test=".//@fo:text-align='end'">right</xsl:when><xsl:when test=".//@fo:text-align='center'">center</xsl:when><xsl:when test=".//@fo:text-align='justify' and not(.//@fo:text-align-last='justify')">justified</xsl:when><xsl:when test=".//@fo:text-align='justify' and .//@fo:text-align-last='justify'">distributed</xsl:when><xsl:otherwise>left</xsl:otherwise></xsl:choose></xsl:attribute>
  2720.                 <xsl:attribute name="σ¡ù:µûçσ¡ùσ»╣Θ╜É"><xsl:choose><xsl:when test=".//@style:vertical-align='baseline'">base</xsl:when><xsl:when test=".//@style:vertical-align='top'">top</xsl:when><xsl:when test=".//@style:vertical-align='middle'">center</xsl:when><xsl:when test=".//@style:vertical-align='bottom'">bottom</xsl:when><xsl:otherwise>auto</xsl:otherwise></xsl:choose></xsl:attribute>
  2721.             </xsl:element>
  2722.         </xsl:if>
  2723.         <xsl:if test=".//@fo:margin-left or .//@fo:margin-right or .//@fo:text-indent">
  2724.             <xsl:element name="σ¡ù:τ╝⌐Φ┐¢">
  2725.                 <xsl:attribute name="uof:locID">t0056</xsl:attribute>
  2726.                 <xsl:call-template name="σ¡ù:τ╝⌐Φ┐¢τ▒╗σ₧ï"/>
  2727.             </xsl:element>
  2728.         </xsl:if>
  2729.         <xsl:element name="σ¡ù:ΦíîΦ╖¥">
  2730.             <xsl:attribute name="uof:locID">t0057</xsl:attribute>
  2731.             <xsl:attribute name="uof:attrList">τ▒╗σ₧ï σÇ╝</xsl:attribute>
  2732.             <xsl:choose>
  2733.                 <xsl:when test="contains(.//@fo:line-height,$uofUnit)">
  2734.                     <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">fixed</xsl:attribute>
  2735.                     <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(.//@fo:line-height,$uofUnit)"/></xsl:attribute>
  2736.                 </xsl:when>
  2737.                 <xsl:when test="contains(.//@fo:line-height,'%')">
  2738.                     <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">multi-lines</xsl:attribute>
  2739.                     <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(.//@fo:line-height,'%') div 100"/></xsl:attribute>
  2740.                 </xsl:when>
  2741.                 <xsl:when test=".//@style:line-height-at-least">
  2742.                     <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">at-least</xsl:attribute>
  2743.                     <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(.//@style:line-height-at-least,$uofUnit)"/></xsl:attribute>
  2744.                 </xsl:when>
  2745.                 <xsl:when test=".//@style:line-spacing">
  2746.                     <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">line-space</xsl:attribute>
  2747.                     <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(.//@style:line-spacing,$uofUnit)"/></xsl:attribute>
  2748.                 </xsl:when>
  2749.                 <xsl:otherwise>
  2750.                     <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">multi-lines</xsl:attribute>
  2751.                     <xsl:attribute name="σ¡ù:σÇ╝">1.0</xsl:attribute>
  2752.                 </xsl:otherwise>
  2753.             </xsl:choose>
  2754.         </xsl:element>
  2755.         <xsl:if test=".//@fo:orphans">
  2756.             <xsl:element name="σ¡ù:σ¡ñΦíîµÄºσê╢">
  2757.                 <xsl:attribute name="uof:locID">t0060</xsl:attribute>
  2758.                 <xsl:value-of select=".//@fo:orphans"/>
  2759.             </xsl:element>
  2760.         </xsl:if>
  2761.         <xsl:if test=".//@fo:widows">
  2762.             <xsl:element name="σ¡ù:σ»íΦíîµÄºσê╢">
  2763.                 <xsl:attribute name="uof:locID">t0061</xsl:attribute>
  2764.                 <xsl:value-of select=".//@fo:widows"/>
  2765.             </xsl:element>
  2766.         </xsl:if>
  2767.         <xsl:if test=".//@style:break-inside">
  2768.             <xsl:element name="σ¡ù:µ«╡Σ╕¡Σ╕ìσêåΘí╡">
  2769.                 <xsl:attribute name="uof:locID">t0062</xsl:attribute>
  2770.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2771.                 <xsl:attribute name="σ¡ù:σÇ╝">true</xsl:attribute>
  2772.             </xsl:element>
  2773.         </xsl:if>
  2774.         <xsl:if test=".//@fo:keep-with-next">
  2775.             <xsl:element name="σ¡ù:Σ╕ÄΣ╕ﵫ╡σÉîΘí╡">
  2776.                 <xsl:attribute name="uof:locID">t0063</xsl:attribute>
  2777.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2778.                 <xsl:attribute name="σ¡ù:σÇ╝">true</xsl:attribute>
  2779.             </xsl:element>
  2780.         </xsl:if>
  2781.         <xsl:if test=".//@fo:break-before">
  2782.             <xsl:element name="σ¡ù:µ«╡σëìσêåΘí╡">
  2783.                 <xsl:attribute name="uof:locID">t0064</xsl:attribute>
  2784.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2785.                 <xsl:attribute name="σ¡ù:σÇ╝">true</xsl:attribute>
  2786.             </xsl:element>
  2787.         </xsl:if>
  2788.         <xsl:if test=".//@style:snap-to-layout-grid">
  2789.             <xsl:element name="σ¡ù:σ»╣Θ╜Éτ╜æµá╝">
  2790.                 <xsl:attribute name="uof:locID">t0069</xsl:attribute>
  2791.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2792.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:choose><xsl:when test=".//@style:snap-to-layout-grid='true'">true</xsl:when><xsl:otherwise>false</xsl:otherwise></xsl:choose></xsl:attribute>
  2793.             </xsl:element>
  2794.         </xsl:if>
  2795.         <xsl:if test=".//style:drop-cap">
  2796.             <xsl:element name="σ¡ù:Θªûσ¡ùΣ╕ïµ▓ë">
  2797.                 <xsl:attribute name="uof:locID">t0070</xsl:attribute>
  2798.                 <xsl:attribute name="uof:attrList">τ▒╗σ₧ï σ¡ùΣ╜ôσ╝òτö¿ σ¡ùτ¼ªµò░ Φíîµò░ Θù┤Φ╖¥</xsl:attribute>
  2799.                 <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">dropped</xsl:attribute>
  2800.                 <xsl:if test=".//style:drop-cap/@style:style-name">
  2801.                     <xsl:attribute name="σ¡ù:σ¡ùΣ╜ôσ╝òτö¿"><xsl:value-of select=".//style:drop-cap/@style:style-name"/></xsl:attribute>
  2802.                 </xsl:if>
  2803.                 <xsl:if test=".//style:drop-cap/@style:distance">
  2804.                     <xsl:attribute name="σ¡ù:Θù┤Φ╖¥"><xsl:value-of select="substring-before(.//style:drop-cap/@style:distance,$uofUnit)"/></xsl:attribute>
  2805.                 </xsl:if>
  2806.                 <xsl:if test=".//style:drop-cap/@style:length">
  2807.                     <xsl:attribute name="σ¡ù:σ¡ùτ¼ªµò░"><xsl:value-of select=".//style:drop-cap/@style:length"/></xsl:attribute>
  2808.                 </xsl:if>
  2809.                 <xsl:if test=".//style:drop-cap/@style:lines">
  2810.                     <xsl:attribute name="σ¡ù:Φíîµò░"><xsl:value-of select=".//style:drop-cap/@style:lines"/></xsl:attribute>
  2811.                 </xsl:if>
  2812.             </xsl:element>
  2813.         </xsl:if>
  2814.         <xsl:if test=".//@fo:hyphenate">
  2815.             <xsl:element name="σ¡ù:σÅûµ╢êµû¡σ¡ù">
  2816.                 <xsl:attribute name="uof:locID">t0071</xsl:attribute>
  2817.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2818.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select=".//@fo:hyphenate"/></xsl:attribute>
  2819.             </xsl:element>
  2820.         </xsl:if>
  2821.         <xsl:if test=".//@text:number-lines">
  2822.             <xsl:element name="σ¡ù:σÅûµ╢êΦíîσÅ╖">
  2823.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select=".//@text:number-lines"/></xsl:attribute>
  2824.                 <xsl:attribute name="uof:locID">t0072</xsl:attribute>
  2825.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2826.             </xsl:element>
  2827.         </xsl:if>
  2828.         <xsl:element name="σ¡ù:σàüΦ«╕σìòΦ»ìµû¡σ¡ù">
  2829.             <xsl:attribute name="σ¡ù:σÇ╝">true</xsl:attribute>
  2830.             <xsl:attribute name="uof:locID">t0073</xsl:attribute>
  2831.             <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2832.         </xsl:element>
  2833.         <xsl:if test=".//@style:punctuation-wrap">
  2834.             <xsl:element name="σ¡ù:ΦíîΘªûσ░╛µáçτé╣µÄºσê╢">
  2835.                 <xsl:attribute name="uof:locID">t0074</xsl:attribute>
  2836.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2837.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:choose><xsl:when test=".//@style:punctuation-wrap='hanging'">true</xsl:when><xsl:otherwise>false</xsl:otherwise></xsl:choose></xsl:attribute>
  2838.             </xsl:element>
  2839.         </xsl:if>
  2840.         <xsl:element name="σ¡ù:µÿ»σɪΦíîΘªûµáçτé╣σÄïτ╝⌐">
  2841.             <xsl:attribute name="uof:locID">t0075</xsl:attribute>
  2842.             <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2843.             <xsl:attribute name="σ¡ù:σÇ╝">false</xsl:attribute>
  2844.         </xsl:element>
  2845.         <xsl:if test=".//@style:line-break  ">
  2846.             <xsl:element name="σ¡ù:Σ╕¡µûçΣ╣áµâ»Θªûσ░╛σ¡ùτ¼ª">
  2847.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:choose><xsl:when test=".//@style:line-break='strict'">true</xsl:when><xsl:when test=".//@style:line-break='normal'">false</xsl:when></xsl:choose></xsl:attribute>
  2848.                 <xsl:attribute name="uof:locID">t0076</xsl:attribute>
  2849.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2850.             </xsl:element>
  2851.         </xsl:if>
  2852.         <xsl:if test=".//@style:text-autospace">
  2853.             <xsl:element name="σ¡ù:Φç¬σè¿Φ░âµò┤Σ╕¡Φï▒µûçσ¡ùτ¼ªΘù┤Φ╖¥">
  2854.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:choose><xsl:when test=".//@style:text-autospace='ideograph-alpha'">true</xsl:when><xsl:otherwise>false</xsl:otherwise></xsl:choose></xsl:attribute>
  2855.                 <xsl:attribute name="uof:locID">t0077</xsl:attribute>
  2856.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2857.             </xsl:element>
  2858.         </xsl:if>
  2859.         <xsl:if test=".//@style:text-autospace">
  2860.             <xsl:element name="σ¡ù:Φç¬σè¿Φ░âµò┤Σ╕¡µûçΣ╕ĵò░σ¡ùΘù┤Φ╖¥">
  2861.                 <xsl:attribute name="σ¡ù:σÇ╝"><xsl:choose><xsl:when test=".//@style:text-autospace='ideograph-alpha'">true  </xsl:when><xsl:otherwise>false</xsl:otherwise></xsl:choose></xsl:attribute>
  2862.                 <xsl:attribute name="uof:locID">t0078</xsl:attribute>
  2863.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2864.             </xsl:element>
  2865.         </xsl:if>
  2866.         <xsl:element name="σ¡ù:µ£ëτ╜æµá╝Φç¬σè¿Φ░âµò┤σÅ│τ╝⌐Φ┐¢">
  2867.             <xsl:attribute name="σ¡ù:σÇ╝">false</xsl:attribute>
  2868.             <xsl:attribute name="uof:locID">t0195</xsl:attribute>
  2869.             <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  2870.         </xsl:element>
  2871.         <xsl:if test=".//@fo:border or .//@fo:border-top or .//@fo:border-bottom or .//@fo:border-left or .//@fo:border-right or .//@style:shadow[.!='none']">
  2872.             <xsl:element name="σ¡ù:Φ╛╣µíå">
  2873.                 <xsl:attribute name="uof:locID">t0065</xsl:attribute>
  2874.             </xsl:element>
  2875.         </xsl:if>
  2876.         <xsl:if test=".//@fo:background-color">
  2877.             <xsl:element name="σ¡ù:σí½σàà">
  2878.                 <xsl:attribute name="uof:locID">t0066</xsl:attribute>
  2879.             </xsl:element>
  2880.         </xsl:if>
  2881.         <xsl:if test=".//@fo:margin-top or .//@fo:margin-bottom">
  2882.             <σ¡ù:µ«╡Θù┤Φ╖¥ uof:locID="t0058">
  2883.                 <xsl:if test=".//@fo:margin-top">
  2884.                     <σ¡ù:µ«╡σëìΦ╖¥ uof:locID="t0196">
  2885.                         <σ¡ù:τ╗¥σ»╣σÇ╝ uof:locID="t0199" uof:attrList="σÇ╝">
  2886.                             <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(.//@fo:margin-top,$uofUnit)"/></xsl:attribute>
  2887.                         </σ¡ù:τ╗¥σ»╣σÇ╝>
  2888.                     </σ¡ù:µ«╡σëìΦ╖¥>
  2889.                 </xsl:if>
  2890.                 <xsl:if test=".//@fo:margin-bottom">
  2891.                     <σ¡ù:µ«╡σÉÄΦ╖¥ uof:locID="t0196">
  2892.                         <σ¡ù:τ╗¥σ»╣σÇ╝ uof:locID="t0202" uof:attrList="σÇ╝">
  2893.                             <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(.//@fo:margin-bottom,$uofUnit)"/></xsl:attribute>
  2894.                         </σ¡ù:τ╗¥σ»╣σÇ╝>
  2895.                     </σ¡ù:µ«╡σÉÄΦ╖¥>
  2896.                 </xsl:if>
  2897.             </σ¡ù:µ«╡Θù┤Φ╖¥>
  2898.         </xsl:if>
  2899.         <xsl:if test=".//style:tab-stops">
  2900.             <xsl:element name="σ¡ù:σê╢Φí¿Σ╜ìΦ«╛τ╜«">
  2901.                 <xsl:attribute name="uof:locID">t0067</xsl:attribute>            
  2902.                 <xsl:for-each select=".//style:tab-stops/style:tab-stop">
  2903.                     <xsl:element name="σ¡ù:σê╢Φí¿Σ╜ì">
  2904.                         <xsl:attribute name="uof:locID">t0068</xsl:attribute>
  2905.                         <xsl:attribute name="uof:attrList">Σ╜ìτ╜« τ▒╗σ₧ï σëìσ»╝τ¼ª</xsl:attribute>
  2906.                         <xsl:attribute name="σ¡ù:Σ╜ìτ╜«"><xsl:value-of select="@style:position"/></xsl:attribute>
  2907.                         <xsl:variable name="aa">
  2908.                             <xsl:value-of select="@style:type"/>
  2909.                         </xsl:variable>
  2910.                         <xsl:variable name="zbflx">
  2911.                             <xsl:choose>
  2912.                                 <xsl:when test="$aa='right'">right</xsl:when>
  2913.                                 <xsl:when test="$aa='center'">center</xsl:when>
  2914.                                 <xsl:when test="$aa='char'and @style:char!=''">decimal</xsl:when>
  2915.                                 <xsl:otherwise>left</xsl:otherwise>
  2916.                             </xsl:choose>
  2917.                         </xsl:variable>
  2918.                         <xsl:attribute name="σ¡ù:τ▒╗σ₧ï"><xsl:value-of select="$zbflx"/></xsl:attribute>
  2919.                         <xsl:if test="$zbflx='decimal'">
  2920.                             <xsl:attribute name="σ¡ù:σê╢Φí¿Σ╜ìσ¡ùτ¼ª"><xsl:value-of select="@style:char"/></xsl:attribute>
  2921.                         </xsl:if>
  2922.                         <xsl:if test="@style:leader-char">
  2923.                             <xsl:attribute name="σ¡ù:σëìσ»╝τ¼ª"><xsl:value-of select="@style:leader-char"/></xsl:attribute>
  2924.                         </xsl:if>
  2925.                     </xsl:element>
  2926.                 </xsl:for-each>
  2927.             </xsl:element>
  2928.         </xsl:if>
  2929.     </xsl:template>
  2930.     <xsl:template name="textspan">
  2931.         <σ¡ù:σÅÑ uof:locID="t0085">
  2932.             <xsl:choose>
  2933.                 <xsl:when test="./text:footnote">
  2934.                     <xsl:call-template name="jiaozhu"/>
  2935.                 </xsl:when>
  2936.                 <xsl:when test="./text:endnote">
  2937.                     <xsl:call-template name="weizhu"/>
  2938.                 </xsl:when>
  2939.                 <xsl:otherwise>
  2940.                     <xsl:element name="σ¡ù:σÅÑσ▒₧µÇº">
  2941.                         <xsl:attribute name="uof:locID">t0086</xsl:attribute>
  2942.                         <xsl:attribute name="uof:attrList">σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  2943.                         <xsl:variable name="textstyle">
  2944.                             <xsl:value-of select="@text:style-name"/>
  2945.                         </xsl:variable>
  2946.                         <xsl:attribute name="σ¡ù:σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="@text:style-name"/></xsl:attribute>
  2947.                         <xsl:for-each select="/office:document/office:automatic-styles//style:style[@style:family='text']">
  2948.                             <xsl:if test="@style:name=$textstyle and not(@style:parent-style-name='Standard')">
  2949.                                 <xsl:if test="@style:parent-style-name=/office:document/office:styles/style:style/@style:name">
  2950.                                     <xsl:call-template name="SentenceXD">
  2951.                                         <xsl:with-param name="Sentencestyle" select="@style:parent-style-name"/>
  2952.                                     </xsl:call-template>
  2953.                                 </xsl:if>
  2954.                             </xsl:if>
  2955.                         </xsl:for-each>
  2956.                         <xsl:for-each select="/office:document/office:styles//style:style[@style:family='text']">
  2957.                             <xsl:if test="@style:name=$textstyle">
  2958.                                 <xsl:call-template name="SentenceXD">
  2959.                                     <xsl:with-param name="Sentencestyle" select="@style:name"/>
  2960.                                 </xsl:call-template>
  2961.                             </xsl:if>
  2962.                         </xsl:for-each>
  2963.                     </xsl:element>
  2964.                     <σ¡ù:µûçµ£¼Σ╕▓ uof:locID="t0109" uof:attrList="udsPath">
  2965.                         <xsl:value-of select="string(.)"/>
  2966.                     </σ¡ù:µûçµ£¼Σ╕▓>
  2967.                 </xsl:otherwise>
  2968.             </xsl:choose>
  2969.         </σ¡ù:σÅÑ>
  2970.     </xsl:template>
  2971.     <xsl:template name="SentenceXD">
  2972.         <xsl:param name="Sentencestyle"/>
  2973.         <xsl:element name="σ¡ù:µá╝σ╝ÅΣ┐«Φ«ó">
  2974.             <xsl:attribute name="uof:locID">t0087</xsl:attribute>
  2975.             <xsl:attribute name="uof:attrList">Σ┐«Φ«óΣ┐íµü»σ╝òτö¿</xsl:attribute>
  2976.             <xsl:attribute name="σ¡ù:Σ┐«Φ«óΣ┐íµü»σ╝òτö¿"><xsl:value-of select="$Sentencestyle"/></xsl:attribute>
  2977.             <xsl:element name="σ¡ù:σÅÑσ▒₧µÇº">
  2978.                 <xsl:attribute name="uof:locID">t0086</xsl:attribute>
  2979.                 <xsl:attribute name="uof:attrList">σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  2980.                 <xsl:attribute name="σ¡ù:σ╝ŵá╖σ╝òτö¿"><xsl:value-of select="$Sentencestyle"/></xsl:attribute>
  2981.             </xsl:element>
  2982.         </xsl:element>
  2983.     </xsl:template>
  2984.     <xsl:template name="add-space">
  2985.         <xsl:param name="number"/>
  2986.         <xsl:if test="$number > 1">
  2987.             <xsl:call-template name="add-space">
  2988.                 <xsl:with-param name="number" select="$number - 1"/>
  2989.             </xsl:call-template>
  2990.             <xsl:text> </xsl:text>
  2991.         </xsl:if>
  2992.     </xsl:template>
  2993.     <xsl:template match="office:styles | office:automatic-styles" mode="style">
  2994.         <xsl:for-each select="style:style[@style:family= 'paragraph' or @style:family= 'text']">
  2995.             <xsl:choose>
  2996.             <xsl:when test="@style:family = 'text'">
  2997.                     <xsl:call-template name="σÅÑσ╝ŵá╖"/>
  2998.                 </xsl:when>
  2999.                 <xsl:when test="@style:family = 'paragraph'">
  3000.                     <xsl:call-template name="µ«╡ΦÉ╜σ╝ŵá╖"/>
  3001.                 </xsl:when>
  3002.             </xsl:choose>
  3003.         </xsl:for-each>
  3004.     </xsl:template>
  3005.     <xsl:template name="µ«╡ΦÉ╜σ╝ŵá╖">
  3006.         <xsl:element name="uof:µ«╡ΦÉ╜σ╝ŵá╖">
  3007.             <xsl:attribute name="uof:locID">u0044</xsl:attribute>
  3008.             <xsl:attribute name="uof:attrList">µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï σê½σÉì σƒ║σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  3009.             <xsl:variable name="count"><xsl:value-of select="count(preceding::style:style)"/></xsl:variable>
  3010.             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª"><xsl:value-of select="concat(@style:name,$count)"/></xsl:attribute>
  3011.             <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">default</xsl:attribute>
  3012.             <xsl:attribute name="σ¡ù:σƒ║σ╝ŵá╖σ╝òτö¿"><xsl:variable name="stylename" select="@style:name"/><xsl:variable name="frame-parent"><xsl:choose><xsl:when test="/office:document/office:master-styles/style:master-page/draw:frame[draw:text-box//text:p/@text:style-name = $stylename]"><xsl:for-each select="/office:document/office:master-styles/style:master-page/draw:frame[draw:text-box//text:p/@text:style-name = $stylename][1]"><xsl:variable name="frame-style" select="@presentation:style-name"/><xsl:value-of select="/office:document/*/style:style[@style:name=$frame-style]/@style:parent-style-name"/></xsl:for-each></xsl:when><xsl:otherwise>not-master</xsl:otherwise></xsl:choose></xsl:variable><xsl:choose><xsl:when test="@style:parent-style-name"><xsl:value-of select="@style:parent-style-name"/></xsl:when><xsl:when test="not($frame-parent='not-master')"><xsl:value-of select="$frame-parent"/></xsl:when></xsl:choose></xsl:attribute>
  3013.             <xsl:attribute name="σ¡ù:σÉìτº░"><xsl:value-of select="@style:name"/></xsl:attribute>
  3014.             <xsl:apply-templates select="style:paragraph-properties"/>
  3015.             <xsl:for-each select="style:text-properties">
  3016.             <xsl:element name="σ¡ù:σÅÑσ▒₧µÇº">
  3017.                                 <xsl:attribute name="uof:locID">t0086</xsl:attribute>
  3018.                                 <xsl:attribute name="uof:attrList">σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  3019.                 <xsl:call-template name="σ¡ù:σÅÑσ▒₧µÇº"/>
  3020.                 </xsl:element>
  3021.             </xsl:for-each>
  3022.         </xsl:element>
  3023.     </xsl:template>
  3024.     <xsl:template match="style:paragraph-properties">
  3025.         <xsl:element name="σ¡ù:τ╝⌐Φ┐¢">
  3026.             <xsl:attribute name="uof:locID">t0056</xsl:attribute>
  3027.             <xsl:call-template name="σ¡ù:τ╝⌐Φ┐¢τ▒╗σ₧ï"/>
  3028.             </xsl:element>
  3029.         <xsl:if test="@fo:text-align | @fotext-align-last">
  3030.             <xsl:element name="σ¡ù:σ»╣Θ╜É">
  3031.                 <xsl:attribute name="uof:locID">t0055</xsl:attribute>
  3032.                 <xsl:if test="@fo:text-align">
  3033.                 <xsl:attribute name="σ¡ù:µ░┤σ╣│σ»╣Θ╜É"><xsl:choose><xsl:when test=".//@fo:text-align='end'">right</xsl:when><xsl:when test=".//@fo:text-align='center'">center</xsl:when><xsl:when test=".//@fo:text-align='justify' and not(.//@fo:text-align-last='justify')">justified</xsl:when><xsl:when test=".//@fo:text-align='justify' and .//@fo:text-align-last='justify'">distributed</xsl:when><xsl:otherwise>left</xsl:otherwise></xsl:choose></xsl:attribute>
  3034.                 </xsl:if>
  3035.                 <xsl:if test="@style:vertical-align">
  3036.                 <xsl:attribute name="σ¡ù:µûçσ¡ùσ»╣Θ╜É"><xsl:choose><xsl:when test=".//@style:vertical-align='baseline'">base</xsl:when><xsl:when test=".//@style:vertical-align='top'">top</xsl:when><xsl:when test=".//@style:vertical-align='middle'">center</xsl:when><xsl:when test=".//@style:vertical-align='bottom'">bottom</xsl:when><xsl:otherwise>auto</xsl:otherwise></xsl:choose></xsl:attribute>
  3037.                 </xsl:if>
  3038.                 <xsl:attribute name="uof:attrList">µ░┤σ╣│σ»╣Θ╜É µûçσ¡ùσ»╣Θ╜É</xsl:attribute>
  3039.             </xsl:element>
  3040.         </xsl:if>
  3041.     </xsl:template>
  3042.     <xsl:template name="σÅÑσ╝ŵá╖">
  3043.         <xsl:element name="uof:σÅÑσ╝ŵá╖">
  3044.             <xsl:attribute name="uof:locID">u0043</xsl:attribute>
  3045.             <xsl:attribute name="uof:attrList">µáçΦ»åτ¼ª σÉìτº░ τ▒╗σ₧ï σê½σÉì σƒ║σ╝ŵá╖σ╝òτö¿</xsl:attribute>
  3046.             <xsl:attribute name="σ¡ù:µáçΦ»åτ¼ª"><xsl:value-of select="@style:name"/></xsl:attribute>
  3047.             <xsl:attribute name="σ¡ù:σÉìτº░"><xsl:value-of select="@style:name"/></xsl:attribute>
  3048.             <xsl:attribute name="σ¡ù:τ▒╗σ₧ï">auto</xsl:attribute>
  3049.             <xsl:call-template name="σ¡ù:σÅÑσ▒₧µÇº"/>
  3050.         </xsl:element>
  3051.     </xsl:template>
  3052.     <xsl:template match="style:text-properties">
  3053.         <xsl:element name="σ¡ù:σ¡ùΣ╜ô">
  3054.             <xsl:attribute name="uof:locID">t0088</xsl:attribute>
  3055.             <xsl:attribute name="uof:attrList">ΦÑ┐µûçσ¡ùΣ╜ôσ╝òτö¿ Σ╕¡µûçσ¡ùΣ╜ôσ╝òτö¿ τë╣µ«èσ¡ùΣ╜ôσ╝òτö¿ ΦÑ┐µûçτ╗ÿσê╢ σ¡ùσÅ╖ τ¢╕σ»╣σ¡ùσÅ╖ Θó£Φë▓</xsl:attribute>
  3056.             <xsl:if test=".//@fo:font-size or .//@style:font-size-asian or  .//@style:font-size-complex">
  3057.                 <xsl:choose>
  3058.                     <xsl:when test="contains(.//@fo:font-size,'%') or contains(.//@style:font-size-asian,'%')">
  3059.                         <xsl:attribute name="σ¡ù:τ¢╕σ»╣σ¡ùσÅ╖"><xsl:choose><xsl:when test=".//@fo:font-size"><xsl:value-of select="substring-before(.//@fo:font-size,'%')"/></xsl:when><xsl:when test=".//@style:font-size-asian"><xsl:value-of select="substring-before(.//@style:font-size-asian,'%')"/></xsl:when></xsl:choose></xsl:attribute>
  3060.                     </xsl:when>
  3061.                     <xsl:otherwise>
  3062.                         <xsl:attribute name="σ¡ù:σ¡ùσÅ╖"><xsl:choose><xsl:when test=".//@fo:font-size"><xsl:value-of select="substring-before(.//@fo:font-size,'pt')"/></xsl:when><xsl:when test=".//@style:font-size-asian"><xsl:value-of select="substring-before(.//@style:font-size-asian,'pt')"/></xsl:when><xsl:when test=".//@style:font-size-complex"><xsl:value-of select="substring-before(.//@style:font-size-complex,'pt')"/></xsl:when></xsl:choose></xsl:attribute>
  3063.                     </xsl:otherwise>
  3064.                 </xsl:choose>
  3065.             </xsl:if>
  3066.             <xsl:if test=".//@style:font-name">
  3067.                 <xsl:attribute name="σ¡ù:ΦÑ┐µûçσ¡ùΣ╜ôσ╝òτö¿"><xsl:value-of select=".//@style:font-name"/></xsl:attribute>
  3068.             </xsl:if>
  3069.             <xsl:if test=".//@style:font-name-asian">
  3070.                 <xsl:attribute name="σ¡ù:Σ╕¡µûçσ¡ùΣ╜ôσ╝òτö¿"><xsl:value-of select=".//@style:font-name-asian"/></xsl:attribute>
  3071.             </xsl:if>
  3072.             <xsl:if test=".//@fo:color">
  3073.                 <xsl:attribute name="σ¡ù:Θó£Φë▓"><xsl:value-of select=".//@fo:color"/></xsl:attribute>
  3074.             </xsl:if>
  3075.         </xsl:element>
  3076.         <xsl:if test="(@fo:font-weight='bold') or (@fo:font-weight-asian='bold') or (@style:font-weight-asian='bold') or (@style:font-weight-complex='bold')">
  3077.             <xsl:element name="σ¡ù:τ▓ùΣ╜ô">
  3078.                 <xsl:attribute name="σ¡ù:σÇ╝">1</xsl:attribute>
  3079.                 <xsl:attribute name="uof:locID">t0089</xsl:attribute>
  3080.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  3081.             </xsl:element>
  3082.         </xsl:if>
  3083.         <xsl:if test="(@style:font-style-asian='italic') or (@style:font-style-complex='italic') or (@fo:font-style-asian='italic') or (@fo:font-style='italic')">
  3084.             <xsl:element name="σ¡ù:µû£Σ╜ô">
  3085.                 <xsl:attribute name="σ¡ù:σÇ╝">1</xsl:attribute>
  3086.                 <xsl:attribute name="uof:locID">t0090</xsl:attribute>
  3087.                 <xsl:attribute name="uof:attrList">σÇ╝</xsl:attribute>
  3088.             </xsl:element>
  3089.         </xsl:if>
  3090.     </xsl:template>
  3091.     <xsl:template match="style:page-layout">
  3092.         <xsl:element name="µ╝ö:Θí╡Θ¥óΦ«╛τ╜«">
  3093.             <xsl:attribute name="uof:locID">p0002</xsl:attribute>
  3094.             <xsl:attribute name="uof:attrList">µáçΦ»åτ¼ª σÉìτº░</xsl:attribute>
  3095.             <xsl:attribute name="µ╝ö:σÉìτº░"><xsl:value-of select="@style:name"/></xsl:attribute>
  3096.             <xsl:attribute name="µ╝ö:µáçΦ»åτ¼ª"><xsl:value-of select="@style:name"/></xsl:attribute>
  3097.             <xsl:attribute name="µ╝ö:σÉìτº░">Θí╡Θ¥óΦ«╛τ╜«</xsl:attribute>
  3098.             <xsl:element name="µ╝ö:τ║╕σ╝á">
  3099.                 <xsl:attribute name="uof:locID">p0003</xsl:attribute>
  3100.                 <xsl:attribute name="uof:attrList">σ«╜σ║ª Θ½ÿσ║ª τ║╕σ₧ï</xsl:attribute>
  3101.                 <xsl:attribute name="uof:σ«╜σ║ª"><xsl:value-of select="substring-before(style:page-layout-properties/@fo:page-width,$uofUnit)"/></xsl:attribute>
  3102.                 <xsl:attribute name="uof:Θ½ÿσ║ª"><xsl:value-of select="substring-before(style:page-layout-properties/@fo:page-height,$uofUnit)"/></xsl:attribute>
  3103.                 <xsl:attribute name="uof:τ║╕σ₧ï"><xsl:variable name="height"><xsl:value-of select="style:page-layout-properties/@fo:page-height"/></xsl:variable><xsl:variable name="width"><xsl:value-of select="style:page-layout-properties/@fo:page-width"/></xsl:variable><xsl:choose><xsl:when test="$height='29.7cm' and $width='42cm'">A3</xsl:when><xsl:when test="$height='21cm' and $width='29.7cm'">A4</xsl:when><xsl:when test="$height='14.8cm' and $width='21cm'">A5</xsl:when><xsl:when test="$height='25cm' and $width='35.3cm'">B4</xsl:when><xsl:when test="$height='17.6cm' and $width='25cm'">B5</xsl:when><xsl:when test="$height='12.5cm' and $width='17.6cm'">B6</xsl:when><xsl:otherwise>Σ╜┐τö¿ΦÇà</xsl:otherwise></xsl:choose></xsl:attribute>
  3104.             </xsl:element>
  3105.             <xsl:element name="µ╝ö:Θí╡Φ╛╣Φ╖¥">
  3106.                 <xsl:attribute name="uof:locID">p0004</xsl:attribute>
  3107.                 <xsl:attribute name="uof:attrList">σ╖ª Σ╕è σÅ│ Σ╕ï</xsl:attribute>
  3108.                 <xsl:attribute name="uof:σ╖ª"><xsl:value-of select="substring-before(style:page-layout-properties/@fo:margin-left,$uofUnit)"/></xsl:attribute>
  3109.                 <xsl:attribute name="uof:Σ╕è"><xsl:value-of select="substring-before(style:page-layout-properties/@fo:margin-top,$uofUnit)"/></xsl:attribute>
  3110.                 <xsl:attribute name="uof:σÅ│"><xsl:value-of select="substring-before(style:page-layout-properties/@fo:margin-right,$uofUnit)"/></xsl:attribute>
  3111.                 <xsl:attribute name="uof:Σ╕ï"><xsl:value-of select="substring-before(style:page-layout-properties/@fo:margin-bottom,$uofUnit)"/></xsl:attribute>
  3112.             </xsl:element>
  3113.             <xsl:variable name="PageNumberFormat">
  3114.                 <xsl:value-of select="/office:document/office:settings/config:config-item-set/config:config-item[@config:name='PageNumberFormat']"/>
  3115.             </xsl:variable>
  3116.             <xsl:if test="not($PageNumberFormat='5')">
  3117.                 <xsl:element name="µ╝ö:Θí╡τáüµá╝σ╝Å">
  3118.                     <xsl:attribute name="uof:locID">p0005</xsl:attribute>
  3119.                     <xsl:choose>
  3120.                         <xsl:when test="$PageNumberFormat='0'">upper-letter</xsl:when>
  3121.                         <xsl:when test="$PageNumberFormat='1'">lower-letter</xsl:when>
  3122.                         <xsl:when test="$PageNumberFormat='2'">upper-roman</xsl:when>
  3123.                         <xsl:when test="$PageNumberFormat='3'">lower-letter</xsl:when>
  3124.                         <xsl:when test="$PageNumberFormat='4'">decimal</xsl:when>
  3125.                     </xsl:choose>
  3126.                 </xsl:element>
  3127.             </xsl:if>
  3128.             <xsl:element name="µ╝ö:τ║╕σ╝áµû╣σÉæ">
  3129.                 <xsl:attribute name="uof:locID">p0006</xsl:attribute>
  3130.                 <xsl:choose>
  3131.                     <xsl:when test="style:page-layout-properties/@style:print-orientation">
  3132.                         <xsl:value-of select="style:page-layout-properties/@style:print-orientation"/>
  3133.                     </xsl:when>
  3134.                     <xsl:otherwise>portrait</xsl:otherwise>
  3135.                 </xsl:choose>
  3136.             </xsl:element>
  3137.         </xsl:element>
  3138.     </xsl:template>
  3139.     <xsl:template name="obtain_anim_type">
  3140.         <xsl:param name="flytype"/>
  3141.         <xsl:variable name="flytypestr" select="substring-after($flytype,'from-')"/>
  3142.         <xsl:choose>
  3143.             <xsl:when test="contains($flytypestr,'-')">
  3144.                 <xsl:value-of select="concat(substring-before($flytypestr,'-'),substring-after($flytypestr,'-'))"/>
  3145.             </xsl:when>
  3146.             <xsl:otherwise>
  3147.                 <xsl:value-of select="$flytypestr"/>
  3148.             </xsl:otherwise>
  3149.         </xsl:choose>
  3150.     </xsl:template>
  3151.     <xsl:template name="cm2pt">
  3152.         <xsl:param name="cmval"/>
  3153.         <xsl:value-of select="substring-before($cmval,$uofUnit)* $cm-to-other "/>
  3154.     </xsl:template>
  3155.     <xsl:template match="office:font-face-decls">
  3156.         <uof:σ¡ùΣ╜ôΘ¢å uof:locID="u0040">
  3157.             <uof:Θ╗ÿΦ«ñσ¡ùΣ╜ô uof:ascii="Times New Roman" uof:fareast="σ«ïΣ╜ô" uof:h-ansi="σ«ïΣ╜ô" uof:cs="σ«ïΣ╜ô"/>
  3158.             <xsl:for-each select="style:font-face">
  3159.                 <xsl:element name="uof:σ¡ùΣ╜ôσú░µÿÄ">
  3160.                     <xsl:attribute name="uof:attrList">µáçΦ»åτ¼ª σÉìτº░ σ¡ùΣ╜ôµùÅ</xsl:attribute>
  3161.                     <xsl:attribute name="uof:locID">u0041</xsl:attribute>
  3162.                     <xsl:attribute name="uof:σÉìτº░"><xsl:value-of select="@style:name"/></xsl:attribute>
  3163.                     <xsl:attribute name="uof:σ¡ùΣ╜ôµùÅ"><xsl:value-of select="@svg:font-family"/></xsl:attribute>
  3164.                     <xsl:if test="@style:font-charset= '02'">
  3165.                         <xsl:attribute name="uof:σ¡ùτ¼ªΘ¢å">x-symbol</xsl:attribute>
  3166.                     </xsl:if>
  3167.                     <xsl:if test="@style:font-family-generic">
  3168.                         <xsl:choose>
  3169.                             <xsl:when test="@style:font-family-generic = 'swiss'">
  3170.                                 <xsl:attribute name="uof:σ¡ùΣ╜ôµùÅ">Swiss</xsl:attribute>
  3171.                             </xsl:when>
  3172.                             <xsl:when test="@style:font-family-generic ='modern'">
  3173.                                 <xsl:attribute name="uof:σ¡ùτ¼ªΘ¢å">Modern</xsl:attribute>
  3174.                             </xsl:when>
  3175.                             <xsl:when test="@style:font-family-generic='roman'">
  3176.                                 <xsl:attribute name="uof:σ¡ùτ¼ªΘ¢å">Roman</xsl:attribute>
  3177.                             </xsl:when>
  3178.                             <xsl:when test="@style:font-family-generic ='script'">
  3179.                                 <xsl:attribute name="uof:σ¡ùτ¼ªΘ¢å">Script</xsl:attribute>
  3180.                             </xsl:when>
  3181.                             <xsl:when test="@style:font-family-generic ='decorative'">
  3182.                                 <xsl:attribute name="uof:σ¡ùτ¼ªΘ¢å">Decorative</xsl:attribute>
  3183.                             </xsl:when>
  3184.                             <xsl:when test="@style:font-family-generic ='system'">
  3185.                                 <xsl:attribute name="uof:σ¡ùτ¼ªΘ¢å">System</xsl:attribute>
  3186.                             </xsl:when>
  3187.                             <xsl:otherwise>
  3188.                                 <xsl:attribute name="uof:σ¡ùτ¼ªΘ¢å">System</xsl:attribute>
  3189.                             </xsl:otherwise>
  3190.                         </xsl:choose>
  3191.                     </xsl:if>
  3192.                 </xsl:element>
  3193.             </xsl:for-each>
  3194.             <xsl:apply-templates select="style:font-decl"/>
  3195.         </uof:σ¡ùΣ╜ôΘ¢å>
  3196.     </xsl:template>
  3197.     <xsl:template match="office:meta">
  3198.         <uof:σàâµò░µì« uof:locID="u0001">
  3199.             <uof:µáçΘóÿ uof:locID="u0002">
  3200.                 <xsl:value-of select="dc:title"/>
  3201.             </uof:µáçΘóÿ>
  3202.             <uof:σê¢σ╗║σ║öτö¿τ¿ïσ║Å uof:locID="u0011">
  3203.                 <xsl:value-of select="meta:generator"/>
  3204.             </uof:σê¢σ╗║σ║öτö¿τ¿ïσ║Å>
  3205.             <uof:µæÿΦªü uof:locID="u0007">
  3206.                 <xsl:value-of select="dc:description"/>
  3207.             </uof:µæÿΦªü>
  3208.             <uof:Σ╕╗Θóÿ uof:locID="u0003">
  3209.                 <xsl:value-of select="dc:subject"/>
  3210.             </uof:Σ╕╗Θóÿ>
  3211.             <uof:σê¢σ╗║ΦÇà uof:locID="u0004"/>
  3212.             <uof:Σ╜£ΦÇà uof:locID="u0005">
  3213.                 <xsl:value-of select="meta:initial-creator"/>
  3214.             </uof:Σ╜£ΦÇà>
  3215.             <uof:σê¢σ╗║µùѵ£ƒ uof:locID="u0008">
  3216.                 <xsl:value-of select="meta:creation-date"/>
  3217.             </uof:σê¢σ╗║µùѵ£ƒ>
  3218.             <uof:µ£ÇσÉÄΣ╜£ΦÇà uof:locID="u0006">
  3219.                 <xsl:value-of select="dc:creator"/>
  3220.             </uof:µ£ÇσÉÄΣ╜£ΦÇà>
  3221.             <uof:σà│Θö«σ¡ùΘ¢å uof:locID="u0014">
  3222.                 <xsl:for-each select=".">
  3223.                     <uof:σà│Θö«σ¡ù uof:locID="u0015">
  3224.                         <xsl:value-of select="meta:keywords/@meta:keyword"/>
  3225.                     </uof:σà│Θö«σ¡ù>
  3226.                 </xsl:for-each>
  3227.             </uof:σà│Θö«σ¡ùΘ¢å>
  3228.             <uof:τ╝ûΦ╛æµ¼íµò░ uof:locID="u0009">
  3229.                 <xsl:value-of select="meta:editing-cycles"/>
  3230.             </uof:τ╝ûΦ╛æµ¼íµò░>
  3231.             <xsl:if test="meta:editing-duration">
  3232.                 <uof:τ╝ûΦ╛æµù╢Θù┤ uof:locID="u0010">
  3233.                     <xsl:value-of select="meta:editing-duration"/>
  3234.                 </uof:τ╝ûΦ╛æµù╢Θù┤>
  3235.             </xsl:if>
  3236.             <xsl:if test="meta:template/@xlink:href">
  3237.                 <uof:µûçµíúµ¿íµ¥┐ uof:locID="u0013">
  3238.                     <xsl:value-of select="meta:template/@xlink:href"/>
  3239.                 </uof:µûçµíúµ¿íµ¥┐>
  3240.             </xsl:if>
  3241.             <xsl:if test="meta:user-defined/@meta:name">
  3242.                 <uof:τö¿µê╖Φç¬σ«ÜΣ╣ëσàâµò░µì«Θ¢å uof:locID="u0016">
  3243.                     <xsl:for-each select="meta:user-defined">
  3244.                         <uof:τö¿µê╖Φç¬σ«ÜΣ╣ëσàâµò░µì« uof:locID="u0017" uof:attrList="σÉìτº░ τ▒╗σ₧ï">
  3245.                             <xsl:attribute name="uof:σÉìτº░"><xsl:value-of select="@meta:name"/></xsl:attribute>
  3246.                             <xsl:attribute name="uof:τ▒╗σ₧ï"><xsl:value-of select="'string'"/></xsl:attribute>
  3247.                         </uof:τö¿µê╖Φç¬σ«ÜΣ╣ëσàâµò░µì«>
  3248.                     </xsl:for-each>
  3249.                 </uof:τö¿µê╖Φç¬σ«ÜΣ╣ëσàâµò░µì«Θ¢å>
  3250.             </xsl:if>
  3251.             <xsl:if test="meta:document-statistic/@meta:page-count">
  3252.             <uof:Θí╡µò░ uof:locID="u0020">
  3253.                 <xsl:value-of select="meta:document-statistic/@meta:page-count"/>
  3254.             </uof:Θí╡µò░>
  3255.             </xsl:if>
  3256.             <xsl:if test="meta:document-statistic/@meta:paragraph-count">
  3257.             <uof:µ«╡ΦÉ╜µò░ uof:locID="u0025">
  3258.                 <xsl:value-of select="meta:document-statistic/@meta:paragraph-count"/>
  3259.             </uof:µ«╡ΦÉ╜µò░>
  3260.             </xsl:if>
  3261.             <xsl:if test="meta:document-statistic/@meta:object-count">
  3262.             <uof:σ»╣Φ▒íµò░ uof:locID="u0026">
  3263.                 <xsl:value-of select="meta:document-statistic/@meta:object-count"/>
  3264.             </uof:σ»╣Φ▒íµò░>
  3265.             </xsl:if>
  3266.             <xsl:if test="meta:document-statistic/@meta:character-count">
  3267.             <uof:σ¡ùµò░ uof:locID="u0021">
  3268.                 <xsl:value-of select="meta:document-statistic/@meta:character-count"/>
  3269.             </uof:σ¡ùµò░>
  3270.             </xsl:if>
  3271.             <xsl:if test="meta:document-statistic/@meta:word-count">
  3272.             <uof:Σ╕¡µûçσ¡ùτ¼ªµò░ uof:locID="u0023">
  3273.                 <xsl:value-of select="meta:document-statistic/@meta:word-count"/>
  3274.             </uof:Σ╕¡µûçσ¡ùτ¼ªµò░>
  3275.             </xsl:if>
  3276.                     </uof:σàâµò░µì«>
  3277.     </xsl:template>
  3278.     <xsl:template name="σí½σàà">
  3279.         <xsl:param name="picname"/>
  3280.         <xsl:param name="nodename"/>
  3281.         <xsl:choose>
  3282.             <xsl:when test="@draw:fill='gradient'">
  3283.                 <xsl:variable name="gradient-name">
  3284.                     <xsl:value-of select="@draw:fill-gradient-name"/>
  3285.                 </xsl:variable>
  3286.                 <xsl:for-each select="/descendant::draw:gradient[@draw:name=$gradient-name]">
  3287.                     <σ¢╛:µ╕ÉσÅÿ uof:locID="g0037" uof:attrList="Φ╡╖σºïΦë▓ τ╗굡óΦë▓ τºìσ¡Éτ▒╗σ₧ï Φ╡╖σºïµ╡ôσ║ª τ╗굡óµ╡ôσ║ª µ╕ÉσÅÿµû╣σÉæ Φ╛╣τòî τºìσ¡ÉXΣ╜ìτ╜« τºìσ¡ÉYΣ╜ìτ╜« τ▒╗σ₧ï">
  3288.                         <xsl:attribute name="σ¢╛:Φ╡╖σºïΦë▓"><xsl:value-of select="@draw:start-color"/></xsl:attribute>
  3289.                         <xsl:attribute name="σ¢╛:τ╗굡óΦë▓"><xsl:value-of select="@draw:end-color"/></xsl:attribute>
  3290.                         <xsl:attribute name="σ¢╛:τºìσ¡Éτ▒╗σ₧ï"><xsl:choose><xsl:when test="@draw:style='linear' or @draw:style='axial'">linear</xsl:when><xsl:when test="@draw:style='radial'">radar</xsl:when><xsl:when test="@draw:style='ellipsoid'">oval</xsl:when><xsl:when test="@draw:style='square'">square</xsl:when><xsl:when test="@draw:style='rectangular'">rectangle</xsl:when></xsl:choose></xsl:attribute>
  3291.                         <xsl:attribute name="σ¢╛:Φ╡╖σºïµ╡ôσ║ª"><xsl:value-of select="substring-before(@draw:start-intensity,'%')"/></xsl:attribute>
  3292.                         <xsl:attribute name="σ¢╛:τ╗굡óµ╡ôσ║ª"><xsl:value-of select="substring-before(@draw:end-intensity,'%')"/></xsl:attribute>
  3293.                         <xsl:variable name="angle">
  3294.                             <xsl:value-of select="@draw:angle div 10"/>
  3295.                         </xsl:variable>
  3296.                         <xsl:attribute name="σ¢╛:µ╕ÉσÅÿµû╣σÉæ"><xsl:choose><xsl:when test="0<$angle and $angle<25">0</xsl:when><xsl:when test="25<$angle and $angle<70">45</xsl:when><xsl:when test="70<$angle and $angle<115">90</xsl:when><xsl:when test="115<$angle and $angle<160">135</xsl:when><xsl:when test="160<$angle and $angle<205">180</xsl:when><xsl:when test="205<$angle and $angle<250">225</xsl:when><xsl:when test="250<$angle and $angle<295">270</xsl:when><xsl:when test="295<$angle and $angle<340">315</xsl:when><xsl:when test="340<$angle and $angle<360">360</xsl:when></xsl:choose></xsl:attribute>
  3297.                         <xsl:attribute name="σ¢╛:Φ╛╣τòî"><xsl:value-of select="substring-before(@draw:border,'%')"/></xsl:attribute>
  3298.                         <xsl:if test="@draw:cx">
  3299.                             <xsl:attribute name="σ¢╛:τºìσ¡ÉXΣ╜ìτ╜«"><xsl:value-of select="substring-before(@draw:cx,'%')"/></xsl:attribute>
  3300.                         </xsl:if>
  3301.                         <xsl:if test="@draw:cy">
  3302.                             <xsl:attribute name="σ¢╛:τºìσ¡ÉYΣ╜ìτ╜«"><xsl:value-of select="substring-before(@draw:cy,'%')"/></xsl:attribute>
  3303.                         </xsl:if>
  3304.                         <xsl:attribute name="σ¢╛:τ▒╗σ₧ï">-2</xsl:attribute>
  3305.                     </σ¢╛:µ╕ÉσÅÿ>
  3306.                 </xsl:for-each>
  3307.             </xsl:when>
  3308.             <xsl:when test="@draw:fill='bitmap'">
  3309.                 <σ¢╛:σ¢╛τëç uof:locID="g0035" uof:attrList="Σ╜ìτ╜« σ¢╛σ╜óσ╝òτö¿ τ▒╗σ₧ï σÉìτº░">
  3310.                     <xsl:attribute name="σ¢╛:Σ╜ìτ╜«"><xsl:choose><xsl:when test="not(@style:repeat)">title</xsl:when><xsl:otherwise><xsl:choose><xsl:when test="@style:repeat = 'stretch'">stretch</xsl:when><xsl:when test="@style:repeat = 'repeat'">title</xsl:when><xsl:when test="@style:repeat = 'no-repeat'">center</xsl:when></xsl:choose></xsl:otherwise></xsl:choose></xsl:attribute>
  3311.                     <xsl:attribute name="σ¢╛:σ¢╛σ╜óσ╝òτö¿"><xsl:value-of select="@draw:fill-image-name"/></xsl:attribute>
  3312.                     <xsl:attribute name="σ¢╛:τ▒╗σ₧ï">png</xsl:attribute>
  3313.                     <xsl:attribute name="σ¢╛:σÉìτº░"><xsl:value-of select="concat($picname,'_b1')"/></xsl:attribute>
  3314.                 </σ¢╛:σ¢╛τëç>
  3315.             </xsl:when>
  3316.             <xsl:when test="@draw:fill='hatch'">
  3317.                 <σ¢╛:σ¢╛µíê uof:locID="g0036" uof:attrList="τ▒╗σ₧ï σ¢╛σ╜óσ╝òτö¿ σëìµÖ»Φë▓ ΦâîµÖ»Φë▓">
  3318.                     <xsl:attribute name="σ¢╛:τ▒╗σ₧ï"><xsl:value-of select="/office:document/office:styles/draw:hatch/@draw:name"/></xsl:attribute>
  3319.                     <xsl:attribute name="σ¢╛:σ¢╛σ╜óσ╝òτö¿"/>
  3320.                     <xsl:attribute name="σ¢╛:σëìµÖ»Φë▓"><xsl:value-of select="/office:document/office:styles/draw:hatch/@draw:color"/></xsl:attribute>
  3321.                     <xsl:attribute name="σ¢╛:ΦâîµÖ»Φë▓"><xsl:choose><xsl:when test="@draw:fill-color"><xsl:value-of select="@draw:fill-color"/></xsl:when><xsl:otherwise>#ffffff</xsl:otherwise></xsl:choose></xsl:attribute>
  3322.                 </σ¢╛:σ¢╛µíê>
  3323.             </xsl:when>
  3324.             <xsl:otherwise>
  3325.                 <xsl:choose>
  3326.                     <xsl:when test="$nodename='draw:frame'">
  3327.                         <xsl:if test="@draw:fill='solid'">
  3328.                             <σ¢╛:Θó£Φë▓ uof:locID="g0034">
  3329.                                 <xsl:value-of select="@draw:fill-color"/>
  3330.                             </σ¢╛:Θó£Φë▓>
  3331.                         </xsl:if>
  3332.                     </xsl:when>
  3333.                     <xsl:otherwise>
  3334.                         <σ¢╛:Θó£Φë▓ uof:locID="g0034">
  3335.                             <xsl:choose>
  3336.                                 <xsl:when test="@draw:fill-color">
  3337.                                     <xsl:value-of select="@draw:fill-color"/>
  3338.                                 </xsl:when>
  3339.                                 <xsl:otherwise>#99ccff</xsl:otherwise>
  3340.                             </xsl:choose>
  3341.                         </σ¢╛:Θó£Φë▓>
  3342.                     </xsl:otherwise>
  3343.                 </xsl:choose>
  3344.             </xsl:otherwise>
  3345.         </xsl:choose>
  3346.     </xsl:template>
  3347.     <xsl:template name="σ¡ù:τ╝⌐Φ┐¢τ▒╗σ₧ï">
  3348.         <xsl:if test="style:list-level-properties/@text:space-before">
  3349.             <σ¡ù:σ╖ª uof:locID="t0182">
  3350.                 <σ¡ù:τ╗¥σ»╣  uof:locID="t0185" uof:attrList="σÇ╝">
  3351.                     <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(style:list-level-properties/@text:space-before,$uofUnit)"/></xsl:attribute>
  3352.                 </σ¡ù:τ╗¥σ»╣>
  3353.             </σ¡ù:σ╖ª>
  3354.         </xsl:if>
  3355.         <xsl:if test="style:list-level-properties/@text:min-label-width">
  3356.             <σ¡ù:σÅ│ uof:locID="t0183">
  3357.                 <σ¡ù:τ╗¥σ»╣ uof:locID="t0187" uof:attrList="σÇ╝">
  3358.                     <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(style:list-level-properties/@text:min-label-width,$uofUnit)"/></xsl:attribute>
  3359.          </σ¡ù:τ╗¥σ»╣>
  3360.                 </σ¡ù:σÅ│>
  3361.         </xsl:if>
  3362.         <xsl:if test="style:list-level-properties/@text:min-label-distance">
  3363.             <σ¡ù:ΘªûΦíî uof:locID="t0184">
  3364.                 <σ¡ù:τ╗¥σ»╣ uof:locID="t0189" uof:attrList="σÇ╝">
  3365.                     <xsl:attribute name="σ¡ù:σÇ╝"><xsl:value-of select="substring-before(style:list-level-properties/@text:min-label-distance,$uofUnit)"/></xsl:attribute>
  3366.         </σ¡ù:τ╗¥σ»╣>
  3367.                 </σ¡ù:ΘªûΦíî>
  3368.         </xsl:if>
  3369.     </xsl:template>
  3370.     <xsl:template name="uof:τ║┐σ₧ïτ▒╗σ₧ï">
  3371.         <xsl:param name="lineType"/>
  3372.         <xsl:choose>
  3373.             <xsl:when test="$lineType='single-line'">single</xsl:when>
  3374.             <xsl:when test="$lineType='double-line'">double</xsl:when>
  3375.             <xsl:when test="$lineType='single'">single</xsl:when>
  3376.             <xsl:when test="$lineType='double'">double</xsl:when>
  3377.             <xsl:when test="$lineType='dash'">dash</xsl:when>
  3378.             <xsl:when test="$lineType='long-dash'">dash-long</xsl:when>
  3379.             <xsl:when test="$lineType='dot-dash'">dot-dash</xsl:when>
  3380.             <xsl:when test="$lineType='dot-dot-dash'">dot-dot-dash</xsl:when>
  3381.             <xsl:when test="$lineType='wave'">wave</xsl:when>
  3382.             <xsl:when test="$lineType='bold-dotted'">dotted-heavy</xsl:when>
  3383.             <xsl:when test="$lineType='bold-dash'">dashed-heavy</xsl:when>
  3384.             <xsl:when test="$lineType='bold-long-dash'">dash-long-heavy</xsl:when>
  3385.             <xsl:when test="$lineType='bold-dot-dash'">dash-dot-heavy</xsl:when>
  3386.             <xsl:when test="$lineType='bold-dot-dot-dash'">dash-dot-dot-heavy</xsl:when>
  3387.             <xsl:when test="$lineType='bold-wave'">wavy-heavy</xsl:when>
  3388.             <xsl:when test="$lineType='double-wave'">wavy-double</xsl:when>
  3389.             <xsl:when test="$lineType='bold'">bold</xsl:when>
  3390.             <xsl:when test="$lineType='small-wave'">wave</xsl:when>
  3391.             <xsl:when test="$lineType='dotted'">dotted</xsl:when>
  3392.             <xsl:when test="$lineType='none'">none</xsl:when>
  3393.         </xsl:choose>
  3394.     </xsl:template>
  3395. </xsl:stylesheet>
  3396.