1
我正在使用从pptx
到svg
转换的示例。我把代码 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"
但是它不能解决类XSLFImageRendener
和XSLFRenderingHint
。
缺少什么依赖关系?至于有示例代码没有进口我认为它应该是org.apache.poi.xslf.usermodel
包
我使用poi=3.16
和batik=1.9