| 268 | | <text:illustration-index text:style-name="{$vStyle_section}" text:protected="true" text:name="{chaineProtegeAttHtml(sm:title)}"> |
| 269 | | <text:illustration-index-source text:caption-sequence-name="{@refCategory}" text:caption-sequence-format="text"> |
| 270 | | <text:index-title-template text:style-name="{$vStyle_title}"><xsl:value-of select="sm:title"/></text:index-title-template> |
| 271 | | <xsl:for-each select="computeNodeAgent(concat($vAgentContentFile, '/getContent'))//text:illustration-index-source/text:illustration-index-entry-template"> |
| 272 | | <xsl:copy-of select="."/> |
| 273 | | </xsl:for-each> |
| 274 | | <!--text:illustration-index-entry-template text:style-name="{$vStyle_item}"> |
| 275 | | <text:index-entry-text/> |
| 276 | | <text:index-entry-tab-stop style:type="right" style:leader-char="."/> |
| 277 | | <text:index-entry-page-number/> |
| 278 | | </text:illustration-index-entry-template--> |
| 279 | | </text:illustration-index-source> |
| 280 | | <text:index-body> |
| 281 | | <text:index-title text:style-name="{$vStyle_section}" text:name="{chaineProtegeAttHtml(sm:title)}"> |
| 282 | | <text:p text:style-name="{$vStyle_title}"><xsl:value-of select="sm:title"/></text:p> |
| 283 | | </text:index-title> |
| 284 | | <!--text:p text:style-name="[![agent=../../stResolver/item/name]!]">element 1: [![agent=../../stResolver/title/displayName]!]<text:tab/></text:p--> |
| 285 | | </text:index-body> |
| 286 | | </text:illustration-index> |
| 287 | | <text:p text:style-name="odNoDisplay"> </text:p><!-- NOTE : OO peut planter sans ce paragraphe : transformation odt2doc --> |
| | 268 | |
| | 269 | <xsl:variable name="vOdContent"> |
| | 270 | <text:illustration-index text:style-name="{$vStyle_section}" text:protected="true" text:name="{chaineProtegeAttHtml(sm:title)}"> |
| | 271 | <text:illustration-index-source text:caption-sequence-name="{@refCategory}" text:caption-sequence-format="text"> |
| | 272 | <text:index-title-template text:style-name="{$vStyle_title}"><xsl:value-of select="sm:title"/></text:index-title-template> |
| | 273 | <xsl:for-each select="computeNodeAgent(concat($vAgentContentFile, '/getContent'))//text:illustration-index-source/text:illustration-index-entry-template"> |
| | 274 | <xsl:copy-of select="."/> |
| | 275 | </xsl:for-each> |
| | 276 | </text:illustration-index-source> |
| | 277 | <text:index-body> |
| | 278 | <text:index-title text:style-name="{$vStyle_section}" text:name="{chaineProtegeAttHtml(sm:title)}"> |
| | 279 | <text:p text:style-name="{$vStyle_title}"><xsl:value-of select="sm:title"/></text:p> |
| | 280 | </text:index-title> |
| | 281 | </text:index-body> |
| | 282 | </text:illustration-index> |
| | 283 | <text:p text:style-name="odNoDisplay"> </text:p><!-- NOTE : OO peut planter sans ce paragraphe : transformation odt2doc --> |
| | 284 | </xsl:variable> |
| | 285 | |
| | 286 | <xsl:choose> |
| | 287 | <xsl:when test="not(@hideIfNoEntry) or @hideIfNoEntry='yes'"><!-- Affichage SSi il y a au moins une entrée --> |
| | 288 | <scOd:ifSequence category="{@refCategory}"> |
| | 289 | <xsl:copy-of select="$vOdContent"/> |
| | 290 | </scOd:ifSequence> |
| | 291 | </xsl:when> |
| | 292 | <xsl:otherwise> |
| | 293 | <xsl:copy-of select="$vOdContent"/> |
| | 294 | </xsl:otherwise> |
| | 295 | </xsl:choose> |