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";
// OK, do it..
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage
java.io.FileOutputStream fos = new FileOutputStream(fileOUT);
I am using a simple docx document with only two lines of text to try and test this. Is there something I am missing?