Now we make such a PDF convert test, here it is the test file
Barcodetest2.docx (124,8 KB)
Here it is the screenshot of MS-Word visual effect for this file, and we want the PDF output has exactly the same visual effect image.png (231,4 KB)
our Java Code for PDF convert is very simple:
final Document doc = new Document(“Barcodetest2.docx”);
doc.save(“barcode-out-2.pdf”);
However, after converting, 3 pages get displayed in PDF, and the layout is also different, so it is the PDF result
barcode-out-2.pdf (151,9 KB)
Here it is the visual effect in the PDF, there are 3 pages in the screenshot
image.png (60,8 KB)
image.png (68,7 KB)
image.png (28,7 KB)
In MS-Word, the Docx File has only 2 pages, however the PDF generation result has 3 pages and the layout get changed also. We want the PDF generation result has EXACTLY the same visual effect as MS-Word. How can I make it?