|
|
@@ -35,7 +35,7 @@ public class Word2PDFController {
|
|
|
|
|
|
app = new ActiveXComponent("Word.Application");
|
|
|
Dispatch documents = app.getProperty("Documents").toDispatch();
|
|
|
- System.out.println("打开文件: " + word.getPath());
|
|
|
+ log.info("打开文件: " + word.getPath());
|
|
|
Dispatch document = Dispatch.call(documents, "Open", word.getPath(), false, true).toDispatch();
|
|
|
if (target.exists()) {
|
|
|
target.delete();
|