Hello,
I am trying to use docx4j for .net to convert a docx file into a pdf. Whenever I try running the conversion I get the following error:
Exception loading default template "org/docx4j/convert/out/fo/docx2fo.xslt", org/docx4j/convert/out/fo/docx2fo.xslt not found via classloader.
My code is pulled almost directly from the DoxctoPDF example included with the package:
string fileIN = @"completefilepathandname";
string fileOUT = @"completefilepathandname";
Plutext.PropertiesConfigurator.setDocx4jPropertiesDir(@"completefilepath");
// OK, do it..
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage
.load(new java.io.File(fileIN));
java.io.FileOutputStream fos = new ...