Ignore:
Timestamp:
02/27/10 11:30:45 (2 years ago)
Author:
jharrop
Message:

Use revised WordXmlPicture? stuff in the various xslt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/convert/out/html/DocX2Html.xslt

    r979 r1097  
    33273327  <xsl:template match="wp:inline|wp:anchor"> 
    33283328   
    3329         <xsl:variable name="pictureData" select="./a:graphic/a:graphicData/pic:pic/pic:blipFill"/> 
    3330         <xsl:variable name="picSize" select="./wp:extent"/> 
    3331         <xsl:variable name="picLink" select="./wp:docPr/a:hlinkClick"/> 
    3332         <xsl:variable name="linkDataNode" select="./a:graphic/a:graphicData/pic:pic/pic:blipFill/a:blip"/> 
     3329         <xsl:variable name="wpinline" select="."/> 
    33333330         
    3334         <xsl:copy-of select="java:org.docx4j.model.images.WordXmlPicture.createHtmlImgE20( $wmlPackage, string($imageDirPath), 
    3335                         $pictureData, $picSize, $picLink, $linkDataNode)" /> 
    3336      
     3331        <xsl:copy-of select="java:org.docx4j.model.images.WordXmlPictureE20.createHtmlImgE20(  
     3332                        $wmlPackage,  
     3333                        string($imageDirPath), 
     3334                        $wpinline)" /> 
    33373335     
    33383336  </xsl:template> 
     
    33623360                <xsl:when test="./v:shape/v:imagedata"> 
    33633361 
    3364                         <xsl:variable name="shape" select="./v:shape"/> 
    3365                         <xsl:variable name="imageData" select="./v:shape/v:imagedata"/> 
    3366                          
    3367                         <xsl:copy-of select="java:org.docx4j.model.images.WordXmlPicture.createHtmlImgE10( $wmlPackage, string($imageDirPath), 
    3368                                         $shape, $imageData)" /> 
     3362                                <xsl:variable name="wpict" select="."/> 
     3363                                 
     3364                                <xsl:copy-of select="java:org.docx4j.model.images.WordXmlPictureE10.createHtmlImgE10(  
     3365                                                $wmlPackage,  
     3366                                                string($imageDirPath), 
     3367                                                $wpict)" /> 
    33693368                </xsl:when> 
    33703369                <xsl:otherwise> 
Note: See TracChangeset for help on using the changeset viewer.