Ignore:
Timestamp:
08/28/07 16:54:02 (4 years ago)
Author:
anp
Message:

debug suppression auto des paragraphes sans contenu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_odTemplateText/xGetAreaContent.xsl

    r9274 r9543  
    387387                <xsl:variable name="vStyle_bxSection" select="computeNodeAgent(concat($vAgentContent, '/getContent'))//text:section/@text:style-name"/> 
    388388                <xsl:variable name="vLabelContent"><xsl:apply-templates select="sm:label"/></xsl:variable> 
    389                 <scOd:ifText> 
     389                <scOd:ifNotNull> 
    390390                        <text:section text:style-name="{$vStyle_bxSection}" text:name="{si(string-length(normalize-space(string($vLabelContent)))&gt;0, normalize-space(string($vLabelContent)), 'Section')}"> 
    391391                    <text:p text:style-name="odNoDisplay">&#160;</text:p><!-- NOTE : car bug OO qui utilise le space before du premier paragraphe comme space before de la frame => pose pb si image en bg de la section --> 
     
    393393                        <text:p text:style-name="odNoDisplay">&#160;</text:p><!-- NOTE : car bug OO qui utilise le space after du dernier paragraphe comme space after de la frame => pose pb si image en bg de la section --> 
    394394                        </text:section> 
    395                 </scOd:ifText> 
     395                </scOd:ifNotNull> 
    396396        </xsl:template> 
    397397         
     
    408408                <xsl:choose><!-- Affichage du paragraphe SSi il a du contenu --> 
    409409                        <xsl:when test="not(@display) or @display='ifNotNull'"> 
    410                                 <scOd:ifText> 
     410                                <scOd:ifNotNull> 
    411411                                        <text:p text:style-name="{$vStyle_paragraph}"><xsl:apply-templates select="*"/></text:p> 
    412                                 </scOd:ifText> 
     412                                </scOd:ifNotNull> 
    413413                        </xsl:when> 
    414414                        <xsl:otherwise> 
Note: See TracChangeset for help on using the changeset viewer.