2
ロゴを含むdocx文書をpdf文書に変換しようとしています。 私はこれを試してみました:Java - docxをpdf文書に変換する
FileInputStream in=new FileInputStream(fileInput);
XWPFDocument document=new XWPFDocument(in);
File outFile=new File(fileOutput);
OutputStream out=new FileOutputStream(outFile);
PdfOptions options=null;
PdfConverter.getInstance().convert(document,out,options);
を、PDFドキュメントにロゴが適切な場所ではありません。
docxドキュメントとまったく同じPDFを作成する方法はありますか?
おそらくdocx beca私はラスタイメージを作成してPDFに入れました。 –
これを検討してください:http://stackoverflow.com/questions/3022376/how-to-convert-ms-doc-to-pdf –