Open GoogleCodeExporter opened 8 years ago
officeManager = new
DefaultOfficeManagerConfiguration().buildOfficeManager();
officeManager.start();
OfficeDocumentConverter converter = new
OfficeDocumentConverter(officeManager);
File fdoc = new File("//SERVER/1/technical.doc");
System.out.println("/////////////////"+fdoc.exists());
File fpdf = new File("//SERVER/1/technical.pdf");
converter.convert(fdoc, fpdf);
officeManager.stop();
//The out put shows file exists to true, but when the steps
convertor.convert(fdoc, fpdf) going to execute it shows
Input Document Not Found.
Original comment by webna...@eneuron.in
on 16 Jun 2011 at 8:49
What does isFile() show and canWrite() show?
You can alternatively try to copy the file to temporary folder, and convert it
there.
Original comment by shervin.asgari@gmail.com
on 12 Sep 2011 at 12:26
Original issue reported on code.google.com by
webna...@eneuron.in
on 16 Jun 2011 at 8:25