Ignore:
Timestamp:
06/06/08 10:06:29 (4 years ago)
Author:
anp
Message:

Ajout de freeTransform dans sm:htmlViewer/sm:fromBinary des binaryPrim

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_binaryPrim/mainview.xul.xsl

    r11120 r11152  
    152152                        <xsl:choose> 
    153153                                <xsl:when test="$vAuthoring/sm:previewBlock/sm:htmlViewer/*"> 
    154                                         <blockhtml titleblock="{@name}" onopenblock="this.setAttribute('src', vUriObjectMainStream.getUrlToLoadContent());"> 
     154                                        <xsl:variable name="vTransform"> 
     155                                                <xsl:apply-templates select="$vAuthoring/sm:previewBlock/sm:htmlViewer/sm:fromBinary/*"/> 
     156                                        </xsl:variable> 
     157                                        <blockhtml titleblock="{@name}" onopenblock="this.setAttribute('src', vUriObjectMainStream.getUrlToLoadContent(null, {si(string-length(normalize-space($vTransform))&gt;0, concat('''transform=', normalize-space($vTransform), ''''), 'null')}));"> 
    155158                                                <xsl:if test="contains($vAuthoring/../sm:structure/@type, 'opendocument')"><!-- permet de différentier cet onglet des autres prévisualisation : OO peut faire planter SC --> 
    156159                                                        <xsl:attribute name="codeblock">ODpreview</xsl:attribute> 
Note: See TracChangeset for help on using the changeset viewer.