Hello, I am testing Aspose.Total for Java products, but I currently encounter problems that cannot be solved:
There was a problem converting the word format file to PDF format. The fonts in the converted file changed from a one-page file to two pages.
Here is the code I used:
public static void Slides () {
getLicense (“C: \ PrintHub \ license \ Aspose.Total.Product.Family (3) .lic”);
String dataDir = “C: \ PrintHub \ docs \ 2019 \ 7 \ 9 \”;
Presentation prest = new Presentation (dataDir + “111.pptx”);
// Convert PPTX to PDF, XPS and TIFF
prest.save (dataDir + “Slides.pdf”, SaveFormat.Pdf);
prest.save (dataDir + “Slides.xps”, SaveFormat.Xps);
prest.save (dataDir + “Slides.tiff”, SaveFormat.Tiff);
System.out.println (“Process Finished!”);
}