2

docxファイルをJavaに変換する最良の方法を探していpdfます。これは私が試したものです:

File wordFile = new File("wordFile.docx"), target = new File("target.pdf");
IConverter converter;
Future<Boolean> conversion = converter.convert(wordFile)
.as(DocumentType.MS_WORD)
.to(target)
.as(DocumentType.PDF)
.prioritizeWith(1000) // optional
.schedule();

問題は、プログラムで IConverter クラスが見つからないことです...

4

2 に答える 2