I am just getting started with docx4j version 3.2.1.
I am wondering about this warning message I see on the log:
WARN org.docx4j.openpackaging.io3.Save sourcePartStore undefined
Looking at the code, it seams as if OpcPackage.getSourcePartStore() is expected to be set already.
I will receive this warning if I do something simple like this:
Using java Syntax Highlighting
WordprocessingMLPackage pkg = WordprocessingMLPackage.createPackage();
pkg.save(file);
pkg.save(file);
Parsed in 0.015 seconds, using GeSHi 1.0.8.4
Am I missing a dependency, that would hook this automatically? This could be the case, since our application is based on equinox and I am integrating docx4j as an OSGi bundle, trying to include only the necessary dependencies that we will actualy need. I was able to set this up with the available documentation and I have tested creating simple docx files (i.e. with the sample CreateWordprocessingMLDocument) successfully.
Or do I need to do some additional steps to configure docx4j?
Any pointers are very welcome.
Regards
Christoph Keimel