home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 July / maximum-cd-2011-07.iso / DiscContents / LibO_3.3.2_Win_x86_install_multi.exe / libreoffice1.cab / odf2uof_presentation.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2010-12-01  |  193.6 KB  |  3,376 lines

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