Closed pjfanning closed 3 years ago
Gave it a quick try, faced multiple issues:
I've removed the stax code from PackagePropertiesMarshaller: https://bz.apache.org/bugzilla/show_bug.cgi?id=62796
Unfortunately there are more classes from javax.xml.stream and javax.xml.namespace which are missing now, not sure if we can get this working again, Android seems to simple not want to support native XML parsing the Java itself does.
Hello. I tried to build jar with apache POI version 4.1.0 But I see the relocation command didn't work for this version // Relocate javax dependencies so Android does not choke relocate 'javax.xml.namespace', 'org.apache.poi.javax.xml.namespace' relocate 'javax.xml.stream', 'org.apache.poi.javax.xml.stream' relocate 'javax.xml.XMLConstants', 'org.apache.poi.javax.xml.XMLConstants' I checked jar file after build and see there is no package org.apache.poi.javax.xml. Do you get this error?
I have to use XWPFChart from XWPFDocument but it is not available in 3.17. It requires 4.0. Will u update it to 4.0 or is there any other dependency that I can add to get charts from the Docx?
I tried to update to 4.0 but faced various severe blocking issues, so support for Apache POI 4.0 is currently not planned unless someone with more knowledge than me takes a look at the issues that pop up currently.
This is finally solved via #90
Adding for planning purposes since queries have come in POI user list about this