- Timestamp:
- 02/27/10 11:30:45 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/convert/out/html/docx4j2xhtml.xslt
r943 r1097 314 314 <xsl:template match="wp:inline|wp:anchor"> 315 315 316 <xsl:variable name="pictureData" select="./a:graphic/a:graphicData/pic:pic/pic:blipFill"/> 317 <xsl:variable name="picSize" select="./wp:extent"/> 318 <xsl:variable name="picLink" select="./wp:docPr/a:hlinkClick"/> 319 <xsl:variable name="linkDataNode" select="./a:graphic/a:graphicData/pic:pic/pic:blipFill/a:blip"/> 316 <xsl:variable name="wpinline" select="."/> 320 317 321 <xsl:copy-of select="java:org.docx4j.model.images.WordXmlPicture.createHtmlImgE20( $wmlPackage, string($imageDirPath), 322 $pictureData, $picSize, $picLink, $linkDataNode)" /> 318 <xsl:copy-of select="java:org.docx4j.model.images.WordXmlPictureE20.createHtmlImgE20( 319 $wmlPackage, 320 string($imageDirPath), 321 $wpinline)" /> 323 322 324 323 </xsl:template> 324 325 <!-- E1.0 images --> 326 <xsl:template match="w:pict"> 327 328 <xsl:choose> 329 <xsl:when test="./v:shape/v:imagedata"> 330 331 <xsl:variable name="wpict" select="."/> 332 333 <xsl:copy-of select="java:org.docx4j.model.images.WordXmlPictureE10.createHtmlImgE10( 334 $wmlPackage, 335 string($imageDirPath), 336 $wpict)" /> 337 </xsl:when> 338 <xsl:otherwise> 339 <xsl:comment>TODO: handle w:pict containing other than ./v:shape/v:imagedata</xsl:comment> 340 </xsl:otherwise> 341 </xsl:choose> 342 343 </xsl:template> 344 325 345 326 346 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
Note: See TracChangeset
for help on using the changeset viewer.
