word转PDF工具类 package com.zht; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import com.aspose.words.Document; import com.aspose.words.SaveFormat; public class Word2PdfUtilt { public static void main(String[] args) { doc2pdf("F:\\1\\1032.