2017-05-08 55 views
1

我正在使用从pptxsvg转换的示例。我把代码 PPTX2SVG无法解析XSLFImageRendener和XSLFRenderingHint

并添加依赖我gradle应用

compile "org.apache.poi:poi:$apachePoiVersion" 
compile "org.apache.poi:poi-ooxml:$apachePoiVersion" 
compile "org.apache.poi:poi-ooxml-schemas:$apachePoiVersion" 

compile "org.apache.xmlgraphics:batik-svggen:$apacheBatikVersion" 
compile "org.apache.xmlgraphics:batik-transcoder:$apacheBatikVersion" 
compile "org.apache.xmlgraphics:batik-svg-dom:$apacheBatikVersion" 

但是它不能解决类XSLFImageRendenerXSLFRenderingHint

缺少什么依赖关系?至于有示例代码没有进口我认为它应该是org.apache.poi.xslf.usermodel

我使用poi=3.16batik=1.9

回答