Changeset 14989
- Timestamp:
- 03/01/10 22:23:50 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7.x/Wsp_Modeling/spaces/gen/odStyle/bs.doss/_common/sm/od/styles/widgets/W_container.xml
r13327 r14989 80 80 <xsl:param name="vAgent"/> 81 81 <xsl:template match="*"> 82 <text:p text:style-name="{resultatAgent('../../../defaultWParaStyleName')}"> 83 Exemple de "<xsl:value-of select="resultatAgent('../../code')"/>". 84 <xsl:if test=".//sm:footNote"> 85 <text:note text:id="{resultatAgent('../../blockId')}$idFn" text:note-class="footnote"> 86 <text:note-citation>1</text:note-citation> 87 <text:note-body> 88 <text:p text:style-name="odNoWritable">Contenu de '<xsl:value-of select="resultatAgent('../../code')"/>'</text:p> 89 </text:note-body> 90 </text:note> 91 </xsl:if> 92 <xsl:variable name="vSubWidgets"> 93 <xsl:for-each select=".//sm:WInline | .//sm:WLink"> 94 <xsl:if test="actifAgent(concat('../../../', getIdNode(.), '/isStyleBlockEntry')) and not(resultatAgent(concat('../../../', getIdNode(.), '/isStyleBlockEntry')))"> 95 <text:line-break/><text:tab/> - <xsl:value-of disable-output-escaping="yes" select="resultatAgent(concat('//', getIdNode(.), '/blockStyle/contentFile.getBody'))"/> 96 </xsl:if> 97 </xsl:for-each> 98 </xsl:variable> 99 <xsl:choose> 100 <xsl:when test="$vSubWidgets"> 101 <xsl:copy-of select="$vSubWidgets"/> 102 </xsl:when> 103 <xsl:otherwise> 104 <text:line-break/><text:tab/><text:span text:style-name="odNoWritableTxt">Ce <xsl:value-of select="local-name()"/> ne possède aucun élément à styler. Utiliser les widgets si besoin.</text:span> 105 </xsl:otherwise> 106 </xsl:choose> 107 </text:p> 82 <xsl:variable name="vSubWidgets"> 83 <xsl:for-each select=".//sm:WInline | .//sm:WLink"> 84 <xsl:if test="actifAgent(concat('../../../', getIdNode(.), '/isStyleBlockEntry')) and not(resultatAgent(concat('../../../', getIdNode(.), '/isStyleBlockEntry')))"> 85 <text:line-break/><text:tab/> - <xsl:value-of disable-output-escaping="yes" select="resultatAgent(concat('//', getIdNode(.), '/blockStyle/contentFile.getBody'))"/> 86 </xsl:if> 87 </xsl:for-each> 88 </xsl:variable> 89 <xsl:if test="$vSubWidgets or .//sm:footNote"> 90 <text:p text:style-name="{resultatAgent('../../../defaultWParaStyleName')}"> 91 Exemple de "<xsl:value-of select="resultatAgent('../../code')"/>". 92 <xsl:if test=".//sm:footNote"> 93 <text:note text:id="{resultatAgent('../../blockId')}$idFn" text:note-class="footnote"> 94 <text:note-citation>1</text:note-citation> 95 <text:note-body> 96 <text:p text:style-name="odNoWritable">Contenu de '<xsl:value-of select="resultatAgent('../../code')"/>'</text:p> 97 </text:note-body> 98 </text:note> 99 </xsl:if> 100 <xsl:copy-of select="$vSubWidgets"/> 101 </text:p> 102 </xsl:if> 108 103 </xsl:template> 109 104 </xsl:stylesheet>
Note: See TracChangeset
for help on using the changeset viewer.