Ignore:
Timestamp:
07/28/10 18:07:17 (22 months ago)
Author:
jharrop
Message:

Basic support for images in pptx svg in html output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/pptx4j/java/org/pptx4j/convert/out/svginhtml/pptx2svginhtml.xslt

    r1087 r1179  
    3434doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" 
    3535     doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> 
    36 <!-- either strict or transitional work for inline SVG -->  
     36 
     37<!-- either strict or transitional work for inline SVG  
     38 
     39        NB: file suffix must end with .xhtml in order to see the SVG in a browser 
     40 
     41-->  
    3742 
    3843<!--  Input to this transform is a Shape Tree p:spTree.  
     
    5964        <xsl:param name="wmlPackage"/> <!--  really, its pml --> 
    6065        <xsl:param name="resolvedLayout"/> 
     66        <xsl:param name="imageDirPath"/> 
     67         
    6168 
    6269 
     
    167174 
    168175  <!--  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 
     176  <!--  +++++++++++++++++++ image support +++++++++++++++++++++++ --> 
     177  <!--  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 
     178 
     179 
     180  <xsl:template match="p:pic"> 
     181                 
     182        <xsl:copy-of select="java:org.pptx4j.convert.out.svginhtml.PictureExporter.createHtmlImg(  
     183                        $wmlPackage, $resolvedLayout, 
     184                        string($imageDirPath), 
     185                        .)" /> 
     186     
     187  </xsl:template> 
     188 
     189  <!--  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 
    169190  <!--  +++++++++++++++++++  no match     +++++++++++++++++++++++ --> 
    170191  <!--  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 
Note: See TracChangeset for help on using the changeset viewer.