I'm very new to docx4j.
I want to use docx4j to produce .docx reports from my java application. I have tried to compile and check some of the example code which worked fine. But when I tried to use the very same code in my application; as I try to extract the StyleDefinitionsPart from WordprocessingMLPackage I get null.
I surely do something wrong but I don't know what. I can supply the source code here but I don't think it would be of any use.
Any help would be greatly appreciated.